/* Tony's Pizza - Restaurant Website Styles */
/* Following Milano-proven patterns from Master Guide */

/* CSS Variables - Brand Color System */
:root {
    --primary-color: #c41e3a;
    --primary-dark: #a01829;
    --primary-light: #e8556d;
    --secondary-color: #f8f8f8;
    --text-dark: #2c2c2c;
    --text-gray: #666;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --border-color: #e5e5e5;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-light: 0 1px 5px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 25px rgba(0,0,0,0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-size: 16px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--primary-color);
    border-color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--white);
    box-shadow: var(--shadow-light);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand .logo {
    height: 50px;
    width: auto;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0; /* Prevent shrinking */
}

.nav-actions .order-btn {
    padding: 10px 20px !important;
    font-weight: 600 !important;
    font-size: 1rem !important;
    border-radius: 6px !important;
}

/* Mobile order button - hidden on desktop */
.mobile-order-btn {
    display: none;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.order-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.order-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section - Milano Pattern */
.hero {
    position: relative;
    height: 70vh;
    max-height: 600px;
    min-height: 400px;
    display: flex;
    align-items: center;
    transform: translateY(2vh);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    font-weight: 700;
}

.hero-tagline {
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #f0f0f0;
    line-height: 1.4;
}

.hero-subtitle {
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #f0f0f0;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Quick Contact Bar - Milano Pattern */
.quick-contact {
    background-color: var(--light-gray);
    padding: 1rem 0 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.quick-contact-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
    min-height: 60px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--primary-dark);
}

/* Section Spacing - Milano Pattern */
.section {
    padding: 4rem 0;
}

/* Milano Boxed Sections Styling */
.boxed {
    background-color: var(--white);
}

.boxed .container {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 4rem 3rem;
    margin-top: 0.25rem;
    margin-bottom: 2rem;
}

/* Override padding specifically for dishes section */
.dishes.boxed .container {
    padding-top: 1.5rem;
}

/* Mobile-specific tighter spacing */
@media (max-width: 768px) {
    .dishes.boxed .container {
        padding-top: 1.25rem;
        margin-top: 0;
    }
    
    .dishes {
        padding-top: 0;
    }
    
    /* Deal Image Mobile - Ultra-Proficient Designer Approach */
    .deal-image {
        height: auto; /* Let the image determine the height naturally */
        width: 100%;
    }
    
    .deal-image img {
        width: 100%; /* Fill container width */
        height: auto; /* Maintain natural aspect ratio */
        max-width: 100%;
        display: block;
    }
    
    .deals-grid {
        grid-template-columns: 1fr; /* Stack deals vertically on mobile */
        gap: 1.5rem;
    }
}

/* Popular Dishes Section */
.dishes {
    padding: 0.25rem 0 3rem 0;
    position: relative;
    background-color: var(--secondary-color);
}

.services-line {
    text-align: center;
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-top: 1.5rem;
}

.dishes h2 {
    text-align: center;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* === MILANO'S EXACT DISHES CSS - CLEAN COPY === */
.dishes-conveyor {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 1rem 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.dishes-conveyor::-webkit-scrollbar {
    display: none;
}

.dishes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.dish-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 300px;
    max-width: 300px;
    flex-shrink: 0;
}

.dish-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dish-image {
    height: 200px;
    overflow: hidden;
}

.dish-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.dish-card:hover .dish-image img {
    transform: scale(1.05);
}

.dish-content {
    padding: 1.5rem;
}

.dish-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.3rem;
}

.dish-content p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.dish-order-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
    width: 100%;
}

.dish-order-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* === MILANO'S EXACT NAVIGATION ARROWS === */
.dishes-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 0.5rem; /* Moved closer per client request */
    pointer-events: none;
    z-index: 998; /* Much higher to escape container stacking */
}

.arrow-btn {
    background-color: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%);
    backdrop-filter: blur(2px);
    position: absolute; /* Change to absolute positioning */
    z-index: 999; /* Much higher z-index */
    pointer-events: auto !important; /* Force clickability */
}

.arrow-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 16px rgba(196, 30, 58, 0.4);
}

.arrow-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.cta-section {
    text-align: center;
    margin-top: 3rem;
}

.section-cta {
    text-align: center;
    margin-top: 2rem;
}

/* Menu Section - Milano Pattern */
.menu-section {
    padding: 3rem 0;
}

.menu-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.menu-text {
    text-align: left;
}

.menu-text h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    text-align: left;
}

.menu-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.menu-btn {
    display: inline-block;
}

.menu-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

/* Deals Section - Milano Pattern */
.deals {
    padding: 4rem 0;
}

.deals h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 deals per row on desktop */
    gap: 2rem;
    margin-top: 2rem;
    align-items: stretch; /* Ensures all cards have equal height */
}

.deal-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensure all cards have equal height */
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

/* Deal image rules moved to mobile section for proper cascade */

.deal-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Takes up remaining space */
}

.deal-content h3 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.deal-content h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.deal-content p {
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    flex-grow: 1; /* Pushes button to bottom */
}

.deal-order-btn {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: block;
    font-size: 1.1rem;
    width: 100%;
    text-align: center;
}

.deal-order-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Custom Messaging Section - Milano Online Ordering Pattern */
.custom-messaging {
    padding: 3rem 0;
}

.custom-messaging.boxed {
    margin: 2rem 0;
}

.custom-messaging.boxed .container {
    background-color: var(--white);
    border: 2px solid var(--primary-color);
}

.messaging-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.messaging-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.messaging-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit {
    background-color: var(--secondary-color);
    padding: 0.8rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    color: var(--text-dark);
    box-shadow: var(--shadow-light);
}

/* Reviews Section */
.reviews {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
    text-align: center;
}

.review-stars {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.reviewer {
    font-weight: 500;
    color: var(--primary-color);
}

/* Gallery Section */
.gallery {
    padding: 4rem 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* About Section */
.about {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.about.boxed {
    background-color: #f8f9fa;
}

.about.boxed .container {
    background-color: var(--secondary-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.owner-quote {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 2rem;
}

.owner-quote blockquote {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
}

.owner-quote cite {
    color: var(--primary-color);
    font-weight: 500;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* Halal Section - Same Pattern as About */
.halal {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.halal.boxed {
    background-color: #f8f9fa;
}

.halal.boxed .container {
    background-color: var(--secondary-color);
}

.halal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.halal-text h2 {
    text-align: left;
    margin-bottom: 1.5rem;
}

.halal-text p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.halal-image {
    position: relative;
}

.halal-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--shadow-light);
}

/* Hours Section - Milano Pattern */
.hours {
    padding: 6rem 0;
}

.hours-content {
    max-width: 800px;
    margin: 0 auto;
}

.hours-info h2 {
    text-align: center;
    margin-bottom: 3rem;
}

.hours-section {
    margin-bottom: 2rem;
}

.hours-section h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.hours-list {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-light);
    list-style: none;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hours-list li:last-child {
    border-bottom: none;
}

.hours-list li span:first-child {
    font-weight: 500;
    color: var(--text-dark);
}

.hours-list li span:last-child {
    color: var(--text-gray);
}

.delivery-areas {
    margin-top: 2rem;
}

.delivery-areas h3 {
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-size: 1.3rem;
}

.delivery-areas p {
    color: var(--text-gray);
    line-height: 1.6;
}

.delivery-note {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-gray);
}

/* Contact Section - Milano Template Layout */
.contact {
    background-color: var(--secondary-color);
    padding: 4rem 0;
}

.contact.boxed {
    background-color: #f8f9fa;
}

.contact.boxed .container {
    background-color: var(--secondary-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

/* Visit Us Section */
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-line {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.contact-line strong {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
}

.contact-line a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-line a:hover {
    color: var(--primary-color);
}

/* Map Section */
.map-section {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.map-section h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 300px;
    margin-bottom: 2rem;
}

.map-container iframe {
    border-radius: var(--border-radius);
    width: 100%;
    height: 100%;
}

.social-media {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.social-media h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-link {
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    font-weight: 500;
}

.social-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Contact CTA */
.cta-section {
    text-align: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer - Milano Pattern */
.footer {
    background-color: #f5f5f5;
    border-top: 1px solid #e0e0e0;
    padding: 1.5rem 0 1rem;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-brand {
    flex-shrink: 0;
}

.footer-logo {
    height: 40px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 2rem;
}

.footer-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.footer-menu li a {
    color: #666;
    text-decoration: none;
    font-weight: 400;
    font-size: 0.95rem;
    transition: var(--transition);
    padding: 0.75rem 0.5rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-menu li a:hover {
    color: var(--primary-color);
}

.footer-cta {
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 0.75rem;
    text-align: center;
    margin-top: 0.75rem;
}

.footer-bottom p {
    color: #888;
    margin: 0;
    font-size: 0.85rem;
    font-weight: 400;
}

/* Tablet Responsive Design */
@media (max-width: 1024px) and (min-width: 769px) {
    .deals-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 deals per row on tablets */
        gap: 1.5rem;
    }
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    /* Reduce logo size to make room for nav elements and better spacing */
    .nav-brand .logo {
        height: 35px;
    }
    
    /* Show condensed nav-actions on mobile too */
    .nav-actions {
        display: flex;
    }
    
    .nav-actions .order-btn {
        padding: 8px 12px !important;
        font-size: 0.9rem !important;
        white-space: nowrap;
    }
    
    /* Navigation Mobile */
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }
    
    /* Show mobile order button in mobile menu */
    .mobile-order-btn {
        display: block !important;
        margin-top: 2rem;
        padding: 12px 24px !important;
        font-weight: 600 !important;
        font-size: 1.1rem !important;
        border-radius: 8px !important;
        text-align: center;
        width: 90%;
        margin-left: auto;
        margin-right: auto;
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    /* Hero Mobile */
    .hero-content {
        padding: 0 20px;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
        margin: 0;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-buttons {
        justify-content: flex-start;
    }

    /* Quick Contact Mobile - Milano Pattern */
    .quick-contact {
        padding: 1rem 0 0.5rem 0;
        display: flex;
        align-items: center;
        min-height: 80px;
    }
    
    .quick-contact-content {
        gap: 0;
        text-align: center;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .contact-item {
        font-size: 0.9rem;
        margin: 0;
        line-height: 1.2;
        padding: 0;
    }

    /* Section Spacing Mobile - Milano Pattern */
    .section {
        padding: 3rem 0;
    }

    /* Removed duplicate dishes container rule - keeping Milano's pattern */

    /* Typography Mobile */
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    /* Grid Layouts Mobile */
    .dishes-grid,
    .deals-grid,
    .reviews-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* === MILANO'S EXACT MOBILE DISHES CSS === */
    .dishes-conveyor .dish-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    /* Mobile arrow positioning */
    .dishes-nav {
        padding: 0 0.25rem; /* Moved closer on mobile too */
    }
    
    .arrow-btn {
        width: 44px;
        height: 44px;
        font-size: 1.2rem;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        border-width: 2px;
    }

    /* Mobile Deal Cards */
    .deals-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .deal-card {
        display: flex;
        flex-direction: column;
        height: auto; /* Allow natural height on mobile */
    }
    
    .deal-content {
        display: flex;
        flex-direction: column;
        flex-grow: 1;
    }
    
    .deal-content p {
        flex-grow: 1;
    }

    .about-content,
    .halal-content,
    .hours-content,
    .contact-grid,
    .menu-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .menu-text {
        text-align: center;
    }

    .menu-text h2 {
        text-align: center;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 200px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-nav {
        margin: 1rem 0;
    }

    .footer-menu {
        flex-direction: column;
        gap: 1rem;
    }

    /* Benefits List Mobile */
    .benefits-list {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    /* Menu Buttons Mobile */
    .menu-buttons {
        flex-direction: column;
        align-items: center;
    }

    .menu-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Hero Buttons Mobile */
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        max-width: 250px;
    }
}

/* Progressive Hero Text Alignment - Matched to Container Boundaries */
.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.hero-text {
    max-width: 600px;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-content {
        
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-text {
        margin-left: 0;
        text-align: left;
    }
}

@media (min-width: 1200px) {
    .hero-content {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .hero-text {
        margin-top: 35px;
        margin-left: 0;
        text-align: left;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Image Optimization & Loading States */
img {
    transition: opacity 0.3s ease;
    height: auto;
    max-width: 100%;
}

/* Modern image loading with content-visibility for performance */
img[loading="lazy"] {
    opacity: 0;
    content-visibility: auto;
    contain-intrinsic-size: 400px 300px;
}

img[loading="lazy"].loaded {
    opacity: 1;
}

/* WebP support detection */
.webp img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
}

/* Modern aspect-ratio for consistent layouts */
.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    /* Perfect display for pizza box tower */
    transform: scale(1.1);
}

.dish-image img,
.gallery-item img {
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
.btn:focus,
.nav-link:focus,
.order-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .navbar,
    .hero,
    .footer {
        display: none;
    }
    
    .section {
        page-break-inside: avoid;
    }
}
