/* =============================================
   ESTILOS GENERALES DE EL MANCA LANDING PAGE
   ============================================= */

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f5f5;
    color: #1a1a1a;
    line-height: 1.6;
}

/* =============================================
   COLORES DE EL MANCA (Dinámicos desde PHP)
   ============================================= */

:root {
    --color-primary: #003173;      /* Azul oficial El Manca */
    --color-secondary: #FF6B35;    /* Naranja */
    --color-accent: #FFD700;       /* Dorado */
    --color-text: #1a1a1a;
    --color-light-bg: #F5F5F5;
}

/* =============================================
   ESTILOS GENERALES
   ============================================= */

a {
    text-decoration: none;
    color: var(--color-secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary);
}

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

.section {
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: #1a1a1a;
    text-align: center;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    text-align: center;
    margin-bottom: 40px;
}

/* =============================================
   HEADER Y NAVEGACIÓN
   ============================================= */

header {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
    width: auto;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

nav a:hover {
    opacity: 0.8;
    color: #FFE66D;
}

/* =============================================
   HERO SECTION
   ============================================= */

.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: white;
    padding: 120px 20px;
    text-align: center;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    margin: 10px 10px;
    background-color: var(--color-accent);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--color-accent);
    cursor: pointer;
}

.btn:hover {
    background-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary {
    background-color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    background-color: white;
    color: var(--color-primary);
    border-color: white;
}

.btn-secondary:hover {
    background-color: transparent;
    color: white;
    border-color: white;
}

/* =============================================
   SECCIÓN DE INFORMACIÓN
   ============================================= */

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

.info-card {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: var(--color-secondary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.info-card p {
    color: #666;
    line-height: 1.8;
}

/* =============================================
   SECCIÓN DE YOUTUBE
   ============================================= */

.youtube-section {
    background: white;
    padding: 60px 20px;
}

.youtube-container {
    max-width: 1200px;
    margin: 0 auto;
}

.youtube-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.youtube-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.youtube-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.youtube-info h3 {
    color: var(--color-secondary);
    font-size: 2rem;
    margin-bottom: 20px;
}

.youtube-info p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.8;
}

.youtube-button {
    display: inline-block;
    background-color: #FF0000;
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.youtube-button:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
}

/* =============================================
   SECCIÓN DE RADIO
   ============================================= */

.radio-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, #066198 100%);
    color: white;
    padding: 60px 20px;
    border-radius: 10px;
    margin: 40px 0;
    text-align: center;
}

.radio-player {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.radio-player h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.radio-player audio {
    width: 100%;
    max-width: 400px;
    outline: none;
}

.radio-player p {
    margin-top: 15px;
    opacity: 0.9;
}

/* =============================================
   SECCIÓN DE PROGRAMA STUDIO
   ============================================= */

.program-section {
    background: white;
    padding: 60px 20px;
}

.program-container {
    max-width: 800px;
    margin: 0 auto;
}

.program-card {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #F77F00 100%);
    color: white;
    padding: 50px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.program-card h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.version {
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.program-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.download-btn {
    background-color: white;
    color: var(--color-secondary);
    padding: 15px 50px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #FFE66D;
    transform: translateY(-3px);
}

/* =============================================
   FOOTER
   ============================================= */

footer {
    background: #1a1a1a;
    color: white;
    padding: 40px 20px;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

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

.footer-text {
    color: #999;
    margin-bottom: 15px;
}

.footer-contact {
    margin-top: 20px;
}

.footer-contact a {
    color: #FF6B35;
}

/* =============================================
   RESPONSIVO
   ============================================= */

@media (max-width: 768px) {
    nav ul {
        gap: 15px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .youtube-content {
        grid-template-columns: 1fr;
    }

    .program-card {
        padding: 30px;
    }

    .program-card h3 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 60px 20px;
        min-height: 400px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .program-card {
        padding: 20px;
    }

    .social-links {
        gap: 10px;
    }

    .social-links a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* =============================================
   ANIMACIONES
   ============================================= */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

.slide-in {
    animation: slideInLeft 0.6s ease-out;
}
