/* Modern Tech Editorial - Style B */
/* Pizza Delivery Technology Website */

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

:root {
    --primary-blue: #2E86DE;
    --text-black: #1a1a1a;
    --text-gray: #666666;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-black);
    line-height: 1.8;
    font-size: 16px;
}

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    color: var(--text-black);
}

h3 {
    font-size: 1.5rem;
    color: var(--text-black);
}

h4 {
    font-size: 1.25rem;
    color: var(--text-black);
}

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

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

a:hover {
    color: #1a5fb4;
}

/* Header & Navigation */
header {
    background: var(--bg-white);
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

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

.logo {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-black);
}

.logo span {
    color: var(--primary-blue);
}

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

nav a {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-black);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--primary-blue);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 2rem;
    text-align: center;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

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

/* Grid System */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Article Layout */
.article {
    background: var(--bg-white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.article-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.article-content {
    padding: 2rem;
}

.article-category {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.article-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-black);
}

.article-excerpt {
    font-size: 1rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.article-meta {
    font-size: 0.875rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Infographic Blocks */
.infographic {
    background: var(--bg-light);
    border-left: 4px solid var(--primary-blue);
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
}

.infographic h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.infographic p {
    margin-bottom: 0;
}

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

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Full Article Page */
.article-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.article-hero {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.article-body {
    font-size: 1.125rem;
    line-height: 1.9;
}

.article-body h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 2rem 0;
}

/* FAQ Section */
.faq-item {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1rem;
}

.faq-question {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-black);
    margin-bottom: 1rem;
}

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

/* Contact Page */
.contact-section {
    background: var(--bg-light);
    padding: 4rem 2rem;
    border-radius: 12px;
    margin: 2rem 0;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h4 {
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.125rem;
    color: var(--text-black);
}

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

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

.disclaimer {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.7);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-links {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    font-size: 0.875rem;
}

.footer-links a:hover {
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .article-hero {
        height: 300px;
    }
    
    .container {
        padding: 2rem 1rem;
    }
}

/* Print Styles */
@media print {
    header,
    footer,
    .nav-container {
        display: none;
    }
    
    body {
        font-size: 12pt;
    }
    
    .article-page {
        padding: 0;
    }
}