/* ========== BASE ========== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { overflow-x: hidden; }

/* ========== NAVBAR ========== */
.nav-scrolled {
    background: rgba(253, 246, 238, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-scrolled .menu-line { background: #292524; }

/* ========== HERO ========== */
.hero { position: relative; }
.hero-bg { transition: transform 8s ease-out; }
.hero-content { opacity: 1; transform: none; }

.hero-title {
    animation: heroTitleIn 1s ease-out forwards;
}
.hero-subtitle {
    animation: heroSubIn 1s 0.2s ease-out both;
}
.hero-badge {
    animation: heroBadgeIn 0.8s 0.3s ease-out both;
}
.hero-ctas {
    animation: heroCtasIn 1s 0.4s ease-out both;
}
.hero-stats {
    animation: heroStatsIn 1s 0.6s ease-out both;
}

@keyframes heroTitleIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroSubIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroBadgeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroCtasIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroStatsIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ========== SCROLL REVEAL (progressive enhancement) ========== */
@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s ease-out, transform 0.7s ease-out;
    }
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== SERVICE CARDS ========== */
.service-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ========== GALLERY ========== */
.gallery-item {
    cursor: pointer;
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
    animation: menuSlideDown 0.3s ease-out;
}
@keyframes menuSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-line.active:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg);
}
.menu-line.active:nth-child(2) {
    opacity: 0;
}
.menu-line.active:nth-child(3) {
    transform: translateY(-3.5px) rotate(-45deg);
}

/* ========== CTA BUTTONS ========== */
.cta-primary {
    box-shadow: 0 4px 30px rgba(193, 105, 79, 0.4);
}
.cta-primary:hover {
    box-shadow: 0 8px 40px rgba(193, 105, 79, 0.5);
}

/* ========== SCROLL INDICATOR ========== */
.scroll-mouse {
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ========== SECTION LABELS ========== */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #C1694F;
    background: rgba(193, 105, 79, 0.08);
    padding: 0.4rem 1rem;
    border-radius: 9999px;
}

.section-title {
    font-family: 'DM Serif Display', Georgia, serif;
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    color: #1c1917;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.05rem;
    color: #57534e;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ========== TESTIMONIAL CARDS ========== */
.testimonial-card {
    transition: transform 0.3s ease, background 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 640px) {
    .about-img-float {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        height: 200px;
        margin-top: -40px;
        border-width: 3px;
    }
    .about-img-main {
        border-radius: 1.5rem;
    }
}
