:root {
    --col-dark-navy: #0E2C40;
    --col-deep-teal: #1A4A5A;
    --col-teal:      #148D8D;
    --col-pale:      #C1E1A7;
    --col-gold:      #EFBC75;
    --white: #ffffff;
    --text-color: #333333;
    --bg-light: #f4f8f4;
    --container-width: 1200px;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 90px; 
}

#dynamic-content {
    flex: 1;
    transition: opacity 0.3s ease-in-out;
    opacity: 1;
}

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

header {
    background: var(--col-dark-navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(14, 44, 64, 0.4);
    border-bottom: 2px solid var(--col-teal);
}

.header-content { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 60px; vertical-align: middle; }

nav ul { list-style: none; display: flex; gap: 20px; }
nav a {
    color: var(--white); text-decoration: none; font-weight: 700; text-transform: uppercase;
    font-size: 0.9rem; transition: color 0.3s, border-bottom 0.3s; padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}
nav a:hover, nav a.active { color: var(--col-gold); border-bottom: 2px solid var(--col-gold); }
.mobile-menu-icon { display: none; color: white; font-size: 24px; cursor: pointer; }

.hero {
    background: linear-gradient(135deg, var(--col-dark-navy) 0%, var(--col-deep-teal) 60%, var(--col-teal) 100%);
    height: 80vh; display: flex; align-items: center; justify-content: center; text-align: center; color: white;
}
.hero h1 { 
    font-size: 4rem; font-weight: 900; margin-bottom: 10px;
    background: -webkit-linear-gradient(var(--col-gold), #fff); -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; background-clip: text; color: transparent;
}
.hero h2 { font-weight: 400; color: var(--col-pale); margin-bottom: 15px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.9; color: #fff; }

.page-header { background: var(--col-deep-teal); color: white; padding: 60px 0; text-align: center; margin-bottom: 40px; }
.page-header h1 { font-size: 2.5rem; color: var(--col-gold); }

.btn-primary {
    display: inline-block; padding: 15px 35px; background: var(--col-gold); border: none; border-radius: 50px; margin-top: 10px;
    color: var(--col-dark-navy); font-weight: 900; cursor: pointer; font-size: 1.1rem;
    transition: all 0.3s ease; box-shadow: 0 4px 15px rgba(239, 188, 117, 0.4); text-decoration: none;
}
.btn-primary:hover { transform: translateY(-3px); background: #fff; box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4); }

.schedule-table {
    width: 100%; border-collapse: collapse; background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 10px; overflow: hidden; margin-bottom: 40px;
}
.schedule-table th, .schedule-table td { padding: 15px 20px; text-align: left; border-bottom: 1px solid #eee; }
.schedule-table th { background-color: var(--col-dark-navy); color: var(--col-gold); text-transform: uppercase; font-size: 0.9rem; }
.schedule-time { font-weight: bold; color: var(--col-teal); width: 15%; white-space: nowrap; }

.podcast-grid { display: grid; grid-template-columns: repeat(minmax(300px, 1fr)); gap: 30px; padding-bottom: 40px; }
.podcast-card { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s, border-color 0.3s; border: 1px solid #eee; padding: 20px; }
.podcast-card:hover { transform: translateY(-5px); border-color: var(--col-gold); }
.podcast-content { padding: 20px; }
.podcast-cat { color: var(--col-teal); font-size: 0.8rem; font-weight: bold; text-transform: uppercase; display: block; margin-bottom: 5px; }

.contact-form { max-width: 600px; margin: 50px auto; padding: 30px; background: white; border: 2px solid var(--col-pale); border-radius: 15px; box-shadow: 0 10px 30px rgba(14, 44, 64, 0.1); }
.contact-form form { display: flex; flex-direction: column; }
.form-group { margin-bottom: 20px; }
.form-group input, .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 8px; font-family: inherit; transition: border 0.3s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--col-teal); box-shadow: 0 0 8px rgba(20, 141, 141, 0.2); }

.sticky-player {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: rgba(26, 74, 90, 0.98);
    backdrop-filter: blur(10px);
    border-top: 4px solid var(--col-gold);
    color: white;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.player-grid { display: flex; justify-content: space-between; align-items: center; }
#program-name { color: var(--col-pale); font-weight: bold; margin-bottom: 2px; display: block; }

.marquee-container { width: 200px; overflow: hidden; white-space: nowrap; }
#song-title {
    display: inline-block; padding-left: 100%;
    animation: scrollText 15s linear infinite; color: var(--white); font-size: 0.9rem;
}
@keyframes scrollText {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.controls { display: flex; align-items: center; gap: 15px; }
.controls button {
    background: none; border: 2px solid var(--col-gold); color: var(--col-gold); width: 50px; height: 50px;
    border-radius: 50%; cursor: pointer; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.controls button:hover { background: var(--col-gold); color: var(--col-dark-navy); }
#volume-slider { width: 100px; accent-color: var(--col-gold); }

footer { background: var(--col-dark-navy); color: var(--col-pale); padding: 40px 0; text-align: center; margin-top: auto; width: 100%; }
footer .socials { margin-top: 15px; }
footer .socials a { color: var(--white); font-size: 1.5rem; margin: 0 10px; transition: color 0.3s; }
footer .socials a:hover { color: var(--col-teal); }

.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.news-card {
    background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-decoration: none; color: inherit; transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; flex-direction: column; border: 1px solid #eee;
}
.news-card:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(20, 141, 141, 0.2); border-color: var(--col-gold); }
.news-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid var(--col-teal); }
.news-content { padding: 20px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.news-content h4 { font-size: 1.1rem; color: var(--col-dark-navy); margin-bottom: 15px; line-height: 1.4; }
.news-source { font-size: 0.85rem; color: var(--col-teal); font-weight: 800; text-transform: uppercase; }

@media (max-width: 768px) {
    body { padding-bottom: 110px; }
    .sticky-player { height: 110px; }
    nav ul { display: none; flex-direction: column; background: var(--col-deep-teal); position: absolute; top: 100%; left: 0; width: 100%; padding: 20px; text-align: center; }
    nav ul.show { display: flex; }
    .mobile-menu-icon { display: block; }
    .hero h1 { font-size: 2.5rem; }
    
    .schedule-table tr { 
        margin-bottom: 15px; 
        border-bottom: 1px solid #eee !important; 
        padding-bottom: 10px; 
    }
    .schedule-table td { 
        border-bottom: none !important; 
    }
    .schedule-time { 
        white-space: normal; 
        width: auto; 
        margin-bottom: 5px; 
        display: flex !important;
        justify-content: center;  
        align-items: center;   
        text-align: center;
    }
    
    .contact-form .btn-group { display: flex; gap: 10px; width: 100%; }
    .contact-form .btn-group .btn-primary, .contact-form .btn-group button.btn-primary { flex: 1; text-align: center; font-size: 0.85rem; padding: 12px 5px; margin: 0; }
    .form-group input, 
    .form-group textarea {
        font-size: 16px !important;
    }
}