:root {
    --bg-warm: #f5f3ef;
    --bg-light: #f0ece6;
    --bg-dark: #1a1a1a;
    --text-dark: #1a1a1a;
    --text-muted: #555;
    --text-light: #f5f3ef;
    --accent: #d4c8b8;
    
    --radius-lg: 24px;
    --radius-md: 16px;
    
    --font-sans: 'Jost', sans-serif;
    --font-serif: 'Vollkorn', serif;
    --font-body: 'Maven Pro', sans-serif;
    
    --spacing-section: clamp(80px, 10vw, 160px);
    --spacing-container: clamp(24px, 5vw, 64px);
    
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-warm);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Typography */
h1, h2, h3 {
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 {
    font-size: clamp(2.5rem, 6vw, 2rem);
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: clamp(1rem, 1.2vw, 1.125rem);
}

.narrow-p {
    max-width: 700px;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.text-center {
    text-align: center;
}

.sans {
    font-family: var(--font-sans);
    font-weight: 600;
}

.serif {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
}

.container.narrow {
    max-width: 900px;
}

.section-padding {
    padding: var(--spacing-section) 0;
}

.alt-bg {
    background-color: var(--bg-light);
}

.dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.dark-bg h2 {
    color: var(--text-light);
}

.pattern-bg {
    background-color: var(--bg-warm);
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 24px 24px;
}

/* Utilities */
.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.dark-bg .glass {
    background: rgba(26, 26, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.raised {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 4rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: 100px;
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
    cursor: pointer;
}

.btn-primary {
    background-color: var(--text-dark);
    color: var(--bg-warm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-outline {
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
}

.btn-outline:hover {
    background-color: var(--text-dark);
    color: var(--bg-warm);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1.5rem 0;
    transition: transform 0.4s var(--ease-out), background 0.4s var(--ease-out);
}

.site-header.scrolled {
    background: rgba(245, 243, 239, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.site-header.hidden {
    transform: translateY(-100%);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-container);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 32px;
}

.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        gap: 2rem;
    }
    .main-nav a {
        font-family: var(--font-sans);
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        opacity: 0.7;
        transition: opacity 0.3s ease;
    }
    .main-nav a:hover {
        opacity: 1;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 100px;
    left: 5%;
    right: 5%;
    bottom: 5%;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 1.5s var(--ease-out);
}

.hero-section.loaded .hero-img {
    transform: scale(1);
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin-left: 10%;
    padding: 3rem;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .hero-bg {
        top: 0; left: 0; right: 0; bottom: 0;
        border-radius: 0;
    }
    .hero-content {
        margin: 0 5%;
        padding: 2rem;
    }
}

/* USP Section */
.usp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .usp-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4rem;
    }
}

.usp-item {
    position: relative;
}

.usp-line {
    display: block;
    width: 40px;
    height: 2px;
    background-color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.usp-item p {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.4;
}

/* Gallery Section */
.gallery-masonry {
    column-count: 1;
    column-gap: 24px;
    padding: 0 var(--spacing-container);
}

@media (min-width: 600px) { .gallery-masonry { column-count: 2; } }
@media (min-width: 1024px) { .gallery-masonry { column-count: 3; } }
@media (min-width: 1440px) { .gallery-masonry { column-count: 4; } }

.gallery-item {
    break-inside: avoid;
    margin-bottom: 24px;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: auto;
    transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* Video Section */
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Combined Media Block */
.media-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 1024px) {
    .media-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.media-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

/* Before/After Slider */
.ba-slider {
    position: relative;
    width: 100%;
    padding-bottom: 66.667%; /* 3:2 Aspect Ratio */
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #000;
}

.ba-after, .ba-before-wrapper, .ba-before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ba-after {
    z-index: 1;
    object-fit: cover;
}

.ba-before-wrapper {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
}

.ba-before {
    object-fit: cover;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    z-index: 3;
    pointer-events: none;
    transform: translateX(-50%);
}

.ba-handle-line {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.ba-handle-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 2px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ba-handle-circle::after {
    content: '< >';
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 12px;
    color: #000;
    letter-spacing: 1px;
}

.timelapse-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 66.667%; /* 3:2 Aspect Ratio */
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.timelapse-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Split Layouts */
.split-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

@media (min-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr 1fr;
        gap: 6rem;
    }
    .align-center {
        align-items: center;
    }
}

.typo-block {
    padding: 4rem;
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.typo-large {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
    color: var(--text-dark);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.benefit-card {
    padding: 3rem 2rem;
    border-radius: var(--radius-lg);
}

.benefit-icon {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Features */
.feature-list {
    list-style: none;
    margin-top: 3rem;
}

.feature-list li {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    font-family: var(--font-sans);
    font-weight: 500;
}

/* Social Proof */
.fallback-reviews {
    max-width: 600px;
    margin: 4rem auto;
    padding: 3rem;
    border-radius: var(--radius-lg);
}

/* About */
.portrait {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

/* Drone Carousel */
.drone-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 2rem var(--spacing-container);
    scrollbar-width: none;
}

.drone-carousel::-webkit-scrollbar {
    display: none;
}

.drone-item {
    flex: 0 0 80vw;
    max-width: 400px;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.drone-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.drone-carousel-wrap {
    position: relative;
}

.drone-carousel {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 24px;
    padding: 2rem var(--spacing-container);
    scrollbar-width: none;
    scroll-behavior: smooth;
}

.drone-carousel::-webkit-scrollbar {
    display: none;
}

.drone-item {
    flex: 0 0 80vw;
    max-width: 400px;
    scroll-snap-align: center;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.drone-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 4/5;
}

.drone-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 52px;
    height: 52px;
    border: none;
    border-radius: 50%;
    background: rgba(245, 243, 239, 0.92);
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.drone-nav:hover {
    transform: translateY(-50%) scale(1.05);
}

.drone-nav span {
    font-size: 2rem;
    line-height: 1;
}

.drone-nav-prev {
    left: calc(var(--spacing-container) - 6px);
}

.drone-nav-next {
    right: calc(var(--spacing-container) - 6px);
}

.drone-nav.hidden {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 767px) {
    .drone-nav {
        width: 44px;
        height: 44px;
    }

    .drone-nav span {
        font-size: 1.6rem;
    }

    .drone-nav-prev {
        left: 12px;
    }

    .drone-nav-next {
        right: 12px;
    }
}

/* FAQ Accordion */
.accordion {
    margin-top: 4rem;
}

.accordion-item {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-header::after {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s var(--ease-out);
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    color: var(--text-muted);
}

/* Contact */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.contact-link {
    font-family: var(--font-sans);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    position: relative;
}

.contact-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--text-dark);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out);
}

.contact-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#contact h2 {
	text-transform:uppercase;
}

/* Footer */
.site-footer {
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-logo {
    height: 24px;
    opacity: 0.5;
}

.footer-contact, .footer-legal {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (min-width: 768px) {
    .footer-legal {
        flex-direction: row;
        gap: 2rem;
    }
}

.footer-legal a:hover, .footer-contact a:hover {
    color: var(--text-dark);
}

/* Lightbox */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-out);
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: var(--radius-md);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: scale(0.95);
    transition: transform 0.4s var(--ease-out);
}

.lightbox.active .lightbox-img {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: #fff;
    font-size: 3rem;
    line-height: 1;
    cursor: pointer;
    font-family: var(--font-sans);
    font-weight: 300;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-up {
    opacity: 0;
    transform: translateY(40px);
}

.fade-up.active {
    opacity: 1;
    transform: translateY(0);
}
