/* ===================================
   Radio Sissili - Main Stylesheet
   Colors: Burkina Faso Flag
   Green: #009E60, Yellow: #FCD116, Red: #EF2B2D
   =================================== */

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

:root {
    --color-green: #009E60;
    --color-yellow: #FCD116;
    --color-red: #EF2B2D;
    --color-dark: #1a1a1a;
    --color-gray: #666;
    --color-light-gray: #f5f5f5;
    --color-white: #ffffff;
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: var(--font-secondary);
    color: var(--color-dark);
    line-height: 1.6;
    background-color: var(--color-white);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
    transition: var(--transition);
}

/* ===================================
   HEADER
   =================================== */
.header {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, var(--color-green) 0%, #007a4a 100%);
    color: var(--color-white);
    padding: 15px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 90px;
    height: 90px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--color-green);
    overflow: hidden;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-family: var(--font-primary);
    font-size: 32px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.logo-text .highlight {
    color: var(--color-yellow);
}

.logo-text .tagline {
    font-size: 13px;
    opacity: 0.95;
    margin: 0;
    font-weight: 500;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-link {
    color: var(--color-white);
    font-weight: 600;
    font-size: 15px;
    padding: 8px 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-yellow);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-language {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: var(--color-white);
    font-weight: 600;
    font-size: 14px;
}

.btn-language:hover {
    background: rgba(255, 255, 255, 0.25);
}

.btn-live {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(239, 43, 45, 0.4);
}

.btn-live:hover {
    background: #d91e20;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 43, 45, 0.6);
}

.live-pulse {
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.btn-admin {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 18px;
}

.btn-admin:hover {
    background: rgba(255, 255, 255, 0.25);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-green) 0%, #007a4a 50%, var(--color-yellow) 100%);
    color: var(--color-white);
    padding: 80px 20px 60px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="30" fill="rgba(255,255,255,0.03)"/></svg>');
    background-size: 100px 100px;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(100px, 100px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 600;
    color: var(--color-yellow);
    margin-bottom: 10px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 18px;
    margin-bottom: 40px;
    opacity: 0.95;
}

/* ===================================
   LIVE PLAYER
   =================================== */
.live-player {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 60px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto;
    backdrop-filter: blur(10px);
}

.player-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--color-light-gray);
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--color-red);
    color: var(--color-white);
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: var(--color-white);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

.current-show {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-dark);
    font-weight: 600;
    font-size: 15px;
}

.current-show i {
    color: var(--color-green);
}

.player-body {
    margin-bottom: 20px;
}

.player-visual {
    height: 120px;
    background: linear-gradient(135deg, var(--color-green) 0%, var(--color-yellow) 100%);
    border-radius: 12px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

#audioVisualizer {
    width: 100%;
    height: 100%;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.btn-play {
    width: 60px;
    height: 60px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 15px rgba(0, 158, 96, 0.4);
    transition: var(--transition);
}

.btn-play:hover {
    background: #007a4a;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 158, 96, 0.6);
}

.btn-play.playing i::before {
    content: '\f04c';
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.volume-icon {
    color: var(--color-gray);
    font-size: 18px;
}

.volume-slider {
    flex: 1;
    max-width: 150px;
    height: 6px;
    border-radius: 3px;
    outline: none;
    background: var(--color-light-gray);
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-green);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-green);
    cursor: pointer;
    border: none;
}

.listeners-count {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--color-gray);
    font-weight: 600;
    font-size: 14px;
}

.listeners-count i {
    color: var(--color-green);
}

.player-footer {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding-top: 15px;
    border-top: 2px solid var(--color-light-gray);
}

.btn-share {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.btn-share[data-platform="facebook"] {
    background: #1877f2;
    color: var(--color-white);
}

.btn-share[data-platform="twitter"] {
    background: #1da1f2;
    color: var(--color-white);
}

.btn-share[data-platform="whatsapp"] {
    background: #25d366;
    color: var(--color-white);
}

.btn-share:hover {
    transform: scale(1.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--color-white);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* ===================================
   SECTIONS
   =================================== */
.section {
    padding: 80px 20px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    color: var(--color-dark);
    position: relative;
    padding-left: 20px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 40px;
    background: linear-gradient(180deg, var(--color-green) 0%, var(--color-yellow) 100%);
    border-radius: 3px;
}

.btn-more {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-green);
    font-weight: 600;
    font-size: 16px;
}

.btn-more:hover {
    color: var(--color-yellow);
}

.btn-more i {
    transition: transform 0.3s ease;
}

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

/* ===================================
   NEWS GRID
   =================================== */
.news-section {
    background: var(--color-light-gray);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.news-card-content {
    padding: 20px;
}

.news-card-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--color-gray);
}

.news-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-card-title {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
    line-height: 1.3;
}

.news-card-excerpt {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid var(--color-light-gray);
}

.btn-read-more {
    color: var(--color-green);
    font-weight: 600;
    font-size: 14px;
}

.btn-read-more:hover {
    color: var(--color-yellow);
}

/* ===================================
   PODCASTS GRID
   =================================== */
.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.podcast-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.podcast-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.podcast-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
    position: relative;
}

.podcast-content {
    padding: 20px;
}

.podcast-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--color-gray);
}

.podcast-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--color-yellow);
    color: var(--color-dark);
    border-radius: 12px;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
}

.podcast-duration {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.podcast-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--color-dark);
}

.podcast-description {
    color: var(--color-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.podcast-player {
    width: 100%;
    height: 40px;
    border-radius: 8px;
    margin-bottom: 10px;
}

.podcast-actions {
    display: flex;
    gap: 10px;
}

.btn-download,
.btn-share-podcast {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-download {
    background: var(--color-green);
    color: var(--color-white);
}

.btn-download:hover {
    background: #007a4a;
}

.btn-share-podcast {
    background: var(--color-light-gray);
    color: var(--color-dark);
}

.btn-share-podcast:hover {
    background: var(--color-gray);
    color: var(--color-white);
}

/* ===================================
   PROGRAM SECTION
   =================================== */
.program-section {
    background: var(--color-light-gray);
}

.today-program {
    display: grid;
    gap: 15px;
}

.program-item {
    background: var(--color-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 20px;
    align-items: center;
    transition: var(--transition);
}

.program-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-hover);
}

.program-time {
    flex-shrink: 0;
    width: 80px;
    text-align: center;
}

.program-time-start {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-green);
    line-height: 1;
}

.program-time-end {
    font-size: 14px;
    color: var(--color-gray);
}

.program-details {
    flex: 1;
}

.program-title {
    font-family: var(--font-primary);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--color-dark);
}

.program-host {
    font-size: 14px;
    color: var(--color-gray);
    margin-bottom: 8px;
}

.program-description {
    font-size: 14px;
    color: var(--color-gray);
    line-height: 1.5;
}

/* ===================================
   ABOUT PREVIEW
   =================================== */
.about-preview {
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-hover);
}

.about-text h2 {
    font-family: var(--font-primary);
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-dark);
}

.lead {
    font-size: 18px;
    color: var(--color-green);
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-text p {
    color: var(--color-gray);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--color-green);
    font-family: var(--font-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--color-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
}

.btn-primary:hover {
    background: #007a4a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 96, 0.4);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: linear-gradient(135deg, var(--color-dark) 0%, #000 100%);
    color: var(--color-white);
    padding: 60px 20px 20px;
}

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

.footer-col h3 {
    font-family: var(--font-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-yellow);
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--color-green);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-yellow);
    padding-left: 5px;
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact i {
    color: var(--color-yellow);
    width: 20px;
    flex-shrink: 0;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: var(--color-white);
    font-size: 14px;
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--color-yellow);
    color: var(--color-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--color-green);
    color: var(--color-white);
    transform: scale(1.1);
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.footer-bottom-links a:hover {
    color: var(--color-yellow);
}

/* ===================================
   BACK TO TOP
   =================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--color-green);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 15px rgba(0, 158, 96, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-yellow);
    color: var(--color-dark);
    transform: translateY(-5px);
}

/* ===================================
   LOADING STATE
   =================================== */
.loading {
    text-align: center;
    padding: 60px 20px;
    color: var(--color-gray);
}

.loading i {
    font-size: 48px;
    margin-bottom: 15px;
    color: var(--color-green);
}

.loading p {
    font-size: 16px;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 992px) {
    .nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 36px;
    }

    .section-title {
        font-size: 28px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

@media (max-width: 768px) {
    .header-content {
        gap: 15px;
    }

    .btn-live span {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 60px 20px 40px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .news-grid,
    .podcasts-grid {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 60px 20px;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .program-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 22px;
    }

    .hero-title {
        font-size: 24px;
    }

    .live-player {
        padding: 15px;
    }

    .player-controls {
        flex-direction: column;
        gap: 15px;
    }

    .volume-control {
        width: 100%;
        max-width: none;
    }
}
