
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header & Navigation - modern responsive navbar */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    transition: all 0.25s ease, padding 0.25s ease;
}

/* Main navbar container */
nav {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0 3rem;
    width: 100%;
}

/* Logo area */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: white;
}

.logo-image { max-height: 52px; width: auto; display: block; }
.logo h1 { font-size: 1.05rem; margin: 0; font-weight: 600; white-space: nowrap; color: white; }

/* Primary nav links (desktop) */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links li { list-style: none; }
.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    padding: 0.5rem 0;
    position: relative;
}

/* subtle underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    height: 3px;
    width: 0;
    background: #ff6b35;
    transition: width 0.25s ease;
}
.nav-links a:hover::after { width: 100%; }

/* Mobile / small screen controls */
.mobile-icons {
    display: none;
    gap: 1rem;
    align-items: center;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.menu-toggle i {
    font-size: 1.25rem;
}

.mobile-cart-icon {
    color: white;
    font-size: 1.25rem;
    text-decoration: none;
    position: relative;
}

.cart-count-mobile {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff6b35;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

/* Responsive behavior */
@media (max-width: 900px) {
    nav { 
        padding: 0 1.25rem;
    }
    .nav-links {
        position: fixed;
        right: -320px;
        top: 0;
        height: 100vh;
        width: 300px;
        background: #ff6b35;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        flex-direction: column;
        gap: 1.25rem;
        padding: 5rem 1.5rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }
    .nav-links.active {
        right: 0;
    }
    .mobile-icons {
        display: flex;
    }
    .menu-toggle {
        display: block;
        color: white;
    }
    .menu-toggle i {
        font-size: 1.5rem;
        display: block;
        order: 1;
    }
    
        
    
    .mobile-icons {
        display: flex;
        align-items: center;
    }
    .mobile-cart-icon {
        order: 0;
    }
    .nav-links a {
        font-size: 1.05rem;
        padding: 0.8rem 1rem;
        border-radius: 8px;
        color: white;
    }
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.1);
    }
}

@media (max-width: 480px) {
    .logo h1 { font-size: 0.95rem; }
    .logo-image { max-height: 44px; }
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.7), rgba(255, 107, 53, 0.3)),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><defs><radialGradient id="bg" cx="50%" cy="50%"><stop offset="0%" stop-color="%23ff6b35" stop-opacity="0.1"/><stop offset="100%" stop-color="%23000" stop-opacity="0.8"/></radialGradient></defs><rect width="100%" height="100%" fill="url(%23bg)"/></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease;
}


.hero h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #ff6b35, #f7931e, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid #ff6b35;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

/* About Section */
.about {
    padding: 100px 5%;
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h3 {
    font-size: 3rem;
    color: #333;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.about-image {
    height: 400px;
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Menu Section */
.menu {
    padding: 100px 5%;
    background: #1a1a1a;
    color: white;
}

.menu-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.category-btn {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 2px solid rgba(255, 107, 53, 0.3);
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.category-btn:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: white;
    border-color: #ff6b35;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.menu-category {
    display: none;
}

.menu-category.active {
    display: block;
    animation: fadeInUp 0.5s ease;
}

.category-info {
    text-align: center;
    margin: 2rem 0;
}

.category-info p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.menu-sizes {
    display: none;
}

.size-indicator {
    display: inline-flex;
    gap: 3rem;
    background: rgba(255, 107, 53, 0.1);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.size-28, .size-32 {
    color: #ff6b35;
    font-weight: bold;
    font-size: 1.1rem;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.menu-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 107, 53, 0.1);
    transition: all 0.3s ease;
}

.menu-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.menu-item.special {
    border: 2px solid rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.1);
}

.menu-item.family-pizza {
    border: 2px solid rgba(247, 147, 30, 0.5);
    background: rgba(247, 147, 30, 0.1);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.menu-item h4 {
    color: #ff6b35;
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
    line-height: 1.3;
}

.prices {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    margin-left: 1rem;
}

.price-28, .price-32, .family-price, .single-price {
    color: #f7931e;
    font-weight: bold;
    font-size: 1rem;
    background: rgba(247, 147, 30, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(247, 147, 30, 0.3);
}

.family-price {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
    color: #ff6b35;
    font-size: 1.1rem;
    padding: 0.4rem 1rem;
}

.menu-item p {
    margin: 0.8rem 0 0 0;
    opacity: 0.85;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Contact Section */
.contact {
    padding: 100px 5%;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item i {
    font-size: 1.5rem;
    width: 40px;
}

.contact-form {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 3rem 5%;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links a {
    color: #ff6b35;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

/* Notifications */
.cart-notification {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #4CAF50;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 2001;
    animation: slideUp 0.3s ease-out, fadeOut 0.3s ease-out 2.7s;
}

@keyframes slideUp {
    from { transform: translate(-50%, 100%); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(26, 26, 26, 0.98);
        flex-direction: column;
        padding: 80px 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        display: flex;
        right: 0;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .menu-categories {
        flex-direction: column;
        align-items: center;
        gap: 0.5rem;
    }

    .category-btn {
        width: 200px;
        text-align: center;
        padding: 12px 20px;
        font-size: 1rem;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .size-indicator {
        gap: 2rem;
        padding: 0.8rem 1.5rem;
    }

    .menu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .prices {
        margin-left: 0;
    }

    .hero-inner {
    flex-direction: row; /* Side by side */
    align-items: center;
    justify-content: space-between;
  }

  .hero-content,
  .slideshow-container {
    width: 48%;
    text-align: left; /* Restore left-align on desktop */
  }

  .hero-content {
    order: 1;
  }

  .slideshow-container {
    order: 2;
  }


}cta-buttons {
     flex-direction: column;
     align-items: center;
 }


 /* =========== APPEND THIS CODE FOR SLIDESHOW =========== */

/* =========== NEW BOX LAYOUT STYLING =========== */

/* 1. Main Hero Section Container */
.hero {
    /* No longer a full-screen element */
    height: auto;
    padding: 120px 0; /* Removed horizontal padding */
    text-align: center;
}

/* 2. Slideshow Box */
.slideshow-container {
    /* This is now a content box, not a background */
    position: relative; /* Still needed for the slides inside */
    display: block;
    width: 100%;
    max-width: 1100px;    /* Capped width for larger screens */
    aspect-ratio: 16 / 9; /* Gives a responsive widescreen shape */
    margin: 0 auto;       /* Centers the box horizontally */
    overflow: hidden;     /* Keeps slides inside the box */
    border-radius: 8px;   /* Optional: adds rounded corners */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    z-index: 1; /* Reset z-index */
}

/* 3. Text Content Block */
.hero-content {
    /* Reset all overlay styles */
    position: static;
    max-width: 800px;
    margin: 0 auto 40px auto; /* Centers the block and adds 40px of space below it */
    text-shadow: none; /* Remove the old text shadow */
}

/* If you chose Option 2 (Text Below), uncomment the rule below to add space above the text */
/*
.slideshow-container + .hero-content {
    margin: 40px auto 0 auto;
}
*/


/* ALL ANIMATION/SLIDE STYLES BELOW REMAIN THE SAME */

/* Base Slide Properties */
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: kenburns 20s infinite, fadeEffect 24s infinite;
}

/* Ken Burns (zoom) effect */
@keyframes kenburns {
    0%, 100% { transform: scale(1.0); }
    50% { transform: scale(1.1); }
}

/* Fade In/Out animation */
@keyframes fadeEffect {
    0% { opacity: 0; }
    12.5% { opacity: 1; }
    33.3% { opacity: 1; }
    45.8% { opacity: 0; }
    100% { opacity: 0; }
}

/* Stagger the animation for each slide */
.slide:nth-child(1) { animation-delay: 0s, 0s; }
.slide:nth-child(2) { animation-delay: 0s, 8s; }
.slide:nth-child(3) { animation-delay: 0s, 16s; }

/* Header Styling - recommend making it solid */
header {
    background: rgba(26, 26, 26, 0.98) !important;
}

.hero-inner {
  display: flex;
  flex-direction: column; /* Mobile: stack */
  align-items: center;
  justify-content: center;
  gap: 2rem;
  width: 100%; /* Changed max-width to width */
  margin: 0 auto;
  padding: 2rem;
}

/* Child containers take full width on mobile */
.hero-content,
.slideshow-container {
  width: 100%;
  order: unset;
  text-align: center; /* Center text on mobile */
}

/* Default mobile view: slideshow comes first */
.hero-content {
    order: 2;
}
.slideshow-container {
    order: 1;
}
