/* =========================================
   DESIGN SYSTEM
========================================= */
:root {
    /* Colors */
    --color-primary: #FF7A00;
    /* Zesty Orange */
    --color-primary-light: #FF9B3D;
    --color-secondary: #0B3B24;
    /* Deep Forest Green */
    --color-accent: #FFD54F;
    /* Sunny Yellow */
    --color-bg: #F9F6F0;
    /* Cream/Off-white */
    --color-surface: rgba(255, 255, 255, 0.7);
    --color-text: #2D3748;
    --color-text-light: #718096;

    /* Tags */
    --color-tag-energy: #FFEDD5;
    --color-tag-energy-text: #C2410C;
    --color-tag-detox: #DCFCE7;
    --color-tag-detox-text: #15803D;
    --color-tag-immunity: #F3E8FF;
    --color-tag-immunity-text: #7E22CE;

    /* Typography */
    --font-main: 'Outfit', sans-serif;

    /* Spacing & Borders */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 9999px;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 30px rgba(255, 122, 0, 0.15);

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================
   RESET & BASE STYLES
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* =========================================
   TYPOGRAPHY
========================================= */
h1,
h2,
h3,
h4 {
    color: var(--color-secondary);
    font-weight: 800;
    line-height: 1.2;
}

h1 {
    font-size: clamp(3rem, 6vw, 5rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.5rem;
}

.highlight {
    color: var(--color-primary);
    position: relative;
    display: inline-block;
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: white;
    transform: translateY(-3px);
}

/* =========================================
   NAVBAR (Glassmorphism)
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.5rem 0;
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(249, 246, 240, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 800;
    color: var(--color-secondary);
    letter-spacing: -1px;
}

.logo span {
    color: var(--color-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 600;
    color: var(--color-secondary);
    opacity: 0.8;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.nav-links a:not(.btn-primary)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-primary);
    transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background-color: var(--color-secondary);
    border-radius: 3px;
    transition: var(--transition);
}

/* =========================================
   HERO SECTION
========================================= */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    padding-top: 100px;
    /* offset for navbar */
    align-items: center;
    gap: 4rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin: 1.5rem 0 2.5rem;
    max-width: 480px;
}

.hero-delivery-badge {
    display: inline-block;
    background: var(--color-tag-energy);
    color: var(--color-tag-energy-text);
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-pill);
    font-weight: 800;
    margin-bottom: 2rem;
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    animation: floating 3s ease-in-out infinite alternate;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Decorative circle behind hero image */
.hero-image-container::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--color-accent) 0%, rgba(255, 213, 79, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite alternate;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.15));
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.6;
    }

    100% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* =========================================
   MENU SECTION
========================================= */
.menu {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-top: 1rem;
}

.menu-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 4rem;
}

.menu-column {
    background: var(--color-surface);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.menu-column:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.menu-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 2px dashed rgba(0, 0, 0, 0.1);
    padding-bottom: 1rem;
}

.menu-column-header h3 {
    font-size: 1.8rem;
    color: var(--color-primary);
}

.menu-tag {
    background: var(--color-tag-energy);
    color: var(--color-tag-energy-text);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 800;
}

.menu-desc {
    color: var(--color-text-light);
    font-size: 0.85rem;
    font-style: italic;
    margin-top: -1.5rem;
    margin-bottom: 2rem;
}

.menu-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.item-name {
    color: var(--color-text);
}

.item-dots {
    flex-grow: 1;
    border-bottom: 2px dotted rgba(0, 0, 0, 0.15);
    margin: 0 1rem;
    position: relative;
    top: -4px;
}

.item-price {
    color: var(--color-secondary);
    font-weight: 800;
}

.menu-column-image {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: var(--radius-md);
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.menu-column-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.menu-column:hover .menu-column-image img {
    transform: scale(1.1);
}

/* =========================================
   STORE DETAILS & FOOTER ADDITIONS
========================================= */
.store-details {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.store-details p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text);
    font-weight: 600;
}

.store-details .highlight-text {
    color: var(--color-primary);
    font-weight: 800;
    font-size: 1.2rem;
}

/* =========================================
   ABOUT SECTION
========================================= */
.about {
    padding: 8rem 2rem;
    background-color: var(--color-secondary);
    color: white;
    border-radius: 40px;
    max-width: 1300px;
    margin: 0 auto 5rem;
}

.about-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about h2 {
    color: white;
    margin-bottom: 2rem;
}

.about p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 3rem;
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.benefits li {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
}

/* =========================================
   FOOTER
========================================= */
footer {
    background-color: var(--color-bg);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--color-text-light);
}

.footer-links h4,
.footer-social h4 {
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul a {
    color: var(--color-text-light);
    transition: var(--transition);
}

.footer-links ul a:hover {
    color: var(--color-primary);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    color: var(--color-secondary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.social-icons a:hover {
    background: var(--color-primary);
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--color-text-light);
    font-size: 0.9rem;
}

/* =========================================
   ANIMATIONS
========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   RESPONSIVE DESIGN
========================================= */
@media (max-width: 900px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 150px;
        min-height: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-image-container::before {
        width: 300px;
        height: 300px;
    }

    .about {
        border-radius: 0;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: flex;
        z-index: 1001;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons a {
        width: 100%;
    }
}

/* =========================================
   CART — ADD BUTTON ON MENU ITEMS
========================================= */
.menu-list li {
    position: relative;
}

.add-btn {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--color-primary);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.75rem;
    box-shadow: 0 3px 10px rgba(255, 122, 0, 0.35);
}

.add-btn:hover {
    background: var(--color-secondary);
    transform: scale(1.15) rotate(90deg);
    box-shadow: 0 5px 15px rgba(11, 59, 36, 0.3);
}

/* =========================================
   CART — NAVBAR ICON
========================================= */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-btn {
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: var(--radius-pill);
    padding: 0.55rem 1.1rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
    position: relative;
}

.cart-btn:hover {
    background: var(--color-secondary);
    transform: translateY(-2px);
}

.cart-badge {
    background: white;
    color: var(--color-primary);
    font-size: 0.78rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    transition: transform 0.2s;
}

.cart-badge.pop {
    transform: scale(1.4);
}

/* =========================================
   CART — OVERLAY & DRAWER
========================================= */
.cart-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1100;
    backdrop-filter: blur(3px);
}

.cart-overlay.open {
    display: block;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: min(420px, 100vw);
    height: 100vh;
    background: white;
    z-index: 1200;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
}

.cart-drawer.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1.75rem;
    border-bottom: 2px solid rgba(0,0,0,0.07);
    background: var(--color-secondary);
    color: white;
}

.cart-header h3 {
    color: white;
    font-size: 1.3rem;
}

.cart-close {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    font-size: 1.1rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-close:hover {
    background: rgba(255,255,255,0.3);
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-text-light);
    gap: 0.5rem;
    font-size: 1.1rem;
    padding: 2rem;
    text-align: center;
}

.cart-empty p {
    font-size: 1.4rem;
}

/* =========================================
   CART — ITEM LIST
========================================= */
.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-bg);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    animation: slideIn 0.25s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
}

.cart-item-name {
    flex: 1;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.cart-qty {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: white;
    color: var(--color-primary);
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background: var(--color-primary);
    color: white;
}

.qty-value {
    font-weight: 800;
    font-size: 1rem;
    min-width: 20px;
    text-align: center;
    color: var(--color-secondary);
}

/* =========================================
   CART — FOOTER BUTTONS
========================================= */
.cart-footer {
    padding: 1.25rem 1.75rem;
    border-top: 2px solid rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-clear {
    background: transparent;
    border: 2px solid #e53e3e;
    color: #e53e3e;
    border-radius: var(--radius-pill);
    padding: 0.7rem 1.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear:hover {
    background: #e53e3e;
    color: white;
}

.btn-whatsapp {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: white;
    font-weight: 800;
    font-size: 1rem;
    border-radius: var(--radius-pill);
    padding: 0.9rem 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
    text-align: center;
}

.btn-whatsapp:hover {
    background: #1ebe5c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}

/* =========================================
   RESPONSIVE CART
========================================= */
@media (max-width: 768px) {
    .cart-btn {
        padding: 0.5rem 0.85rem;
        font-size: 0.9rem;
    }
}
