/* ==== DESIGN SYSTEM ==== */
:root {
    --color-red: #a4130d;           /* Deep crimson from logo */
    --color-red-dark: #810e09;
    --color-navy: #023047;          /* elegant dark blue from menu images */
    --color-cream: #f4ecd8;         /* warm background of the menu */
    --color-white: #ffffff;
    --color-cream-dark: #e8dbbe;
    
    --font-heading: 'Josefin Sans', sans-serif;
    --font-body: 'Outfit', sans-serif;
    
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==== RESET & BASICS ==== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--color-red);
    color: var(--color-white);
    overflow-x: hidden;

    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23023047" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, auto;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.bg-cream { background-color: var(--color-cream); }
.bg-red { background-color: var(--color-red); }
.text-navy { color: var(--color-navy); }
.text-cream { color: var(--color-cream); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-5 { margin-top: 2rem; }
.position-relative { position: relative; }

/* ==== NAVIGATION ==== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    z-index: 1000;
    transition: var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(2, 48, 71, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    z-index: 1001; /* Above mobile menu */
}

.logo-img {
    height: 32px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
    height: 28px;
}

.nav-links {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-cream);
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: var(--color-cream);
    transition: var(--transition-smooth);
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle span {
    display: block;
    width: 30px;
    height: 2px;
    background-color: var(--color-cream);
    transition: var(--transition-smooth);
}

.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { transform: translateY(-8px) rotate(-45deg); }

/* ==== HERO SECTION ==== */
.hero-section {
    height: 100vh;
    height: 100dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: var(--color-red);
    background: radial-gradient(circle at center, var(--color-red) 0%, var(--color-red-dark) 100%);
    overflow: hidden;
    padding: 100px 20px 30px;
}

/* Subtle texture overlay */
.hero-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    text-align: center;
    z-index: 10;
    filter: drop-shadow(0px 10px 20px rgba(0,0,0,0.2));
}

.fade-in-up {
    animation: fadeInUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.hero-logo-img {
    max-width: min(650px, 80vw);
    height: auto;
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: heroLogoFloat 4s ease-in-out infinite alternate;
    transition: var(--transition-smooth);
}

.hero-logo-img:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 30px rgba(247, 223, 203, 0.2)) drop-shadow(0 5px 10px rgba(0,0,0,0.3));
}

.hero-subtitle-img {
    max-width: min(210px, 30vw);
    height: auto;
    display: block;
    opacity: 0.95;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.15));
}

@keyframes heroLogoFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

.hero-scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    opacity: 0.8;
    margin-top: 30px;
    flex-shrink: 0;
}

.scroll-text {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background-color: var(--color-cream);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-red);
    animation: scrollDown 2s infinite cubic-bezier(0.65, 0, 0.35, 1);
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(40px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* ==== SECTIONS COMMON ==== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
}

.section-reveal {
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.section-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.separator-line {
    width: 60px;
    height: 2px;
    background-color: var(--color-red);
    margin-bottom: 30px;
}

.center-line {
    margin-left: auto;
    margin-right: auto;
}

/* ==== INFO SECTION ==== */
.info-section {
    padding: 120px 0;
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-block p {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--color-navy);
    opacity: 0.85;
}

.image-card {
    background-color: var(--color-navy);
    padding: 60px;
    color: var(--color-cream);
    border-radius: 2px;
    position: relative;
    box-shadow: 20px 20px 0 var(--color-cream-dark);
}

.image-card .section-title {
    color: var(--color-cream);
}

.image-card p {
    color: var(--color-cream);
    opacity: 0.85;
}

.image-card .separator-line {
    background-color: var(--color-cream);
}

/* ==== MENU SECTION (CARTA) ==== */
.menu-section {
    padding: 80px 0 120px;
}

.menu-header {
    margin-bottom: 80px;
}

.menu-masonry {
    column-count: 2;
    column-gap: 40px;
    width: 100%;
}

.item-reveal {
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.item-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.menu-category {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin-bottom: 40px;
    background-color: var(--color-white);
    border: 1px solid rgba(2, 48, 71, 0.08); /* Navy soft */
    border-radius: 12px;
    padding: 35px 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.menu-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: rgba(164, 19, 13, 0.2);
}

.menu-category::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background-color: var(--color-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.menu-category:hover::before {
    transform: scaleX(1);
}

.category-title {
    font-family: 'Old Almanac', 'Josefin Sans', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 1.8rem;
    letter-spacing: 0;
    text-transform: lowercase;
    margin-bottom: 25px;
    display: flex;
    flex-direction: column;
}

.category-title::first-letter {
    text-transform: uppercase;
}

.category-subtitle {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    margin-top: 5px;
}

.category-box {
    border: 1.5px solid var(--color-navy);
    padding: 30px;
    position: relative;
}

/* Outer border effect from image */
.category-box::before {
    content: '';
    position: absolute;
    top: -5px; left: -5px; right: -5px; bottom: -5px;
    border: 1px solid rgba(2, 48, 71, 0.2);
    pointer-events: none;
}

.category-box-navy {
    background-color: var(--color-navy);
    color: var(--color-cream);
    padding: 40px;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.category-box-navy .item-name,
.category-box-navy .item-price,
.category-box-navy .item-desc {
    color: var(--color-cream);
}

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menu-list li {
    position: relative;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.menu-list li:hover {
    transform: translateX(8px);
    background-color: rgba(2, 48, 71, 0.05);
}

.category-box-navy .menu-list li:hover {
    background-color: rgba(244, 236, 216, 0.1);
}

/* Elegant dots connection */
.menu-item-row { display: flex; align-items: baseline; width: 100%; justify-content: space-between; }

.menu-item-row::after {
    content: '';
    flex-grow: 1;
    border-bottom: 1px dotted rgba(2, 48, 71, 0.3);
    order: 1;
    margin: 0 10px;
}

.category-box-navy .menu-item-row::after {
    border-bottom: 1px dotted rgba(244, 236, 216, 0.3);
}

.item-name {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 1.05rem;
    order: 0;
    line-height: 1.3;
}

.item-price {
    font-family: var(--font-heading);
    font-weight: 600;
    order: 2;
    flex-shrink: 0;
}

.item-desc {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.7;
    margin-top: 4px;
    padding-right: 50px;
}

.drinks-section {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid rgba(2, 48, 71, 0.2);
}

.drinks-list {
    gap: 12px;
}

.split-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 40px;
    row-gap: 12px;
}

/* ==== ILLUSTRATIONS ==== removed in favor of floating hero */

@media (max-width: 768px) {
    .split-list { grid-template-columns: 1fr; }
    .menu-illustration { opacity: 0.4; width: 45px; }
}

/* ==== FOOTER ==== */
.footer {
    padding: 80px 40px 20px;
    text-align: center;
}

.footer-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
}

.footer-logo-img {
    height: 52px;
    width: auto;
    display: block;
    transition: var(--transition-smooth);
}

.footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-subtitle-img {
    height: 18px;
    width: auto;
    display: block;
    opacity: 0.8;
}

.footer-details {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.footer-socials p {
    font-style: italic;
    opacity: 0.7;
    margin-bottom: 40px;
}

.footer-bottom {
    border-top: 1px solid rgba(244, 236, 216, 0.2);
    padding-top: 20px;
    font-size: 0.8rem;
    opacity: 0.6;
}

/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 992px) {
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .image-card {
        box-shadow: 10px 10px 0 var(--color-cream-dark);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 6vw, 2.2rem);
        letter-spacing: 1px;
        margin-bottom: 15px;
    }
    
    .info-section {
        padding: 50px 0;
    }
    
    .info-block p {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .image-card {
        padding: 30px 20px;
        box-shadow: 10px 10px 0 var(--color-cream-dark);
    }
    
    .menu-section {
        padding: 50px 0 60px;
    }
    
    .menu-header {
        margin-bottom: 40px;
    }
    
    .menu-category {
        padding: 25px 15px;
        margin-bottom: 25px;
    }
    
    .menu-switch-wrap {
        gap: 15px;
        margin-bottom: 20px;
    }
    
    .menu-switch-btn {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }
    
    .menu-switch-divider {
        font-size: clamp(1.4rem, 5vw, 2.2rem);
    }
    
    /* Slim fixed navbar on mobile to conserve screen space */
    .navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 15px 20px;
        background: rgba(2, 48, 71, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        box-shadow: 0 2px 15px rgba(0,0,0,0.15);
    }
    
    .navbar.scrolled {
        padding: 10px 20px;
    }
    
    .nav-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }
    
    .logo-img {
        height: 28px;
    }
    
    /* Restore mobile hamburger toggle button */
    .menu-toggle {
        display: flex !important;
    }
    
    /* Slide-out side drawer for mobile navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        height: 100dvh;
        background: rgba(2, 48, 71, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 25px;
        transition: var(--transition-smooth);
        z-index: 1000;
        box-shadow: -10px 0 30px rgba(0,0,0,0.25);
    }
    
    .nav-links.active {
        right: 0;
        transform: none;
    }
    
    .nav-link {
        font-size: 1.15rem;
        letter-spacing: 1px;
        padding-bottom: 4px;
        color: var(--color-cream);
    }
    
    .lang-switcher {
        margin-left: 0;
        margin-top: 20px;
        font-size: 1.1rem;
    }
    
    /* Hero section layout adjustments to prevent vertical overlap */
    .hero-section {
        padding: 80px 20px 20px;
    }
    
    .hero-logo-wrap {
        gap: 10px;
    }
    
    .hero-logo-img {
        max-width: 75vw;
        margin-bottom: 5px;
    }
    
    .hero-subtitle-img {
        max-width: 35vw;
    }
    
    .hero-scroll-indicator {
        margin-top: 15px;
        opacity: 0.7;
    }
    
    .scroll-line {
        height: 30px; /* Shorter animation bar */
    }
    
    .menu-masonry {
        column-count: 1;
    }
    
    .slideshow-section {
        height: 50vh;
        min-height: 280px;
    }
    
    /* Prevent slideshow address overlay from overflowing */
    .slideshow-overlay {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 10px 15px;
        max-width: calc(100% - 40px);
    }
    
    .slideshow-address {
        font-size: clamp(0.9rem, 3vw, 1.15rem);
        letter-spacing: 1px;
    }
    
    .footer {
        padding: 50px 20px 20px;
    }
    
    .footer-logo-img {
        height: 40px;
    }
    
    .footer-subtitle-img {
        height: 14px;
    }
    
    .footer-details {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .footer-socials p {
        font-size: 0.95rem;
        margin-bottom: 25px;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .cursor-dot, .cursor-outline { display: none; } /* Disable custom cursor on mobile */
    body { cursor: auto; }
}

@media (max-height: 600px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* ==== HERO DYNAMICS ==== */
.parallax-wrap {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 5;
    overflow: hidden;
}

.floating-img {
    position: absolute;
    opacity: 0.15;
    filter: sepia(100%) hue-rotate(180deg) saturate(200%) brightness(30%);
    animation: float 12s ease-in-out infinite, spin 40s linear infinite;
}

.float-1 { top: 15%; left: 10%; width: 120px; animation-delay: 0s; }
.float-2 { top: 60%; right: 15%; width: 140px; animation-delay: -3s; }
.float-3 { bottom: 10%; left: 20%; width: 100px; animation-delay: -6s; }
.float-4 { top: 20%; right: 25%; width: 90px; animation-delay: -9s; transform: rotate(45deg); opacity: 0.1; }

@media (max-width: 768px) {
    .float-1 { top: 10%; left: 5%; width: 65px; }
    .float-2 { top: 65%; right: 5%; width: 75px; }
    .float-3 { display: none; }
    .float-4 { display: none; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}


/* ==== NEW CURSOR & GRID FIXES ==== */
a, button, .menu-toggle, .nav-link {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
}

/* This simple property flattens the nested grids, resolving the empty gaps */
.drinks-grid, .drinks-grid > div {
    display: contents;
}

/* ==== SLIDESHOW SECTION ==== */
.slideshow-section {
    width: 100%;
    height: 75vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-navy);
}

.slideshow-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    animation: crossfade 18s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Use fallback colors in case images are missing */
.slide-1 { 
    background-image: url('slide1.jpg'); 
    background-color: #1a1a1a;
    animation-delay: 0s; 
}
.slide-2 { 
    background-image: url('slide2.jpg'); 
    background-color: #2a2a2a;
    animation-delay: 6s; 
}
.slide-3 { 
    background-image: url('slide3.jpg'); 
    background-color: #3a3a3a;
    animation-delay: 12s; 
}

@keyframes crossfade {
    0% { opacity: 0; transform: scale(1.05); }
    15% { opacity: 1; transform: scale(1); }
    33% { opacity: 1; transform: scale(1); }
    48% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 0; }
}

.slideshow-overlay {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 10;
    background: rgba(2, 48, 71, 0.85); /* Navy background */
    padding: 15px 30px;
    border-left: 4px solid var(--color-red);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.slideshow-title {
    font-family: var(--font-heading);
    color: var(--color-cream);
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin: 0;
}

@media (max-width: 768px) {
    .slideshow-section {
        height: 50vh;
    }
    .slideshow-overlay {
        bottom: 20px;
        left: 20px;
        padding: 10px 20px;
    }
    .slideshow-title {
        font-size: 1.2rem;
    }
}

/* ==== MENU TAB SWITCHER ==== */
.menu-switch-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
}

.menu-switch-btn {
    background: none;
    border: none;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--color-navy);
    opacity: 0.35;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
    transition: var(--transition-smooth);
    padding: 0;
    text-transform: uppercase;
    position: relative;
}

.menu-switch-btn.active {
    opacity: 1;
    color: var(--color-red);
}

.menu-switch-btn::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 3px;
    background-color: var(--color-red);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.menu-switch-btn.active::after {
    width: 100%;
}

.menu-switch-btn:hover {
    opacity: 0.8;
}

.menu-switch-divider {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 300;
    color: var(--color-navy);
    opacity: 0.2;
}

.menu-tab-content {
    display: none;
}

.menu-tab-content.active {
    display: block;
    animation: tabFadeIn 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

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

/* ==== SEO VISUALLY HIDDEN ==== */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==== LANGUAGE SWITCHER ==== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-cream);
    margin-left: 20px;
}

.lang-btn {
    background: none;
    border: none;
    color: inherit;
    font-size: 0.9rem;
    font-family: var(--font-heading);
    font-weight: 400;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
    padding: 0 2px;
    opacity: 0.5;
    transition: var(--transition-smooth);
    position: relative;
}

.lang-btn.active {
    opacity: 1;
    font-weight: 600;
}

.lang-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: var(--color-cream);
}

.lang-btn:hover {
    opacity: 0.8;
}

.lang-divider {
    opacity: 0.3;
    pointer-events: none;
}

/* ==== SLIDESHOW GOOGLE MAPS LINK ==== */
.slideshow-address {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    color: var(--color-cream);
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    font-weight: 400;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
    transition: var(--transition-smooth);
    text-align: center;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
}

.slideshow-address:hover {
    color: var(--color-white);
    transform: translateY(-2px);
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.pin-icon {
    stroke: var(--color-red);
    flex-shrink: 0;
    transition: var(--transition-smooth);
}

.slideshow-address:hover .pin-icon {
    stroke: var(--color-white);
    transform: scale(1.15) rotate(-5deg);
}

/* ==== FOOTER MAPS LINK ==== */
.footer-address-link {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-cream);
    opacity: 0.9;
    transition: var(--transition-smooth);
    display: inline-block;
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
}

.footer-address-link:hover {
    color: var(--color-white);
    transform: translateY(-1px);
    opacity: 1;
}

/* ==== FLOATING WHATSAPP BUTTON ==== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--color-red);
    color: var(--color-cream);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 20px rgba(164, 19, 13, 0.3);
    z-index: 9999;
    transition: var(--transition-smooth);
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24" fill="none" stroke="%23a4130d" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M8 2v5C8 8 12 8 12 11v11M12 2v5M16 2v5C16 8 12 8 12 11"/></svg>') 16 16, pointer !important;
}

@media (hover: hover) {
    .whatsapp-float:hover {
        transform: scale(1.1) translateY(-4px);
        box-shadow: 0 10px 25px rgba(164, 19, 13, 0.45);
        background-color: var(--color-red-dark);
    }

    .whatsapp-float.on-red:hover {
        background-color: #011e2d;
        box-shadow: 0 10px 25px rgba(2, 48, 71, 0.5);
    }
}

.whatsapp-float:active {
    transform: scale(0.95) translateY(0);
    opacity: 0.95;
    transition: transform 0.1s ease;
}

/* Snappy mobile active tap feedback */
.nav-link:active {
    color: var(--color-cream-dark);
}

.menu-switch-btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}

.lang-btn:active {
    opacity: 0.9;
    color: var(--color-cream-dark);
}

.menu-list li:active {
    background-color: rgba(2, 48, 71, 0.1) !important;
}

.whatsapp-float.on-red {
    background-color: var(--color-navy);
    color: var(--color-cream);
    box-shadow: 0 6px 20px rgba(2, 48, 71, 0.35);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 2px solid var(--color-red);
    border-radius: 50%;
    animation: whatsappPulse 2s infinite ease-out;
    opacity: 0;
    pointer-events: none;
    transition: border-color 0.4s ease;
}

.whatsapp-float.on-red::before {
    border-color: var(--color-navy);
}

@keyframes whatsappPulse {
    0% {
        transform: scale(0.9);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

/* ==== DELIVERY & ORDERING SYSTEM ==== */

/* Hero Delivery Button */
.btn-delivery-hero {
    display: inline-block;
    margin-top: 18px;
    padding: 8px 24px;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-red);
    background-color: var(--color-cream);
    border: none;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    position: relative;
    z-index: 10;
    text-decoration: none;
}

.btn-delivery-hero:hover {
    background-color: var(--color-white);
    color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(244, 236, 216, 0.3);
}

.btn-delivery-hero:active {
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .btn-delivery-hero {
        padding: 6px 18px;
        font-size: 0.8rem;
        margin-top: 12px;
    }
}

/* Menu Item Add Button Setup */
.menu-item-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 8px;
    gap: 15px;
}

.menu-item-bottom .item-desc {
    margin-top: 0;
    padding-right: 0;
    flex-grow: 1;
}

.menu-item-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.add-to-cart-btn {
    background-color: transparent;
    color: var(--color-red);
    border: 1px solid rgba(164, 19, 13, 0.4);
    padding: 5px 12px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0; /* clean square corners */
    transition: var(--transition-smooth);
    cursor: pointer;
    white-space: nowrap;
}

.add-to-cart-btn:hover {
    background-color: var(--color-red);
    border-color: var(--color-red);
    color: var(--color-cream);
    transform: translateY(-1px);
}

.category-box-navy .add-to-cart-btn {
    background-color: transparent;
    color: var(--color-cream);
    border: 1px solid rgba(244, 236, 216, 0.4);
}

.category-box-navy .add-to-cart-btn:hover {
    background-color: var(--color-cream);
    border-color: var(--color-cream);
    color: var(--color-navy);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(2, 48, 71, 0.4); /* soft navy-tinted overlay */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.cart-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    height: 100dvh;
    background-color: var(--color-navy);
    color: var(--color-cream);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.35);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-drawer-header {
    padding: 24px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(244, 236, 216, 0.12);
}

.cart-drawer-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-cream);
}

.cart-drawer-close {
    background: none;
    border: none;
    color: var(--color-cream);
    font-size: 2.2rem;
    line-height: 1;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
    padding: 0;
}

.cart-drawer-close:hover {
    opacity: 1;
    transform: scale(1.15);
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Custom Scrollbar for Cart Drawer */
.cart-drawer-body::-webkit-scrollbar {
    width: 6px;
}
.cart-drawer-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
}
.cart-drawer-body::-webkit-scrollbar-thumb {
    background: rgba(244, 236, 216, 0.2);
    border-radius: 3px;
}

/* Empty Cart State */
.cart-empty-msg {
    text-align: center;
    padding: 40px 0;
    opacity: 0.6;
    font-style: italic;
    font-size: 1.05rem;
}

/* Cart Items List */
.cart-items {
    display: flex;
    flex-direction: column;
}

.cart-item {
    padding: 18px 0;
    border-bottom: 1px solid rgba(244, 236, 216, 0.08);
}

.cart-item:first-child {
    padding-top: 0;
}

.cart-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 8px;
}

.cart-item-name {
    font-weight: 500;
    font-size: 1rem;
    line-height: 1.3;
}

.cart-item-variant {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.6;
    display: block;
    margin-top: 2px;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    white-space: nowrap;
}

.cart-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-item-qty-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 4px 12px;
    border: 1px solid rgba(244, 236, 216, 0.1);
}

.cart-item-qty-btn {
    background: none;
    border: none;
    color: var(--color-cream);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cart-item-qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
}

.cart-item-qty-val {
    font-weight: 600;
    font-size: 0.95rem;
    min-width: 16px;
    text-align: center;
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: var(--color-red);
    font-size: 0.85rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.cart-item-remove-btn:hover {
    opacity: 1;
    color: #ff4d4d;
}

/* Cart Notes */
.cart-notes-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
}

.cart-notes-section label {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.cart-notes-section textarea {
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(244, 236, 216, 0.15);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    resize: none;
    transition: var(--transition-smooth);
}

.cart-notes-section textarea:focus {
    outline: none;
    border-color: var(--color-cream-dark);
    background: rgba(255, 255, 255, 0.08);
}

/* Method Selector */
.cart-method-section {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cart-method-section .method-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.method-options {
    display: flex;
    gap: 24px;
}

.method-option {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    user-select: none;
}

.method-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-radio {
    width: 18px;
    height: 18px;
    background-color: transparent;
    border: 2px solid rgba(244, 236, 216, 0.4);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: var(--transition-smooth);
}

.method-option:hover input ~ .custom-radio {
    border-color: rgba(244, 236, 216, 0.8);
}

.method-option input:checked ~ .custom-radio {
    border-color: var(--color-cream);
    background-color: var(--color-red);
}

.custom-radio::after {
    content: "";
    position: absolute;
    display: none;
    top: 3px;
    left: 3px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-cream);
}

.method-option input:checked ~ .custom-radio::after {
    display: block;
}

/* Cart Footer */
.cart-drawer-footer {
    padding: 24px 30px 30px;
    border-top: 1px solid rgba(244, 236, 216, 0.12);
    background-color: rgba(2, 48, 71, 0.98);
}

.cart-subtotal-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cart-subtotal-value {
    font-weight: 600;
    color: var(--color-cream);
}

.send-whatsapp-btn {
    width: 100%;
    background-color: var(--color-red);
    color: var(--color-white);
    border: none;
    padding: 15px 20px;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(164, 19, 13, 0.3);
    transition: var(--transition-smooth);
}

.send-whatsapp-btn:hover {
    background-color: var(--color-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(164, 19, 13, 0.45);
}

.send-whatsapp-btn:active {
    transform: translateY(0);
}

.send-whatsapp-btn svg {
    flex-shrink: 0;
}

/* Floating Cart Toggle Button */
.cart-float {
    position: fixed;
    right: 30px;
    bottom: 110px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--color-navy);
    color: var(--color-cream);
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    box-shadow: 0 6px 22px rgba(2, 48, 71, 0.35);
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transform: scale(0.8) translateY(20px);
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
                background-color 0.3s ease,
                box-shadow 0.3s ease;
}

.cart-float.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.cart-float:hover {
    transform: scale(1.08) translateY(-2px);
    background-color: #011e2d;
    box-shadow: 0 10px 25px rgba(2, 48, 71, 0.5);
}

.cart-float:active {
    transform: scale(0.96) translateY(0);
}

.cart-float .cart-icon {
    width: 24px;
    height: 24px;
}

.cart-float .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--color-red);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid var(--color-navy);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Cart Float overlapping red sections */
.cart-float.on-red {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .cart-drawer {
        width: 100%;
    }
    .cart-drawer-header {
        padding: 16px 20px;
    }
    .cart-drawer-body {
        padding: 20px;
        gap: 20px;
    }
    .cart-drawer-footer {
        padding: 20px;
    }
    
    .cart-float {
        right: 20px;
        bottom: 85px;
        width: 50px;
        height: 50px;
    }
    .cart-float .cart-icon {
        width: 20px;
        height: 20px;
    }
}
