@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap');

/* Premium VIP theme styles */

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1E1C2A;
    color: #e0e0e0;
}

a {
    color: #FEE715;
    text-decoration: none;
}

a:hover {
    color: #ffd700;
    text-decoration: none;
}

/* Override default site colors for dark theme */
[class^="site-bg-"],
[class^="site-color-"],
[class*=" site-color-"] {
    background-color: #272343 !important;
    color: #e0e0e0;
}

[class^="site-copyright-"],
[class^="site-pagination-"] .page-item.active .page-link {
    background-color: #272343 !important;
    color: #FEE715 !important;
}

/* Navbar premium styling */
.navbar-premium {
    background-color: #272343;
    border-bottom: 3px solid #FEE715;
}

.navbar-premium .navbar-brand {
    font-weight: 700;
    color: #FEE715;
}

.navbar-premium .navbar-brand:hover,
.navbar-premium .navbar-brand:focus {
    color: #ffd700;
}

.navbar-premium .nav-link {
    color: #e0e0e0;
    margin-left: 1rem;
    font-weight: 500;
}

.navbar-premium .nav-link:hover,
.navbar-premium .nav-link:focus {
    color: #FEE715;
}

/* Premium buttons */
.btn-premium {
    background-color: #FEE715;
    color: #272343;
    border: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn-premium:hover,
.btn-premium:focus {
    background-color: #ffd700;
    color: #272343;
}

/* Hero carousel styles */
.hero-carousel .carousel-item {
    height: 400px;
    overflow: hidden;
    position: relative;
}

.hero-carousel .carousel-item img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    filter: brightness(60%);
}

.hero-carousel .carousel-caption {
    bottom: 20%;
    text-align: center;
}

.hero-carousel .carousel-caption h5 {
    font-size: 2rem;
    font-weight: 700;
    color: #FEE715;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-carousel .carousel-caption p {
    font-size: 1rem;
    color: #e0e0e0;
}

/* Section titles */
.section-title {
    color: #FEE715;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Premium card styles for stations and genres */
.premium-card {
    background-color: #292E43;
    border-radius: 0.5rem;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.premium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.premium-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #272343;
}

.premium-card .card-body {
    padding: 1rem;
}

.premium-card .card-title {
    font-size: 1rem;
    color: #FEE715;
    font-weight: 600;
    margin: 0;
}

/* Player premium styles */
.player-premium {
    background-color: #272343;
    border-radius: 0.5rem;
    padding: 1rem;
    color: #e0e0e0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.player-premium .station-name h1 {
    color: #FEE715;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.player-premium .jp-controls button,
.player-premium .m3-play,
.player-premium .m3-pause,
.player-premium .jp-play,
.player-premium .jp-pause {
    background-color: #FEE715;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    transition: background-color 0.3s ease;
}

.player-premium .jp-controls button svg,
.player-premium .m3-play svg,
.player-premium .m3-pause svg,
.player-premium .jp-play svg,
.player-premium .jp-pause svg {
    fill: #272343;
    width: 20px;
    height: 20px;
}

.player-premium .jp-controls button:hover,
.player-premium .m3-play:hover,
.player-premium .m3-pause:hover,
.player-premium .jp-play:hover,
.player-premium .jp-pause:hover {
    background-color: #ffd700;
}

.player-premium .mute-box a {
    color: #FEE715;
}

.player-premium .rate_station small {
    color: #e0e0e0;
}

.rate_station .up-button,
.rate_station .down-button {
    background-color: #272343;
    border: 2px solid #FEE715;
    color: #FEE715;
    border-radius: 0.5rem;
    display: inline-block;
    padding: 0.4rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.rate_station .up-button:hover,
.rate_station .down-button:hover {
    background-color: #FEE715;
    color: #272343;
}

/* Override search form and button */
.search-form {
    background-color: #272343;
    color: #e0e0e0;
    border: 1px solid #292E43;
}

.search-form::placeholder {
    color: #a4a4a4;
}

.search-btn,
.btn-primary {
    background-color: #FEE715 !important;
    border-color: #FEE715 !important;
    color: #272343 !important;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.search-btn:hover,
.btn-primary:hover {
    background-color: #ffd700 !important;
    border-color: #ffd700 !important;
    color: #272343 !important;
}

/* Footer premium styling */
.footer-premium {
    background-color: #272343;
    color: #e0e0e0;
    padding-top: 40px;
}

.footer-premium .section-head {
    color: #FEE715;
    font-weight: 600;
}

.footer-premium a {
    color: #FEE715;
}

.footer-premium a:hover {
    color: #ffd700;
}

.footer-premium .footer-logo {
    height: 40px;
}

/* Cookie alert styling */
.cookiealert {
    background-color: #272343;
    color: #e0e0e0;
    border: none;
}

.cookiealert .btn,
.cookiealert .acceptcookies {
    background-color: #FEE715;
    color: #272343;
    border: none;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
}

.cookiealert .btn:hover,
.cookiealert .acceptcookies:hover {
    background-color: #ffd700;
    color: #272343;
}

/* Adjust navbar toggler icon for dark navbar */
.navbar-toggler-icon {
    filter: invert(100%);
}

/* Smooth transitions */
.transition-all {
    transition: all 0.4s ease;
}

/* Sidebar filter and genre list colours */
.filter-title,
.letter {
    color: #FEE715;
    font-weight: 600;
}

.genre-list a {
    color: #e0e0e0;
    display: block;
    margin-bottom: 3px;
    font-size: 0.875rem;
}

.genre-list a:hover {
    color: #FEE715;
}

.alert-no-record {
    background-color: #272343;
    color: #e0e0e0;
    border-color: #292E43;
    font-size: 14px;
}

/* Genre image text */
.genre-image {
    font-weight: 600;
    color: #FEE715;
    text-align: center;
}

/* Override default white backgrounds to dark for premium theme */
.bg-white {
    background-color: #292E43 !important;
    color: #e0e0e0 !important;
}

/* Panels and details containers */
.radio-details,
.page-details,
.user-reviews {
    background-color: #292E43;
    color: #e0e0e0;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}
/*
 * Additional overrides for dark theme readability
 *
 * Some elements in the original templates still rely on Bootstrap
 * utility classes such as text‑dark, text‑secondary or text‑muted.
 * These colours are too dark against the new dark backgrounds and
 * reduce legibility. To maintain good contrast, override them to
 * inherit the light text colour used throughout the VIP theme. You
 * can further customise the colours here if necessary.
 */

/* Generic text colour overrides */
.text-dark,
.text-body,
.text-secondary,
.text-muted,
.navbar .text-dark,
h1.text-dark,
h2.text-dark,
h3.text-dark,
h4.text-dark,
h5.text-dark,
h6.text-dark,
small.text-dark {
    color: #e0e0e0 !important;
}

/* Specific fix for section titles that combine .section-title and .text-dark */
.section-title.text-dark {
    color: #FEE715 !important;
}

/* Ensure default badges and labels contrast on dark backgrounds */
.badge-light,
.badge-secondary {
    background-color: #292E43 !important;
    color: #e0e0e0 !important;
}

/* Pagination links in the public site */
.pagination .page-link {
    background-color: #292E43 !important;
    border-color: #292E43 !important;
    color: #e0e0e0 !important;
}

.pagination .page-link:hover {
    background-color: #2e3350 !important;
    color: #FEE715 !important;
}

.pagination .page-item.active .page-link {
    background-color: #FEE715 !important;
    border-color: #FEE715 !important;
    color: #272343 !important;
}
