/* ===== PIZZALINO PREMIUM STYLES ===== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

/* CSS Variables for Premium Theme */
:root {
    /* Primary Colors */
    --primary-color: #D9381E;
    /* Richer Tomato Red */
    --secondary-color: #F9F1E6;
    /* Creamy White */
    --accent-color: #FFA500;
    /* Vibrant Orange */

    /* Neutral Colors */
    --dark-bg: #1A1A1A;
    --dark-card: #252525;
    --text-dark: #121212;
    --text-light: #F4F4F4;
    --text-muted: #888888;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --blur-amount: 10px;

    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 0 20px rgba(217, 56, 30, 0.3);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--secondary-color);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== COMPONENTS ===== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

/* Ripple effect background */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.8s ease-out, height 0.8s ease-out;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #B92B14 100%);
    color: var(--text-light);
    box-shadow: 0 4px 15px rgba(217, 56, 30, 0.4);
    animation: gentleGlow 4s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(217, 56, 30, 0.5);
    animation: none;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
}

.btn-whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    width: 50px;
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.logo:hover img {
    transform: rotate(360deg);
    box-shadow: 0 4px 15px rgba(217, 56, 30, 0.3);
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.nav-menu ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    color: var(--text-dark);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

.btn-order {
    background-color: var(--primary-color);
    color: var(--text-light) !important;
    padding: 10px 24px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-order:hover {
    background-color: #B92B14;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-order::after {
    display: none;
}

/* Hamburger Menu Icon (hidden by default, shown on mobile) */
.hamburger {
    display: none;
}

/* HERO SECTION */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 50%, var(--secondary-color) 100%);
    background-size: 200% 200%;
    animation: gradientShift 30s ease infinite;
    opacity: 1;
    z-index: -1;
}

.hero-bg-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--accent-color) 1px, transparent 1px);
    background-size: 30px 30px;
    opacity: 0.15;
}

.hero-shape {
    position: absolute;
    width: 50vw;
    height: 100vh;
    right: 0;
    top: 0;
    background: var(--primary-color);
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    z-index: -1;
    opacity: 0.08;
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text h1 {
    font-size: 4.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: fadeInUp 1.2s ease-out;
}

.hero-highlight {
    color: var(--primary-color);
    display: block;
    position: relative;
    animation: slideInRight 1s ease-out 0.4s backwards;
}

.hero-text p.subtitle {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 40px;
    max-width: 500px;
    animation: fadeInUp 1.2s ease-out 0.3s backwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.2s ease-out 0.5s backwards;
}

.hero-buttons .btn {
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-buttons .btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.hero-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeIn 1s ease-out 0.3s backwards;
}

.rotating-pizza {
    width: 450px;
    max-width: 80vw;
    aspect-ratio: 1/1;
    border-radius: 50%;
    object-fit: contain;
    animation:
        rotateAndPulse 60s linear infinite,
        scaleIn 0.8s ease-out;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    cursor: pointer;
    transition: filter 0.3s ease;
}

.rotating-pizza:hover {
    filter: drop-shadow(0 25px 50px rgba(217, 56, 30, 0.4));
}

.floating-ingredient {
    position: absolute;
    width: 80px;
    animation: float 4s ease-in-out infinite;
    filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
    cursor: pointer;
}

.floating-ingredient:hover {
    transform: scale(1.3) rotate(20deg);
    filter: drop-shadow(0 15px 25px rgba(217, 56, 30, 0.3));
}

.ing-1 {
    top: 10%;
    right: 10%;
    animation: float 3s ease-in-out infinite, rotate360 10s linear infinite;
}

.ing-2 {
    bottom: 20%;
    left: 0%;
    animation: float 4.5s ease-in-out infinite 1.5s, rotate360 12s linear infinite;
}

.ing-3 {
    top: 40%;
    right: -5%;
    animation: float 3.5s ease-in-out infinite 3s, rotate360 8s linear infinite;
}

/* ========================================
   CRITICAL: Animation Control System
   These rules MUST load before JavaScript
   ======================================== */

/* Hero section - ALWAYS visible immediately */
.hero-text,
.hero-image-container,
.hero-content-wrapper,
.hero-text h1,
.hero-text p,
.hero-buttons,
.floating-ingredient {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation-play-state: running !important;
}

/* Pizza needs to rotate - don't override transform */
.rotating-pizza {
    opacity: 1 !important;
    visibility: visible !important;
    /* NO transform override - let animations work */
    animation-play-state: running !important;
}

/* Elements that SHOULD animate on scroll */
.feature-card,
.pizza-card,
.menu-item,
.section-title,
.founder-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Visible state (added by JavaScript) */
.feature-card.visible,
.pizza-card.visible,
.menu-item.visible,
.section-title.visible,
.founder-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Fallback: Show everything if JavaScript fails or is slow */
.no-js .feature-card,
.no-js .pizza-card,
.no-js .menu-item,
.no-js .section-title,
.no-js .founder-card,
body.loaded .feature-card,
body.loaded .pizza-card,
body.loaded .menu-item,
body.loaded .section-title,
body.loaded .founder-card {
    opacity: 1;
    transform: translateY(0);
}

/* FEATURES SECTION */
.features {
    padding: 100px 0;
    background: #fff;
    position: relative;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    animation: fadeInDown 0.8s ease-out;
}

.section-title h2 {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    animation: expandWidth 1s ease-out 0.5s forwards;
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.2rem;
    animation: fadeIn 0.8s ease-out 0.3s backwards;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-12px) scale(1.01);
    box-shadow: 0 15px 30px rgba(217, 56, 30, 0.12);
    border-color: rgba(217, 56, 30, 0.25);
}

.icon-box {
    width: 80px;
    height: 80px;
    background: rgba(217, 56, 30, 0.1);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 25px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover .icon-box {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 8px 20px rgba(217, 56, 30, 0.3);
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-card p {
    color: #666;
    line-height: 1.8;
}

/* MENU PREVIEW */
.featured-pizzas {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.pizza-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

/* Shine effect */
.pizza-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.3) 50%,
            transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.pizza-card:hover::before {
    animation: shine 1.5s ease;
}

.pizza-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: #fff;
}

.card-image {
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--white);
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.pizza-icon {
    font-size: 5rem;
    transition: transform 0.6s ease;
}

.pizza-card:hover .card-image img {
    transform: scale(1.15) rotate(3deg);
}

.pizza-card:hover .pizza-icon {
    transform: scale(1.2) rotate(10deg);
}

.pizza-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--dark-card);
}

.description {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    min-height: 48px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    display: block;
    margin-bottom: 15px;
}

.btn-small {
    padding: 10px 24px;
    background: var(--dark-bg);
    color: white;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.btn-small:hover {
    background: var(--primary-color);
    color: white;
}

.text-center {
    text-align: center;
}

/* ORDER SECTION */
.order-section {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #000 100%);
    color: white;
    overflow: hidden;
}

.order-bg-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, var(--primary-color) 0%, transparent 70%);
    opacity: 0.1;
}

.order-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.order-content h2 {
    color: white;
    font-size: 3rem;
    margin-bottom: 20px;
}

.order-content p {
    font-size: 1.3rem;
    color: #ccc;
    margin-bottom: 40px;
}

.order-phone {
    margin-top: 30px;
    font-size: 1.2rem !important;
}

.order-phone a {
    color: var(--primary-color);
    font-weight: 700;
}

/* PAGE HERO (Internal Layouts) */
.page-hero {
    padding: 150px 0 80px;
    background-color: var(--secondary-color);
    text-align: center;
    position: relative;
}

.page-hero h1 {
    font-size: 4rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* MENU PAGE SPECIFIC */
.menu-section {
    padding: 60px 0 100px;
    background: #fff;
}

.menu-category {
    margin-bottom: 80px;
}

.category-title {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.category-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    margin: 20px auto 0;
    border-radius: 2px;
}

.menu-item {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.menu-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(217, 56, 30, 0.15);
}

.menu-item-icon {
    font-size: 3rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #fff 100%);
    width: 80px;
    height: 80px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(217, 56, 30, 0.1);
}

.menu-item-content {
    flex-grow: 1;
}

.menu-item h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-weight: 600;
}

.menu-subtitle {
    color: var(--primary-color);
    font-weight: 500;
    font-style: italic;
    margin-bottom: 8px;
    font-family: 'Playfair Display', serif;
    font-size: 0.95rem;
}

.menu-description {
    color: #666;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.menu-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
}

/* Menu Grid & Filters (Responsive) */
.menu-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.menu-filters .btn {
    border-radius: 30px;
    padding: 10px 25px;
}

.menu-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    /* Reduced from 350px for better mobile fit */
}

.addon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.addon-item {
    align-items: center;
    padding: 20px;
    display: flex;
    justify-content: space-between;
}

.addon-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

.addon-item .menu-price {
    font-size: 1.3rem;
    margin-bottom: 0;
}

/* FOOTER */
footer {
    background-color: var(--dark-bg);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

.footer-wave {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.footer-wave svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 50px;
    fill: var(--dark-bg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col ul li a {
    color: #ccc;
    font-weight: 300;
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #777;
    font-size: 0.9rem;
}

/* ANIMATIONS */
@keyframes rotatePizza {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateAndPulse {
    0% {
        transform: rotate(0deg) scale(1);
    }

    25% {
        transform: rotate(90deg) scale(1.015);
    }

    50% {
        transform: rotate(180deg) scale(1);
    }

    75% {
        transform: rotate(270deg) scale(1.015);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-15px) translateX(5px);
    }

    50% {
        transform: translateY(-30px) translateX(0);
    }

    75% {
        transform: translateY(-15px) translateX(-5px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes pizzaPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.03);
    }
}

@keyframes wobble {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

@keyframes rotate360 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes gentleGlow {

    0%,
    100% {
        box-shadow: 0 4px 15px rgba(217, 56, 30, 0.4);
    }

    50% {
        box-shadow: 0 4px 25px rgba(217, 56, 30, 0.6);
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes expandWidth {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes shine {
    0% {
        left: -100%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        order: 1;
        margin-bottom: 40px;
    }

    .hero-image-container {
        order: 2;
        margin-bottom: 0;
    }

    .hero .hero-buttons {
        justify-content: center;
    }

    .rotating-pizza {
        width: 280px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background-color: var(--primary-color);
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -5px);
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background: #fff;
        padding: 40px;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        display: block;
        /* Ensure it's block when active */
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .section-title h2 {
        font-size: 2.2rem;
    }
}

/* Extra Small Devices (Phones, < 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    /* Force single column for better mobile experience */
    .menu-grid,
    .pizza-grid,
    .feature-grid,
    .addon-grid {
        grid-template-columns: 1fr;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .rotating-pizza {
        width: 220px;
    }

    .btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .menu-filters {
        gap: 8px;
    }

    .menu-filters .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
        flex-grow: 1;
        /* Make buttons fill width slightly */
        text-align: center;
    }

    .addon-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
}