@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&family=Outfit:wght@300;400;600;700;800;900&display=swap');

:root {
    --primary: #E31E24;
    /* Logo Red */
    --secondary: #1B4D3E;
    /* Logo Green/Teal */
    --accent: #F9B233;
    /* Logo Yellow/Gold */
    --bg-dark: #080C0A;
    /* Near black green */
    --bg-card: rgba(20, 35, 28, 0.7);
    --text-main: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    --radius: 28px;
    --font-heading: 'Luckiest Guy', cursive;
    --font-body: 'Outfit', sans-serif;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* WOW Background Effect */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.bg-glow-2 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(27, 77, 62, 0.2) 0%, transparent 70%);
    bottom: -100px;
    left: -200px;
    z-index: -1;
    filter: blur(80px);
    pointer-events: none;
}

.bg-pattern {
    position: fixed;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/dark-wood.png');
    opacity: 0.05;
    z-index: -1;
}

/* STICKY STATUS BAR - Redesigned */
.location-status {
    background: rgba(227, 30, 36, 0.95);
    backdrop-filter: blur(15px);
    color: white;
    padding: 14px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    position: sticky;
    top: 0;
    z-index: 2000;
    border-bottom: 2px solid var(--accent);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.live-pulse {
    width: 10px;
    height: 10px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px var(--accent);
}

.live-pulse::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: live-ring 1.5s infinite;
}

@keyframes live-ring {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

/* HEADER & LOGO */
header {
    padding: 20px 0 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.logo-container {
    padding: 8px;
    background: var(--bg-card);
    border-radius: 50%;
    border: 2px solid var(--accent);
    position: relative;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 30px rgba(249, 178, 51, 0.2);
}

/* Pulsing Ring for Logo */
.logo-container::after {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px solid var(--accent);
    border-radius: 50%;
    animation: logo-pulse 2s infinite;
    opacity: 0;
}

@keyframes logo-pulse {
    0% {
        transform: scale(0.95);
        opacity: 0.8;
    }

    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.logo-container:hover {
    transform: scale(1.1) rotate(5deg);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    /* Reduced from 40px for mobile-first */
}

@media (min-width: 768px) {
    .container {
        padding: 0 40px;
    }
}

section {
    max-width: 1200px;
    margin: 0 auto;
}

.logo-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    box-shadow: 0 0 40px rgba(249, 178, 51, 0.3);
}

.main-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--accent);
    text-shadow: 6px 6px 0px var(--primary);
    line-height: 1;
    margin-bottom: 10px;
}

.main-subtitle {
    font-weight: 700;
    color: var(--accent);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 5px;
    max-width: 90%;
}

/* HERO CARD */
.hero-card {
    position: relative;
    height: 450px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 50px;
    box-shadow: var(--shadow);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: stretch;
}

.hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 15% center;
    /* Focus on the trailer, hide the car on the right */
    z-index: 1;
}

.hero-card:hover .hero-img {
    transform: scale(1.1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 12, 10, 0.2) 0%, rgba(8, 12, 10, 0.85) 100%);
    z-index: 2;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-badge {
    background: var(--primary);
    padding: 6px 15px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 13px;
    width: fit-content;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(227, 30, 36, 0.4);
}

/* SECTION HEADINGS */
.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    display: inline-block;
    position: relative;
}

.section-head h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20%;
    right: 20%;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

/* PIZZA MENU CARDS */
.pizza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 100px;
}

.pizza-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.pizza-card:hover {
    transform: translateY(-10px);
    border-color: var(--accent);
    background: rgba(27, 77, 62, 0.4);
}

.pizza-card::before {
    content: '🍕';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 80px;
    opacity: 0.05;
    transform: rotate(20deg);
}

/* Special Pizza Highlight */
.special-card {
    border: 2px solid var(--accent) !important;
    background: linear-gradient(145deg, rgba(27, 77, 62, 0.4), rgba(249, 178, 51, 0.1)) !important;
    box-shadow: 0 0 30px rgba(249, 178, 51, 0.2);
    transform: scale(1.03) !important;
}

.special-badge-main {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--secondary);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: 900;
    font-size: 10px;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(249, 178, 51, 0.4);
    z-index: 5;
}

.pizza-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pizza-item-title {
    font-weight: 900;
    font-size: 1.6rem;
    color: white;
}

.pizza-item-price {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--accent);
}

.pizza-ingredients {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 25px;
}

/* BUTTONS */
.btn-main {
    padding: 20px 40px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn-main:hover {
    transform: scale(1.05) translateY(-3px);
    background: var(--accent);
    color: var(--secondary);
    box-shadow: 0 15px 40px rgba(249, 178, 51, 0.4);
}

/* FORM STYLING */
.booking-section {
    background: var(--secondary);
    border-radius: var(--radius);
    padding: 40px 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

@media (min-width: 768px) {
    .booking-section {
        padding: 80px 60px;
        margin-bottom: 100px;
        border-radius: 50px;
    }
}

.booking-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('https://www.transparenttextures.com/patterns/pizzas.png');
    opacity: 0.05;
    pointer-events: none;
}

/* TESTIMONIALS SECTION */
.reviews-section {
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.review-carousel {
    max-width: 800px;
    margin: 40px auto;
    position: relative;
    height: 250px;
}

.review-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.review-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.review-stars {
    color: var(--accent);
    font-size: 1.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(249, 178, 51, 0.3);
}

.review-comment {
    font-size: 1.3rem;
    font-style: italic;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 20px;
    color: white;
}

.review-author {
    font-family: var(--font-heading);
    color: var(--accent);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.avg-rating-container {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--bg-card);
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--accent);
    margin-bottom: 30px;
}

.input-rc {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 18px 25px;
    border-radius: 18px;
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-rc:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 20px rgba(249, 178, 51, 0.1);
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .main-title {
        font-size: 2.5rem;
    }

    .hero-card {
        height: 350px;
        margin-bottom: 30px;
    }

    .hero-overlay {
        padding: 20px;
    }

    .section-head h2 {
        font-size: 2rem;
    }

    .pizza-grid {
        gap: 20px;
    }

    .pizza-card {
        padding: 25px;
    }
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Pizza Slices */
.floating-pizzas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.floating-pizza {
    position: absolute;
    font-size: 40px;
    opacity: 0.15;
    animation: float-pizza 15s linear infinite;
}

@keyframes float-pizza {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.15;
    }

    90% {
        opacity: 0.15;
    }

    100% {
        transform: translateY(-20vh) rotate(360deg);
        opacity: 0;
    }
}