/* =========================================================
   WGEN-X RADIO - CLEAN MASTER STYLESHEET
   ========================================================= */

/* ---------------- Base / Reset ---------------- */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #fff;
    margin: 0;
    padding: 0;
    background-color: #000;
    background-image: url('../images/gun-metal.png');
    background-repeat: repeat;
    background-size: cover;
}

/* generic iframe look */
iframe {
    display: block;
    width: 100%;
    border: none;
    box-shadow: 0 0 5px red;
}

/* links default */
a {
    color: inherit;
}

/* =========================================================
   HERO BANNERS
   ========================================================= */

/* Home hero */
.hero-banner {
    background: url('../images/genxbanner.png') no-repeat center center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Shows hero */
.hero-banner-show {
    background: url('../images/showbanner.png') no-repeat center center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Podcasts hero */
.hero-banner-podcast {
    background: url('../images/podbanner.png') no-repeat center center;
    background-size: cover;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hero overlays */
.hero-overlay,
.hero-overlay-show {
    background-color: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 20px;
    border-radius: 5px;
}

.hero-overlay h1 {
    font-size: 3em;
    margin: 0;
    color: red;
}

.hero-overlay p {
    font-size: 1.5em;
    margin: 0;
}

/* =========================================================
   HEADER / NAV / PLAYER  (header.php)
   ========================================================= */

.sticky-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 10px 30px;
    background-color: #111;
    border-bottom: 5px solid red;
    box-shadow: 0 0 10px red;
}

.logo img {
    height: 60px;
    width: auto;
    display: block;
}

/* main menu centered */
.main-menu {
    flex: 1;
}

.main-menu ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 0;
    margin: 0;
}

.main-menu li {
    margin: 0;
}

.main-menu a {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9em;
    letter-spacing: 1px;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s, text-shadow 0.2s;
}

.main-menu a:hover,
.main-menu a:focus {
    color: red;
    border-bottom-color: red;
    text-shadow: 0 0 8px red;
}

/* play live button area */
.player-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.play-button {
    background-color: red;
    color: #fff;
    border: none;
    padding: 8px 16px;
    font-size: 0.9em;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 6px red;
    transition: background-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.play-button:hover {
    background-color: #ff4444;
    box-shadow: 0 0 10px red;
    transform: scale(1.05);
}

/* Mobile header behavior */
@media (max-width: 768px) {
    .sticky-header {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        text-align: center;
    }

    .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
}

/* =========================================================
   HOMEPAGE MAIN CONTENT (index.php)
   Recently Played + Station Updates
   ========================================================= */

.main-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 0 20px;
}

/* Expect index.php to wrap includes in these: */
.left-column,
.right-column {
    flex: 0 0 calc(50% - 10px);
    background-color: rgba(17, 17, 17, 0.95);
    padding: 15px;
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: #ffffff;
}

.left-column h2,
.right-column h2 {
    color: red;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
    margin: 0 0 10px;
}

/* stack on mobile */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }

    .left-column,
    .right-column {
        flex: 1 1 100%;
    }
}

/* =========================================================
   SHOUTOUTS (includes/shoutouts.php)
   ========================================================= */

.shoutouts-flex {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    gap: 20px;
    padding: 20px;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: #ffffff;
}

.shoutouts-column {
    flex: 0 0 65%;
}

.ad-column,
.img-column {
    flex: 0 0 25%;
}

.shoutouts-flex h2 {
    color: red;
    margin: 0 0 10px;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
}

/* mobile */
@media (max-width: 768px) {
    .shoutouts-flex {
        flex-direction: column;
    }
    .shoutouts-column,
    .ad-column,
    .img-column {
        flex: 1 1 75%;
    }
}

/* =========================================================
   FORMS
   ========================================================= */

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 10px;
}

form input,
form textarea {
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    border: none;
    background-color: #222;
    color: #fff;
}

form button {
    margin-top: 15px;
    padding: 10px;
    background-color: red;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
}

form button:hover {
    background-color: #ff4444;
    box-shadow: 0 0 10px red;
}

/* =========================================================
   FOOTER
   ========================================================= */

footer {
    background-color: #111;
    text-align: center;
    padding: 15px;
    font-size: 0.9em;
    color: #777;
    border-top: 5px solid red;
}

/* =========================================================
   EVENT SCHEDULE (includes/event-schedule.php)
   ========================================================= */

.event-schedule-section {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: white;
}

.event-schedule-section h2 {
    color: red;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
    margin: 0 0 10px;
}

.event-schedule-table {
    width: 100%;
    border-collapse: collapse;
}

.event-schedule-table th,
.event-schedule-table td {
    border: 1px solid #333;
    padding: 10px;
    text-align: left;
}

.event-schedule-table th {
    background-color: #222;
    color: red;
}

.event-schedule-table tr:nth-child(even) {
    background-color: #1a1a1a;
}

.event-schedule-table tr:nth-child(odd) {
    background-color: #111;
}

/* =========================================================
   SPONSORS STRIP (includes/sponsors.php)
   ========================================================= */

.sponsors-strip {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: white;
    text-align: center;
}

.sponsors-strip h2 {
    color: red;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
    margin: 0 0 15px;
}

.sponsors-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.sponsors-logos img {
    max-width: 200px;
    height: auto;
    transition: transform 0.3s;
}

.sponsors-logos img:hover {
    transform: scale(1.05);
}

/* =========================================================
   SHOWS STRIP / DJ BLOCKS (includes/show-schedule.php)
   ========================================================= */

.show-strip {
    padding: 20px;
    max-width: 1200px;
    margin: 20px auto;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: white;
    text-align: center;
}

.show-strip h2 {
    color: red;
    margin: 0 0 10px;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
}

.show-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 10px 0;
}

.dj-block {
    background-color: #111;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 0 5px red;
    flex: 0 0 220px;
    max-width: 220px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.3s;
}

.dj-block:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px red;
}

.dj-block img {
    width: 100%;
    height: auto;
    max-width: 220px;
    border-radius: 5px;
    object-fit: cover;
    margin: 0 auto 10px;
}

.dj-block h3 {
    color: red;
    margin: 0 0 5px;
}

/* =========================================================
   TV GUIDE SCHEDULE (includes/tv-guide-schedule.php)
   ========================================================= */

.tv-guide-schedule {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 5px;
    box-shadow: 0 0 10px red;
    color: white;
}

.tv-guide-schedule h2 {
    color: red;
    border-bottom: 2px solid red;
    padding-bottom: 5px;
    margin: 0 0 15px;
    text-align: center;
}

.guide-wrapper {
    overflow-x: auto;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    min-width: 800px;
}

.time-block {
    background-color: #111;
    color: white;
    padding: 20px;
    border-radius: 5px;
    border: 1px solid red;
    box-shadow: 0 0 5px red;
    font-size: 0.95em;
    min-width: 130px;
}

.time-block strong {
    color: red;
    display: block;
    margin: 5px 0;
}

/* future slots */
.time-block.future {
    background-color: #222;
    border-style: dashed;
    opacity: 0.7;
    font-style: italic;
}

/* on-air highlight (your JS should add .highlight-current) */
.highlight-current {
    background-color: red !important;
    color: black !important;
    font-weight: bold;
    box-shadow: 0 0 10px red;
    border: 2px solid white;
}

/* small ON AIR pill if used */
.on-air-label {
    display: inline-block;
    background-color: white;
    color: red;
    font-size: 0.75em;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 3px;
    margin-bottom: 8px;
    box-shadow: 0 0 5px white;
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(6, minmax(130px, 1fr));
        font-size: 0.8em;
    }
    .time-block {
        padding: 15px;
    }
}

/* =========================================================
   HOMEPAGE PODCAST PANEL (includes/podcasts.php)
   ========================================================= */

.podcasts-block {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    gap: 20px;
    background-color: rgba(17, 17, 17, 0.96);
    border-radius: 5px;
    border: 1px solid red;
    box-shadow: 0 0 10px red;
    color: #ffffff;
}

/* left playlist */
.podcasts-block .podcast-playlist {
    flex: 0 0 35%;
}

/* right detail */
.podcasts-block .podcast-detail {
    flex: 1;
    background-color: #050505;
    border-radius: 4px;
    border: 1px solid #333;
    padding: 10px;
}

/* homepage podcast episodes (scoped) */
.podcasts-block .podcast-episode {
    background-color: #111;
    padding: 6px 8px;
    margin-bottom: 4px;
    border-radius: 3px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.podcasts-block .podcast-episode:hover {
    background-color: #181818;
    box-shadow: 0 0 4px #ff0044;
}

.podcasts-block .podcast-episode.is-active {
    border-color: #ff0044;
    box-shadow: 0 0 6px #ff0044;
}

/* =========================================================
   FULL PODCAST PAGE (includes/podcast-page.php)
   ========================================================= */

.podcasts-page {
    max-width: 1200px;
    margin: 30px auto 50px;
    padding: 25px;
    background-color: rgba(17, 17, 17, 0.95);
    border-radius: 8px;
    border: 1px solid red;
    box-shadow: 0 0 15px red;
    color: #ffffff;
}

.podcasts-page-title {
    font-size: 2em;
    margin: 0 0 5px;
    color: red;
    text-shadow: 0 0 8px red;
}

.podcasts-page-subtitle {
    margin: 0 0 20px;
    font-size: 0.95em;
    color: #cccccc;
}

/* layout: shows list left, detail right */
.podcasts-page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

/* left side: shows */
.podcasts-shows-list {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* show card */
.podcast-show {
    background-color: rgba(10, 10, 10, 0.98);
    border-radius: 5px;
    padding: 10px;
    border: 1px solid #550000;
    box-shadow: 0 0 8px #550000;
}

.podcast-show-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.podcast-show-thumb {
    width: 56px;
    height: 56px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 6px red;
}

.podcast-show-text h2 {
    font-size: 1.1em;
    margin: 0 0 2px;
    color: red;
}

.podcast-show-text p {
    margin: 0;
    font-size: 0.8em;
    color: #bbbbbb;
}

/* episode list inside show */
.podcast-episode-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* scoped so it doesn't mess with homepage */
.podcasts-page .podcast-episode {
    padding: 6px 8px;
    margin-bottom: 4px;
    font-size: 0.8em;
    border-radius: 3px;
    background-color: #111;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background-color 0.15s, box-shadow 0.15s, border-color 0.15s;
}

.podcasts-page .podcast-episode:hover {
    background-color: #181818;
    box-shadow: 0 0 4px #ff0044;
}

.podcasts-page .podcast-episode.is-active {
    border-color: #ff0044;
    box-shadow: 0 0 6px #ff0044;
}

/* right side: shared detail/player */
.podcasts-page .podcast-detail {
    flex: 1;
    padding: 15px;
    background-color: #050505;
    border-radius: 5px;
    border: 1px solid #333;
    box-shadow: 0 0 10px #000;
    min-height: 240px;
}

.podcast-detail-title {
    margin: 0 0 6px;
    font-size: 1.3em;
    color: #ff4444;
}

.podcast-detail-subtitle {
    margin: 0 0 10px;
    font-size: 0.9em;
    color: #dddddd;
}

/* guest info block */
.podcast-guest {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 5px 0 12px;
}

.podcast-guest-thumb {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
    box-shadow: 0 0 6px red;
}

.podcast-guest-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.podcast-guest-name {
    font-size: 0.85em;
    color: #ffffff;
}

.podcast-guest-link {
    font-size: 0.8em;
    color: #ff4444;
    text-decoration: none;
}

.podcast-guest-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* players */
.podcast-audio {
    width: 100%;
    margin-top: 8px;
}

.podcast-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin-top: 8px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 0 8px #ff0044;
}

.podcast-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.podcast-no-media {
    font-size: 0.85em;
    color: #aaaaaa;
}

/* responsive podcast page */
@media (max-width: 900px) {
    .podcasts-page-layout {
        flex-direction: column;
    }

    .podcasts-shows-list,
    .podcasts-page .podcast-detail {
        flex: 1 1 100%;
    }
}
