/* Radio Page Specific Styles */

/* Radio Hero Section */
.radio-hero {
    background: linear-gradient(rgba(46, 59, 78, 0.9), rgba(46, 59, 78, 0.9)), url('../images/radiobg.jpg') center/cover no-repeat;
    padding: 150px 0 80px;
    color: white;
    text-align: center;
}

.radio-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.radio-logo {
    margin-bottom: 30px;
}

.radio-logo img {
    max-width: 150px;
    margin: 0 auto;
}

.radio-hero h1 {
    font-size: 42px;
    color: white;
    margin-bottom: 15px;
}

.radio-hero h1 span {
    color: var(--accent-color);
}

.radio-hero p {
    font-size: 18px;
    margin-bottom: 40px;
}

/* Large Radio Player */
.radio-player-large {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 40px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.player-controls-large {
    display: flex;
    align-items: center;
    gap: 30px;
}

.play-button-large {
    background-color: var(--accent-color);
    color: var(--dark-color);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    flex-shrink: 0;
}

.play-button-large:hover {
    transform: scale(1.1);
}

.player-info-large {
    flex: 1;
    text-align: left;
}

.now-playing {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.now-playing span {
    font-size: 12px;
    letter-spacing: 2px;
    margin-right: 10px;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    height: 15px;
}

.equalizer span {
    display: inline-block;
    width: 3px;
    background-color: var(--accent-color);
    margin: 0 2px;
    animation: equalize 1s infinite;
}

.equalizer span:nth-child(1) {
    height: 8px;
    animation-delay: 0.1s;
}

.equalizer span:nth-child(2) {
    height: 15px;
    animation-delay: 0.3s;
}

.equalizer span:nth-child(3) {
    height: 10px;
    animation-delay: 0.5s;
}

.equalizer span:nth-child(4) {
    height: 12px;
    animation-delay: 0.7s;
}

@keyframes equalize {
    0%, 100% {
        transform: scaleY(0.8);
    }
    50% {
        transform: scaleY(1.2);
    }
}

.player-info-large h3 {
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

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

.player-volume i {
    color: var(--accent-color);
}

.volume-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 5px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.3);
    outline: none;
}

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

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

/* Program Schedule Section */
.program-schedule {
    padding: 80px 0;
}

.schedule-tabs {
    margin-top: 50px;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.tab-button {
    padding: 10px 20px;
    background-color: #f5f5f5;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.tab-button:hover {
    background-color: #e0e0e0;
}

.tab-button.active {
    background-color: var(--primary-color);
    color: white;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.program-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    padding: 0;
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.program-time {
    background-color: var(--primary-color);
    color: white;
    padding: 10px 20px;
    font-weight: 500;
}

.program-card h3 {
    padding: 20px 20px 10px;
    font-size: 18px;
}

.program-card p {
    padding: 0 20px 20px;
    font-size: 14px;
    color: #666;
}

.btn-program-details {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500;
    display: block;
    width: 100%;
    text-align: center;
    border-top: 1px solid #eee;
    transition: var(--transition);
}

.btn-program-details:hover {
    background-color: rgba(58, 139, 187, 0.1);
}

/* Program Modal */
.program-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.7);
    animation: fadeIn 0.3s;
}

.program-modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 30px;
    border-radius: var(--border-radius);
    max-width: 700px;
    position: relative;
    animation: slideIn 0.3s;
}

@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--dark-color);
}

.program-modal-body h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.program-modal-body p {
    margin-bottom: 20px;
}

.program-modal-body ul {
    padding-left: 20px;
    margin-bottom: 20px;
}

.program-modal-body ul li {
    margin-bottom: 10px;
}

/* Radio Hosts Section */
.radio-hosts {
    background-color: #f9f9f9;
    padding: 80px 0;
}

.hosts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

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

.host-card:hover {
    transform: translateY(-5px);
}

.host-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.host-info {
    padding: 20px;
    text-align: center;
}

.host-info h3 {
    margin-bottom: 5px;
}

.host-title {
    color: var(--primary-color);
    font-weight: 500;
    margin-bottom: 15px;
}

.host-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.host-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #f5f5f5;
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.host-social a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

/* Church Features Section */
.church-features {
    padding: 80px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)), url('../images/pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-header.text-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.divider {
    height: 3px;
    width: 80px;
    background-color: var(--accent-color);
    margin: 0 auto 20px;
}

.section-header p {
    font-size: 18px;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
}

.features-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-top: 40px;
}

.features-info {
    flex: 1;
}

.features-info h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.features-info > p {
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.8;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background-color: white;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-item i {
    font-size: 28px;
    color: var(--accent-color);
    background-color: rgba(245, 197, 66, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.1);
    background-color: var(--accent-color);
    color: white;
}

.feature-text {
    flex: 1;
}

.feature-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: var(--text-color);
}

.features-image {
    flex: 1;
    position: relative;
}

.features-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.5s ease;
}

.features-image:hover img {
    transform: scale(1.03);
}

/* Responsive Styles */
@media screen and (max-width: 992px) {
    .radio-hero h1 {
        font-size: 36px;
    }
    
    .features-content {
        flex-direction: column;
    }
    
    .features-image {
        order: -1;
        margin-bottom: 40px;
    }
    
    .features-image img {
        max-width: 500px;
        margin: 0 auto;
        display: block;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-item i {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

@media screen and (max-width: 768px) {
    .player-controls-large {
        flex-direction: column;
        text-align: center;
    }
    
    .player-info-large {
        text-align: center;
    }
    
    .now-playing {
        justify-content: center;
    }
    
    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 10px;
        justify-content: flex-start;
    }
    
    .tab-button {
        flex: 0 0 auto;
    }
    
    .hosts-grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .radio-hero {
        padding: 120px 0 60px;
    }
    
    .radio-hero h1 {
        font-size: 28px;
    }
    
    .church-features {
        padding: 60px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    .features-info h2 {
        font-size: 24px;
    }
    
    .features-list {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
        gap: 15px;
    }
    
    .feature-item i {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
    
    .feature-text h3 {
        font-size: 18px;
    }
    
    .feature-text p {
        font-size: 14px;
    }
}
