@charset "UTF-8";

/* --- CONFIGURACIÓN BASE Y RESETEO --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
    background-color: #f5f7fa;
    color: #2c3e50;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: #1a365d;
    margin-bottom: 40px;
}

/* --- ENCABEZADO / NAVEGACIÓN --- */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}

.site-logo {
    height: 55px;
    width: auto;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo-text h1 {
    font-size: 1.4rem;
    color: #1a365d;
    line-height: 1.2;
}

.logo-text span {
    font-size: 0.85rem;
    color: #3182ce;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}

.main-nav a {
    text-decoration: none;
    color: #4a5568;
    font-weight: 600;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #3182ce;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.fb-link {
    color: #1877f2;
    font-weight: bold;
    text-decoration: none;
    font-size: 0.9rem;
}

.fb-link:hover {
    text-decoration: underline;
}

.lang-switch {
    background: #edf2f7;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: bold;
    color: #a0aec0;
}

.lang-switch a {
    text-decoration: none;
    color: #718096;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-switch a.active, .lang-switch a:hover {
    color: #ffffff;
    background: #3182ce;
}

/* --- REPRODUCTOR PRINCIPAL DE LA RADIO --- */
.player-hero {
    background: linear-gradient(135deg, #1a365d 0%, #2a4365 100%);
    color: #ffffff;
    padding: 80px 20px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 50px;
}

.hero-info {
    flex: 1;
}

.live-badge {
    background-color: #e53e3e;
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.8rem;
    display: inline-block;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

.hero-info h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-info p {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 30px;
}

.audio-player-box {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.now-playing {
    font-size: 0.95rem;
    margin-bottom: 12px;
    color: #cbd5e0;
}

.custom-audio {
    width: 100%;
    margin-top: 5px;
}

.btn-facebook-hero {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    background-color: #1877f2;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 0.95rem;
    transition: background 0.3s ease;
}

.btn-facebook-hero:hover {
    background-color: #166fe5;
}

.hero-image-side {
    flex: 1;
    text-align: center;
}

.hero-image-side img {
    max-width: 85%;
    height: 320px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

/* --- PROGRAMACIÓN DE LA RADIO --- */
.grid-programas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.prog-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
    border-top: 4px solid #3182ce;
    transition: transform 0.3s ease;
}

.prog-card:hover {
    transform: translateY(-4px);
}

.time-tag {
    background: #ebf8ff;
    color: #2b6cb0;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 15px;
}

.prog-card h3 {
    margin-bottom: 10px;
    color: #1a365d;
}

/* --- SECCIÓN COMUNIDAD Y GALERÍA --- */
.comity-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

.upload-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 5px solid #10b981;
}

.upload-card h3 {
    color: #1a365d;
    margin-bottom: 8px;
    font-size: 1.3rem;
}

.upload-card p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.community-form .form-group {
    margin-bottom: 15px;
}

.community-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}

.community-form input[type="text"],
.community-form input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    background: #f8fafc;
}

.community-form input[type="file"] {
    padding: 6px;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background: #059669;
}

.gallery-container h3 {
    color: #1a365d;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.gallery-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.gallery-card:hover {
    transform: translateY(-4px);
}

.gallery-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
}

.gallery-info {
    padding: 12px;
}

.gallery-info h4 {
    font-size: 0.95rem;
    color: #1a365d;
    margin-bottom: 4px;
}

.location-tag {
    font-size: 0.8rem;
    color: #2563eb;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.listener-name {
    font-size: 0.75rem;
    color: #64748b;
}

/* --- SECCIÓN LECTURAS DEL DÍA --- */
.lecturas-section {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 60px 0;
}

.lecturas-card-box {
    background: #ffffff;
    padding: 40px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border-top: 4px solid #3182ce;
    text-align: center;
}

.lecturas-desc {
    max-width: 700px;
    margin: 0 auto 25px auto;
    font-size: 1.05rem;
    color: #4a5568;
}

.lecturas-btn-wrapper {
    display: flex;
    justify-content: center;
}

.btn-read-large {
    display: inline-block;
    padding: 14px 32px;
    background: #3182ce;
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
    transition: all 0.3s ease;
}

.btn-read-large:hover {
    background: #2b6cb0;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(49, 130, 206, 0.4);
}

/* --- FOOTER --- */
.main-footer {
    background: #1a202c;
    color: #a0aec0;
    padding-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 40px;
}

.footer-info h3, .footer-contact h4 {
    color: #ffffff;
    margin-bottom: 15px;
}

.footer-bottom {
    background: #0f141c;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

.footer-bottom .agency-credit {
    margin-top: 8px;
    font-size: 0.85rem;
    color: #a0aec0;
}

.footer-bottom .agency-credit a {
    color: #eab308;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom .agency-credit a:hover {
    color: #facc15;
    text-decoration: underline;
}

/* --- ANIMACIONES Y RESPONSIVO --- */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.05); opacity: 0.8; }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 900px) {
    .comity-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header { 
        flex-direction: column; 
        gap: 15px; 
        text-align: center; 
    }
    .main-nav {
        flex-direction: column;
        gap: 15px;
    }
    .hero-container { 
        flex-direction: column; 
        text-align: center; 
    }
    .hero-image-side img { 
        max-width: 100%; 
        height: auto;
    }
    .hero-info h2 {
        font-size: 2rem;
    }
}