/*
====================================================================
Dino Bubble Tea Lite - Original Stylesheet
====================================================================
*/

:root {
    /* Colors */
    --color-primary: #CAE894;
    /* Mint Green */
    --color-primary-dark: #A5C076;
    --color-primary-light: #E1F8B5;
    --color-secondary: #AF95E2;
    /* Lavender */
    --color-secondary-dark: #8c71cc;
    --color-bg: #3E0B5E;
    --color-text: #F9F9F9;
    --color-text-light: #D1D5DB;
    --color-footer: #2D0845;
    --color-white: #FFFFFF;
    --color-dark-green: #224C25;

    /* Semantic Colors */
    --color-teal: #CAE894;
    --color-yellow: #AF95E2;

    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadows */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.025);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    --shadow-pink: 0 10px 20px -5px rgba(235, 168, 177, 0.4);

    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --max-width: 1200px;
    --nav-height: 80px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* =========================================
   Reset & Base Styles
   ========================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Base loading state to prevent FOUC for animations */
body.loading .fade-up,
body.loading .fade-in,
body.loading .scroll-reveal {
    opacity: 0 !important;
    transform: translateY(20px) !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: 0.5em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-normal);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================
   Typography Utilities
   ========================================= */
.text-center {
    text-align: center;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
}

.section-subtitle {
    color: var(--color-text-light);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    transition: var(--transition-bounce);
    outline: none;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn:active {
    transform: translateY(0);
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-dark-green);
    border: 2px solid var(--color-primary);
    font-weight: 800;
    /* Ensure high contrast */
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-primary);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-text);
    color: var(--color-text);
}

.btn-outline:hover {
    background-color: var(--color-text);
    color: var(--color-white);
}

.btn-dark {
    background-color: var(--color-dark-green);
    color: var(--color-white);
    border: 2px solid var(--color-dark-green);
}

.btn-dark:hover {
    background-color: transparent;
    color: var(--color-dark-green);
    box-shadow: none;
}

/* =========================================
   Header & Navigation
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    background-color: rgba(62, 11, 94, 0.85);
    /* 3E0B5E Deep Purple */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 1000;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    /* Update border for dark theme */
    transition: var(--transition-normal);
}

.header.scrolled {
    height: 70px;
    box-shadow: var(--shadow-sm);
    background-color: rgba(45, 8, 69, 0.95);
    /* 2D0845 slightly darker */
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    z-index: 10;
}

.logo-icon {
    color: var(--color-secondary);
    font-size: 1.8rem;
}

.img-logo {
    height: 2.5rem;
    width: 2.5rem;
    /* Fixed width to ensure perfect circle */
    object-fit: cover;
    /* Cover instead of contain to fill circle */
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    /* Nice accent ring */
}

@font-face {
    font-family: 'JurassicPark';
    src: url('JurassicPark-BL48.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.logo-dino {
    font-family: 'JurassicPark', var(--font-heading);
    font-size: 2.2rem;
    text-transform: uppercase;
    line-height: 1;
    /* Match the line height to the container */
    position: relative;
    transform: translateY(12px);
    /* Use transform for pushing it down without affecting the layout baseline rules */
    letter-spacing: 2px;
    color: var(--color-white);
    /* Base color inside the text */
    -webkit-text-stroke: 1.5px var(--color-text);
    /* Creates the border effect */
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
    /* Adds a little pop/depth behind the border */
}

.logo-text {
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    /* Stick to center so normal font is centered */
    gap: 0.3rem;
}

.logo-accent {
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 600;
    color: var(--color-text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--color-secondary);
    transition: var(--transition-normal);
    transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    color: var(--color-text);
    z-index: 10;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
    min-height: 100vh;
    padding-top: calc(var(--nav-height) + 2rem);
    padding-bottom: 4rem;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--color-primary-light);
    color: var(--color-primary-dark);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;

    .hero {
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding-top: var(--nav-height);
        background-color: var(--color-bg);
        position: relative;
        z-index: 1;
    }

    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.highlight-wrapper {
    position: relative;
    display: inline-block;
}

.highlight-text {
    color: var(--color-primary);
    position: relative;
    z-index: 2;
}

.squiggly-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: auto;
    z-index: 1;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-avatars {
    display: flex;
    align-items: center;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--color-bg);
    margin-left: -12px;
    object-fit: cover;
}

.avatar:first-child {
    margin-left: 0;
}

.avatar-more {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--color-secondary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.75rem;
    border: 2px solid var(--color-bg);
    margin-left: -12px;
    z-index: 4;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stars {
    color: #FFB800;
    display: flex;
    gap: 2px;
    font-size: 1rem;
}

.stat-text span {
    font-weight: 600;
    font-size: 0.875rem;
}

/* Hero Image Right Side */
.hero-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image-bg {
    position: absolute;
    width: 80%;
    height: 80%;
    background-color: var(--color-secondary);
    border-radius: 50%;
    z-index: 0;
    /* Soft glowing effect */
    box-shadow: 0 0 100px rgba(175, 149, 226, 0.4);
}

.hero-image {
    position: relative;
    z-index: 1;
    width: 70%;
    height: 90%;
    object-fit: cover;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
}

.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-family: var(--font-heading);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
    animation: floating 5s ease-in-out infinite reverse;
}

.tap-card {
    top: 15%;
    right: -5%;
    color: var(--color-primary);
}

.flavor-card {
    bottom: 20%;
    left: 0;
    color: var(--color-dark-green);
    animation-delay: 1.5s;
}

.promo-banner {
    position: relative;
    overflow: hidden;
    color: var(--color-dark-green);
    /* High contrast for light slides */
    position: relative;
    z-index: 1;
}

.promo-track {
    display: flex;
    width: 300%;
    /* 3 slides */
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.promo-slide {
    flex: 1;
    padding: 5rem 0;
    position: relative;
    display: flex;
    align-items: center;
}

/* Custom HTML Promo Slides styling */
/* Slide Decorations */
.decor {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0.8;
}

.decor-heart {
    color: #ffb6c1;
    /* Soft pink for hearts */
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.2));
    animation: floating 4s ease-in-out infinite alternate;
}

.decor-snow {
    color: #ffffff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.8));
    animation: falling 6s linear infinite;
}

.decor-star {
    color: #ffd700;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
    animation: twinkle 3s ease-in-out infinite alternate;
}

@keyframes falling {
    0% {
        transform: translateY(-50px) rotate(0deg);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(80vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes twinkle {
    0% {
        transform: scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.2);
        opacity: 1;
    }
}

.custom-slide {
    padding: 0;
    overflow: hidden;
    position: relative;
    /* to contain absolute theme decorations */
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
    padding: 3rem 0;
    width: 100%;
}

.promo-images {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    position: relative;
}

.promo-drink {
    height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
    transition: transform 0.3s ease;
}

.promo-drink:hover {
    transform: translateY(-10px);
}

.drink-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.drink-label {
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    max-width: 160px;
}

/* Fallback for text slides if used again */
/* Promo: Enamorados (Slide 1) */
.slide-enamorados {
    background: radial-gradient(circle at center, #ff6b8b 0%, #d81640 100%);
    color: white;
}

.tag-enamorados {
    background-color: var(--color-white);
    color: #d81640;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: 1rem;
}

.slide-enamorados h2 {
    font-size: 2.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.promo-sale {
    background-color: white;
    color: #d81640;
    font-weight: 900;
    padding: 0.2rem 1rem;
    border-radius: 4px;
    display: inline-block;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.promo-price {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    color: white;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.promo-price span {
    font-size: 1.2rem;
    font-weight: 600;
}

.promo-disclaimer {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 1rem;
}

/* Promo: Temporada (Slide 2) */
.slide-temporada {
    background: radial-gradient(circle at center, #e0283c 0%, #90040f 100%);
    color: white;
}

.promo-dates {
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.slide-temporada h2 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

/* Promo: Navideña (Slide 3) */
.slide-navidena {
    background: radial-gradient(circle at center, #136a3f 0%, #06341d 100%);
    color: white;
}

.title-navidena {
    font-family: 'Georgia', serif;
    /* Closest to the reference serif */
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.promo-price-navidena {
    font-family: 'Georgia', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    color: #fcebd2;
    /* Gold-ish */
}

.promo-action {
    border: 2px solid white;
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    display: inline-block;
    font-weight: 700;
    margin-top: 2rem;
}

.images-navidena {
    gap: 0.5rem;
}

.images-navidena .promo-drink {
    height: 300px;
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.promo-text {
    max-width: 600px;
}

.promo-tag {
    display: inline-block;
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.promo-text h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.leaf-dec {
    position: absolute;
    color: rgba(255, 255, 255, 0.2);
    font-size: 15rem;
    z-index: 1;
}

.leaf-1 {
    top: -50px;
    left: -50px;
    transform: rotate(45deg);
}

.leaf-2 {
    bottom: -80px;
    right: 5%;
    transform: rotate(-30deg);
}

/* =========================================
   Menu Section
   ========================================= */
.menu-section {
    padding: 6rem 0;
    background-color: var(--color-bg);
    position: relative;
    overflow: hidden;
    /* Restore overflow hidden to contain the menu specific splatters */
}

/* Global Paint Splatters */
.paint-splatter {
    position: absolute;
    z-index: 0;
    opacity: 0.9;
    pointer-events: none;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.4));
}

/* Brighter, more electric green */
/* New organic splash SVGs inspired by the user reference */
.splatter-1 {
    top: 5%;
    left: 2%;
    width: 18vw;
    height: 18vw;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path fill="%23A8F241" d="M370.5,142.5C401.5,166.5,431.5,191.5,455.5,223C479.5,254.5,497.5,292.5,483,322C468.5,351.5,421.5,372.5,385.5,404.5C349.5,436.5,324.5,479.5,289,484.5C253.5,489.5,207.5,456.5,174,424.5C140.5,392.5,119.5,361.5,88.5,331.5C57.5,301.5,16.5,272.5,4.5,237.5C-7.5,202.5,9.5,161.5,36.5,130C63.5,98.5,100.5,76.5,139,59C177.5,41.5,217.5,28.5,254.5,32.5C291.5,36.5,339.5,118.5,370.5,142.5Z"/></svg>') no-repeat center/contain;
    transform: rotate(15deg);
}

.splatter-2 {
    top: 25%;
    right: 5%;
    width: 22vw;
    height: 22vw;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path fill="%23A8F241" d="M366.5,160.5C396,183.5,434,198.5,453.5,224.5C473,250.5,474,287.5,451.5,311.5C429,335.5,383,346.5,348.5,373.5C314,400.5,291,443.5,257,458.5C223,473.5,178,460.5,141.5,436.5C105,412.5,77,377.5,58.5,339C40,300.5,31,258.5,38.5,218.5C46,178.5,70,140.5,101.5,113C133,85.5,172,68.5,211.5,59.5C251,50.5,291,49.5,325.5,58.5C360,67.5,337,137.5,366.5,160.5Z"/></svg>') no-repeat center/contain;
    transform: rotate(-35deg);
}

.splatter-3 {
    top: 45%;
    left: -2%;
    width: 15vw;
    height: 15vw;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path fill="%23A8F241" d="M331,162.5C370,183,418,202,444.5,235.5C471,269,476,317,452.5,347.5C429,378,377,391,338.5,404C300,417,275,430,242.5,435C210,440,170,437,138.5,417.5C107,398,84,362,68.5,325C53,288,45,250,47,213.5C49,177,61,142,84.5,113.5C108,85,143,63,180.5,50C218,37,258,33,292,38.5C326,44,354,103,331,162.5Z"/></svg>') no-repeat center/contain;
    transform: rotate(60deg);
}

.splatter-4 {
    top: 65%;
    right: -2%;
    width: 25vw;
    height: 25vw;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path fill="%23A8F241" d="M386,111.5C423.5,128.5,471,152,488.5,185.5C506,219,493.5,262.5,466,297C438.5,331.5,396,357,358,382.5C320,408,286.5,433.5,246,441C205.5,448.5,158,438,121,411.5C84,385,57.5,342.5,42.5,299C27.5,255.5,24,211,36.5,171.5C49,132,77.5,97.5,111,74.5C144.5,51.5,183,40,222.5,32C262,24,302.5,19.5,338.5,23.5C374.5,27.5,348.5,94.5,386,111.5Z"/></svg>') no-repeat center/contain;
    transform: rotate(80deg);
}

.splatter-5 {
    top: 85%;
    left: 15%;
    width: 14vw;
    height: 14vw;
    background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 500 500" xmlns="http://www.w3.org/2000/svg"><path fill="%23A8F241" d="M382,107C431,135.5,487,175,496,224.5C505,274,467,333.5,413.5,366C360,398.5,291,404,233.5,406C176,408,130,406.5,93.5,379.5C57,352.5,30,300,16.5,246C3,192,3,136.5,24.5,95.5C46,54.5,89,28,135.5,13.5C182,-1,232,0.5,280,7.5C328,14.5,333,78.5,382,107Z"/></svg>') no-repeat center/contain;
    transform: rotate(180deg);
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.5rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    color: var(--color-text-light);
    background: rgba(255, 255, 255, 0.05);
    /* subtle visibility against dark backgrounds */
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Increased border for glassmorphism */
    backdrop-filter: blur(8px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
}

.tab-btn:hover {
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.15);
}

.tab-btn.active {
    background-color: var(--color-primary);
    color: var(--color-dark-green);
    border-color: var(--color-primary);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.product-card {
    background: rgba(255, 255, 255, 0.05);
    /* slightly transparent over dark bg */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-bounce);
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* light border for dark bg, helps contrast */
    backdrop-filter: blur(12px);
    /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(12px);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.product-image-container {
    height: 250px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2rem;
}

/* Background flavors */
.teal-bg {
    background-color: #E6F3F2;
}

.green-bg {
    background-color: #F0F6F0;
}

.pink-bg {
    background-color: #FDF2F4;
}

.yellow-bg {
    background-color: #FFF9E6;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image {
    transform: scale(1.05) rotate(2deg);
}

.popular-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    z-index: 2;
}

.add-to-cart-btn {
    position: absolute;
    bottom: -20px;
    right: 1.5rem;
    width: 45px;
    height: 45px;
    background: var(--color-text);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transition: var(--transition-bounce);
    z-index: 2;
}

.product-card:hover .add-to-cart-btn {
    bottom: 1.5rem;
    opacity: 1;
}

.add-to-cart-btn:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

.product-info {
    padding: 1.5rem;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.25rem;
    margin: 0;
}

.product-price {
    font-weight: 800;
    color: var(--color-primary);
    font-size: 1.25rem;
}

.product-desc {
    color: var(--color-text-light);
    font-size: 0.875rem;
}

.menu-actions {
    text-align: center;
}

/* =========================================
   Locations Section
   ========================================= */
.locations-section {
    padding: 6rem 0;
    background-color: transparent;
    /* Changed from var(--color-bg) to transparent to show global background and splatters */
    position: relative;
    z-index: 1;
}

.sub-badge {
    color: var(--color-primary);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.location-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.map-placeholder {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.map-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.location-card:hover .map-placeholder img {
    transform: scale(1.05);
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-fast);
}

.location-card:hover .map-overlay {
    opacity: 1;
}

.location-info {
    padding: 1.5rem;
}

.loc-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.loc-head h3 {
    margin: 0;
    font-size: 1.125rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
    color: #FFB800;
}

.address,
.hours {
    color: var(--color-text-light);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.address i,
.hours i {
    color: var(--color-primary);
    margin-top: 3px;
}

/* =========================================
   Footer
   ========================================= */
.footer {
    background-color: #2D0845;
    /* Slightly darker than 3E0B5E for contrast */
    color: var(--color-white);
    padding-top: 5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.footer-logo .logo-icon {
    color: var(--color-primary);
}

.footer-desc {
    color: #9CA3AF;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.social-text {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-primary);
    text-transform: uppercase;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}

.social-icon:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-3px);
}

.footer h4 {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.footer ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer ul li a {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.footer ul li a:hover {
    color: var(--color-primary);
}

.footer-hours li {
    color: #9CA3AF;
    font-size: 0.875rem;
}

.holiday-note {
    font-size: 0.75rem !important;
    font-style: italic;
    opacity: 0.7;
    margin-top: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #9CA3AF;
    font-size: 0.875rem;
}

.legal-links {
    display: flex;
    gap: 1.5rem;
}

.legal-links a:hover {
    color: var(--color-white);
}

/* =========================================
   Animations (Intersection Observer Classes)
   ========================================= */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.fade-up.visible,
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image-wrapper {
        max-width: 600px;
        margin: 0 auto;
    }

    .promo-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {

    /* Mobile Navigation */
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        width: 100%;
        background: var(--color-dark);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition-normal);
        visibility: hidden;
    }

    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        color: var(--color-white) !important;
    }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
        width: 100%;
        margin-bottom: 2rem;
    }

    .menu-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .product-image-container {
        height: 150px;
        padding: 1rem;
    }

    .product-info {
        padding: 1rem;
    }

    .product-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .product-desc {
        font-size: 0.75rem;
    }

    .floating-card {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .hero-image-wrapper {
        transform: scale(0.8) translateX(15%);
        transform-origin: center right;
        margin-right: -10%;
    }

    .promo-slide {
        padding: 2rem 0;
        /* Reduce massive empty space */
    }

    .promo-content {
        padding: 1rem;
        text-align: center;
        align-items: center;
    }

    .promo-images {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .promo-drink {
        height: 150px;
    }

    .images-navidena .drink-wrapper {
        width: 45%;
        /* Fit 2 per row */
        margin-bottom: 0.5rem;
    }

    .images-navidena .promo-drink {
        height: 120px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem 1rem;
        text-align: left;
    }

    .footer-brand,
    .footer-hours {
        grid-column: 1 / -1;
    }

    .social-links {
        justify-content: flex-start;
    }

    .legal-links {
        display: none;
    }

    .footer-bottom .container {
        justify-content: center;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}

/* Fixed Mascot */
.dino-mascot-fixed {
    position: fixed;
    bottom: 20px;
    left: 20px;
    /* Changed from right to left to avoid overlapping the cart */
    width: 250px;
    height: auto;
    z-index: 9999;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.dino-mascot-fixed:hover {
    transform: scale(1.1) rotate(5deg);
}

@media (max-width: 768px) {
    .dino-mascot-fixed {
        width: 150px;
        left: 10px;
        bottom: 10px;
    }
}

/* =========================================
   Shopping Cart UI
   ========================================= */

/* Floating Cart Button */
.cart-floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--color-primary);
    color: var(--color-dark-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(202, 232, 148, 0.4);
    z-index: 9998;
    transition: var(--transition-bounce);
    border: 3px solid var(--color-bg);
}

.cart-floating-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(202, 232, 148, 0.6);
}

.cart-floating-btn:active {
    transform: scale(0.95);
}

.cart-floating-btn.bounce {
    animation: cart-bounce 0.4s ease;
}

@keyframes cart-bounce {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Cart Badge indicating number of items */
.cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #E63946;
    /* A contrasting red/pink to stand out */
    color: white;
    font-size: 0.9rem;
    font-weight: 800;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid var(--color-bg);
    /* Match background to punch a hole */
    transition: var(--transition-normal);
}

/* Slide-out Sidebar */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 450px;
    height: 100vh;
    background: rgba(45, 8, 69, 0.95);
    /* matching header dark bg */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-sidebar.open {
    transform: translateX(0);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cart-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Components */
.cart-header {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: var(--color-primary);
}

.close-cart-btn {
    color: var(--color-text-light);
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    transition: var(--transition-fast);
}

.close-cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-white);
    transform: rotate(90deg);
}

.cart-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Scrollbar for cart */
.cart-items-container::-webkit-scrollbar {
    width: 6px;
}

.cart-items-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.cart-items-container::-webkit-scrollbar-thumb {
    background: var(--color-secondary);
    border-radius: 10px;
}

.empty-cart-msg {
    text-align: center;
    margin: auto 0;
    color: var(--color-text-light);
    font-weight: 500;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    padding: 1rem;
    align-items: center;
    transition: var(--transition-fast);
}

.cart-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--color-secondary);
    padding: 5px;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.cart-item-price {
    color: var(--color-primary);
    font-weight: 700;
    display: block;
    margin-bottom: 0.5rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-full);
    padding: 0.25rem 0.5rem;
    width: fit-content;
}

.qty-btn {
    color: var(--color-text);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.item-qty {
    font-weight: 600;
    font-size: 0.9rem;
    min-width: 15px;
    text-align: center;
}

.cart-item-remove {
    color: #E63946;
    background: rgba(230, 57, 70, 0.1);
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition-fast);
    margin-left: auto;
}

.cart-item-remove:hover {
    background: #E63946;
    color: white;
}

/* Cart Footer */
.cart-footer {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.btn-full {
    width: 100%;
}

.disabled {
    opacity: 0.5;
    pointer-events: none;
    filter: grayscale(1);
}

/* Button to Add to Cart from the Menu Card */
.add-to-cart-btn {
    width: 100%;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
    border: 1px solid rgba(202, 232, 148, 0.3);
    border-radius: var(--radius-full);
    font-weight: 700;
    transition: var(--transition-fast);
}

.add-to-cart-btn:hover {
    background-color: var(--color-primary);
    color: var(--color-dark-green);
}

@media (max-width: 480px) {
    .cart-sidebar {
        max-width: 100%;
    }

    .cart-header {
        padding: 1rem;
    }

    .cart-items-container {
        padding: 1rem;
    }

    .cart-floating-btn {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }

    .cart-badge {
        width: 22px;
        height: 22px;
        font-size: 0.75rem;
        top: -2px;
        right: -2px;
    }

    .cart-item {
        padding: 0.75rem;
        gap: 0.75rem;
    }

    .cart-item-img {
        width: 55px;
        height: 55px;
    }

    .cart-item-title {
        font-size: 0.9rem;
    }

    .dino-mascot-fixed {
        width: 100px;
        left: -10px;
        /* Slight peek effect so it doesn't clutter mobile screens */
        bottom: 5px;
    }

    .add-to-cart-btn {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
}