: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: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    padding-top: 1.5rem;
    padding-bottom: 2rem;
    /* Space for logo overlap */
}

.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 10px;
    z-index: 1000;
    width: 150px;
    height: 150px;
    background: white;
    border-radius: 50%;
    border: 5px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.logo-container:hover {
    transform: translateX(-50%) scale(1.05);
}

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

.nav-link {
    color: white !important;
    font-weight: 600;
    text-transform: uppercase;
    margin: 5px 0;
    /* Adjusted for mobile default */
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
}

/* Desktop styles for navbar spacer */
@media (min-width: 992px) {
    .nav-link {
        margin: 0 15px;
        /* Reset for desktop */
    }

    .nav-spacer-right {
        margin-right: 80px !important;
    }

    .nav-spacer-left {
        margin-left: 80px !important;
    }

    /* Padding helpers for logo space */
    .ms-lg-auto {
        margin-left: auto !important;
    }

    .me-lg-auto {
        margin-right: auto !important;
    }
}

/* Mobile Navbar Adjustments */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--primary-color);
        /* Ensure full background */
        padding: 20px 0;
        margin-top: 60px;
        /* Space for logo if needed or just padding */
        text-align: center;
    }

    .logo-container {
        width: 100px;
        /* Smaller logo on mobile */
        height: 100px;
        top: 5px;
    }

    .navbar {
        padding-bottom: 1rem;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 10px 0;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    height: 90vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.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;
    /* 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;
}

.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;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    color: white;
    text-decoration: none;
}

/* 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.1);
    transition: transform 0.3s;
    background: white;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-10px);
}

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

.product-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 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;
}

/* 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 */
}