:root {
    --primary-red: #da291c;
    --badge-color: #cd6133;
    --primary-color: var(--primary-red); /* Alias for compatibility with rest of site */
    --secondary-color: #2c3e50; /* Keep secondary color for text */
    --accent-color: #ffcc00;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --footer-bg: #1a1a1a;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed header */
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

/* Utility Classes */
.section-padding {
    padding: 80px 0;
}

.text-center {
    text-align: center;
}

/* Section Header - Exactly matching request */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3.5rem; /* Large and bold as seen in photo */
    font-weight: 800; /* Extra bold */
    color: #111827; /* Near black */
    margin-bottom: 15px;
    letter-spacing: -1px;
    line-height: 1.2;
}

.section-header p {
    font-size: 1.25rem;
    color: #4b5563; /* Slate grey subtile */
    font-weight: 400;
    margin-bottom: 10px;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.header {
    background-color: transparent; /* Transparent mainly */
    position: absolute; /* Overlays hero */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
    transition: background-color 0.3s ease;
}

/* Add a class for sticky header with background if needed via JS later, 
   but for now keep it transparent as per screenshot request */

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none; /* Safekeeping */
}

.logo img {
    height: 80px; 
    width: auto;
    object-fit: contain; /* Ensures the full image is visible without cropping */
    max-width: 100%;
}

.nav ul {
    display: flex;
    gap: 40px;
    list-style: none; /* Remove dots */
    padding: 0;
    margin: 0;
}

.nav a {
    font-weight: 600;
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
    text-decoration: none; /* Remove underline */
}

.nav a:hover {
    color: var(--white);
    opacity: 1;
}

.header-cta {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none; /* Remove underline */
}

.header-cta:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--white);
}

/* Mobile Menu Elements (Hidden on Desktop) */
.nav-mobile-header,
.nav-mobile-cta {
    display: none;
}

/* Hero Section */
.hero {
    height: 100vh;
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('images/hero_image.jpg');
    background-size: cover;
    background-position: center; /* Ensure image is centered */
    background-attachment: fixed; /* Parallax effect optional */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding-top: 0; 
    overflow: hidden;
}

/* Specific overlay to darken it further if image is too bright */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.3); /* Reduced opacity */
    z-index: 1;
}

.hero-container-layout {
    /* position: relative; Removed to allow visuals to align to viewport */
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 100%;
    max-width: 1400px; 
    margin: 0 auto;
    padding: 0 20px;
}

.hero-text {
    position: relative; /* Ensure z-index works */
    z-index: 2; 
    text-align: left;
    padding-left: 40px;
}

.hero-visuals {
    position: absolute; /* Relative to .hero now */
    right: 0;
    top: 0;
    height: 100%;
    width: 50%; /* Occupy right half */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    pointer-events: none; 
    overflow: visible; 
    z-index: 2;
}

/* Pizza Image */
.hero-pizza {
    width: 80%; 
    max-width: 400px; /* Reduced to 400px as requested */
    position: absolute; 
    right: 0; /* Touch the edge */
    top: 50%;
    transform: translateY(-50%);
    filter: drop-shadow(0 25px 50px rgba(0,0,0,0.6));
    animation: slideInRight 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    transform-origin: center right;
}

/* Mobile Pizza Image (Hidden on Desktop) */
.hero-pizza-mobile {
    display: none;
}

/* Floating Ingredients */
.hero-ingredient {
    position: absolute;
    z-index: 3;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.4));
    animation: float 6s ease-in-out infinite;
}

.ingredient-1 {
    top: 15%;
    left: 10%;
    width: 100px;
    animation-delay: 0s;
}

.ingredient-2 {
    bottom: 25%;
    left: 5%;
    width: 120px;
    animation-delay: 1.5s;
}

.ingredient-3 {
    top: 40%;
    right: auto;
    left: 10%; /* Place it near the center line (since parent is right-half width) */
    width: 110px;
    animation-delay: 2.5s;
}

.ingredient-4 {
    bottom: 10%;
    right: 40%;
    width: 70px;
    animation-delay: 3.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(5deg); }
}

@keyframes slideInRight {
    from { 
        opacity: 0; 
        transform: translateY(-50%) translateX(200px) rotate(10deg); 
    }
    to { 
        opacity: 1; 
        transform: translateY(-50%) translateX(0) rotate(0deg); 
    }
}

.tradition-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--badge-color); /* Brown/Orange */
    color: rgba(255, 255, 255, 0.9);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 25px;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero h1 {
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 50px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: flex-start; /* Aligned to left for new layout */
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    border: none; /* Reset defaults */
}

.btn-red {
    background-color: var(--primary-red);
    color: var(--white);
}

.btn-red:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.4);
}

.btn-white {
    background-color: var(--white);
    color: var(--primary-red);
}

.btn-white i {
    margin-right: 10px;
    color: var(--primary-red);
}

.btn-white:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,255,255,0.2);
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 1.5rem;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateX(-50%) translateY(0);}
    40% {transform: translateX(-50%) translateY(-10px);}
    60% {transform: translateX(-50%) translateY(-5px);}
}

/* Tablet/Mobile adaptation - Pizza from Bottom */
@media (max-width: 1100px) {
    .hero {
        height: auto;
        min-height: 100vh;
        padding: 120px 0 0; /* Remove bottom padding to let pizza sit flush */
        align-items: flex-start;
        overflow: hidden;
    }

    .hero-container-layout {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0 20px;
    }

    .hero-text {
        text-align: center;
        padding-left: 0;
        width: 100%;
        margin-bottom: 20px;
        z-index: 10;
    }

    .hero-buttons {
        justify-content: center;
    }

    /* Visuals Container shifts to bottom */
    .hero-visuals {
        position: relative;
        width: 100%;
        height: 450px; /* Dedicated space for pizza */
        margin-top: auto; /* Push to bottom */
        display: block; /* Allow absolute children */
        right: auto;
        top: auto;
    }

    /* Desktop Pizza Hidden */
    .hero-pizza {
        display: none;
    }

    /* Mobile Pizza Shown */
    .hero-pizza-mobile {
        display: block;
        position: absolute;
        bottom: -20px; /* Slight overlap with edge */
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        max-width: 500px;
        height: auto; /* Maintain aspect ratio */
        z-index: 5;
        animation: slideInUpMobile 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    /* Floating Ingredients Re-arranged for Mobile */
    .hero-ingredient {
        z-index: 6; /* On top of pizza */
    }

    .ingredient-1 { /* Basil Top Left */
        top: 10%; 
        left: 10%; 
        width: 70px;
    }
    .ingredient-2 { /* Mushroom Top Right */
        top: 20%; 
        right: 15%; 
        left: auto;
        width: 90px;
    }
    .ingredient-3 { /* Tomatoes Bottom Left */
        top: auto;
        bottom: 120px; 
        left: 5%; 
        width: 80px;
    }
    .ingredient-4 { /* Basil Bottom Right */
        top: auto;
        bottom: 150px; 
        right: 5%; 
        width: 60px;
    }
}

@keyframes slideInUpMobile {
    from { opacity: 0; transform: translateX(-50%) translateY(100%); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ... Responsive adjustments ... */
@media (max-width: 768px) {
    .header {
        background-color: transparent;
        position: absolute;
    }
    
    .header-container {
        padding: 0 20px;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        padding: 0 20px;
    }

    .btn {
        width: 100%;
        font-size: 1rem;
        padding: 12px;
    }

    .btn-white {
        white-space: nowrap; /* Prevent text wrapping if possible, or allow it gratefully */
        font-size: 0.9rem; /* Slightly smaller to fit */
    }

    .nav {
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background-color: #1a1a1a;
        padding: 20px;
        flex-direction: column;
        display: none;
        border-top: 1px solid #333;
    }

    .nav.active {
        display: flex;
    }
    
    .nav ul {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        width: 100%;
    }
    
    .logo {
        font-size: 1.2rem;
    }
    
    .logo i {
        font-size: 1.4rem;
    }

    .header-cta {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
}


/* About Section */
.about {
    background-color: #fff; /* Clean white */
    position: relative;
}

/* Background texture or shape detail */
.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: repeating-linear-gradient(45deg, var(--primary-red), var(--primary-red) 10px, white 10px, white 20px);
    opacity: 0.1;
}

.about .section-header {
    margin-bottom: 50px;
}

.about-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    font-size: 1.1rem;
    color: #444;
    line-height: 1.9;
    font-weight: 300;
}

.delivery-banner {
    display: inline-block;
    background-color: var(--primary-red); /* Red bg */
    color: white; /* White text */
    padding: 15px 40px;
    border-radius: 4px; /* Less rounded */
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 10px;
    box-shadow: 0 10px 20px rgba(218, 41, 28, 0.2);
    transform: skew(-10deg); /* Modern edgy look */
}

.delivery-banner > * {
    transform: skew(10deg); /* Unskew content */
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 70px;
}

.feature-card {
    background: #fff;
    padding: 0;
    border-radius: 0; 
    text-align: left; 
    box-shadow: none;
    border: none;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px; /* Soft square */
    flex-shrink: 0;
    margin: 0; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Icon shadow only */
    color: var(--primary-red);
    border: 1px solid #eee;
}

.card-icon.red-icon {
    background-color: white;
    color: var(--primary-red);
}

.feature-card:hover .card-icon {
    background-color: var(--primary-red);
    color: white;
    transform: none; /* Reset distinct hover */
}

.feature-card div {
    flex: 1;
}

/* Wrapping text in a div might be needed if HTML structure wasn't flex ready, 
   but currently h3 and p are direct children. 
   I need to target them directly in the grid or wrap them in HTML if I want flex gap to work perfectly 
   with an icon on left vs text block. 
   Actually, the current HTML is:
   <div card> <icon> <h3> <p> </div>
   Flex direction row will put icon, h3, p in a row. Not what we want.
   We want Icon | [H3 + P].
   
   Since I cannot easily change HTML structure for all 3 cards in one go efficiently without multiple replacements 
   or strict regex, I will use Grid to align them or float.
   
   Let's use Display Grid for the card.
*/
.feature-card {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas: 
        "icon title"
        "icon desc";
    gap: 5px 20px;
    justify-items: start;
    padding: 20px;
    border: 1px solid #f0f0f0; /* Subtle border */
    border-radius: 8px;
}

.card-icon {
    grid-area: icon;
}

.feature-card h3 {
    grid-area: title;
    margin-bottom: 5px;
    color: #222;
    font-size: 1.25rem;
    font-weight: 700;
    align-self: end;
}

.feature-card p {
    grid-area: desc;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    align-self: start;
}

/* Menu Section */
.menu {
    background-color: #ffffff;
}

.badges-container {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.badge {
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge-green {
    background-color: #dcfce7;
    color: #166534;
}

.badge-orange {
    background-color: #ffedd5;
    color: #c2410c;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 24px;
    background: #f3f4f6; /* Gray background for inactive */
    border: none;
    color: #4b5563;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
}

.tab-btn i {
    font-size: 1rem;
}

.tab-btn:focus-visible {
    outline: 2px solid var(--primary-red);
    outline-offset: 2px;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(218, 41, 28, 0.2);
}

.menu-category {
    display: none;
    background: transparent;
    padding: 0;
    box-shadow: none;
    max-width: 100%;
}

.menu-category.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Table-like Layout for Pizza Menu */
.menu-header-bar {
    display: grid;
    grid-template-columns: 2fr 3.5fr 1fr 1fr 50px;
    background-color: var(--primary-red);
    color: white;
    padding: 15px 30px;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    align-items: center;
    gap: 20px;
}

.menu-list {
    background: white;
    border: 1px solid #eee;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.menu-item-row {
    display: grid;
    grid-template-columns: 2fr 3.5fr 1fr 1fr 50px;
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    gap: 20px;
    transition: background-color 0.2s;
}

/* Single Price Variant (Name/Desc | Weight | Price) */
.menu-header-bar.single-price,
.menu-item-row.single-price {
    grid-template-columns: 4fr 1fr 1fr 50px;
}

/* Two Column Variant (Name/Desc | Price) - for simple lists like Drinks */
.menu-header-bar.two-col,
.menu-item-row.two-col {
    grid-template-columns: 5fr 1fr 50px;
}

.menu-item-row:last-child {
    border-bottom: none;
}

.menu-item-row:hover {
    background-color: #fcfcfc;
}

.col-name {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.05rem;
}

.col-ingredients {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.col-price {
    text-align: right;
    font-weight: 400; /* Regular in header */
}

/* Ensure header text is white */
.menu-header-bar .col-name,
.menu-header-bar .col-ingredients,
.menu-header-bar .col-price {
    color: var(--white);
}

.menu-item-row .col-price.price-text {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* ... Responsive adjustments ... */
@media (max-width: 768px) {
    /* ... existing responsive header styles ... */
    
    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-card {
        text-align: center;
    }
    
    .card-icon {
        margin: 0 auto 20px;
    }

    /* Stack the menu table on mobile */
    .container {
        padding: 0 8px; /* Tighter container padding */
        width: 100%; /* Maximize width */
    }

    .menu-header-bar {
        display: none; /* Hide header on mobile */
    }

    .menu-item-row {
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "name price1"
            "ingr price2";
        gap: 5px 10px;
        align-items: start;
        padding: 12px 5px; /* Minimal side padding */
    }

    .menu-item-row.single-price {
        grid-template-columns: 1fr auto;
        grid-template-areas: 
            "name name"
            "qty price";
        gap: 5px 0;
    }

    .menu-item-row.single-price .col-price:nth-child(2) {
        grid-area: qty;
        text-align: left;
        font-size: 0.9rem;
        color: #666;
        align-self: center;
    }

    /* Specific fix for the price column in single-price (3rd child) */
    .menu-item-row.single-price .col-price:nth-child(3) {
        grid-area: price;
        text-align: right;
        align-self: center;
    }

    .menu-item-row.two-col {
        grid-template-columns: 1fr auto;
        grid-template-areas: "name price";
        align-items: center;
    }

    .menu-item-row.two-col .col-price:nth-child(2) {
        grid-area: price;
    }

    .col-name {
        grid-area: name;
        font-size: 1rem;
    }

    .col-ingredients {
        grid-area: ingr;
        font-size: 0.85rem;
    }

    .col-price:nth-child(3) {
        grid-area: price1;
    }
    
    .col-price:nth-child(4) {
        grid-area: price2;
    }

    .col-price.price-text::before {
        content: attr(data-label); /* Could add labels via data attribs if needed */
        font-size: 0.7rem;
        color: #999;
        display: block;
        font-weight: normal;
    }
}


.empty-state {
    text-align: center;
    padding: 50px 0;
    color: #888;
}

/* Contact Section */
.contact {
    background-color: var(--light-bg);
    padding: 100px 0;
    position: relative;
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    max-width: 1000px;
    margin: 50px auto 0;
    background: transparent;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    overflow: hidden;
}

.contact-card {
    padding: 60px 50px;
    text-align: left;
    position: relative;
    border: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-card:hover {
    transform: none;
    box-shadow: none;
}

.contact-card::before {
    display: none;
}

/* Specific styling for cards - BOLD CONTRAST - Split Theme */
.program-card {
    background-color: var(--primary-red); /* Brand Red Background */
    color: white;
    border-right: none;
}

.contact-info-card {
    background-color: #ffffff; /* White again */
    color: #333;
}

/* Titles */
.contact-card .card-title {
    background: transparent;
    border: none;
    padding: 0;
    margin-bottom: 40px;
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 15px;
    line-height: 1.2;
}

.program-card .card-title {
    color: white;
}

.contact-info-card .card-title {
    color: #111827; /* Dark text for title */
}

.contact-card .card-title i {
    width: auto;
    height: auto;
    background: transparent;
    font-size: 1.8rem;
    border-radius: 0;
    display: inline-block;
    box-shadow: none;
    margin: 0;
    transform: none !important;
}

.program-card .card-title i {
    color: rgba(255,255,255,0.9); /* White icon on red bg */
}

.contact-info-card .card-title i {
    color: #3b82f6; 
}


.contact-card .card-content {
    padding: 0;
    flex: 1;
}

/* Program Specifics - Classic Dark Theme */
.program-schedule {
    padding: 0;
    font-size: 1.1rem;
    color: #d1d5db; /* Light grey text */
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.program-divider {
    display: block;
    height: 1px;
    background-color: rgba(255,255,255,0.1);
    width: 100%;
}

.program-row {
    padding: 0;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.program-row .day {
    font-weight: 500;
    color: #e5e7eb;
    font-size: 1.1rem;
}

.program-row .hours {
    font-weight: 600;
    color: #ffffff;
    background: rgba(255,255,255,0.2); 
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 0.95rem;
}


/* Contact Specifics - Light Theme Again */
.contact-list {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    padding: 0;
    background: transparent;
    border-radius: 0;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    border: none;
    transition: transform 0.2s;
}

.contact-item:hover {
    background: transparent;
    border-color: transparent;
    box-shadow: none;
    transform: translateX(5px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%; /* Circle icons */
    background: #eff6ff; /* Light blue bg */
    border: none;
    color: #2563eb;
    font-size: 1.2rem;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Adjust distinct icon colors for light mode */
.contact-item:nth-child(1) .contact-icon,
.contact-item:nth-child(2) .contact-icon { background: #eff6ff; color: #2563eb; } 
.contact-item:nth-child(3) .contact-icon { background: #dcfce7; color: #16a34a; } 
.contact-item:nth-child(4) .contact-icon { background: #fee2e2; color: var(--primary-red); }

.contact-details .label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #9ca3af; /* Light grey label */
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-details .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111827; /* Dark Value again */
    line-height: 1.4;
}

@media (max-width: 900px) {
    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        border-radius: 20px;
        margin: 0 auto;
    }
    
    .contact-card {
        padding: 40px 30px;
    }
}

/* Location Map Section */
.location-map {
    background-color: var(--white);
    position: relative;
    padding-bottom: 0; 
}

.map-container {
    width: 100vw; /* Full viewport width */
    margin-left: calc(-50vw + 50%); /* Center full width item */
    border-radius: 0; /* No radius */
    box-shadow: none;
    margin-bottom: 0; 
    position: relative;
    z-index: 1;
    border: none;
    height: 500px; /* Fixed taller height */
}

.map-container iframe {
    height: 100%;
    border: 0;
}

/* Float a bar on top of the map this time, at the bottom */
.map-actions {
    position: absolute; 
    bottom: 30px; /* Floating slightly above bottom */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    
    margin: 0;
    padding: 0;
    z-index: 2;
    background: transparent;
    max-width: 800px; /* Constrain width */
    pointer-events: none; 
}

.map-info-card {
    background: var(--white);
    color: var(--text-color);
    padding: 20px 40px;
    border-radius: 50px; /* Pill shape */
    box-shadow: 0 10px 30px rgba(0,0,0,0.15); /* Nice shadow lift */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 30px;
    pointer-events: auto;
    border-top: none; /* Remove weird border */
}

.address-display {
    font-size: 1.1rem;
    color: #1a1a2e;
    font-weight: 600;
    margin-bottom: 0; 
    gap: 10px;
}

.address-display i {
    color: var(--primary-red);
    font-size: 1.3rem;
    animation: none;
}

.btn-map {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 25px;
    font-size: 1rem;
    box-shadow: none;
    background: var(--primary-red);
    color: white;
    border: none;
    border-radius: 30px;
    transition: var(--transition);
}

.btn-map:hover {
    box-shadow: 0 5px 15px rgba(218, 41, 28, 0.4);
    background: #c0392b;
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .map-info-card {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 25px;
        border-radius: 20px;
        width: 95%; /* almost full width */
        margin: 0 auto;
    }
    
    .map-actions {
        width: 100%;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    /* Split contact grid into two separate cards for better mobile view */
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: 20px;
        box-shadow: none;
        background: transparent;
        border-radius: 0;
        padding: 0 10px;
        overflow: visible;
    }

    .contact-card {
        padding: 30px 20px;
        width: 100%;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    /* Program Details Tweaks */
    .program-row .day {
        font-size: 0.95rem;
    }

    .program-row .hours {
        font-size: 0.85rem;
        padding: 4px 10px;
    }

    /* Contact Details Tweaks */
    .contact-item {
        gap: 15px;
    }

    .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        flex-shrink: 0;
    }
    
    .contact-details .value {
        font-size: 1rem;
        word-break: break-all; /* Prevent long phone numbers or emails from breaking layout */
    }
}


/* Footer */
.footer {
    background-color: var(--footer-bg);
    color: #999;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.footer-brand p {
    max-width: 400px;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    font-size: 0.9rem;
}

.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0 20px;
    }
    
    .hamburger {
        display: block;
    }

    /* Mobile Menu Card Style */
    .nav {
        position: fixed;
        /* Center the card */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        
        width: 90%;
        max-width: 400px;
        background: var(--white);
        padding: 0; /* Header/Footer handle padding */
        
        /* Box Shadow for Card AND Backdrop overlay hack */
        box-shadow: 0 10px 30px rgba(0,0,0,0.2), 0 0 0 1000px rgba(0,0,0,0.5);
        
        border-radius: 12px;
        display: none;
        flex-direction: column;
        z-index: 2000;
    }

    .nav.active {
        display: flex;
    }

    /* Mobile Header inside Card */
    .nav-mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px 25px;
    }

    .nav-mobile-brand {
        display: flex;
        align-items: center;
        gap: 10px;
        font-weight: 700;
        font-size: 1.2rem;
        color: #333;
    }

    .nav-mobile-logo-img {
        height: 30px;
        width: auto;
    }

    .nav-mobile-close {
        cursor: pointer;
        font-size: 1.2rem;
        color: #666;
        padding: 5px; /* Touch target */
    }

    /* List items */
    .nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0;
    }

    .nav ul li {
        width: 100%;
    }

    .nav ul li a {
        display: block;
        padding: 12px 25px;
        color: #333;
        font-size: 1.1rem;
        font-weight: 500;
        /* Optional separator */
        /* border-bottom: 1px solid #f9f9f9; */
    }
    
    .nav ul li a:hover {
        background-color: #f9f9f9;
        color: var(--primary-red);
    }

    /* Big Red Button */
    .nav-mobile-cta {
        display: block;
        text-align: center;
        background-color: var(--primary-red);
        color: white;
        padding: 14px;
        margin: 20px 25px;
        border-radius: 50px;
        font-weight: 600;
        text-decoration: none;
        font-size: 1.1rem;
    }

    .cta-btn {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .menu-category {
        padding: 20px;
    }

    .menu-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .item-prices {
        width: 100%;
        justify-content: space-between;
    }

    .price-header {
        display: none;
    }
}

/* Nutritional Info Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-container {
    background-color: white;
    width: 90%;
    max-width: 500px;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
    background: none;
    border: none;
}

.modal-close:hover {
    color: var(--primary-red);
}

.modal-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.5rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-bottom: 5px;
}

.modal-subtitle {
    color: #666;
    font-size: 0.9rem;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.nutrition-item {
    background-color: #f9f9f9;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
}

.nutrition-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-red);
    display: block;
    margin-bottom: 5px;
}

.nutrition-label {
    font-size: 0.85rem;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-icon {
    color: var(--primary-red);
    font-size: 1.5rem; /* Larger size for the icon */
    cursor: pointer;
    transition: transform 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    /* Remove custom border styles since the icon itself is circular */
    border: none;
    border-radius: 0;
    width: auto;
    height: auto;
    padding: 0;
}

.info-icon:hover {
    transform: scale(1.1);
    /* Removed color reversal as requested */
}

.col-info {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    /* General Mobile List Settings */
    .menu-item-row {
        position: relative; /* Anchor for absolute info button */
    }

    .col-name {
        padding-right: 40px; /* Space so name text never hides beneath absolute info button */
    }

    .col-info {
        position: absolute;
        top: 12px;
        right: 10px;
        width: auto;
        height: auto;
        display: inline-flex;
        grid-area: auto !important; /* Ignore grid templates entirely */
        z-index: 10;
        justify-content: flex-end;
    }

        /* Beautiful stacked layout for Pizza Items on Mobile */
    #pizza .menu-item-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas: 
            "name   name"
            "ingr   ingr"
            "price1 price2";
        gap: 5px 10px;
        align-items: center;
        padding: 15px 10px;
        border-bottom: 1px solid #eee;
    }

    #pizza .menu-item-row:last-child {
        border-bottom: none;
    }

    /* Wrap name and info button */
    #pizza .col-name {
        grid-area: name;
        font-size: 1.15rem;
        color: var(--primary-red);
        margin-bottom: 2px;
        display: block;
    }

    #pizza .col-ingredients {
        grid-area: ingr;
        font-size: 0.9rem;
        color: #555;
        line-height: 1.4;
        margin-bottom: 10px;
    }

    /* Redesign of prices */
    #pizza .col-price {
        display: flex !important;
        align-items: center;
        background: transparent;
        padding: 0;
        border-radius: 0;
        margin-bottom: 0;
        font-size: 1.05rem;
        font-weight: 700;
        color: var(--primary-red);
    }

    #pizza .col-price:nth-child(3) {
        grid-area: price1;
        justify-content: flex-start;
    }

    #pizza .col-price:nth-child(4) {
        grid-area: price2;
        justify-content: flex-end;
    }

    #pizza .col-price:nth-child(3)::after {
        content: " (320g)";
        font-size: 0.85rem;
        font-weight: 500;
        color: #666;
        margin-left: 5px;
    }

    #pizza .col-price:nth-child(4)::after {
        content: " (480g)";
        font-size: 0.85rem;
        font-weight: 500;
        color: #666;
        margin-left: 5px;
    }

    #pizza .col-price::before {
        content: none !important;
    }

    /* Hide the row if the price value is missing */
    #pizza .col-price:empty {
        display: none !important;
    }
}

/* Size Toggle Buttons */
.size-btn {
    background: white;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    color: #555;
}

.size-btn:hover {
    background: #f5f5f5;
}

.size-btn.active {
    background: var(--primary-red);
    color: white;
    border-color: var(--primary-red);
}


/* Nutrition Table Styles (New) */
.nutrition-table-container {
    width: 100%;
    overflow-x: auto;
}

.nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.nutrition-table th {
    background-color: #f5f5f5;
    color: #2c3e50; /* var(--secondary-color) */
    padding: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
}

.nutrition-table th:first-child {
    text-align: left;
    border-radius: 8px 0 0 8px;
}

.nutrition-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.nutrition-table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
    font-size: 0.95rem;
    color: #333;
    text-align: center;
}

.nutrition-table td:first-child {
    text-align: left;
    font-weight: 500;
    color: #555;
    padding-left: 15px;
}

.nutrition-table tr:hover {
    background-color: #fafafa;
}

.nutrition-table tr:last-child td {
    border-bottom: none;
}


/* Responsive Modal Adjustments */
@media (max-width: 600px) {
    .modal-container {
        width: 95%;
        padding: 20px 15px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .nutrition-table th, .nutrition-table td {
        padding: 8px 4px;
        font-size: 0.8rem;
    }
    .modal-title {
        font-size: 1.25rem;
    }
    .modal-subtitle {
        font-size: 0.85rem;
    }
    .modal-size-toggle button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}
