/* ========== BASE & RESET ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --plum-50: #faf0f6;
    --plum-200: #e8b8d6;
    --plum-300: #d784b8;
    --plum-500: #6b2150;
    --plum-600: #571a41;
    --plum-700: #431331;
    --plum-800: #2f0e22;
    --plum-900: #1b0814;
    --plum-950: #0f040a;
    --amber-400: #fbbf24;
    --amber-500: #d97706;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--plum-900);
    color: white;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-playfair {
    font-family: 'Playfair Display', Georgia, serif;
}

/* ========== NAVIGATION ========== */
.nav {
    background: transparent;
    transition: background 0.5s ease, box-shadow 0.5s ease;
}

.nav.scrolled {
    background: rgba(27, 8, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-logo {
    text-decoration: none;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--amber-400);
    transition: width 0.3s ease;
}

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

.nav-link:hover {
    color: var(--amber-400) !important;
}

/* Mobile Menu */
.mobile-menu {
    z-index: 40;
}

.mobile-menu.active {
    opacity: 1 !important;
    pointer-events: all !important;
}

.mobile-link {
    text-decoration: none;
}

.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

/* ========== HERO ========== */
.hero {
    position: relative;
}

.hero-gradient {
    background: radial-gradient(ellipse at 30% 20%, rgba(107, 33, 80, 0.8) 0%, transparent 60%),
                radial-gradient(ellipse at 70% 80%, rgba(217, 119, 6, 0.3) 0%, transparent 50%),
                linear-gradient(180deg, rgba(27, 8, 20, 0.3) 0%, rgba(27, 8, 20, 0.8) 100%);
}

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

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

.hero-headline {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 0.5s;
    opacity: 0;
}

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

.hero-ctas {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.1s;
    opacity: 0;
}

.hero-scroll {
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1.5s;
    opacity: 0;
}

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

@keyframes scroll {
    0% { top: -16px; opacity: 1; }
    100% { top: 48px; opacity: 0; }
}

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

/* ========== DIVIDER ========== */
.divider {
    background: var(--plum-900);
}

/* ========== SECTION HEADERS ========== */
.section-header {
    position: relative;
}

.label {
    letter-spacing: 0.2em;
}

/* ========== MENU CARDS ========== */
.menu-card {
    background: rgba(47, 14, 34, 0.5);
    border: 1px solid rgba(107, 33, 80, 0.4);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.menu-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--amber-400), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    border-color: rgba(217, 119, 6, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(217, 119, 6, 0.05);
}

.menu-card:hover::before {
    opacity: 1;
}

.card-image {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-card:hover .card-image {
    transform: scale(1.08);
}

/* ========== ABOUT ========== */
.about {
    position: relative;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107, 33, 80, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
    border-radius: inherit;
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-img {
    transform: scale(1.05);
}

/* ========== VISIT ========== */
.visit {
    position: relative;
}

.visit-info {
    transition: transform 0.3s ease;
}

.visit-info:hover {
    transform: translateX(8px);
}

.hours-row {
    transition: all 0.3s ease;
}

.hours-row:hover {
    padding-left: 8px;
}

.hours-row:hover span:first-child {
    color: var(--amber-400);
}

/* ========== CONTACT ========== */
.contact-input {
    width: 100%;
}

.contact-input:focus {
    border-color: rgba(217, 119, 6, 0.7);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.1);
}

.contact-submit {
    position: relative;
    overflow: hidden;
}

.contact-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.contact-submit:active::before {
    width: 300px;
    height: 300px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--plum-950);
}

.footer a {
    text-decoration: none;
}

/* ========== REVEAL ANIMATIONS ========== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal.revealed:nth-child(2) { transition-delay: 0.1s; }
.reveal.revealed:nth-child(3) { transition-delay: 0.2s; }
.reveal.revealed:nth-child(4) { transition-delay: 0.3s; }

/* ========== SCROLLBAR ========== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--plum-900);
}

::-webkit-scrollbar-thumb {
    background: var(--plum-600);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--plum-500);
}

/* ========== SELECTION ========== */
::selection {
    background: rgba(217, 119, 6, 0.3);
    color: white;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    .hero-headline {
        font-size: 2.5rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .menu-card {
        padding: 1.5rem;
    }

    .about, .visit, .contact {
        padding: 4rem 1.5rem !important;
    }

    .contact-form {
        padding: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .hero-headline {
        font-size: 2rem !important;
    }
}
