/* American Pizzeria Guide - Traditional Culinary Editorial Style */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Open+Sans:wght@300;400;600&display=swap');

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --burgundy: #922B21;
    --cream: #FDF5E6;
    --dark-gray: #2C2C2C;
    --light-gray: #E8E8E8;
    --white: #FFFFFF;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--cream);
    color: var(--dark-gray);
    line-height: 1.8;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--burgundy);
    margin-bottom: 1rem;
    line-height: 1.3;
}

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.2rem;
    font-weight: 600;
    margin-top: 2rem;
}

h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

/* Navigation */
header {
    background-color: var(--burgundy);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--cream);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    height: 60vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.3rem;
    color: var(--cream);
}

/* Main Content */
main {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-content {
    background-color: var(--white);
    padding: 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 2rem auto;
    border-radius: 4px;
}

.hero-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    margin: 0 0 2rem 0;
}

.content-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin: 2rem 0;
}

.image-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    margin-top: -1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Sections */
section {
    margin-bottom: 3rem;
}

.intro-section {
    background-color: var(--white);
    padding: 2rem;
    border-left: 4px solid var(--burgundy);
    margin-bottom: 2rem;
}

.featured-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.article-card {
    background-color: var(--white);
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.article-card:hover {
    transform: translateY(-5px);
}

.article-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.article-card a {
    color: var(--burgundy);
    text-decoration: none;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    background-color: var(--white);
    padding: 2rem;
    margin: 2rem 0;
}

.faq-item {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-weight: 600;
    color: var(--burgundy);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

/* Contact Form */
.contact-form {
    background-color: var(--white);
    padding: 2rem;
    margin: 2rem 0;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--light-gray);
    border-radius: 4px;
    font-family: 'Open Sans', sans-serif;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

button[type="submit"] {
    background-color: var(--burgundy);
    color: var(--white);
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #7A231A;
}

/* Contact Info */
.contact-info {
    background-color: var(--white);
    padding: 2rem;
    margin: 2rem 0;
}

.contact-info h3 {
    margin-bottom: 1rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--dark-gray);
    color: var(--white);
    padding: 3rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    color: var(--cream);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--cream);
}

.footer-disclaimer {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid #444;
    text-align: center;
    font-size: 0.9rem;
    color: #999;
}

/* Legal Pages */
.legal-content {
    background-color: var(--white);
    padding: 3rem;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
}

.legal-content h2 {
    margin-top: 0;
}

.legal-content p {
    margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--burgundy);
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .nav-links.active {
        display: flex;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .article-content {
        padding: 2rem 1.5rem;
    }

    main {
        padding: 2rem 1.5rem;
    }

    .featured-articles {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .article-content {
        padding: 1.5rem 1rem;
    }
}