/* ── 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: #B85446;
    color: #FDF9F3;
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #FDF9F3;
}
::-webkit-scrollbar-thumb {
    background: #D4A56A;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #B85446;
}

/* ── Navbar ── */
.nav-link {
    position: relative;
}

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

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

.nav-link:hover {
    color: #B85446 !important;
}

.nav-subtext {
    transition: color 0.3s ease;
}

/* Navbar scroll state */
#navbar.scrolled {
    background: rgba(253, 249, 243, 0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

#navbar.scrolled .nav-text {
    color: #1c1917 !important;
}

/* ── Mobile Menu ── */
.menu-line {
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 1.5rem;
    transform: rotate(-45deg) translate(4px, -4px);
}

.mobile-link {
    transition: all 0.3s ease;
}

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

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
    50% { opacity: 1; transform: scaleY(1); }
}

.hero-eyebrow {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
    animation-delay: 0.2s;
}

/* ── Menu Tabs ── */
.menu-tab {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: 'Inter', system-ui, sans-serif;
}

.menu-tab.active {
    background: #B85446;
    color: #FDF9F3 !important;
    box-shadow: 0 2px 8px rgba(184, 84, 70, 0.3);
}

.menu-tab:not(.active):hover {
    color: #B85446 !important;
}

/* ── Feature Cards ── */
.feature-card {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-card svg {
    transition: transform 0.4s ease;
}

.feature-card:hover svg {
    transform: scale(1.1);
}

/* ── Scroll Reveal (progressive enhancement) ── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .reveal.from-bottom {
        transform: translateY(30px);
    }

    .reveal.from-left {
        transform: translateX(-30px);
    }

    .reveal.from-right {
        transform: translateX(30px);
    }

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

    .reveal.delay-100 { transition-delay: 0.1s; }
    .reveal.delay-200 { transition-delay: 0.2s; }
    .reveal.delay-300 { transition-delay: 0.3s; }
    .reveal.delay-400 { transition-delay: 0.4s; }
}

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

/* ── Button hover effects ── */
a[href="#"], a[href$="#menu"], a[href$="#story"], a[href$="#visit"], a[href$="#contact"] {
    text-decoration: none;
}

/* ── Form focus styles ── */
input:focus, select:focus, textarea:focus {
    outline: none;
}

/* ── Responsive adjustments ── */
@media (max-width: 768px) {
    .font-display {
        font-weight: 400;
    }
}

/* ── Print styles ── */
@media print {
    nav, #contact-form, .scroll-line {
        display: none;
    }
    body {
        color: #000;
        background: #fff;
    }
}
