/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; -webkit-font-smoothing: antialiased; }

/* ── Hero Gradient ────────────────────────────────────── */
.hero-gradient {
    background: linear-gradient(135deg, #1B4332 0%, #2d6a4f 35%, #40916c 65%, #1B4332 100%);
}

/* ── Floating Blobs ───────────────────────────────────── */
.hero-blob {
    background: radial-gradient(circle, rgba(212,168,67,0.5) 0%, transparent 70%);
    animation: blobFloat 8s ease-in-out infinite;
}
.hero-blob-2 {
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    animation-delay: -3s;
    animation-duration: 10s;
}
.hero-blob-3 {
    background: radial-gradient(circle, rgba(212,168,67,0.2) 0%, transparent 70%);
    animation-delay: -5s;
    animation-duration: 12s;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

/* ── Hero Animations ──────────────────────────────────── */
.hero-badge {
    animation: fadeSlideUp 0.8s ease-out both;
}
.hero-headline {
    animation: fadeSlideUp 0.8s 0.15s ease-out both;
}
.hero-subtext {
    animation: fadeSlideUp 0.8s 0.3s ease-out both;
}
.hero-cta {
    animation: fadeSlideUp 0.8s 0.45s ease-out both;
}
.hero-stats {
    animation: fadeSlideUp 0.8s 0.6s ease-out both;
}
.hero-scroll {
    animation: fadeSlideUp 0.8s 0.75s ease-out both;
}

@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Navbar ───────────────────────────────────────────── */
#navbar {
    background: transparent;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
#navbar.scrolled {
    background: rgba(253,252,248,0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(27,67,50,0.08);
}

/* ── Buttons ──────────────────────────────────────────── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #D4A843;
    color: #1B4332;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
    box-shadow: 0 4px 20px rgba(212,168,67,0.4);
}
.btn-primary:hover {
    background: #c49a32;
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,168,67,0.5);
}
.btn-arrow {
    transition: transform 0.2s;
}
.btn-primary:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,0.35);
    color: #fff;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 1rem;
    text-decoration: none;
    font-size: 1rem;
    transition: background 0.25s, border-color 0.25s, transform 0.2s;
}
.btn-secondary:hover {
    background: rgba(255,255,255,0.25);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

/* ── Service Cards ────────────────────────────────────── */
.service-card {
    will-change: transform;
}

/* ── Gallery ──────────────────────────────────────────── */
.gallery-item {
    aspect-ratio: 4 / 5;
    cursor: pointer;
}

/* ── Testimonial Cards ────────────────────────────────── */
.testimonial-card {
    transition: transform 0.3s, box-shadow 0.3s;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(27,67,50,0.12);
}

/* ── Contact Rows ─────────────────────────────────────── */
.contact-row {
    text-decoration: none;
    transition: transform 0.2s;
}
.contact-row:hover {
    transform: translateX(4px);
}

/* ── Scroll Reveal ────────────────────────────────────── */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.reveal.revealed {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Mobile Menu ──────────────────────────────────────── */
#mobileMenu {
    animation: menuSlide 0.3s ease-out;
}
@keyframes menuSlide {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ───────────────────────────────────────── */
@media (max-width: 640px) {
    .hero-headline {
        font-size: 2.5rem;
    }
    .hero-stats {
        gap: 1rem;
    }
    .about-floating-card {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 1rem;
    }
}
