/*
Theme Name: Soft & Crunchy Pizza
Theme URI: https://yourwebsite.com/soft-crunchy-pizza
Author: Your Name
Author URI: https://yourwebsite.com/
Description: A modern and responsive WordPress theme for Soft & Crunchy Mobile Pizzeria, inspired by the provided design.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: soft-crunchy-pizza
Tags: custom-background, custom-colors, custom-header, custom-menu, featured-images, flexible-header, full-width-template, dark, responsive-layout, translation-ready

This is the main stylesheet for the Soft & Crunchy Pizza theme.
*/

/* --- CSS Variables for Colors --- */
:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-pizza-red: #E53935; /* Vibrant Red */
    --color-golden-yellow: #FFC107; /* Golden Yellow for subtle highlights/hover */
    --color-light-grey: #CCCCCC; /* For less prominent text on dark backgrounds */
    --color-dark-grey: #222222; /* For less prominent text on light backgrounds */
    --color-medium-grey: #666666; /* For menu dots, carousel dots */
}

/* --- Base Styles & Responsive Resets --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px; /* Base font size */
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif; /* Default body font, or 'Open Sans' */
    line-height: 1.6;
    color: var(--color-dark-grey); /* Default text color for light sections */
    background-color: var(--color-white); /* Default light background */
    overflow-x: hidden; /* Prevent horizontal scroll from elements */
}

/* Responsive Images */
img {
    max-width: 100%;
    height: auto;
    display: block; /* Removes extra space below images */
}

a {
    color: var(--color-pizza-red); /* Default link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-golden-yellow); /* Hover effect */
    text-decoration: none;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif; /* Bolder font for headings */
    font-weight: 700; /* Bold */
    margin-bottom: 0.5em;
    color: var(--color-black); /* Default heading color for light sections */
}

h1 { font-size: 3.8em; line-height: 1.1; } /* Hero text */
h2 { font-size: 2.8em; } /* Section titles like "Deals" */
h3 { font-size: 1.8em; } /* Sub-headings, e.g., pizza titles */
h4 { font-size: 1.4em; }

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8em 2em;
    background-color: var(--color-pizza-red);
    color: var(--color-white);
    border: none;
    border-radius: 5px; /* Slightly rounded corners */
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: var(--color-golden-yellow); /* Change color on hover */
    transform: translateY(-2px); /* Slight lift effect */
    text-decoration: none;
}

/* --- Layout Containers --- */
.container {
    max-width: 1200px; /* Max width for content */
    margin: 0 auto;
    padding: 0 20px; /* Padding on sides for smaller screens */
}

/* Section Padding */
.section-padding {
    padding: 80px 0; /* Generous vertical spacing */
}

/* Text alignment */
.text-center { text-align: center; }

/* Global scrollbar styling for consistency */
::-webkit-scrollbar {
    width: 8px;
    height: 8px; /* For horizontal scrollbars */
}
::-webkit-scrollbar-track {
    background: var(--color-black);
}
::-webkit-scrollbar-thumb {
    background: var(--color-pizza-red);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-golden-yellow);
}

/* --- Header (Top Bar - Logo & Menu) Styles --- */
.site-header {
    background-color: var(--color-black); /* Solid black background for the top bar */
    position: relative; /* Keep relative for z-index if needed */
    z-index: 100; /* Ensure it stays on top of other content */
    padding: 20px 0; /* Vertical padding for the top bar */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2); /* Subtle shadow for separation */
    min-height: auto; /* Allow height to be determined by content */
    overflow: visible; /* Allow content to flow normally */
}

/* Ensure the branding container and top bar fill the header */
.site-branding-container {
    width: 100%;
}

.header-top-bar {
    display: flex;
    justify-content: space-between; /* Logo left, icons/menu right */
    align-items: center;
    padding: 0 20px;
}

.site-branding .custom-logo-link img {
    max-height: 80px; /* Adjust logo size */
    width: auto;
    /* filter: brightness(0) invert(1); /* Ensures logo is white if it's black in source - COMMENTED OUT */
}

/* If no custom logo, style default site title */
.site-branding .site-title a {
    font-family: 'Grand Hotel', cursive;
    color: var(--color-white);
    font-size: 2.8em;
    font-weight: normal;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.header-icons {
    display: flex;
    gap: 15px; /* Keep gap in case search is re-added */
    /* margin-left: auto; This was for pushing icons right when menu was separate */
}

.search-toggle { /* This rule is kept for completeness, but the button is removed in HTML */
    display: none; /* Ensure it's hidden */
}

.menu-toggle {
    background: none;
    border: none;
    color: var(--color-light-grey); /* Subtle grey for icons */
    font-size: 1.5em;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--color-pizza-red);
}

/* ------------------------------------------------------------------- */
/* --- MAIN NAVIGATION STYLES (Desktop First, then Mobile Override) --- */
/* ------------------------------------------------------------------- */

/* Default styles for .main-navigation (Desktop) */
.main-navigation {
    display: block; /* Ensure it's visible by default on desktop */
    /* float: right;   /* REMOVED - using flexbox now */
    position: relative; /* No longer fixed for desktop */
    width: auto;    /* Allow content to define width */
    height: auto;   /* Allow content to define height */
    background-color: transparent; /* No background for desktop menu */
    opacity: 1;     /* Always visible */
    visibility: visible; /* Always visible */
    transition: none; /* No transition needed for desktop */
    z-index: 10;    /* Keep it above other header elements */
    padding-top: 0; /* No extra padding here, controlled by header */
    padding-right: 0; /* No extra padding here */
    box-sizing: border-box; /* Include padding in element's total width/height */
    margin-left: auto; /* Push menu to the right, next to icons */
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; /* Arrange menu items horizontally */
    justify-content: flex-end; /* Align items to the right */
    align-items: center; /* Vertically align items */
}

.main-navigation li {
    margin: 0 15px; /* Spacing between menu items */
    position: relative;
}

.main-navigation a {
    color: var(--color-white); /* White text for menu items */
    font-size: 16px; /* Desktop font size */
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    padding: 10px 0; /* Vertical padding for links */
    display: block; /* Makes the entire padding area clickable */
    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--color-pizza-red);
}

/* Specific styling for the CONTACT button */
.main-navigation .menu-item-contact a {
    border: 2px solid var(--color-white); /* White border */
    padding: 8px 20px; /* Adjust padding for button look */
    border-radius: 5px; /* Slightly rounded corners */
    margin-left: 20px; /* Space from other menu items */
    background-color: transparent; /* Ensure transparent background by default */
    color: var(--color-white); /* Ensure text color is white by default */
}

.main-navigation .menu-item-contact a:hover {
    background-color: var(--color-pizza-red); /* Pizza Red background on hover */
    border-color: var(--color-pizza-red); /* Pizza Red border on hover */
    color: var(--color-white); /* White text on hover */
}


/* Hide the 'X' close icon for full-screen menu on desktop */
.menu-close {
    display: none;
}


/* ------------------------------------------- */
/* --- Responsive Adjustments (Mobile Only) --- */
/* ------------------------------------------- */
@media (max-width: 767px) { /* Applies to screens smaller than 768px */

    /* Show menu toggle on mobile */
    .menu-toggle {
        display: block; /* Ensure it's visible on mobile */
        font-size: 1.8em; /* Adjust size for mobile */
    }

    /* Hide the menu close button by default, show when toggled by JS */
    .menu-close {
        display: none; /* Hidden by default */
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 2.5em;
        color: var(--color-white);
        z-index: 10000;
    }


    /* Full-Screen Navigation Overlay for Mobile */
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--color-black);
        display: flex; /* Keep flex for vertical centering */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0; /* Hidden by default */
        visibility: hidden; /* Hidden by default */
        transition: opacity 0.4s ease, visibility 0.4s ease;
        z-index: 9999;
        /* Reset desktop specific styles for mobile */
        float: none;
        padding: 0;
        margin-left: 0; /* Reset margin for mobile */
    }

    .main-navigation.toggled-on {
        opacity: 1;
        visibility: visible;
    }

    .main-navigation.toggled-on .menu-close { /* Show close button when menu is open */
        display: block;
    }

    .main-navigation ul {
        flex-direction: column; /* Stack menu items vertically */
        text-align: center;
        margin: 0;
        padding: 0;
        justify-content: center; /* Center items for full-screen */
    }

    .main-navigation li {
        margin: 15px 0; /* More vertical space for mobile */
    }

    .main-navigation a {
        font-size: 2em; /* Larger font size for mobile full-screen menu */
        padding: 10px 20px; /* Adjust padding for mobile links */
    }

    /* Reset button styling for mobile menu, to make it a normal link */
    .main-navigation .menu-item-contact a {
        border: none;
        background-color: transparent;
        color: var(--color-white);
        padding: 10px 20px; /* Default link padding for mobile */
        margin-left: 0;
        border-radius: 0;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
}


/* --- Hero Section (Pizza background, text, button) Styles --- */
.hero-section-dynamic {
    position: relative; /* Needed for the ::before overlay */
    padding: 0; /* Padding is now on .hero-content */
    min-height: 500px; /* Set a minimum height for the entire hero section */
    display: flex; /* Use flexbox to center .hero-content vertically */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Hide overflowing parts of background image */

    /* Apply dynamic background image here (as it was in header.php inline) */
    /* This is a fallback in CSS, but the inline style in header.php will take precedence */
    background-image: url('images/hero-background-pizza.jpg'); /* Default image for CSS fallback */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: var(--color-black); /* Fallback color */
}

/* Add a dark overlay specifically for the .hero-section-dynamic background image */
.hero-section-dynamic::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay (adjust opacity as needed) */
    z-index: 1; /* Place it above the background image */
}

/* --- Hero Content Styles (within .hero-section-dynamic) --- */
.hero-content {
    position: relative; /* Essential for positioning its ::before overlay and inner content */
    text-align: center;
    z-index: 2; /* Keep content above the overlay */
    width: 100%;
    max-width: 900px; /* Limit hero text width */
    padding: 100px 20px; /* Generous padding for vertical spacing */
    margin: 0 auto; /* Center the div itself within its parent section */
    color: var(--color-white); /* Ensure default text color is white here */
}

/* Ensure hero content text and button are above the overlay */
.hero-content .site-hero-title,
.hero-content .site-hero-tagline,
.hero-content .hero-tagline-underline,
.hero-content .btn {
    position: relative; /* Make them relative to position above ::before */
    z-index: 2; /* Place them above the overlay */
}

/* Explicitly set color for the main title */
.site-hero-title {
    font-family: 'Grand Hotel', cursive;
    font-size: 6em; /* Very large for "Soft & Crunchy" */
    color: var(--color-white); /* Ensure this is white */
    line-height: 0.9; /* Adjust line height for script font */
    margin-bottom: 10px;
    font-weight: normal;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6); /* Stronger text shadow for readability */
}

/* Explicitly set color for the tagline */
.site-hero-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8em;
    color: var(--color-white); /* Ensure this is white */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5); /* Stronger text shadow */
}

/* Ensure the button also has correct colors */
.hero-button {
    background-color: var(--color-pizza-red);
    color: var(--color-white);
    /* Add any other button styles if not already defined in .btn */
}
.hero-button:hover {
    background-color: var(--color-golden-yellow);
}

/* --- Deals and Offers Section --- */
.deals-section {
    background-color: var(--color-white);
    padding-top: 80px; /* Ensure this is a reasonable value, e.g., 80px */
    padding-bottom: 80px;
    position: relative;
    color: var(--color-dark-grey);
    text-shadow: none;
}
.deal-highlight {
    font-size: 3.5em; /* Very large text for emphasis */
    font-weight: 900; /* Extra bold */
    color: var(--color-black); /* Ensure this is black for white background */
    margin-bottom: 10px;
    line-height: 1.1;
}
.deal-details {
    font-size: 1.2em;
    color: var(--color-dark-grey); /* Ensure this is dark grey for white background */
    margin-bottom: 40px;
}
.deal-image {
    max-width: 700px; /* Max width of pizza image in this section */
    margin: 0 auto;
    border-radius: 15px; /* More rounded corners */
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.deal-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* --- Our Popular Pizza Section (Carousel) --- */
.popular-pizza-section {
    background-color: var(--color-white);
}

.pizza-carousel-container {
    display: flex;
    overflow-x: scroll; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    scroll-snap-type: x mandatory; /* Snap to items */
    gap: 30px;
    padding-bottom: 20px; /* Space for scrollbar and dots */
    padding: 0 20px; /* Add padding to sides for scrollable content */
    margin: 0 -20px; /* Negative margin to extend to edges of container */
}

.pizza-item {
    flex: 0 0 320px; /* Fixed width for each pizza card */
    scroll-snap-align: start; /* Snap to start of item */
    background-color: var(--color-white);
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: left; /* Align text left within card */
    display: flex;
    flex-direction: column;
}
.pizza-item .pizza-thumbnail {
    width: 100%;
    height: 220px; /* Fixed height for image */
    overflow: hidden;
}
.pizza-item .pizza-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area */
}
.pizza-item .pizza-title {
    font-size: 1.6em;
    color: var(--color-black);
    margin: 20px 20px 10px;
}
.pizza-item .pizza-description {
    font-size: 0.95em;
    color: var(--color-dark-grey);
    margin: 0 20px 20px;
    flex-grow: 1; /* Push button to bottom */
}
.pizza-item .btn {
    align-self: center; /* Center the button */
    margin-bottom: 20px;
}

/* Hide scrollbar visually but keep functionality */
.pizza-carousel-container::-webkit-scrollbar {
    height: 5px; /* Make scrollbar thinner */
}
.pizza-carousel-container::-webkit-scrollbar-thumb {
    background: var(--color-medium-grey); /* Grey scrollbar */
    border-radius: 5px;
}
.pizza-carousel-container::-webkit-scrollbar-track {
    background: transparent;
}


.carousel-dots {
    margin-top: 30px;
    text-align: center;
}
.carousel-dots span {
    display: inline-block;
    width: 10px;
    height: 10px;
    background-color: var(--color-medium-grey); /* Grey dots */
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.carousel-dots span.active,
.carousel-dots span:hover {
    background-color: var(--color-pizza-red); /* Red active/hover dot */
}

/* --- Testimonials Section --- */
.testimonials-section {
    background-color: var(--color-black);
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.testimonial-card {
    background-color: rgba(255, 255, 255, 0.08); /* Semi-transparent background */
    padding: 30px;
    border-radius: 10px;
    color: var(--color-white);
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push author to bottom */
}
.testimonial-text {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-light-grey);
    flex-grow: 1;
}
.testimonial-author {
    font-weight: bold;
    color: var(--color-pizza-red); /* Author in red */
    font-size: 1em;
}

/* --- Contact Form Section --- */
.contact-form-section {
    background-color: var(--color-black);
    color: var(--color-white);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255,255,255,0.05); /* Very subtle background for form */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--color-light-grey);
    font-size: 0.95em;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 5px;
    background-color: rgba(255,255,255,0.05);
    color: var(--color-white);
    font-size: 1em;
    outline: none;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.5);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-pizza-red);
    background-color: rgba(255,255,255,0.1);
}

.captcha-group {
    font-size: 0.9em;
    color: var(--color-light-grey);
}

.contact-form .btn {
    width: 100%;
    max-width: 300px;
    margin-top: 30px;
}

/* --- Footer Styles --- */
.site-footer {
    background-color: var(--color-black);
    color: var(--color-white);
    padding: 60px 0 30px; /* Adjust padding */
    text-align: left;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px; /* More space between columns */
    margin-bottom: 40px;
}

.footer-column {
    flex: 1;
    min-width: 280px; /* Minimum width before wrapping */
}

.footer-branding .custom-logo-link img {
    max-height: 80px;
    width: auto;
    margin-bottom: 15px;
    /* filter: brightness(0) invert(1); /* Ensures logo is white if it's black in source - COMMENTED OUT */
}

.site-title-footer a {
    font-family: 'Grand Hotel', cursive;
    color: var(--color-white);
    font-size: 2.2em;
    font-weight: normal;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.site-tagline-footer {
    font-family: 'Montserrat', sans-serif;
    color: var(--color-light-grey);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}


.footer-column h4 {
    color: var(--color-pizza-red); /* Red headings for footer columns */
    font-size: 1.5em;
    margin-bottom: 25px;
}

.contact-list,
.working-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li,
.working-hours-list li {
    margin-bottom: 12px;
    font-size: 1em;
    color: var(--color-light-grey);
    display: flex;
    align-items: center;
}

.contact-list li i,
.working-hours-list li i {
    margin-right: 12px;
    color: var(--color-pizza-red);
    font-size: 1.1em;
}

.contact-list a {
    color: var(--color-light-grey);
}

.contact-list a:hover {
    color: var(--color-pizza-red);
}

.site-info {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 25px;
    font-size: 0.9em;
    color: var(--color-light-grey);
}

.site-info-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

.site-info p {
    margin: 0;
    padding-bottom: 10px; /* For mobile stacking */
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: var(--color-light-grey);
    font-size: 1.6em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--color-pizza-red);
}

/* --- Responsive Adjustments (Mobile First) --- */
@media (max-width: 992px) {
    /* General */
    h1 { font-size: 3em; }
    h2 { font-size: 2.2em; }
    h3 { font-size: 1.6em; }

    /* Header/Hero */
    .site-header {
        min-height: auto; /* Reset min-height for mobile */
        padding-bottom: 0; /* Reset padding for mobile */
    }
    .site-branding .custom-logo-link img {
        max-height: 70px;
    }
    .site-branding .site-title a {
        font-size: 2.2em;
    }
    .hero-section-dynamic { /* Adjust hero section for smaller desktops/tablets */
        min-height: 450px;
        padding: 80px 20px;
    }
    .hero-content {
        padding: 80px 20px; /* Adjust padding for hero content */
    }
    .site-hero-title {
        font-size: 4.5em;
    }
    .site-hero-tagline {
        font-size: 1.5em;
    }

    /* Deals Section */
    .deals-section {
        padding-top: 80px; /* Standard padding */
    }
    .deal-highlight {
        font-size: 3em;
    }

    /* Popular Pizza Carousel */
    .pizza-carousel-container {
        padding: 0 15px;
        margin: 0 -15px;
    }
    .pizza-item {
        flex: 0 0 300px; /* Slightly smaller fixed width */
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    /* Footer */
    .footer-inner {
        gap: 30px;
    }
    .footer-column {
        min-width: 250px;
    }
    .footer-column h4 {
        font-size: 1.4em;
    }
    .contact-list li,
    .working-hours-list li {
        font-size: 0.95em;
    }
}

@media (max-width: 767px) { /* This media query was 768px, changed to 767px for clean break */
    /* General */
    html { font-size: 15px; }
    .container { padding: 0 15px; }
    .section-padding { padding: 50px 0; }
    h1 { font-size: 2.8em; }
    h2 { font-size: 2em; }
    h3 { font-size: 1.4em; }

    /* Header/Hero */
    .site-header {
        padding: 15px 0; /* Smaller padding for mobile header */
    }
    .site-branding .custom-logo-link img {
        max-height: 50px;
    }
    .site-branding .site-title a {
        font-size: 1.8em;
    }
    .header-top-bar {
        padding: 0 10px;
    }
    .hero-section-dynamic { /* Adjust hero section for mobile */
        min-height: 350px; /* Smaller min-height for mobile hero */
        padding: 60px 20px; /* Adjust padding for mobile hero */
    }
    .hero-content {
        padding: 60px 10px; /* Adjust padding for mobile hero content */
    }
    .site-hero-title {
        font-size: 3.2em;
    }
    .site-hero-tagline {
        font-size: 1.1em;
    }
    .hero-tagline-underline {
        width: 60px;
        height: 3px;
    }
    .menu-close {
        top: 20px;
        right: 20px;
        font-size: 2em;
    }

    /* Deals Section */
    .deals-section {
        padding-top: 50px; /* Standard padding */
    }
    .deal-highlight {
        font-size: 2.5em;
    }
    .deal-details {
        font-size: 1em;
    }
    .deal-image {
        border-radius: 10px;
    }

    /* Popular Pizza Carousel */
    .pizza-carousel-container {
        padding: 0 10px;
        margin: 0 -10px;
    }
    .pizza-item {
        flex: 0 0 85%; /* Make items wider for mobile scroll */
        border-radius: 10px;
    }
    .pizza-item .pizza-thumbnail {
        height: 180px;
    }

    /* Testimonials Grid */
    .testimonials-grid {
        grid-template-columns: 1fr; /* Stack testimonials */
    }
    .testimonial-card {
        padding: 25px;
        border-radius: 8px;
    }

    /* Contact Form */
    .contact-form {
        padding: 30px 20px;
    }
    .contact-form .btn {
        width: 100%;
        max-width: 250px;
        margin-top: 20px;
    }

    /* Footer */
    .footer-inner {
        flex-direction: column;
        gap: 20px;
        margin-bottom: 30px;
    }
    .footer-column {
        text-align: center;
        width: 100%;
    }
    .contact-list li,
    .working-hours-list li {
        justify-content: center; /* Center list items for consistency */
    }
    .site-info-inner {
        flex-direction: column;
        text-align: center;
    }
    .site-info p {
        margin-bottom: 15px;
    }
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html { font-size: 14px; }
    h1 { font-size: 2.2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.2em; }

    .hero-section-dynamic {
        min-height: 300px; /* Even smaller min-height for very small mobile */
        padding: 40px 10px;
    }
    .hero-content {
        padding: 40px 10px;
    }
    .site-hero-title {
        font-size: 2.8em;
    }
    .site-hero-tagline {
        font-size: 0.9em;
    }

    .deals-section {
        padding-top: 50px;
    }
    .deal-highlight {
        font-size: 2em;
    }
}