:root {
    --bg-dark: #0f0f0f;
    --card-bg: #181818;
    --red-accent: #d32f2f;
    --red-hover: #b71c1c;
    --yellow-accent: #ffb300;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
    --border-dark: #2a2a2a;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.5;
}

/* Prevent page background from scrolling when popups/drawers are open */
body.no-scroll {
  overflow: hidden !important;
  touch-action: none;
}

/* Announcement Bar */
.top-announcement {
    background-color: var(--red-accent);
    color: var(--text-white);
    text-align: center;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.top-announcement span {
    color: var(--yellow-accent);
}

/* Navbar */
.navbar {
    background-color: rgba(15, 15, 15, 0.95);
    border-bottom: 1px solid var(--border-dark);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(5px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo {
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.my-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--red-accent);
  line-height: 1;
}

.logo-sub {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: 2px;
}

/* Navigation Menu Container */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 24px; /* Creates clean, equal spacing between every link */
}

/* Navigation Links */
.nav-menu a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
    white-space: nowrap; /* Prevents "Contact Us" from splitting across lines */
}

.nav-menu a:hover {
    color: var(--yellow-accent);
}

/* Button Grouping on the Right */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-button {
    background-color: var(--yellow-accent);
    color: #000;
    border: none;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cart-button:hover {
    transform: scale(1.05);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)), 
                url('image/background banner.jpeg') center/cover;
    padding: 100px 20px;
    text-align: center;
}

.hero-text {
    max-width: 800px;
    margin: 0 auto;
}

.badge-red {
    background-color: var(--red-accent);
    color: var(--text-white);
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-text h1 {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 20px 0 10px;
}

.hero-text h1 span {
    color: var(--yellow-accent);
}

.hero-text p {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-primary, .btn-secondary {
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
}

.btn-primary {
    background-color: var(--red-accent);
    color: var(--text-white);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

/* Value Badges Bar */
.badges-bar {
    background-color: #141414;
    border-bottom: 1px solid var(--border-dark);
    padding: 25px 20px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-icon {
    font-size: 1.8rem;
}

.badge-item h4 {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--yellow-accent);
}

.badge-item p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* Layout */
.main-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-block {
    margin-bottom: 70px;
}

.block-header {
    text-align: center;
    margin-bottom: 40px;
}

.block-header h2 {
    font-size: 2.2rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.block-header p {
    color: var(--yellow-accent);
    font-weight: 700;
}

.block-header p span {
    color: var(--red-accent);
}

/* Bundles Section */
.bundles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.bundle-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
}

.bundle-card.popular {
    border: 2px solid var(--yellow-accent);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--yellow-accent);
    color: #000;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 14px;
    border-radius: 12px;
}

.bundle-tag {
    background-color: var(--red-accent);
    color: var(--text-white);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.bundle-price {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--yellow-accent);
    margin: 10px 0;
}

.bundle-card p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.btn-bundle {
    width: 100%;
    background-color: var(--red-accent);
    color: var(--text-white);
    border: none;
    padding: 12px;
    border-radius: 25px;
    font-weight: 800;
    cursor: pointer;
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.product-info p {
    color: var(--text-gray);
    font-size: 0.85rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-tag {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--yellow-accent);
}

.btn-add {
    background-color: var(--red-accent);
    color: var(--text-white);
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 800;
    cursor: pointer;
}

.btn-add:hover {
    background-color: var(--red-hover);
}

/* Drawer Cart */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: flex-end;
    z-index: 1000;
}

.cart-drawer {
    background-color: var(--card-bg);
    width: 100%;
    max-width: 400px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 25px;
}

.cart-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-dark);
    padding-bottom: 15px;
}

.close-drawer {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 2rem;
    cursor: pointer;
}

.cart-drawer-body {
    flex-grow: 1;
    overflow-y: auto;
    padding: 20px 0;
}

.cart-drawer-footer {
    border-top: 1px solid var(--border-dark);
    padding-top: 15px;
}

.delivery-indicator {
    background-color: #222;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    text-align: center;
    margin-bottom: 15px;
}

.summary-line {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.btn-checkout {
    width: 100%;
    background-color: var(--red-accent);
    color: var(--text-white);
    border: none;
    padding: 14px;
    border-radius: 30px;
    font-weight: 800;
    cursor: pointer;
}

/* Footer */
.site-footer {
    background-color: #080808;
    border-top: 1px solid var(--border-dark);
    padding: 40px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h2 {
    color: var(--red-accent);
}

.footer-bottom {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border-dark);
}

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .hero-text h1 { font-size: 2rem; }
}

/* Metallic Card Borders */
.bundle-card.silver {
    border: 2px solid #c0c0c0;
    box-shadow: 0 0 12px rgba(192, 192, 192, 0.35);
}

.bundle-card.gold {
    border: 2px solid #ffd700;
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.35);
}

.bundle-card.platinum {
    border: 2px solid #e5e4e2;
    box-shadow: 0 0 12px rgba(229, 228, 226, 0.35);
}

/* Ribbon Colors */
.popular-ribbon.silver-ribbon {
    background: linear-gradient(135deg, #e0e0e0, #a8a8a8) !important;
    color: #111 !important;
}

.popular-ribbon.gold-ribbon {
    background: linear-gradient(135deg, #ffd700, #ffaa00) !important;
    color: #111 !important;
}

.popular-ribbon.platinum-ribbon {
    background: linear-gradient(135deg, #ffffff, #b0b0b0) !important;
    color: #111 !important;
}

/* Metallic Price Accents */
.bundle-price.price-silver { color: #c0c0c0; }
.bundle-price.price-gold { color: #ffd700; }
.bundle-price.price-platinum { color: #e5e4e2; }

/* Yellow Pill Auth Button Styling */
.auth-btn {
    display: inline-block;
    background-color: #ffcc00;
    color: #000000;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

.auth-btn:hover {
  background-color: #e6b800;
  color: #000000;
}

.reviews-section {
  padding: 60px 20px;
  background-color: #121212;
  color: #ffffff;
}

.reviews-container {
  max-width: 800px;
  margin: 0 auto;
}

.reviews-section h2 {
  text-align: center;
  color: #ffcc00;
  font-size: 28px;
  margin-bottom: 8px;
}

.section-subtitle {
  text-align: center;
  color: #aaaaaa;
  margin-bottom: 30px;
  font-size: 14px;
}

.review-form-card {
  background-color: #1e1e1e;
  padding: 24px;
  border-radius: 10px;
  border: 1px solid #2a2a2a;
  margin-bottom: 40px;
}

.review-form-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.star-rating {
  display: flex;
  gap: 8px;
  font-size: 28px;
  color: #444444;
  cursor: pointer;
  margin-bottom: 15px;
}

/* Highlight hovered star and all stars before it (Left to Right) */
.star-rating span:hover,
.star-rating span:has(~ span:hover) {
  color: #ffcc00;
}

/* Persistent selection state via JS */
.star-rating span.active {
  color: #ffcc00;
}

textarea {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background-color: #2a2a2a;
  border: 1px solid #333333;
  color: #ffffff;
  font-size: 14px;
  resize: vertical;
  margin-bottom: 12px;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: #ffcc00;
}

.submit-review-btn {
  background-color: #ffcc00;
  color: #000000;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
}

.submit-review-btn:hover {
  background-color: #e6b800;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.review-card {
  background-color: #1a1a1a;
  padding: 18px;
  border-radius: 8px;
  border: 1px solid #282828;
}

.review-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-header .stars {
  color: #ffcc00;
}
/* Styling for the cart item removal 'X' button */
#cart-drawer-items .remove-item-btn {
  /* Visibility & Placement */
  position: absolute;
  top: 10px;
  right: 15px; /* Pushes it slightly away from the scrollbar/edge */
  
  /* Resetting button defaults */
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 5px; /* Creates a larger 'invisible' hit-area for easier tapping */
  
  /* Typography & Size */
  color: #ff4444; /* Bright Red for high visibility */
  font-size: 24px; /* Significantly bigger */
  font-weight: 300; /* Light weight looks more elegant on 'X' */
  line-height: 1; /* Stops vertical alignment issues */
  
  /* Smooth Hover Transition */
  transition: all 0.2s ease;
}

/* Make it slightly brighter on hover/tap */
#cart-drawer-items .remove-item-btn:hover {
  color: #ff0000;
  transform: scale(1.1); /* Subtle grow effect when hovering */
}

/* Mobile Toggle Button (Hidden on Desktop) */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.8rem;
    cursor: pointer;
    padding: 5px 10px;
}

/* Mobile Screens (768px and smaller) */
@media (max-width: 768px) {
    .mobile-toggle {
        display: block; /* Show hamburger icon on mobile */
    }

    .nav-menu {
        display: none; /* Hide navigation links by default on mobile */
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #111111;
        padding: 20px 0;
        text-align: center;
        gap: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    /* Shown when toggled open */
    .nav-menu.active {
        display: flex;
    }
}

/* Stop horizontal side-scrolling across the entire site */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

/* Mobile screen adjustments for phones */
@media screen and (max-width: 768px) {

    /* Keep all containers within screen width */
    header, nav, .hero, .container, .announcement-bar {
        max-width: 100% !important;
        box-sizing: border-box;
    }

    /* Shrink navigation buttons slightly so Sign In and Cart fit together */
    .header-container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 5px;
        padding: 8px 10px;
    }

    /* Make buttons compact on small screens */
    .btn, button, a.button {
        max-width: 100%;
        font-size: 13px;
        padding: 6px 10px;
    }
}

/* Smartphone Layout Fix (Screens under 768px wide) */
@media screen and (max-width: 768px) {
    
    /* Allow header elements to wrap into multiple rows */
    header, .header-container, .nav-container, nav {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 12px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* 1. Keep logo on top-left */
    .logo, header .logo, .site-logo {
        order: 1 !important;
        max-width: 55% !important;
    }

    /* 2. Position Hamburger icon on the top-right */
.hamburger, .menu-toggle, .nav-toggle, .hamburger-icon, .mobile-toggle {
    order: 2 !important;
    margin-left: auto !important;
    width: auto !important;
    display: block !important;
}

/* 3. Align Cart and Sign In buttons cleanly on the right under hamburger */
.nav-actions, .header-right, .user-cart-container {
    order: 3 !important;
    width: 100% !important;
    display: flex !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 8px !important;
}

    /* Ensure buttons stay compact and fit on narrow mobile screens */
    .user-btn, .cart-btn, header button, header a.btn {
        font-size: 11px !important;
        padding: 6px 8px !important;
        white-space: nowrap !important;
    }
}

/* 2 Items Per Row on Mobile Screens */
@media screen and (max-width: 768px) {

    /* Force the product container into a 2-column grid */
    .menu-grid, .products-grid, .meals-grid, .grid-container, #menu-container {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 5px !important;
    }

    /* Adjust product card spacing for small screens */
    .card, .product-card, .menu-card, .meal-card {
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
    }

    /* Keep product images neat and uniform */
    .card img, .product-card img, .menu-card img, .meal-card img {
        width: 100% !important;
        height: 110px !important;
        object-fit: cover !important;
        border-radius: 6px !important;
    }

    /* Scale down title and price text */
    .card h3, .product-card h3, .meal-card h3 {
        font-size: 13px !important;
        line-height: 1.2 !important;
        margin: 6px 0 4px 0 !important;
    }

    /* Shorten description text so cards stay compact */
    .card p, .product-card p, .meal-card p {
        font-size: 10px !important;
        line-height: 1.2 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        margin-bottom: 6px !important;
    }

    /* Align price and + Add button cleanly */
    .price-row, .card-footer, .product-bottom {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 4px !important;
        margin-top: auto !important;
    }

    .card .price, .product-card .price {
        font-size: 13px !important;
    }

    .card button, .product-card button, .add-btn {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}

/* Full-screen backdrop overlay for PC & Mobile on index.html */
#cart-overlay,
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 998; /* Sits right behind active drawers/popups (z-index: 999) */
  display: none;
}

#cart-overlay.active,
.modal-overlay.active {
  display: block;
}

.netlify-drawer { 
  display: none !important; 
}