/* John J. O'Leary IV - Classic Car Historian Website */

:root {
    --primary: #2c3e50;
    --primary-dark: #1a252f;
    --accent: #c9a227;
    --accent-light: #e8d5a3;
    --text: #333;
    --text-light: #666;
    --bg: #faf8f5;
    --bg-dark: #f0ebe5;
    --white: #ffffff;
    --border: #e0d5c8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background: var(--bg);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: var(--primary);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.nav-brand {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--white);
    letter-spacing: 0.5px;
}

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

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

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
    margin-top: 60px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    font-weight: 300;
}

.hero .location {
    font-size: 1rem;
    color: rgba(255,255,255,0.7);
    font-weight: 300;
}

/* Sections */
.section {
    padding: 60px 0;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.section p {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 1rem;
    max-width: 800px;
}

.featured {
    background: var(--bg-dark);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* About Section */
.about-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.profile-image {
    flex: 0 0 300px;
}

.profile-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.about-text {
    flex: 1;
    min-width: 300px;
}

/* Story Cards */
.story-card {
    background: var(--white);
    padding: 30px;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 4px solid var(--accent);
}

.story-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

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

/* Images in Story Cards */
.reuters-images {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.reuters-logo {
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reuters-photo {
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.aktion-image {
    margin-bottom: 20px;
}

.aktion-image img {
    max-width: 100%;
    max-height: 500px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.melton-image {
    margin-bottom: 20px;
}

.melton-image img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--accent);
    color: var(--primary-dark);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: all 0.3s;
    border: 2px solid var(--accent);
}

.btn:hover {
    background: var(--primary-dark);
    color: var(--accent);
    border-color: var(--primary-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.media-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
}

.media-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.media-card h4 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.media-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.media-card a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.media-card a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.video-links {
    display: flex;
    gap: 15px;
}

.video-links a {
    padding: 6px 12px;
    background: var(--bg-dark);
    border-radius: 4px;
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: var(--primary);
    color: var(--white);
}

.contact-section h2 {
    color: var(--white);
    border-bottom-color: var(--accent);
}

.contact-section p {
    color: rgba(255,255,255,0.9);
}

.contact-info {
    margin-top: 30px;
    padding: 30px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: inline-block;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-info a {
    color: var(--accent);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Footer */
footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.6);
    padding: 30px 0;
    text-align: center;
}

footer p {
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.site-credit {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.4);
    margin-top: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .nav-links {
        gap: 0.8rem;
        font-size: 0.85rem;
        justify-content: center;
        width: 100%;
        margin-top: 10px;
    }
    
    .navbar .container {
        flex-direction: column;
        align-items: center;
    }
    
    .hero {
        padding-top: 160px;
    }
    
    .section h2 {
        font-size: 1.8rem;
    }
    
    .about-content {
        flex-direction: column;
        align-items: center;
    }
    
    .profile-image {
        flex: none;
    }
    
    .about-text {
        text-align: center;
    }
    
    .reuters-images {
        flex-direction: column;
        align-items: center;
    }
    
    .reuters-logo,
    .reuters-photo {
        max-width: 100%;
    }
    
    .media-grid {
        grid-template-columns: 1fr;
    }
    
    .story-card {
        padding: 20px;
    }
    
    .links {
        flex-direction: column;
    }
    
    .btn {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .hero .subtitle {
        font-size: 1rem;
    }
    
    .section h2 {
        font-size: 1.5rem;
    }
    
    .story-card h3 {
        font-size: 1.2rem;
    }
    
    .profile-image img {
        max-width: 250px;
    }
}
