/* Color Variables */
:root {
    --primary-color: #1F4E6E;    /* Blue */
    --secondary-color: #008080;   /* Teal */
    --accent-color: #C69214;      /* Gold */
    --highlight-color: #FFA500;   /* Orange */
    --dark-color: #000000;        /* Black */
    --light-color: #ffffff;
    --gray-color: #f8f9fa;
}

/* Global Styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

/* Header and Navigation */
.navbar {
    background-color: var(--primary-color) !important;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--light-color);
    font-weight: 500;
    padding: 0.8rem 1.2rem;
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

/* Buttons and Links */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-accent {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--light-color);
}

/* Cards and Content */
.card {
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

/* Radio Player Styles */
.radio-player {
    background: var(--light-color);
    border: 2px solid var(--accent-color);
    border-radius: 8px;
    padding: 2rem;
}

.now-playing {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 1rem;
    border-radius: 6px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar-nav {
        padding: 1rem 0;
    }
    .card {
        margin-bottom: 1.5rem;
    }
}

/* footer */

.site-footer {
    background: #222;
    color: #fff;
    font-size: 16px;
}

.site-footer h5 {
    margin-bottom: 15px;
    text-transform: uppercase;
}

.site-footer a {
    color: #bbb;
    transition: color 0.3s ease-in-out;
}

.site-footer a:hover {
    color: #fff;
}

.social-icon {
    color: #bbb;
    font-size: 24px;
    transition: color 0.3s ease-in-out, transform 0.3s;
}

.social-icon:hover {
    color: #fff;
    transform: scale(1.1);
}

hr {
    opacity: 0.2;
}

/* news ticke */
.news-ticker {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    background-color: #000000; /* Dark background */
    padding: 10px 0;
    margin: 0;
}

.news-ticker .news-container {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 110s linear infinite;
}

.news-ticker .news-item {
    display: inline-block;
    margin-right: 50px;
    padding: 5px 15px;
    font-weight:bold;/* Make text bold  */
    color:whitesmoke; /* Brighter yellow text */
    text-decoration: none; /* Remove underline */
    transition: background 0.3s ease, color 0.3s ease;
}

.news-ticker .news-item:hover {
    background: rgba(255, 255, 255, 0.3); /* Slightly brighter background on hover */
    color: #ff6600; /* Orange color on hover */
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}


/* trending carousel */
.w-40 {
    width: 40%;
    min-width: 120px;
}

.w-60 {
    width: 60%;
}

.carousel-item a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 15px;
    background: white;
    border-radius: 8px;
    transition: background 0.3s ease-in-out;
}

.carousel-item a:hover {
    background: #f8f9fa; /* Light hover effect */
}

/* categories */
.category-card {
    border-radius: 10px;
    min-height: 120px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    background-color: var(--light-color);
}

/* Category Image Styling */
.category-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid var(--highlight-color);
}

/* "Show More" Link */
.show-more-link {
    font-size: 13px;
    text-decoration: none;
    color: var(--highlight-color);
    transition: color 0.3s;
}

.show-more-link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/*  floating radio */
.floating-radio {
    position: fixed;
    bottom: 20px;
    right: 20px;       
    padding: 10px 15px;
    border-radius: 90px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    z-index: 1000;
}

.floating-radio button {
    font-size: 14px;
    font-weight: bold;
    border-radius: 90px;
    transition: background 0.3s ease-in-out;
}

.floating-radio button:hover {
    background: #C69214; /* Gold Accent */
}


/* Comments Section Styles */
.comments-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.comment {
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: box-shadow 0.2s ease;
}

.comment:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.reply {
    border-left: 3px solid #007bff;
    background-color: #f8f9fa;
}

.reply-form {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 6px;
    border: 1px solid #dee2e6;
}

/* Avatar styles */
.avatar-sm {
    width: 32px;
    height: 32px;
}

.avatar-md {
    width: 40px;
    height: 40px;
}

.avatar-lg {
    width: 50px;
    height: 50px;
}

/* User link styles */
.user-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.user-link:hover {
    color: #007bff;
}