/* --- CONFIGURACIÓN GENERAL --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1a; 
    color: #ffffff;
    overflow-x: hidden;
}

/* --- BARRA DE NAVEGACIÓN --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #111111;
    padding: 15px 5%;
    border-bottom: 3px solid #c0392b;
    position: relative;
    z-index: 10;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px; /* Ajusta este valor (en píxeles) según qué tan alto quieras tu logo */
    width: auto;  /* Esto mantiene las proporciones de la imagen para que no se deforme */
    display: block;
}

.sub-logo {
    display: block;
    font-size: 0.7rem;
    color: #b3b3b3;
    font-weight: 300;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    display: block;
    transition: color 0.3s;
}

.nav-links li.active a, .nav-links a:hover {
    color: #d35400;
}

.nav-sub {
    display: block;
    font-size: 0.65rem;
    color: #b3b3b3;
    font-weight: 300;
}

/* --- SECCIÓN HERO CENTRADA CON FONDO DE CALI --- */
.hero-section {
    position: relative;
    padding: 100px 5%;
    /* Ruta local relativa a tu carpeta de imágenes */
    background-image: url('images/boulevar.png'); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Capa de oscurecimiento (Overlay) mejorada para el fondo de Cali */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.30);
    z-index: 1;
}

.hero-content {
    max-width: 750px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-logo {
    display: block;
    margin: 0 auto 25px auto;
    max-width: 700px;
    width: 100%;
    height: auto;
}

.station-callout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 35px;
}

.station-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 6px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 1), 0 0 30px rgba(0, 0, 0, 0.9);
}

.live-badge {
    background-color: #c0392b;
    color: #fff;
    padding: 5px 14px;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 3px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Contenedor del reproductor en naranja centrado */
.player-container {
    background-color: #d35400;
    padding: 22px;
    border-radius: 8px;
    width: 100%;
    max-width: 480px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
    text-align: left;
}

.player-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #f7f9fa;
}

.status-dot {
    color: #c0392b;
    font-weight: 700;
    animation: pulse 1.5s infinite;
}

.html5-audio {
    width: 100%;
    height: 40px;
    outline: none;
}

.btn-listen {
    background-color: #c0392b;
    color: white;
    border: none;
    padding: 14px 45px;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    transition: background 0.3s, transform 0.2s;
}

.btn-listen:hover {
    background-color: #a8281c;
    transform: scale(1.03);
}

/* --- SECCIÓN QUIÉNES SOMOS --- */
.about-section {
    background-color: #ecf0f1;
    padding: 70px 5%;
    text-align: center;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.text-dark { color: #111111; }

.about-text {
    max-width: 1200px;
    margin: 0 auto 50px auto;
    padding: 0 20px;
}

.about-text p {
    color: #444444;
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
}

/* --- CARRUSEL DE IMÁGENES --- */
.carousel-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 10px;
}

.carousel-btn {
    background-color: #d35400;
    color: #fff;
    border: none;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
    border-radius: 50%;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background-color: #c0392b;
}

.carousel-track-wrapper {
    overflow: hidden;
    border-radius: 10px;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s ease;
}

.carousel-slide {
    min-width: calc(100% / 3);
    padding: 0 7.5px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 25px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    background-color: #b3b3b3;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.carousel-dot.active {
    background-color: #d35400;
}

@media (max-width: 768px) {
    .about-text { padding: 0 10px; }
    .about-text p { font-size: 1rem; }
    .carousel-slide {
        min-width: 100%;
    }
    .carousel-slide img {
        height: 250px;
    }
}

/* --- SECCIÓN CONTÁCTENOS --- */
.contact-section {
    background-color: #1a1a1a;
    padding: 60px 5%;
    border-top: 3px solid #c0392b;
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.contact-logo img {
    height: 80px;
    width: auto;
}

.contact-info h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.contact-info p {
    font-size: 0.88rem;
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.5;
}

.contact-social {
    display: flex;
    gap: 14px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link.facebook { background-color: #1877f2; }
.social-link.youtube { background-color: #ff0000; }
.social-link.whatsapp { background-color: #25d366; }
.social-link.instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }

.social-link:hover {
    transform: scale(1.15);
    opacity: 0.85;
}

/* --- SECCIÓN SERVICIOS --- */
.services-section {
    padding: 70px 5%;
    background-color: #111111;
    text-align: center;
}

.text-light { color: #d35400; margin-bottom: 45px; } 

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-box {
    background-color: #1a1a1a;
    border: 2px solid #c0392b; 
    padding: 35px 20px;
    border-radius: 8px;
    transition: transform 0.3s;
}

.service-box:hover {
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.service-box h3 {
    font-size: 1.2rem;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.service-box p {
    color: #ecf0f1; 
    font-size: 0.9rem;
    line-height: 1.5;
}

/* --- ESTILO CON FUENTE OOOH BABY EXCLUSIVO PARA EL ESLOGAN --- */
.hero-slogan {
    font-family: 'Oooh Baby', cursive !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #f5f5f5 !important;
    letter-spacing: 2px !important;
    text-transform: none !important;
    margin-top: 25px !important;
    text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff, 0 0 40px #d35400, 0 2px 8px rgba(0, 0, 0, 1) !important;
    display: block !important;
}






/* --- BARRA FLOTANTE FIJA CON VISUALIZADOR --- */
.fixed-player-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(17, 17, 17, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 5%;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    border-top: 2px solid #d35400;
}

.fixed-player-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.fixed-status {
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffffff;
    white-space: nowrap;
}

.visualizer-canvas {
    flex: 1;
    height: 45px;
    border-radius: 4px;
    display: block;
}

.player-controls {
    display: flex;
    gap: 8px;
}

.control-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: #ffffff;
    font-size: 1rem;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s;
}

.control-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: #d35400;
}

/* Espaciado extra al body para que la barra no tape el contenido */
body {
    padding-bottom: 75px;
}



/* --- ANIMACIONES & RESPONSIVE --- */
@keyframes pulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 12px;
        padding: 12px 4%;
    }
    .nav-links {
        gap: 10px;
        flex-wrap: wrap;
        justify-content: center;
    }
    .nav-links a {
        font-size: 0.78rem;
    }
    .nav-sub {
        font-size: 0.55rem;
    }
    .hero-section {
        padding: 60px 4%;
        min-height: 500px;
    }
    .hero-logo {
        max-width: 400px;
    }
    .station-name {
        font-size: 1.3rem;
        letter-spacing: 3px;
    }
    .live-badge {
        font-size: 0.7rem;
        padding: 3px 7px;
    }
    .player-container {
        padding: 16px;
        max-width: 100%;
    }
    .hero-slogan {
        font-size: 0.9rem !important;
    }
    .about-text {
        padding: 0 10px;
    }
    .about-text p {
        font-size: 0.92rem;
        line-height: 1.6;
    }
    .carousel-slide img {
        height: 200px;
    }
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
    .section-title {
        font-size: 1.5rem;
    }
    .fixed-player-content {
        gap: 8px;
    }
    .fixed-status {
        font-size: 0.65rem;
    }
    .visualizer-canvas {
        height: 30px;
    }
    .control-btn {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    .contact-container {
        flex-direction: column;
        text-align: center;
        gap: 25px;
        padding: 30px 4%;
    }
    .contact-logo img {
        height: 60px;
    }
    .contact-info h2 {
        font-size: 1.2rem;
    }
    .contact-info p {
        font-size: 0.78rem;
    }
    .contact-social {
        justify-content: center;
    }
    .social-link {
        width: 40px;
        height: 40px;
    }
    .social-link svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        gap: 8px;
    }
    .nav-links a {
        font-size: 0.7rem;
    }
    .station-name {
        font-size: 1.1rem;
        letter-spacing: 2px;
    }
    .hero-logo {
        max-width: 320px;
    }
    .hero-slogan {
        font-size: 0.8rem !important;
    }
    .section-title {
        font-size: 1.3rem;
    }
}