/* ============================================
   THE WINE CELLAR — Bright, warm, celebratory
   Sunny neutrals + coral, mint, gold, grape
   ============================================ */

/* ============ CSS VARIABLES ============ */
:root {
    /* Bright accent palette */
    --coral: #FF6B6B;
    --coral-soft: #FF9E9E;
    --sunset: #FF8A5C;
    --gold-bright: #F4B942;
    --gold-pop: #FFD54F;
    --mint: #2D9D6C;
    --mint-light: #5EC99A;
    --mint-pale: #D4F0E4;
    --grape: #8B5CF6;
    --sky: #38BDF8;
    --peach-bg: #FFEEE6;
    --butter: #FFF8E7;
    --lavender-mist: #F3EEFF;

    /* Wine tones — saturated for light backgrounds */
    --wine-deep: #9B2D4A;
    --wine-burgundy: #C43B5E;
    --wine-merlot: #B84D68;
    --wine-rose: #E85D8E;
    --wine-blush: #7A6568;

    --green: #2D9D6C;
    --green-light: #3DB87E;
    --green-dark: #1E6B4A;
    --sage: #52B788;

    --gold: #E5A832;
    --gold-light: #FFF3D4;
    --gold-dark: #C48A1A;

    /* Page surfaces & text */
    --cream: #FFFBF7;
    --ivory: #FFF9F2;
    --warm-white: #FFFFFF;
    --charcoal: #3D3434;
    --slate: #5C5252;
    --white: #FFFFFF;
    --black: #2A2424;

    /* Glass / cards on light pages */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(200, 120, 140, 0.2);
    --glass-blur: 16px;
    
    /* Typography */
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Lato', -apple-system, sans-serif;
    --font-accent: 'Cormorant Garamond', Georgia, serif;
    
    /* Spacing */
    --section-padding: clamp(60px, 8vw, 120px);
    --container-max: 1400px;
    
    /* Transitions */
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ============ RESET & BASE ============ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, var(--cream) 0%, var(--peach-bg) 45%, var(--mint-pale) 100%);
    background-attachment: fixed;
    color: var(--charcoal);
    line-height: 1.75;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

@media (max-width: 768px) {
    body {
        background-attachment: scroll;
    }
}

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4,  h5 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.65rem, 6.5vw, 5.25rem);
    text-shadow: 0 2px 24px rgba(255, 255, 255, 0.35);
}

h2 {
    font-size: clamp(2.1rem, 4.5vw, 3.65rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.55rem, 3.2vw, 2.1rem);
}

p {
    font-size: clamp(1.08rem, 2.4vw, 1.3rem);
    max-width: 70ch;
}

.accent-text {
    font-family: var(--font-accent);
    font-style: italic;
    color: var(--wine-burgundy);
}

/* ============ CONTAINER ============ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(20px, 4vw, 60px);
}

/* ============ HEADER & NAVIGATION ============ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: calc(14px + env(safe-area-inset-top, 0px)) 0 18px;
    transition: var(--transition-smooth);
    background: rgba(255, 251, 247, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 182, 160, 0.35);
    box-shadow: 0 4px 24px rgba(255, 140, 120, 0.08);
}

.header .container {
    max-width: 100%;
    padding: 0 25px;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: calc(10px + env(safe-area-inset-top, 0px)) 0 14px;
    border-bottom: 1px solid rgba(45, 157, 108, 0.2);
    box-shadow: 0 8px 32px rgba(56, 189, 248, 0.12);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.3));
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--wine-deep);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-size: 1.02rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    position: relative;
    padding: 5px 0;
    transition: var(--transition-smooth);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright));
    transition: var(--transition-smooth);
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--wine-burgundy);
}

.nav-links a.active {
    color: var(--mint);
    font-weight: 600;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-contact {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-phone {
    color: var(--mint);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    font-weight: 600;
    transition: var(--transition-smooth);
}

.nav-phone:hover {
    color: var(--wine-burgundy);
}

.nav-socials {
    display: flex;
    gap: 15px;
}

.nav-socials a {
    color: var(--wine-burgundy);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.nav-socials a:hover {
    color: var(--coral);
    transform: translateY(-2px);
}

/* Mobile Menu Toggle - Simple Animated Hamburger */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: transparent;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
    padding: 0;
}

.menu-toggle span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 2px;
    background: var(--wine-deep);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle span:nth-child(1) {
    top: 14px;
}

.menu-toggle span:nth-child(2) {
    top: 21px;
}

.menu-toggle span:nth-child(3) {
    top: 28px;
}

/* Hamburger to X animation */
.menu-toggle.active span:nth-child(1) {
    top: 21px;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    top: 21px;
    transform: translateX(-50%) rotate(-45deg);
}

@media (max-width: 520px) {
    .logo-text {
        display: none;
    }
}

/* ============ HERO SECTION ============ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.92) saturate(1.15);
    transform: scale(1.1);
    animation: heroZoom 30s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from { transform: scale(1.1); }
    to { transform: scale(1.2); }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        165deg,
        rgba(255, 255, 255, 0.15) 0%,
        rgba(255, 138, 92, 0.35) 28%,
        rgba(244, 185, 66, 0.25) 55%,
        rgba(45, 157, 108, 0.3) 78%,
        rgba(139, 92, 246, 0.2) 100%
    );
    z-index: 1;
}

/* Reserves vertical space under fixed header on small screens (see @media 768) */
.hero-spacer {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    padding: 10px 28px;
    border: 2px solid rgba(255, 255, 255, 0.85);
    border-radius: 50px;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.55), rgba(244, 185, 66, 0.45));
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.25);
}

.hero-badge i {
    margin-right: 8px;
    color: #fff;
}

.hero h1 {
    color: #fff;
    margin-bottom: 25px;
    animation: fadeInUp 1s ease 0.2s backwards;
    font-size: clamp(3rem, 7vw, 5.5rem);
    line-height: 1.1;
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25), 0 0 40px rgba(255, 214, 102, 0.35);
}

.hero h1 .script {
    display: block;
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.5em;
    color: #FFE566;
    font-weight: 400;
    margin-bottom: 10px;
    letter-spacing: 0.05em;
}

.hero h1 span:not(.script) {
    color: #C8FFE8;
    display: block;
    font-style: italic;
}

.hero-tagline {
    font-family: var(--font-accent);
    font-size: clamp(1.2rem, 3.5vw, 1.75rem);
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s backwards;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-hours {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.45);
    animation: fadeInUp 1s ease 0.8s backwards;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.08em;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.hero-hours i {
    color: #FFE566;
    margin-right: 8px;
}

.hero-hours .divider {
    margin: 0 15px;
    opacity: 0.4;
}

/* Upcoming events (flyer thumbnails) — under hero hours */
.hero-upcoming-events {
    margin-top: 28px;
    width: 100%;
    max-width: 1080px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.95s backwards;
}

.hero-upcoming-label {
    text-align: center;
    font-size: 0.72rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 14px;
    font-weight: 700;
}

.hero-upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    align-items: stretch;
}

.hero-event-thumb {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 14px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    transition: var(--transition-smooth);
}

.hero-event-thumb:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 230, 102, 0.75);
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

/* Full flyer visible (letterbox in frame, no cropping) */
.hero-flyer-frame {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.94);
    padding: 6px 8px;
    min-height: 100px;
    max-height: min(38vh, 300px);
    box-sizing: border-box;
}

.hero-event-thumb img {
    width: 100%;
    height: auto;
    max-height: min(38vh, 300px);
    object-fit: contain;
    object-position: center;
    display: block;
}

.hero-event-thumb-body {
    padding: 10px 12px 12px;
    text-align: center;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.45) 100%);
}

.hero-event-thumb-title {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.hero-event-thumb-datetime {
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    color: rgba(255, 251, 230, 0.95);
    line-height: 1.35;
}

.hero-event-thumb-datetime i {
    color: #FFE566;
    margin-right: 4px;
    font-size: 0.65rem;
}

.hero-upcoming-more {
    display: block;
    text-align: center;
    margin-top: 16px;
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.25s ease;
}

.hero-upcoming-more:hover {
    color: #FFE566;
}

@media (max-width: 900px) {
    .hero-upcoming-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .hero-upcoming-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        max-width: 340px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-event-thumb-title {
        font-size: 0.95rem;
    }

    .hero-event-thumb-datetime {
        font-size: 0.85rem;
    }

    .hero-upcoming-label {
        font-size: 0.8rem;
    }
}

/* Decorative vine elements */
.hero-decor {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.decor-vine {
    position: absolute;
    width: 200px;
    height: 100%;
    opacity: 0.08;
}

.decor-vine.left {
    left: 0;
    background: linear-gradient(90deg, rgba(183,110,121,0.3) 0%, transparent 100%);
}

.decor-vine.right {
    right: 0;
    background: linear-gradient(-90deg, rgba(45,90,69,0.3) 0%, transparent 100%);
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 16px 36px;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background: linear-gradient(135deg, var(--mint) 0%, #1FA87A 100%);
    color: #fff;
    box-shadow: 0 8px 24px rgba(45, 157, 108, 0.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--mint-light) 0%, var(--mint) 100%);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(45, 157, 108, 0.45);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.95);
    color: var(--wine-burgundy);
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--coral-soft), var(--gold-pop));
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
}

.btn-wine {
    background: linear-gradient(135deg, var(--wine-burgundy), var(--grape));
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 59, 94, 0.35);
}

.btn-wine:hover {
    background: linear-gradient(135deg, var(--coral), var(--wine-burgundy));
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.35);
}

/* ============ SCROLL INDICATOR ============ */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #FFE566;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

/* ============ SECTION STYLES ============ */
section {
    padding: var(--section-padding) 0;
    position: relative;
}

/* Full-bleed hero — avoid double vertical padding cutting off mobile content */
section.hero {
    padding: 0;
}

/* Desktop / tablet: hero is vertically centered in 100vh; fixed header would overlap without offset.
   Mobile uses .hero-spacer (see @media max-width 768) instead of padding-top. */
@media (min-width: 769px) {
    html {
        scroll-padding-top: calc(82px + env(safe-area-inset-top, 0px));
    }

    section.hero {
        padding-top: calc(82px + env(safe-area-inset-top, 0px));
    }
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .overline {
    display: inline-block;
    font-size: 0.92rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--mint);
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header h2 {
    color: var(--wine-deep);
}

.section-header .underline {
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--mint-light));
    border-radius: 4px;
    margin: 20px auto 0;
}

/* Alternating bright sections */
.section-dark {
    background: linear-gradient(180deg, var(--butter) 0%, var(--peach-bg) 100%);
    color: var(--charcoal);
}

.section-dark .section-header h2 {
    color: var(--wine-deep);
}

.section-dark .section-header .overline {
    color: var(--sunset);
}

/* Burgundy Section — juicy gradient */
.section-burgundy {
    background: linear-gradient(125deg, #E85D8E 0%, #C43B5E 35%, #F4B942 90%, #FF8A5C 100%);
    color: #fff;
}

.section-burgundy .section-header h2,
.section-burgundy h2 {
    color: #fff !important;
}

.section-burgundy p {
    font-size: 1.22rem;
}

/* Light Section */
.section-light {
    background: linear-gradient(180deg, #fff 0%, var(--lavender-mist) 100%);
    color: var(--charcoal);
}

.section-light h2, .section-light h3 {
    color: var(--wine-burgundy);
}

.section-light .section-header .overline {
    color: var(--grape);
}

/* ============ ABOUT SECTION ============ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 48px rgba(255, 138, 92, 0.2), 0 0 0 4px rgba(255, 255, 255, 0.9);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -16px;
    left: -16px;
    right: 16px;
    bottom: 16px;
    border: 3px solid var(--gold-bright);
    border-radius: 20px;
    z-index: -1;
    box-shadow: 0 0 0 2px var(--coral);
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-content p {
    color: var(--slate);
    margin-bottom: 20px;
    font-size: 1.08rem;
}

.hours-box {
    background: #fff;
    border: 2px solid rgba(45, 157, 108, 0.25);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 12px 40px rgba(56, 189, 248, 0.12);
}

.hours-box h4 {
    color: var(--mint);
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hours-list {
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid rgba(232, 93, 142, 0.15);
    font-size: 1.05rem;
    color: var(--charcoal);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list .day {
    font-weight: 600;
}

.hours-list .closed {
    color: var(--wine-rose);
}

/* ============ MENU SECTION ============ */
.menu-categories {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 50px;
}

.menu-tab {
    padding: 12px 28px;
    background: #fff;
    border: 2px solid rgba(139, 92, 246, 0.25);
    color: var(--wine-deep);
    font-family: var(--font-body);
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 999px;
    transition: var(--transition-smooth);
}

.menu-tab:hover, .menu-tab.active {
    background: linear-gradient(135deg, var(--mint), var(--sky));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(45, 157, 108, 0.3);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.menu-category {
    background: #fff;
    border: 2px solid rgba(255, 138, 92, 0.2);
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 16px 40px rgba(255, 107, 107, 0.08);
}

.menu-category h3 {
    color: var(--wine-burgundy);
    font-size: 1.4rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(244, 185, 66, 0.5);
}

.menu-coming-soon,
.coming-soon {
    text-align: center;
    font-style: italic;
    color: var(--slate);
    padding: 30px 20px;
    font-size: 1.1rem;
}

.menu-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 12px 0;
    border-bottom: 1px dotted rgba(92, 82, 82, 0.2);
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item-name {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    color: var(--charcoal);
}

.menu-item-desc {
    font-size: 0.85rem;
    color: var(--slate);
    margin-top: 3px;
}

.menu-item-price {
    font-weight: 600;
    color: var(--mint);
    white-space: nowrap;
    margin-left: 20px;
}

/* ============ EVENTS SECTION ============ */
.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
    gap: 30px;
}

.event-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    transition: var(--transition-smooth);
}

.event-card-body {
    position: relative;
    display: block;
}

.event-card-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.event-image {
    position: relative;
    background: #f0f4f2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    max-height: none;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: auto;
    max-height: min(85vh, 720px);
    object-fit: contain;
    object-position: center;
    display: block;
    transition: var(--transition-smooth);
}

.event-card:hover .event-image img {
    transform: scale(1.02);
}

.event-content {
    position: relative;
}

.event-download-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 50%;
    color: var(--wine-burgundy);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.event-download-btn:hover {
    background: var(--wine-burgundy);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Date rail: corner badge on desktop, vertical strip on mobile */
.event-date-rail {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 3;
    background: linear-gradient(145deg, var(--wine-burgundy) 0%, #9b2d4a 100%);
    color: var(--white);
    padding: 14px 16px;
    border-radius: 8px;
    text-align: center;
    min-width: 72px;
    box-shadow: 0 6px 22px rgba(128, 0, 32, 0.45);
}

.event-date-rail::after {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    right: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gold-bright), var(--mint-light));
    border-radius: 2px 0 0 2px;
    opacity: 0.85;
}

.event-date-rail time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    writing-mode: horizontal-tb;
}

.event-date-rail-day {
    display: block;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    font-family: var(--font-display);
}

.event-date-rail-month {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

/* Legacy badge (no longer emitted; keep if old HTML cached) */
.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--wine-burgundy);
    color: var(--white);
    padding: 15px;
    border-radius: 5px;
    text-align: center;
    min-width: 70px;
    box-shadow: 0 5px 20px rgba(128, 0, 32, 0.4);
}

.event-date-badge .day {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.event-date-badge .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.event-content {
    padding: 30px;
    color: var(--charcoal);
}

.event-content h3 {
    color: var(--wine-burgundy);
    margin-bottom: 10px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
    margin-bottom: 15px;
    font-size: 1.05rem;
    color: var(--slate);
}

.event-meta i {
    color: var(--green);
    margin-right: 5px;
}

.event-content p {
    color: var(--slate);
    font-size: 1.08rem;
}

/* Events subpage hero (was inline in events.html) */
.page-hero {
    min-height: 46vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: calc(88px + env(safe-area-inset-top, 0px)) 20px 48px;
}

.page-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(165deg, rgba(255,255,255,0.2) 0%, rgba(255,138,92,0.45) 35%, rgba(244,185,66,0.35) 65%, rgba(45,157,108,0.4) 100%);
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 24px 16px;
}

.page-hero h1 {
    font-size: clamp(2.35rem, 7vw, 4rem);
    color: #fff;
    margin-bottom: 15px;
    text-shadow: 0 4px 32px rgba(0,0,0,0.2);
}

.page-hero p {
    font-family: var(--font-accent);
    font-size: clamp(1.25rem, 3.5vw, 1.55rem);
    color: rgba(255,255,255,0.95);
    font-style: italic;
    max-width: 40ch;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 38vh;
        padding: calc(72px + env(safe-area-inset-top, 0px)) 16px 36px;
    }
}

/* Calendar: link-first on small screens */
.calendar-section {
    margin-top: 48px;
}

.calendar-fallback {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.calendar-fallback-btn {
    width: 100%;
    max-width: 360px;
}

@media (max-width: 640px) {
    .calendar-fallback {
        display: block;
    }

    .calendar-wrapper {
        display: none;
    }
}

/* Calendar Embed */
.calendar-wrapper {
    margin-top: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.calendar-wrapper iframe {
    width: 100%;
    height: min(600px, 75vh);
    border: none;
}

/* ============ PACKAGES / PRIVATE EVENTS SECTION ============ */
.section-description {
    max-width: 700px;
    margin: 0 auto 50px;
    text-align: center;
    color: var(--slate);
    font-size: 1.2rem;
    line-height: 1.75;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.package-card {
    background: #fff;
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(56, 189, 248, 0.1);
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--mint-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    border-color: var(--coral-soft);
    box-shadow: 0 24px 56px rgba(255, 107, 107, 0.18);
}

.package-card:hover::before {
    transform: scaleX(1);
}

.package-card.featured {
    background: linear-gradient(160deg, #fff 0%, var(--lavender-mist) 50%, var(--mint-pale) 100%);
    border-color: var(--grape);
    transform: scale(1.05);
    box-shadow: 0 20px 56px rgba(139, 92, 246, 0.2);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.package-badge {
    position: absolute;
    top: 22px;
    right: -50px;
    background: var(--wine-burgundy);
    color: var(--cream);
    padding: 8px 60px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    letter-spacing: 1px;
    white-space: nowrap;
    text-align: center;
}

.package-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--coral), var(--gold-bright));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2rem;
    color: #fff;
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.35);
}

.package-card h3 {
    color: var(--wine-deep);
    font-size: 1.65rem;
    margin-bottom: 15px;
    font-family: var(--font-display);
}

.package-price {
    color: var(--slate);
    font-size: 1.1rem;
    margin-bottom: 25px;
}

.package-price span {
    color: var(--mint);
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.package-features li {
    padding: 10px 0;
    color: var(--charcoal);
    border-bottom: 1px solid rgba(45, 157, 108, 0.12);
    font-size: 1.05rem;
}

.package-features li:last-child {
    border-bottom: none;
}

.package-features i {
    color: var(--green-light);
    margin-right: 10px;
    font-size: 0.85rem;
}

.packages-cta {
    text-align: center;
    margin-top: 60px;
    padding: 40px;
    background: linear-gradient(135deg, rgba(255, 214, 102, 0.25), rgba(212, 240, 228, 0.6));
    border-radius: 20px;
    border: 2px solid rgba(244, 185, 66, 0.4);
}

.packages-cta p {
    color: var(--charcoal);
    font-size: 1.2rem;
    margin: 0 auto 25px;
    text-align: center !important;
    max-width: 100%;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

@media (max-width: 992px) {
    .packages-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .package-card.featured:hover {
        transform: translateY(-10px);
    }
}

/* ============ GALLERY SECTION ============ */
.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    aspect-ratio: 1;
}

.gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: 1; }
/* Wide tile: 6th child (5th photo); 5th slot is the fixed logo */
.gallery-item:nth-child(6) { grid-column: span 2; aspect-ratio: 2/1; }
/* Wide tile: 11th child (10th photo) — keeps row 4 even with the logo above */
.gallery-item:nth-child(11) { grid-column: span 2; aspect-ratio: 2/1; }

.gallery-item.gallery-brand {
    grid-column: 4;
    grid-row: 2;
    aspect-ratio: 1;
    cursor: default;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 232, 220, 0.92) 50%, rgba(232, 248, 240, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    box-shadow: inset 0 0 0 1px rgba(139, 90, 60, 0.08);
}

.gallery-item.gallery-brand img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: none;
}

.gallery-item.gallery-brand:hover img {
    transform: none;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(45, 157, 108, 0.88) 0%, rgba(232, 93, 142, 0.35) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px;
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: var(--white);
    font-family: var(--font-accent);
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .gallery-item:not(.gallery-brand) .gallery-overlay {
        opacity: 1;
        padding: 14px 16px;
        background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.2) 55%, transparent 100%);
    }

    .gallery-item:not(.gallery-brand) .gallery-overlay span {
        font-size: 1.05rem;
    }

    .gallery-item:not(.gallery-brand):hover img {
        transform: none;
    }
}

.gallery-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.gallery-load-more-wrap .btn {
    min-width: 220px;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: calc(24px + env(safe-area-inset-top, 0px)) 20px calc(24px + env(safe-area-inset-bottom, 0px));
}

.lightbox.active {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 5px;
}

.lightbox-close {
    position: absolute;
    top: calc(16px + env(safe-area-inset-top, 0px));
    right: calc(16px + env(safe-area-inset-right, 0px));
    background: none;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.lightbox-close:hover {
    color: var(--wine-rose);
    transform: rotate(90deg);
}

/* ============ CONTACT SECTION ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info {
    padding: 40px;
    background: #fff;
    border: 2px solid rgba(56, 189, 248, 0.25);
    border-radius: 20px;
    box-shadow: 0 16px 48px rgba(56, 189, 248, 0.12);
}

.contact-info h3 {
    color: var(--wine-burgundy);
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--green-light);
    width: 30px;
}

.contact-item h4 {
    font-size: 1rem;
    color: var(--wine-deep);
    margin-bottom: 5px;
}

.contact-item p, .contact-item a {
    color: var(--slate);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.05rem;
}

.contact-item a:hover {
    color: var(--coral);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.social-links a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--wine-burgundy), var(--grape));
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--coral), var(--gold-bright));
    color: #fff;
    transform: translateY(-5px);
}

.contact-map {
    border-radius: 10px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: saturate(1.1) contrast(1.02);
}

/* ============ FOOTER ============ */
.footer {
    background: linear-gradient(165deg, #4A2C2A 0%, #6B3A5C 40%, #2D6B5A 100%);
    padding: 44px 0 calc(24px + env(safe-area-inset-bottom, 0px));
    border-top: 4px solid var(--gold-bright);
}

.footer-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.5fr) auto;
    gap: clamp(24px, 4vw, 40px);
    align-items: start;
    margin-bottom: 28px;
}

.footer-brand img {
    height: 52px;
    width: auto;
    margin-bottom: 10px;
}

.footer-tagline {
    color: rgba(255, 251, 247, 0.9);
    font-size: 1.05rem;
    line-height: 1.45;
    margin-bottom: 14px;
    max-width: 28ch;
}

.social-links--compact a {
    width: 46px;
    height: 46px;
    font-size: 1.15rem;
}

.footer-nav {
    min-width: 0;
}

.footer-links--row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links--row li {
    margin: 0;
}

.footer-links--row a {
    color: rgba(255, 251, 247, 0.92);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 6px 0;
    display: inline-block;
}

.footer-links--row a:hover {
    color: #C8FFE8;
}

.footer-hours-block {
    min-width: 160px;
}

.footer-hours-title {
    color: #FFE566;
    font-size: 1rem;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-family: var(--font-body);
    font-weight: 700;
}

.footer-hours {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 1.02rem;
    color: rgba(255, 251, 247, 0.88);
    line-height: 1.5;
}

.footer-hours li {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 6px;
}

.footer-hours-day {
    font-weight: 600;
    color: rgba(255, 245, 220, 0.95);
    min-width: 4.5em;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.98rem;
    color: rgba(255, 251, 247, 0.72);
}

.footer-bottom p {
    margin: 0;
    font-size: inherit;
}

.footer-credit a {
    color: #FFD54F;
    text-decoration: none;
}

.footer-credit a:hover {
    text-decoration: underline;
}

/* Legacy single-column footer lists (if any page still uses them) */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
    color: rgba(255, 251, 247, 0.85);
}

.footer-links a {
    color: rgba(255, 251, 247, 0.85);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-size: 1.02rem;
}

.footer-links a:hover {
    color: #C8FFE8;
    padding-left: 5px;
}

.footer h4 {
    color: #FFE566;
    font-size: 1.05rem;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============ ADMIN STYLES ============ */
.admin-login {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--peach-bg) 0%, var(--lavender-mist) 50%, var(--mint-pale) 100%);
}

.login-card {
    background: var(--white);
    padding: 50px;
    border-radius: 15px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.login-card h2 {
    color: var(--wine-burgundy);
    text-align: center;
    margin-bottom: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--wine-burgundy);
}

.btn-login {
    width: 100%;
    padding: 16px;
    background: var(--wine-burgundy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-login:hover {
    background: var(--wine-deep);
}

/* Admin Dashboard */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 280px;
    background: var(--charcoal);
    padding: 30px;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar h3 {
    color: var(--wine-rose);
    font-size: 1.2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.admin-nav {
    list-style: none;
}

.admin-nav li {
    margin-bottom: 10px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    color: var(--cream);
    text-decoration: none;
    border-radius: 8px;
    transition: var(--transition-smooth);
}

.admin-nav a:hover, .admin-nav a.active {
    background: var(--wine-burgundy);
}

.admin-nav i {
    width: 20px;
}

.admin-content {
    flex: 1;
    margin-left: 280px;
    padding: 40px;
    background: var(--cream);
    min-height: 100vh;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.admin-header h1 {
    color: var(--wine-burgundy);
    font-size: 2rem;
}

/* Admin Cards */
.admin-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
}

.admin-card h3 {
    color: var(--charcoal);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

/* Drag & Drop Zone */
.dropzone {
    border: 2px dashed rgba(183, 110, 121, 0.4);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    background: rgba(183, 110, 121, 0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.dropzone:hover, .dropzone.dragover {
    border-color: var(--wine-rose);
    background: rgba(183, 110, 121, 0.1);
}

.dropzone i {
    font-size: 1.8rem;
    color: var(--wine-rose);
    margin-bottom: 8px;
}

.dropzone p {
    color: var(--charcoal);
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

.dropzone span {
    color: var(--slate);
    font-size: 0.75rem;
    display: block;
    margin-top: 4px;
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    pointer-events: none;
}

.dropzone-content * {
    pointer-events: none;
}

/* Admin Grid Items */
.admin-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.admin-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.admin-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.admin-item-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.admin-item-actions button {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-delete {
    background: #e74c3c;
    color: white;
}

.btn-delete:hover {
    background: #c0392b;
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1200px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .footer-hours-block {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 12px 28px;
    }

    .footer-hours-title {
        margin-bottom: 0;
    }

    .footer-hours {
        display: flex;
        flex-wrap: wrap;
        gap: 8px 20px;
    }

    .footer-hours li {
        margin-bottom: 0;
    }
}

@media (max-width: 992px) {
    .nav-links, .nav-contact {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .about-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image::before {
        display: none;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .gallery-item {
        aspect-ratio: 1;
    }
    
    .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; aspect-ratio: 2/1; }
    .gallery-item:nth-child(6) { grid-column: span 1; aspect-ratio: 1; }
    .gallery-item:nth-child(11) { grid-column: span 2; aspect-ratio: 2/1; }

    .gallery-item.gallery-brand {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 2/1;
        max-height: none;
    }
    
    .admin-sidebar {
        display: none;
    }
    
    .admin-content {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 18px;
        scroll-padding-top: calc(124px + env(safe-area-inset-top, 0px));
    }
    
    h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
    }
    
    h2 {
        font-size: clamp(1.65rem, 6vw, 2.15rem);
    }
    
    h3 {
        font-size: clamp(1.35rem, 4.5vw, 1.65rem);
    }
    
    /* Container tighter padding */
    .container {
        padding: 0 15px;
    }
    
    /* Section padding reduction */
    section {
        padding: 50px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }

    /* Hero mobile — column layout + in-flow spacer clears fixed header */
    .hero {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        min-height: 0;
        overflow: visible;
        padding-top: 0;
        padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px));
    }

    .hero-spacer {
        display: block;
        flex: 0 0 auto;
        width: 100%;
        height: calc(124px + env(safe-area-inset-top, 0px));
        min-height: calc(124px + env(safe-area-inset-top, 0px));
        pointer-events: none;
    }

    .hero-bg img {
        filter: brightness(0.68) saturate(1.05);
        transform: scale(1.04);
        animation: none;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(12, 14, 18, 0.58) 0%,
            rgba(20, 18, 24, 0.52) 35%,
            rgba(28, 24, 30, 0.6) 70%,
            rgba(18, 22, 26, 0.65) 100%
        );
    }
    
    .hero-content {
        flex: 0 1 auto;
        align-self: center;
        width: 100%;
        padding: 10px 16px 0;
        max-width: 100%;
        overflow: visible;
    }
    
    .hero h1 {
        font-size: clamp(2.2rem, 10vw, 3.2rem);
        margin: 0 0 15px;
        padding-top: 0.2em;
        line-height: 1.22;
        color: #fff;
        animation: none;
        opacity: 1;
        transform: none;
        text-shadow:
            0 1px 2px rgba(0, 0, 0, 0.9),
            0 4px 20px rgba(0, 0, 0, 0.65),
            0 0 2px rgba(0, 0, 0, 0.8);
    }
    
    .hero h1 .script {
        font-size: 0.55em;
        color: #FFE566;
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.95),
            0 2px 14px rgba(0, 0, 0, 0.7);
    }

    .hero h1 span:not(.script) {
        color: #e8fff5;
        text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.95),
            0 3px 18px rgba(0, 0, 0, 0.65);
    }
    
    .hero-tagline {
        font-size: 1.12rem;
        margin-bottom: 22px;
        color: #fff;
        line-height: 1.55;
        animation: none;
        opacity: 1;
        transform: none;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
        background: rgba(0, 0, 0, 0.38);
        padding: 16px 18px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .hero-badge {
        padding: 8px 16px;
        font-size: 0.75rem;
        margin-bottom: 20px;
    }
    
    .hero-hours {
        margin-top: 22px;
        padding: 16px 18px;
        font-size: clamp(1.08rem, 3.5vw, 1.28rem);
        flex-direction: column;
        gap: 10px;
        color: #fff;
        font-weight: 700;
        border-top: none;
        background: rgba(0, 0, 0, 0.4);
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.85);
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-hours i {
        color: #FFE566;
    }

    .hero-upcoming-label {
        color: #fff;
        text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    }

    .hero-upcoming-more {
        color: #fff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
    }

    .hero-upcoming-events {
        margin-top: 22px;
        max-width: 100%;
        padding: 0 2px;
    }

    .hero-upcoming-grid {
        gap: 10px;
    }

    .hero-event-thumb {
        background: rgba(0, 0, 0, 0.35);
        border-color: rgba(255, 255, 255, 0.22);
    }

    .hero-event-thumb-body {
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.75) 100%);
    }

    .hero-event-thumb-title {
        font-size: 0.88rem;
    }

    .hero-event-thumb-datetime {
        font-size: 0.8rem;
        color: rgba(255, 255, 255, 0.97);
    }
    
    .hero-hours .divider {
        display: none;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        animation: none;
        opacity: 1;
        transform: none;
    }
    
    .btn {
        width: 100%;
        max-width: 340px;
        justify-content: center;
        padding: 14px 26px;
        font-size: 0.98rem;
    }
    
    /* About section */
    .about-text p {
        font-size: 1.06rem;
    }
    
    .features-list {
        gap: 15px;
    }
    
    .feature-item {
        font-size: 1.02rem;
    }
    
    /* Menu section */
    .menu-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .menu-card {
        padding: 20px;
    }
    
    .menu-card h3 {
        font-size: 1.2rem;
    }
    
    .menu-item-row {
        font-size: 1.02rem;
    }
    
    /* Events section */
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-content {
        padding: 22px;
    }

    /* Events: vertical date strip — no overlay on flyer */
    .event-card-body {
        display: flex;
        flex-direction: row;
        align-items: stretch;
    }

    .event-date-rail {
        position: static;
        flex: 0 0 76px;
        width: 76px;
        min-width: 76px;
        padding: 10px 6px 14px;
        margin: 0;
        border-radius: 0;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        display: flex;
        align-items: stretch;
        justify-content: center;
        background: linear-gradient(180deg, #1a1520 0%, var(--wine-deep) 18%, var(--wine-burgundy) 45%, #9b2d4a 72%, #2d6b5a 100%);
        box-shadow: inset -4px 0 18px rgba(0, 0, 0, 0.2);
    }

    .event-date-rail::after {
        top: 12px;
        bottom: 12px;
        right: 6px;
        width: 2px;
        opacity: 1;
    }

    /* Mobile: day on top, month below — both horizontal; anchored toward top of rail */
    .event-date-rail time {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        gap: 5px;
        writing-mode: horizontal-tb;
        width: 100%;
        padding-top: 2px;
    }

    .event-date-rail-day {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: 2.05rem;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 0.95;
    }

    .event-date-rail-month {
        writing-mode: horizontal-tb;
        text-orientation: mixed;
        font-size: clamp(0.68rem, 3.4vw, 0.8rem);
        font-weight: 800;
        letter-spacing: 0.12em;
        line-height: 1.15;
        text-align: center;
        opacity: 0.98;
    }

    .event-card-main {
        flex: 1;
        min-width: 0;
        border-top-right-radius: 12px;
        border-bottom-right-radius: 12px;
        overflow: hidden;
    }

    .event-card:hover {
        transform: translateY(-6px);
    }

    .contact-info {
        padding: 22px 18px;
    }
    
    /* Footer */
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 22px;
        margin-bottom: 22px;
    }

    .footer-tagline {
        margin-left: auto;
        margin-right: auto;
    }

    .social-links--compact {
        justify-content: center;
    }

    .footer-links--row {
        justify-content: center;
    }

    .footer-hours-block {
        grid-column: auto;
        flex-direction: column;
        align-items: center;
    }

    .footer-hours {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 280px;
    }

    .footer-hours li {
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        justify-content: center;
    }
    
    .footer-brand img {
        height: 48px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Gallery */
    .gallery-masonry {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }
    
    .gallery-item,
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(6),
    .gallery-item:nth-child(11) { 
        grid-column: span 1; 
        grid-row: span 1;
        aspect-ratio: 1;
    }

    .gallery-item.gallery-brand {
        grid-column: span 2;
        grid-row: auto;
        aspect-ratio: 2 / 1;
    }
}

/* Small mobile */
@media (max-width: 480px) {
    html {
        font-size: 17px;
    }
    
    .hero h1 {
        font-size: clamp(1.95rem, 9vw, 2.4rem);
    }
    
    .hero-tagline {
        font-size: 1.12rem;
    }
    
    .btn {
        padding: 14px 22px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 320px;
    }
    
    .container {
        padding: 0 14px;
    }
    
    section {
        padding: 44px 0;
    }
}

/* Mobile Nav Overlay - Clean & Elegant */
.mobile-nav {
    position: fixed;
    inset: 0;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-nav.active {
    visibility: visible;
    opacity: 1;
    z-index: 1002;
}

/* Pinned to overlay top; stays put when menu body scrolls */
.mobile-nav .mobile-nav-close-btn {
    position: absolute;
    top: calc(8px + env(safe-area-inset-top, 0px));
    right: max(12px, env(safe-area-inset-right, 0px));
    z-index: 3;
}

.mobile-nav-backdrop {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(255, 251, 247, 0.97) 0%, rgba(255, 238, 230, 0.98) 50%, rgba(212, 240, 228, 0.95) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.mobile-nav-content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /* Top: room for pinned close btn + large logo; bottom: safe area */
    padding: calc(58px + env(safe-area-inset-top, 0px)) 18px calc(14px + env(safe-area-inset-bottom, 0px));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Hide decorative circles */
.mobile-nav-decor {
    display: none;
}

.mobile-nav-top {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto 12px;
    flex-shrink: 0;
}

/* Mobile nav logo */
.mobile-nav-logo {
    margin-bottom: 0;
}

.mobile-nav-logo img {
    width: clamp(120px, 42vw, 200px);
    height: auto;
    opacity: 0.95;
}

.mobile-nav-close-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(155, 45, 74, 0.35);
    border-radius: 50%;
    background: #fff;
    color: var(--wine-deep);
    font-size: 1.2rem;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.mobile-nav-close-btn:hover,
.mobile-nav-close-btn:active {
    background: linear-gradient(135deg, var(--wine-burgundy), #9b2d4a);
    color: #fff;
    border-color: transparent;
}

/* Nav links */
.mobile-nav-links {
    list-style: none;
    text-align: center;
    margin: 4px 0;
}

.mobile-nav-links li {
    margin: 0;
}

.mobile-nav-links a {
    display: block;
    color: var(--wine-deep);
    text-decoration: none;
    font-size: 1.18rem;
    font-family: var(--font-display);
    padding: 8px 16px;
    letter-spacing: 0.04em;
    line-height: 1.25;
    transition: color 0.3s ease;
}

.mobile-nav-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 6px 0 2px;
    padding: 11px 22px;
    min-height: 46px;
    background: linear-gradient(135deg, var(--mint) 0%, #1FA87A 100%);
    color: #fff !important;
    text-decoration: none;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(45, 157, 108, 0.32);
}

.mobile-nav-call i {
    font-size: 1rem;
}

.mobile-nav-address {
    display: inline-flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
    max-width: 280px;
    margin: 4px 12px 0;
    padding: 12px 14px;
    text-align: center;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.02em;
    color: var(--wine-deep);
    background: rgba(255, 255, 255, 0.78);
    border: 1px solid rgba(155, 45, 74, 0.22);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.mobile-nav-address i {
    margin-top: 3px;
    flex-shrink: 0;
    color: var(--wine-burgundy);
    font-size: 1rem;
}

.mobile-nav-address:hover,
.mobile-nav-address:active {
    color: var(--coral);
    background: #fff;
    border-color: rgba(45, 157, 108, 0.35);
}

.mobile-nav-links a:hover {
    color: var(--coral);
}

/* Remove the decorative lines */
.mobile-nav-links a::before,
.mobile-nav-links a::after {
    display: none;
}

/* Mobile nav footer */
.mobile-nav-footer {
    margin-top: auto;
    padding-top: 18px;
    text-align: center;
}

.mobile-nav-socials {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.mobile-nav-socials a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid rgba(232, 93, 142, 0.35);
    border-radius: 50%;
    color: var(--wine-burgundy);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.mobile-nav-socials a:hover {
    background: linear-gradient(135deg, var(--coral), var(--gold-bright));
    border-color: transparent;
    color: #fff;
}

.mobile-nav-tagline {
    font-family: var(--font-accent);
    font-style: italic;
    font-size: 0.78rem;
    color: var(--slate);
    line-height: 1.35;
    margin: 0;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--wine-rose);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    right: 16px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    pointer-events: none;
}

.toast-container .toast {
    pointer-events: auto;
}

@media (min-width: 600px) {
    .toast-container {
        left: auto;
        right: calc(24px + env(safe-area-inset-right, 0px));
        width: min(420px, calc(100vw - 48px));
        align-items: flex-end;
    }
}

.toast {
    position: relative;
    bottom: auto;
    right: auto;
    background: #fff;
    color: var(--charcoal);
    padding: 18px 22px;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(255, 107, 107, 0.2);
    border: 2px solid rgba(45, 157, 108, 0.25);
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.05rem;
    line-height: 1.4;
    animation: slideIn 0.3s ease;
}

.toast.success {
    border-left: 4px solid #27ae60;
}

.toast.error {
    border-left: 4px solid #e74c3c;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* No Events Message */
.no-events {
    text-align: center;
    padding: 60px 20px;
    color: var(--slate);
}

.no-events i {
    font-size: 4rem;
    color: var(--wine-rose);
    margin-bottom: 20px;
}

/* ============ MENU DRAWER ============ */
/* Floating Tab */
.menu-floating-tab {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(180deg, var(--coral) 0%, var(--gold-bright) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-right: none;
    padding: 20px 15px;
    border-radius: 18px 0 0 18px;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
    box-shadow: -6px 8px 32px rgba(255, 107, 107, 0.45);
}

.menu-floating-tab:hover {
    padding-right: 25px;
    background: linear-gradient(180deg, var(--mint-light) 0%, var(--sky) 100%);
    box-shadow: -8px 12px 40px rgba(45, 157, 108, 0.4);
}

.menu-floating-tab i {
    font-size: 1.5rem;
    color: #fff;
    animation: gentlePulse 2s ease-in-out infinite;
}

.menu-floating-tab span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-family: var(--font-display);
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #fff;
    font-weight: 600;
}

@keyframes gentlePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Overlay */
.menu-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 1999;
    pointer-events: none;
    transition: all 0.5s ease;
}

.menu-drawer-overlay.active {
    background: rgba(61, 52, 52, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

/* Drawer */
.menu-drawer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 85vh;
    background: linear-gradient(180deg, #FFFBF7 0%, #FFF5EB 40%, #E8F8F2 100%);
    backdrop-filter: blur(20px) saturate(120%);
    -webkit-backdrop-filter: blur(20px) saturate(120%);
    border-top: 3px solid rgba(244, 185, 66, 0.6);
    border-radius: 30px 30px 0 0;
    z-index: 2000;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    box-shadow: 0 -24px 64px rgba(255, 138, 92, 0.2);
    overflow: hidden;
}

.menu-drawer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(255, 214, 102, 0.2) 0%, transparent 100%);
    pointer-events: none;
}

.menu-drawer.active {
    transform: translateY(0);
}

/* Drawer Header */
.menu-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    border-bottom: 2px solid rgba(232, 93, 142, 0.15);
    background: rgba(255, 255, 255, 0.75);
    position: relative;
}

.menu-drawer-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 3px;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--mint));
    border-radius: 3px;
}

.menu-drawer-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu-drawer-title i {
    font-size: 1.8rem;
    color: var(--wine-burgundy);
}

.menu-drawer-title h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--wine-deep);
    margin: 0;
    letter-spacing: 0.05em;
}

.menu-drawer-close {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 50%;
    background: #fff;
    color: var(--wine-deep);
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
}

.menu-drawer-close-label {
    display: none;
}

.menu-drawer-close:hover {
    background: linear-gradient(135deg, var(--coral), var(--wine-burgundy));
    border-color: transparent;
    color: #fff;
    transform: rotate(90deg);
}

.menu-drawer-close:hover .menu-drawer-close-label {
    color: #fff;
}

/* Drawer Tabs */
.menu-drawer-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 20px 40px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.5);
    border-bottom: 1px solid rgba(45, 157, 108, 0.12);
}

.menu-drawer-tab {
    padding: 12px 24px;
    background: #fff;
    border: 2px solid rgba(56, 189, 248, 0.25);
    border-radius: 30px;
    color: var(--charcoal);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.menu-drawer-tab:hover {
    background: var(--mint-pale);
    color: var(--mint);
    border-color: var(--mint-light);
}

.menu-drawer-tab.active {
    background: linear-gradient(135deg, var(--wine-burgundy), var(--grape));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.35);
}

/* Drawer Content */
.menu-drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 22px 32px 44px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    align-content: start;
}

.menu-drawer-content .menu-category h3 {
    font-size: 1.28rem;
    margin-bottom: 14px;
    padding-bottom: 10px;
}

.menu-drawer-content .menu-item {
    padding: 8px 0;
}

.menu-drawer-content .menu-item-desc {
    font-size: 0.82rem;
    margin-top: 2px;
    line-height: 1.35;
}

.menu-drawer-content .menu-item-price {
    margin-left: 14px;
    font-size: 0.98rem;
}

/* Custom scrollbar for drawer */
.menu-drawer-content::-webkit-scrollbar {
    width: 8px;
}

.menu-drawer-content::-webkit-scrollbar-track {
    background: rgba(212, 240, 228, 0.5);
    border-radius: 4px;
}

.menu-drawer-content::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--coral), var(--gold-bright));
    border-radius: 4px;
}

.menu-drawer-content::-webkit-scrollbar-thumb:hover {
    background: var(--mint);
}

/* Menu category cards in drawer */
.menu-drawer-content .menu-category {
    background: #fff;
    border: 2px solid rgba(255, 138, 92, 0.2);
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 12px 32px rgba(255, 107, 107, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.menu-drawer-content .menu-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--coral), var(--gold-bright), var(--mint-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-drawer-content .menu-category:hover {
    transform: translateY(-5px);
    border-color: rgba(139, 92, 246, 0.35);
    box-shadow: 0 18px 44px rgba(56, 189, 248, 0.15);
}

.menu-drawer-content .menu-category:hover::before {
    opacity: 1;
}

/* Hide floating tab when drawer is open */
.menu-drawer.active ~ .menu-floating-tab,
body.menu-open .menu-floating-tab {
    transform: translateY(-50%) translateX(100%);
    opacity: 0;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .menu-floating-tab {
        padding: 15px 12px;
        top: auto;
        bottom: calc(96px + env(safe-area-inset-bottom, 0px));
        border-radius: 15px 0 0 15px;
    }
    
    .menu-floating-tab span {
        font-size: 0.8rem;
    }
    
    .menu-drawer {
        height: 90vh;
        height: 90dvh;
        border-radius: 25px 25px 0 0;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }
    
    .menu-drawer-header {
        padding: 16px 18px 16px 20px;
        align-items: center;
        gap: 12px;
    }

    .menu-drawer-title {
        gap: 10px;
        min-width: 0;
    }

    .menu-drawer-title i {
        font-size: 1.45rem;
    }
    
    .menu-drawer-title h2 {
        font-size: 1.35rem;
        letter-spacing: 0.03em;
    }

    /* Obvious close on mobile: pill with label + × */
    .menu-drawer-close {
        width: auto;
        min-height: 48px;
        min-width: 48px;
        height: 48px;
        padding: 0 16px 0 14px;
        border-radius: 999px;
        border: 2px solid rgba(155, 45, 74, 0.45);
        background: linear-gradient(135deg, var(--wine-burgundy), #9b2d4a);
        color: #fff;
        font-size: 1.15rem;
        box-shadow: 0 4px 14px rgba(196, 59, 94, 0.35);
        transform: none;
    }

    .menu-drawer-close:hover,
    .menu-drawer-close:active {
        transform: none;
        background: linear-gradient(135deg, var(--coral), var(--wine-burgundy));
        color: #fff;
        border-color: transparent;
    }

    .menu-drawer-close-label {
        display: inline;
        font-family: var(--font-body);
        font-size: 0.88rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    
    .menu-drawer-tabs {
        padding: 10px 14px;
        gap: 6px;
    }
    
    .menu-drawer-tab {
        padding: 8px 14px;
        font-size: 0.72rem;
    }
    
    .menu-drawer-content {
        padding: 10px 14px calc(24px + env(safe-area-inset-bottom, 0px));
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .menu-drawer-content .menu-category {
        padding: 12px 14px;
        border-radius: 12px;
    }

    .menu-drawer-content .menu-category h3 {
        font-size: 1.12rem;
        margin-bottom: 8px;
        padding-bottom: 6px;
    }

    .menu-drawer-content .menu-item {
        padding: 5px 0;
        align-items: flex-start;
    }

    .menu-drawer-content .menu-item-name {
        font-size: 1rem;
        line-height: 1.3;
    }

    .menu-drawer-content .menu-item-desc {
        font-size: 0.78rem;
    }

    .menu-drawer-content .menu-item-price {
        font-size: 0.92rem;
        margin-left: 10px;
    }

    .menu-drawer-content .menu-category:hover {
        transform: none;
        box-shadow: 0 8px 24px rgba(255, 107, 107, 0.08);
    }
}
