/* The Tradition of American Pizzerias - Classic Culinary Style */

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

/* CSS Variables */
:root {
    --primary-red: #8B1E1E;
    --cream-bg: #FDF8F3;
    --cream-light: #F5EDE4;
    --olive-accent: #6B7B3C;
    --olive-dark: #4A5A2A;
    --text-dark: #2C2C2C;
    --text-light: #5A5A5A;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Libre Baskerville', Georgia, serif;
    background-color: var(--cream-bg);
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 18px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 2rem;
    line-height: 1.4;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

a {
    color: var(--primary-red);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--olive-accent);
}

/* Header & Navigation */
header {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

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

nav a {
    color: var(--white);
    font-family: 'Libre Baskerville', Georgia, serif;
    font-size: 1rem;
    font-weight: 400;
}

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

/* Hero Section */
.hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    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: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.6));
}

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

.hero-content h1 {
    color: var(--white);
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

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

/* Main Content Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Article Layout */
.article {
    background-color: var(--white);
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 4px;
}

.article-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--cream-light);
}

.article-header h2 {
    font-size: 2.8rem;
    margin-bottom: 1rem;
}

.article-meta {
    color: var(--olive-accent);
    font-style: italic;
    font-size: 1rem;
}

/* Image Styles */
.article-image {
    width: 100%;
    height: auto;
    margin: 2rem 0;
    border-radius: 4px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.image-caption {
    text-align: center;
    font-style: italic;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

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

.image-grid img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Section Styles */
.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--olive-accent);
}

/* Featured Articles */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.featured-card {
    background-color: var(--white);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0,0,0,0.1);
}

.featured-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.featured-card-content {
    padding: 2rem;
}

.featured-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.featured-card p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.read-more {
    display: inline-block;
    color: var(--primary-red);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

/* FAQ Styles */
.faq-item {
    background-color: var(--white);
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-red);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.faq-question {
    font-size: 1.3rem;
    color: var(--primary-red);
    font-weight: 700;
    margin-bottom: 1rem;
}

.faq-answer {
    color: var(--text-light);
    line-height: 1.8;
}

/* Contact Page Styles */
.contact-info {
    background-color: var(--white);
    padding: 3rem;
    border-radius: 4px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--cream-light);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-label {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.2rem;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
}

.contact-value {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Footer */
footer {
    background-color: var(--primary-red);
    color: var(--white);
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-disclaimer {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--cream-bg);
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .article {
        padding: 2rem 1.5rem;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
    }
}

/* Print Styles */
@media print {
    header, footer {
        display: none;
    }
    
    body {
        background-color: white;
        color: black;
    }
    
    .article {
        box-shadow: none;
        page-break-inside: avoid;
    }
}