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

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

body {
    overflow-x: hidden;
}

::selection {
    background: #C06C44;
    color: #FDFCFA;
}

/* ─── Scrollbar ─── */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #FAF5EE;
}
::-webkit-scrollbar-thumb {
    background: #D4A56A;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #C06C44;
}

/* ─── Navbar ─── */
#navbar {
    background: transparent;
}

#navbar.scrolled {
    background: rgba(253, 252, 250, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(192, 108, 68, 0.1);
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 1px;
    background: #C06C44;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

#navbar.scrolled .nav-link {
    color: #722E17;
}

#navbar.scrolled .nav-link:hover {
    color: #C06C44;
}

/* ─── Mobile Menu ─── */
.mobile-link {
    position: relative;
}

.menu-line {
    display: block;
}

#mobile-menu.open {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.open .menu-line:first-child {
    transform: rotate(45deg) translate(3px, 3px);
}
#mobile-menu.open .menu-line:nth-child(2) {
    opacity: 0;
}
#mobile-menu.open .menu-line:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
    width: 1.25rem;
}

/* ─── Hero ─── */
.hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero-image-wrapper {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Menu Cards ─── */
.menu-card {
    background: rgba(253, 252, 250, 0.6);
    border: 1px solid rgba(212, 165, 106, 0.2);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.menu-card:hover {
    background: rgba(253, 248, 245, 0.9);
    border-color: rgba(192, 108, 68, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(112, 46, 23, 0.08);
}

.menu-card:hover .w-12 {
    background: #F2D5C0;
}

/* ─── About ─── */
.about-images {
    opacity: 1;
    transform: translateY(0);
}

.about-content {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Visit ─── */
.visit-header {
    opacity: 1;
    transform: translateY(0);
}

.visit-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(112, 46, 23, 0.06);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.visit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(112, 46, 23, 0.12);
}

.visit-info {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Contact Form ─── */
#contact-form input:focus,
#contact-form textarea:focus {
    border-color: #EAA47A !important;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
    color: rgba(158, 109, 58, 0.4);
}

/* ─── Scroll Reveal (below-fold only) ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ─── Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ─── Responsive ─── */
@media (max-width: 767px) {
    .menu-card {
        padding: 1.5rem;
    }
}
