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

:root {
    --bg-color: #1B2B4A;
    --text-color: #e5e5e5;
    --accent-color: #4A90E2;
    --card-bg: #243556;
    --hover-bg: #2d4163;
    --footer-bg: #000000;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Inter', sans-serif;
}

body {
    font-family: var(--body-font);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

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

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

/* Header */
.site-header {
    background-color: rgba(0, 0, 0, 0.3);
    padding: 20px 0;
    border-bottom: 1px solid rgba(229, 229, 229, 0.1);
}

.site-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

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

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

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.welcome-text {
    font-family: var(--heading-font);
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: #ffffff;
}

.hero-tagline {
    font-size: 1.25rem;
    line-height: 1.7;
    color: #b8c5d6;
    max-width: 800px;
    margin: 0 auto;
}

/* Listening Section */
.listening-section {
    padding: 40px 0;
}

.listening-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    gap: 30px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(229, 229, 229, 0.1);
}

.listening-icon {
    flex-shrink: 0;
}

.listening-icon svg {
    color: var(--accent-color);
}

.listening-content h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: #ffffff;
}

.listening-content p {
    font-size: 1.05rem;
    color: #b8c5d6;
}

/* Documentaries Section */
.documentaries {
    padding: 60px 0 80px;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: #ffffff;
}

.documentary-grid {
    display: grid;
    gap: 30px;
}

.documentary-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 40px;
    border: 1px solid rgba(229, 229, 229, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.documentary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: var(--hover-bg);
}

.documentary-number {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(229, 229, 229, 0.1);
    font-family: var(--heading-font);
}

.documentary-title {
    font-family: var(--heading-font);
    font-size: 1.7rem;
    margin-bottom: 15px;
    line-height: 1.3;
}

.documentary-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.documentary-title a:hover {
    color: var(--accent-color);
}

.documentary-description {
    color: #b8c5d6;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.read-more:hover {
    transform: translateX(5px);
}

/* Documentary Detail Page */
.documentary-detail {
    padding: 40px 0 80px;
}

.back-link {
    margin-bottom: 30px;
}

.back-link a, .back-button {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.back-link a:hover, .back-button:hover {
    transform: translateX(-5px);
}

.documentary-article {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 50px;
    border: 1px solid rgba(229, 229, 229, 0.1);
}

.article-header {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(229, 229, 229, 0.1);
}

.article-header h1 {
    font-family: var(--heading-font);
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #ffffff;
}

.article-meta {
    color: #b8c5d6;
    font-size: 0.95rem;
}

.audio-player {
    background-color: rgba(74, 144, 226, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 25px;
    margin-bottom: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.audio-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.audio-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    background-color: var(--card-bg);
    color: var(--text-color);
    font-family: var(--body-font);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(229, 229, 229, 0.2);
}

.audio-btn:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.audio-btn:active {
    transform: translateY(0);
}

.audio-btn.primary {
    background-color: var(--accent-color);
    color: #ffffff;
    border-color: var(--accent-color);
}

.audio-btn.primary:hover {
    background-color: #3a7bc8;
}

.audio-btn svg {
    flex-shrink: 0;
}

.audio-info {
    flex: 1;
}

.audio-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #ffffff;
}

.audio-info p {
    font-size: 0.9rem;
    color: #b8c5d6;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content h2 {
    font-family: var(--heading-font);
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #ffffff;
}

.article-content h3 {
    font-family: var(--heading-font);
    font-size: 1.5rem;
    margin: 30px 0 15px;
    color: #ffffff;
}

.article-content p {
    margin-bottom: 20px;
    color: #d0d8e3;
}

.article-content ul, .article-content ol {
    margin: 20px 0 20px 30px;
    color: #d0d8e3;
}

.article-content li {
    margin-bottom: 10px;
}

.article-content strong {
    color: #ffffff;
}

.article-footer {
    margin-top: 40px;
}

/* Static Pages */
.page-content {
    padding: 40px 0 80px;
}

.page-content h1 {
    font-family: var(--heading-font);
    font-size: 3rem;
    margin-bottom: 30px;
    color: #ffffff;
}

.page-content h2 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin: 30px 0 15px;
    color: #ffffff;
}

.page-content h3 {
    font-family: var(--heading-font);
    font-size: 1.4rem;
    margin: 25px 0 12px;
    color: #ffffff;
}

.page-content h4 {
    font-size: 1.2rem;
    margin: 20px 0 10px;
    color: #ffffff;
}

.content-block {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 35px;
    margin-bottom: 30px;
    border: 1px solid rgba(229, 229, 229, 0.1);
}

.content-block p {
    margin-bottom: 15px;
    line-height: 1.7;
    color: #d0d8e3;
}

.content-block ul, .content-block ol {
    margin: 15px 0 15px 30px;
    color: #d0d8e3;
}

.content-block li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.content-block strong {
    color: #ffffff;
}

.content-block a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.content-block a:hover {
    color: #6ba3e5;
    text-decoration: underline;
}

.last-updated {
    color: #b8c5d6;
    font-size: 0.9rem;
    margin-bottom: 30px;
}

/* Footer */
.site-footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding: 60px 0 30px;
    margin-top: auto;
    border-top: 1px solid rgba(229, 229, 229, 0.1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    font-family: var(--heading-font);
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ffffff;
}

.footer-section p {
    color: #b8c5d6;
    line-height: 1.7;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #b8c5d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .welcome-text {
        font-size: 2rem;
    }

    .hero-tagline {
        font-size: 1.1rem;
    }

    .listening-card {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .documentary-card {
        padding: 30px;
    }

    .documentary-number {
        font-size: 2rem;
        top: 15px;
        right: 20px;
    }

    .documentary-title {
        font-size: 1.4rem;
    }

    .documentary-article {
        padding: 30px 25px;
    }

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-content {
        font-size: 1rem;
    }

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

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .welcome-text {
        font-size: 1.6rem;
    }

    .hero-tagline {
        font-size: 1rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .documentary-article {
        padding: 20px;
    }

    .content-block {
        padding: 25px;
    }
}
