:root {
    /* Palette based on logo (approximate from description/common pizza themes) */
    --primary-color: #8B0000;
    /* Deep Red */
    --secondary-color: #FFD700;
    /* Gold */
    --accent-color: #2E7D32;
    /* Green */
    --text-color: #333;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.nav-link,
.btn-whatsapp,
.hours-row.closed {
    font-family: 'Outfit', sans-serif;
}

/* Navbar - Modern Glassmorphism */
.navbar {
    background-color: rgba(139, 0, 0, 0.95) !important;
    /* Slightly transparent brand color */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    transition: all 0.3s ease;
}

.navbar-brand {
    color: white !important;
    text-decoration: none;
}

.brand-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 12px rgba(255, 215, 0, 0.25);
}

.brand-accent {
    font-weight: 400;
    color: var(--secondary-color);
    letter-spacing: 4px;
}

/* Inline Logo Container */
.logo-container {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-img {
    width: 100%;
    height: auto;
}

.navbar-brand:hover .logo-container {
    transform: scale(1.1);
}

.nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 15px !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    position: relative;
}

/* Animated underline on hover */
.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: white !important;
}

.nav-link:not(.btn-nav-contact):hover::after {
    width: 80%;
}

/* Contact button in navbar */
.btn-nav-contact {
    background-color: #25D366 !important;
    color: white !important;
    border-radius: 30px;
    padding: 8px 25px !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-nav-contact:hover {
    background-color: #128C7E !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* Mobile Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(139, 0, 0, 1);
        padding: 20px;
        border-radius: 10px;
        margin-top: 15px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 12px 0 !important;
        margin: 5px 0;
    }

    .nav-link::after {
        display: none;
        /* Hide animated underline on mobile */
    }

    .btn-nav-contact {
        display: block;
        margin-top: 20px;
        padding: 12px 20px !important;
        font-size: 1.2rem;
        background-color: #25D366 !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 70vh;
    padding-top: 80px;
    /* Offset for fixed navbar */
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
    line-height: 0;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    z-index: 1;
}

.hero-slide.active {
    opacity: 0.6;
    /* Darkened for text readability */
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 20px;
    margin-top: 60px;
    /* Push down to visually center below the fixed navbar */
    /* Glassmorphism effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeUp 1s ease-out forwards;
}

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

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 30px;
}

/* Hero Mobile Adjustments */
@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .hero-content .btn-whatsapp {
        font-size: 0.95rem;
        padding: 12px 20px;
    }
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    font-weight: bold;
    padding: 15px 30px;
    border-radius: 50px;
    border: none;
    font-size: 1.2rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.btn-whatsapp::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 200%;
    }

    100% {
        left: 200%;
    }
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    color: white;
    text-decoration: none;
    animation: none;
    /* Stop pulse on hover for cleaner interaction */
}

/* Sections General */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
    margin: 10px auto;
}

/* Products */
.product-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    background: white;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 0, 0, 0.15);
    border-color: rgba(139, 0, 0, 0.1);
}

.product-img-container {
    height: 250px;
    background-color: #eee;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.4s ease;
    filter: brightness(0.9);
}

.product-card:hover .product-img-container img {
    filter: brightness(1.05) saturate(1.1);
}

/* Marquee Section */
.marquee-container {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    /* For breakout container width */
    overflow: hidden;
    position: relative;
    padding: 10px 0;
    background: transparent;
    /* Increased transparency base for effect */
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle dividing line above */
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Subtle dividing line below */
}



.marquee-content {
    display: flex;
    flex-shrink: 0;
    width: max-content;
    animation: scrollLeft 30s linear infinite;
}

.marquee-img {
    width: 250px;
    height: 180px;
    object-fit: cover;
    margin: 0 15px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    opacity: 0.6;
    /* Applied directly to image for proper blending */
    transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.4s ease;
}

.marquee-img:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    opacity: 1;
    /* Restore full color/opacity on hover */
}

.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Locations */
.location-section {
    background-color: var(--light-bg);
}

.map-container {
    height: 400px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
}

.hours-table {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hours-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.hours-row.closed {
    color: var(--primary-color);
    font-weight: bold;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    padding: 40px 0;
    text-align: center;
}

footer a {
    color: var(--secondary-color);
    text-decoration: none;
}

.footer-email {
    opacity: 0.7;
    margin-top: 5px;
}

.footer-email a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: var(--secondary-color);
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Quality Section */
.quality-section {
    background-color: white;
    /* Distinct from light-bg of Location */
}

.quality-img-container {
    overflow: hidden;
    border-radius: 15px;
}

.quality-section .section-title.text-start::after {
    margin: 10px 0;
    /* Left align underline */
}