/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #d32f2f;
    --secondary-color: #e53935;
    --dark-bg: #1a1a1a;
    --light-bg: #f5f5f5;
    --text-dark: #333;
    --text-light: #fff;
    --gray: #666;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--light-bg);
}

.container {
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
}

/* Header */
header {
    background-color: var(--dark-bg);
    padding: 1rem 0;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    color: var(--text-light);
    font-size: 1.8rem;
    font-weight: bold;
}

.logo img {
    height: 150px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
}

nav a:hover,
nav a.active {
    color: var(--secondary-color);
    background-color: rgba(229, 57, 53, 0.1);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger-menu span {
    width: 30px;
    height: 3px;
    background-color: var(--text-light);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.hamburger-menu.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Hero Section */
.hero,
.about-hero,
.reviews-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-light);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-banner {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    display: block;
    border-radius: var(--border-radius);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.hero h2,
.about-hero h2,
.reviews-hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.tagline,
.subtitle {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--light-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

.cta-buttons,
.cta-container {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* Features Section */
.features {
    padding: 4rem 0;
    background-color: var(--text-light);
}

.features h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    border-color: var(--secondary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--gray);
}

/* Latest Review Section */
.latest-review {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.latest-review h3 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

.video-preview {
    text-align: center;
    padding: 2rem;
    background-color: var(--text-light);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.video-preview a {
    color: var(--primary-color);
    font-weight: 600;
}

/* About Page Styles */
.about-content {
    padding: 4rem 0;
    background-color: var(--text-light);
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.review-criteria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.criteria-item {
    background-color: var(--light-bg);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
}

.criteria-item h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.criteria-item p {
    color: var(--gray);
    font-size: 1rem;
}

/* Reviews Page Styles */
.reviews-content {
    padding: 4rem 0;
    background-color: var(--text-light);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.video-card {
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.video-info p {
    color: var(--gray);
    font-size: 0.95rem;
}

.no-videos-message {
    text-align: center;
    padding: 3rem;
    background-color: var(--light-bg);
    border-radius: var(--border-radius);
    margin: 2rem 0;
}

.no-videos-message p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--gray);
}

.load-more {
    padding: 3rem 0;
    background-color: var(--light-bg);
}

.text-center {
    text-align: center;
    font-size: 1.1rem;
    color: var(--gray);
}

/* Footer */
footer {
    background-color: var(--dark-bg);
    color: var(--text-light);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    background-color: var(--primary-color);
    border-radius: var(--border-radius);
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background-color: var(--secondary-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        position: relative;
    }

    .hamburger-menu {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--dark-bg);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    }

    nav.active {
        max-height: 400px;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
        padding: 1rem 0;
    }

    nav a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        width: 100%;
        text-align: left;
    }

    nav a:hover,
    nav a.active {
        background-color: rgba(229, 57, 53, 0.2);
    }

    .hero h2,
    .about-hero h2,
    .reviews-hero h2 {
        font-size: 2rem;
    }

    .tagline,
    .subtitle {
        font-size: 1.2rem;
    }

    .feature-grid,
    .review-criteria {
        grid-template-columns: 1fr;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-buttons,
    .cta-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-banner {
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 70px;
    }

    .logo h1 {
        font-size: 1.3rem;
    }

    .hero h2,
    .about-hero h2,
    .reviews-hero h2 {
        font-size: 1.5rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Map Page - Custom Marker Styles */
.custom-pizza-marker {
    background: transparent;
    border: none;
}

.leaflet-popup-tip {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

/* Marker cluster styling */
.pizza-cluster {
    background: transparent;
    border: none;
}

.marker-cluster {
    background-color: rgba(211, 47, 47, 0.6);
    border: 3px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.marker-cluster div {
    background-color: rgba(211, 47, 47, 0.9);
    color: white;
    font-weight: bold;
}
