
/* ========================================
   RADIO SILVIO PÉLLICO
   Hoja de estilos principal
======================================== */

:root {
    --rojo: #CE3C34;
    --negro: #000000;
    --claro: #F1EDEA;
    --blanco: #FFFFFF;
    --gris: #999999;

    --fuente: "Chillax", Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    background: var(--negro);
    color: var(--claro);
    font-family: var(--fuente);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}


/* ========================================
   ENCABEZADO
======================================== */

.header {
    position: relative;
    z-index: 10;

    width: 100%;
    height: 110px;
    padding: 15px 7%;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--negro);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo img {
    display: block;
    width: 280px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}


/* ========================================
   PORTADA Y FOTO DEL PUEBLO
======================================== */

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: calc(100vh - 110px);
    min-height: calc(100svh - 110px);
    padding: 90px 7%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    color: var(--claro);

    background-color: var(--negro);

    background-image:
        linear-gradient(
            rgba(0, 0, 0, 0.58),
            rgba(0, 0, 0, 0.78)
        ),
        url("fotos/fotopueblo.png");

    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-tag {
    margin-bottom: 24px;

    color: var(--rojo);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 850px;
    margin-bottom: 20px;

    font-size: clamp(2.8rem, 6vw, 5.5rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -2px;
}

.hero-description {
    max-width: 600px;
    margin-bottom: 48px;

    color: rgba(241, 237, 234, 0.82);
    font-size: 1.1rem;
}


/* ========================================
   REPRODUCTOR
======================================== */

.player {
    width: 100%;
    max-width: 520px;
    padding: 38px;

    background: rgba(10, 10, 10, 0.88);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.player-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    margin-bottom: 18px;
}

.player-info p {
    color: var(--gris);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 2px;
}

.player-status {
    width: 8px;
    height: 8px;
    flex-shrink: 0;

    background: var(--rojo);
    border-radius: 50%;
}

.player h2 {
    margin-bottom: 10px;
    font-size: 1.7rem;
    font-weight: 500;
}

.player-description {
    margin-bottom: 28px;
    color: var(--gris);
    font-size: 0.9rem;
}


/* Botón de reproducción */

.play-button {
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;

    background: var(--rojo);
    color: var(--blanco);

    border: 1px solid var(--rojo);
    border-radius: 4px;

    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;

    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.play-button:hover:not(:disabled) {
    background: #AD2E28;
    transform: translateY(-2px);
}

.play-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.player-message {
    margin-top: 18px;
    color: var(--gris);
    font-size: 0.75rem;
}


/* ========================================
   REDES SOCIALES FLOTANTES
======================================== */

.social-links {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.social-button {
    width: 52px;
    height: 52px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    color: var(--blanco);
    font-size: 23px;

    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);

    transition: transform 0.2s ease, filter 0.2s ease;
}

.social-button:hover {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.whatsapp {
    background: #25D366;
}

.instagram {
    background: var(--rojo);
}


/* ========================================
   PIE DE PÁGINA
======================================== */

.footer {
    padding: 40px 7%;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;

    background: var(--claro);
    color: var(--negro);
    text-align: center;
}

.footer > p:first-child {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 2px;
}

.footer > p:nth-child(2) {
    color: #555555;
    font-size: 0.85rem;
}

.footer .copyright {
    margin-top: 18px;
    color: #777777;
    font-size: 0.75rem;
}


/* ========================================
   TABLETS
======================================== */

@media (max-width: 768px) {

    .header {
        height: 90px;
        padding: 12px 5%;
    }

    .header .logo img {
        width: 230px;
    }

    .hero {
        min-height: calc(100vh - 90px);
        min-height: calc(100svh - 90px);
        padding: 70px 5%;

        background-position: center;
    }

    .hero h1 {
        font-size: clamp(2.5rem, 7vw, 4rem);
        letter-spacing: -1px;
    }

    .hero-description {
        margin-bottom: 38px;
        font-size: 1rem;
    }

    .player {
        max-width: 460px;
        padding: 30px 24px;
    }

    .social-links {
        right: 18px;
        bottom: 20px;
    }

    .social-button {
        width: 46px;
        height: 46px;
        font-size: 21px;
    }
}


/* ========================================
   CELULARES
======================================== */

@media (max-width: 480px) {

    .header {
        height: 78px;
        padding: 10px 16px;
    }

    .header .logo img {
        width: 200px;
    }

    .hero {
        min-height: calc(100svh - 78px);
        padding: 60px 20px;

        background-position: center center;
    }

    .hero-tag {
        margin-bottom: 18px;
        font-size: 0.68rem;
        letter-spacing: 2.5px;
    }

    .hero h1 {
        max-width: 100%;
        margin-bottom: 18px;

        font-size: clamp(2.2rem, 9vw, 2.8rem);
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero-description {
        margin-bottom: 32px;
        font-size: 0.95rem;
    }

    .player {
        padding: 26px 18px;
    }

    .player h2 {
        font-size: 1.4rem;
    }

    .player-description {
        font-size: 0.82rem;
    }

    .play-button {
        min-height: 54px;
        padding: 14px 10px;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }

    .social-links {
        right: 14px;
        bottom: 16px;
        gap: 10px;
    }

    .social-button {
        width: 44px;
        height: 44px;
        font-size: 19px;
    }

    .footer {
        padding: 30px 20px;
    }
}


/* ========================================
   CELULARES MUY ESTRECHOS
======================================== */

@media (max-width: 360px) {

    .header .logo img {
        width: 175px;
    }

    .hero {
        padding-right: 15px;
        padding-left: 15px;
    }

    .hero h1 {
        font-size: 2.1rem;
    }

    .player {
        padding: 24px 15px;
    }

    .social-links {
        right: 10px;
        bottom: 12px;
    }

    .social-button {
        width: 40px;
        height: 40px;
        font-size: 17px;
    }
}

/* Reproductor semitransparente en celulares */

@media (max-width: 480px) {
    .player {
        background: rgba(10, 10, 10, 0.60);
        border: 1px solid rgba(255, 255, 255, 0.22);

        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(5px);
    }
}

/* Redes sociales: ajuste para celulares */

@media (max-width: 480px) {
    .social-links {
        bottom: 35px;
    }
}

/* Redes sociales: ajuste para PC */

@media (min-width: 769px) {
    .social-links {
        bottom: 40px;
        right: 25px;
        gap: 14px;
    }

    .social-button {
        width: 62px;
        height: 62px;
        font-size: 27px;
    }
}

