/* ── Reset & Base ────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

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

::selection {
    background: rgba(194, 112, 78, 0.2);
    color: inherit;
}

/* ── Scrollbar ───────────────────────────────────────── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f5f2ed;
}
::-webkit-scrollbar-thumb {
    background: #d4cabb;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b8a896;
}

/* ── Navbar ──────────────────────────────────────────── */
#navbar {
    background: transparent;
    color: #473d37;
    transition: background 0.5s ease, color 0.5s ease, box-shadow 0.5s ease;
}

#navbar.nav-scrolled {
    background: rgba(250, 249, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(180, 168, 150, 0.2);
    color: #473d37;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #C2704E;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

#navbar.nav-scrolled .nav-link::after {
    background: #a85535;
}

/* ── Mobile Menu ─────────────────────────────────────── */
.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu.active .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 0;
}

.mobile-menu .mobile-link:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu .mobile-link:nth-child(2) { animation-delay: 0.1s; }
.mobile-menu .mobile-link:nth-child(3) { animation-delay: 0.15s; }
.mobile-menu .mobile-link:nth-child(4) { animation-delay: 0.2s; }
.mobile-menu .mobile-link:nth-child(6) { animation-delay: 0.25s; }

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

.menu-line {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
    width: 24px;
}
#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    width: 0;
    margin: 0;
}
#menu-toggle.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 24px;
}

/* ── Hero ────────────────────────────────────────────── */
.hero {
    position: relative;
    background: #5f2f1c;
}

.hero-bg {
    will-change: transform;
}

.hero-img {
    transform: scale(1.05);
    transition: transform 8s ease;
}

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

.hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(71, 61, 55, 0.45) 0%,
        rgba(71, 61, 55, 0.35) 40%,
        rgba(71, 61, 55, 0.55) 70%,
        rgba(71, 61, 55, 0.85) 100%
    );
}

.hero-tag {
    animation: fadeInDown 0.8s ease 0.3s both;
}

.hero-headline {
    animation: fadeInUp 1s ease 0.5s both;
}

.hero-subtext {
    animation: fadeInUp 1s ease 0.7s both;
}

.hero-ctas {
    animation: fadeInUp 1s ease 0.9s both;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.scroll-line {
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(1); }
    50% { opacity: 1; transform: scaleY(1.2); }
}

/* ── CTA Buttons ─────────────────────────────────────── */
.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-primary:hover::before {
    opacity: 1;
}

/* ── Scroll Reveal ───────────────────────────────────── */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .hero-img {
        transform: scale(1);
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    .scroll-line {
        animation: none;
        opacity: 0.6;
    }
}

/* ── Menu Items ──────────────────────────────────────── */
.menu-item {
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(212, 202, 187, 0.4);
}

.menu-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* ── Divider ─────────────────────────────────────────── */
.divider-container {
    display: flex;
    align-items: center;
}

/* ── Form ────────────────────────────────────────────── */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239e8878' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

/* ── Utility ─────────────────────────────────────────── */
@media (max-width: 767px) {
    .hero-headline {
        font-size: 2.25rem;
    }
    .hero-headline span:last-child {
        font-size: 1.75rem;
    }
}
