/*
Theme Name: The Haarlem Gazette
Author: Custom Design
Description: A custom theme for The Haarlem Gazette integrated with TranslatePress.
Version: 1.0
*/

:root {
    --primary-green: #415A38;
    --accent-gold: #C59D5F;
    --bg-cream: #F9F8F4;
    --text-dark: #2D2D2D;
    --text-muted: #666666;
}

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

h1, h2, h3, h4, .serif {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
}

/* Header & Navigation */
header {
    background-color: var(--primary-green);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
    border-bottom: 5px solid var(--accent-gold);
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.header-logo {
    width: 100%;
    max-width: 350px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    background-color: transparent;
}

header p {
    font-style: italic;
    color: var(--accent-gold);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

nav {
    background-color: #2D4026;
    padding: 1rem;
    position: relative;
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

.nav-links a {
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: color 0.3s;
}

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

/* Hamburger Menu */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    transition: all 0.3s ease;
}

/* Main Layout */
.container {
    max-width: 1200px;
    margin: 3rem auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    padding: 0 2rem;
}

/* Blog Posts */
.blog-post {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 3rem;
    border-top: 4px solid var(--accent-gold);
}

.blog-post img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.post-content {
    padding: 2rem;
}

.post-meta {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.post-title {
    font-size: 2.2rem;
    margin: 0 0 1rem 0;
}

.post-title a {
    color: var(--primary-green);
    text-decoration: none;
}

.read-more {
    display: inline-block;
    margin-top: 1rem;
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 2px;
}

/* Sidebar */
.sidebar-widget {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    margin-bottom: 2rem;
}

.sidebar-widget h3 {
    border-bottom: 2px solid var(--accent-gold);
    padding-bottom: 0.5rem;
    margin-top: 0;
}

.subscribe-form input[type="email"] {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.subscribe-form button {
    width: 100%;
    background-color: var(--primary-green);
    color: white;
    border: none;
    padding: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
}

.subscribe-form button:hover {
    background-color: var(--accent-gold);
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr;
    }

    .header-logo {
        max-width: 200px;
        margin-top: 1.5rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-container {
        justify-content: flex-end;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #2D4026;
        padding: 1rem 0;
        text-align: center;
        gap: 1rem;
        z-index: 10;
    }

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

    .hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .hamburger.active span:nth-child(2) { opacity: 0; }
    .hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}