/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    /* Brand Colors */
    --primary-navy: #044061;
    --primary-dark: #032d45;
    --action-orange: #E84C27;
    --accent-gold: #D4AF37;
    
    /* Backgrounds & Text */
    --bg-light: #f8fafc;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding-bottom: 90px; /* Space for sticky player */
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-image-container {
    flex: 1;
    max-width: 400px;
}

.hero-cover {
    width: 100%;
    border-radius: 16px;
    border: 3px solid var(--accent-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-content {
    flex: 2;
}

.hero-badge {
    color: var(--accent-gold);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    display: block;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.1rem;
    color: #cbd5e1; /* Slightly muted white */
    margin-bottom: 30px;
    max-width: 600px;
}

/* --- Buttons --- */
.btn-primary {
    background-color: var(--action-orange);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #d13f1d;
    transform: translateY(-2px);
}

/* --- Episode Grid --- */
.episodes-section {
    padding: 60px 5%;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-navy);
    margin-bottom: 40px;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.episode-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.episode-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.card-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay that appears on hover */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(4, 64, 97, 0.5); /* Navy overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.episode-card:hover .card-overlay {
    opacity: 1;
}

.play-icon-large {
    background: var(--action-orange);
    color: var(--white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-content {
    padding: 25px;
}

.card-meta {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-navy);
}

.card-content p {
    font-size: 0.95rem;
    color: var(--text-dark);
    line-height: 1.6;
}

/* --- Sticky Audio Player --- */
.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    padding: 15px 5%;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1000;
}

.player-info h4 {
    margin: 0;
    color: var(--primary-navy);
}

.player-info p {
    margin: 0;
    font-size: 0.8rem;
    color: var(--text-light);
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.progress-bar {
    flex: 1;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    position: relative;
    cursor: pointer;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--action-orange);
    border-radius: 3px;
    width: 45%; /* Example fill */
}