/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { min-height: 100vh; overflow-x: hidden; }
img { max-width: 100%; display: block; }

/* ===== HERO ===== */
.hero { position: relative; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.72) 0%,
        rgba(45, 45, 45, 0.55) 50%,
        rgba(20, 20, 20, 0.68) 100%
    );
}
.hero-content { position: relative; z-index: 1; }

/* Scroll indicator */
.scroll-mouse { border-color: rgba(255,255,255,0.4); }
.scroll-dot { animation: bounce 1.5s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(6px); opacity: 0.4; }
}

/* ===== SECTION UTILITIES ===== */
.section-eyebrow { letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.75rem; }
.section-title { line-height: 1.15; }
.section-subtitle { line-height: 1.7; }

/* ===== REVEAL ANIMATIONS (progressive enhancement) ===== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}
.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.reveal-visible {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== SERVICE CARDS ===== */
.service-card {
    transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}
.service-card:hover {
    transform: translateY(-4px);
}

/* ===== GALLERY ===== */
.gallery-item {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: box-shadow 0.3s ease;
}
.gallery-item:hover {
    box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

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

/* ===== BUTTONS ===== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    text-decoration: none;
}

/* ===== NAVBAR ===== */
.site-header {
    background: transparent;
    transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav-link {
    position: relative;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #F46849;
    transition: width 0.3s ease;
}
.nav-link:hover::after {
    width: 100%;
}

/* Mobile menu */
#mobile-menu {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
#mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}
#mobile-menu.closed {
    opacity: 0;
    pointer-events: none;
}
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-toggle.active .menu-line:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
}
#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
    width: 1.25rem;
}

/* ===== MOBILE NAV LINKS ===== */
.mobile-nav-link {
    position: relative;
    padding: 0.5rem 0;
}
.mobile-nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 40px;
    height: 2px;
    background: #F46849;
    transition: transform 0.3s ease;
}
.mobile-nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* ===== FORM ===== */
input:focus, select:focus, textarea:focus {
    outline: none;
}
input::placeholder, textarea::placeholder {
    color: #a3a3a3;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFF5F0; }
::-webkit-scrollbar-thumb { background: #FFCABF; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #FFA896; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-headline {
        font-size: 2.75rem;
    }
    .hero-headline br {
        display: none;
    }
    .section-title {
        font-size: 2.25rem;
    }
}
@media (min-width: 769px) and (max-width: 1023px) {
    .hero-headline {
        font-size: 4.5rem;
    }
}
