/* =========================================================
   AGRUPACIÓN MUSICAL LA CLEMENCIA
   Página de cortesía / mantenimiento
   Archivo: styles.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;1,400&display=swap');

:root {
    --fondo: #18191b;
    --fondo-profundo: #111214;
    --fondo-claro: #242528;
    --dorado: #d4af4f;
    --dorado-claro: #e2c46d;
    --dorado-oscuro: #8b6b24;
    --blanco: #f0f0f0;
    --gris: #cfcfcf;
    --gris-oscuro: #777777;
}

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

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    background:
        radial-gradient(circle at 50% 35%,
            var(--fondo-claro) 0%,
            var(--fondo) 52%,
            var(--fondo-profundo) 100%);
    color: var(--blanco);
    font-family: "Playfair Display", Georgia, serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* CONTENEDOR PRINCIPAL */
.contenedor {
    width: 100%;
    max-width: 900px;
    min-height: 100vh;
    padding: 55px 25px 45px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

/* LOGOTIPO */
.logo {
    display: block;
    width: 145px;
    max-width: 45vw;
    height: auto;
    margin: 0 auto 58px;
    filter:
        drop-shadow(0 0 6px rgba(212, 175, 79, .22))
        drop-shadow(0 6px 14px rgba(0, 0, 0, .55));
    animation: aparecer 1.2s ease both;
}

/* TITULO */
h1 {
    font-family: "Cinzel", Georgia, serif;
    color: var(--dorado);
    font-size: clamp(29px, 5vw, 52px);
    line-height: 1.15;
    letter-spacing: clamp(4px, 1vw, 8px);
    font-weight: 700;
    margin-bottom: 12px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, .7);
    animation: aparecer 1.2s ease .15s both;
}

/* SUBTITULO */
.subtitulo {
    font-family: "Cinzel", Georgia, serif;
    color: #d7d7d7;
    font-size: clamp(14px, 2vw, 22px);
    line-height: 1.4;
    letter-spacing: clamp(1px, .35vw, 3px);
    font-weight: 500;
    margin-bottom: 48px;
    animation: aparecer 1.2s ease .25s both;
}

/* SEPARADOR */
.linea {
    width: 92px;
    height: 1px;
    margin: 0 auto 45px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--dorado-oscuro) 25%,
        var(--dorado-claro) 50%,
        var(--dorado-oscuro) 75%,
        transparent 100%
    );
    box-shadow: 0 0 12px rgba(212, 175, 79, .28);
    animation: aparecer 1.2s ease .35s both;
}

/* MENSAJE */
.mensaje {
    max-width: 680px;
    margin: 0 auto 52px;
    color: var(--gris);
    font-size: clamp(17px, 2.1vw, 22px);
    line-height: 1.6;
    font-style: italic;
    animation: aparecer 1.2s ease .45s both;
}

.mensaje strong {
    font-weight: 500;
}

/* REDES SOCIALES */
.redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 28px;
    animation: aparecer 1.2s ease .55s both;
}

.redes a {
    width: 42px;
    height: 42px;
    color: #e5e5e5;
    font-size: 29px;
    line-height: 42px;
    text-decoration: none;
    transition:
        color .25s ease,
        transform .25s ease,
        text-shadow .25s ease;
}

.redes a:hover,
.redes a:focus-visible {
    color: var(--dorado);
    transform: translateY(-4px);
    text-shadow: 0 0 14px rgba(212, 175, 79, .45);
    outline: none;
}

/* CORREO */
.email {
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
    padding-bottom: 5px;
    color: var(--dorado);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(13px, 1.5vw, 16px);
    letter-spacing: 1px;
    text-decoration: none;
    border-bottom: 1px solid rgba(212, 175, 79, .45);
    transition:
        color .25s ease,
        border-color .25s ease;
    animation: aparecer 1.2s ease .65s both;
}

.email:hover,
.email:focus-visible {
    color: #ffffff;
    border-color: #ffffff;
    outline: none;
}

/* PIE */
footer {
    margin-top: 58px;
    color: var(--gris-oscuro);
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(9px, 1.2vw, 12px);
    line-height: 1.7;
    letter-spacing: 1.5px;
    animation: aparecer 1.2s ease .75s both;
}

/* LINEA INFERIOR */
.detalle-inferior {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #5c481a 20%,
        var(--dorado) 50%,
        #5c481a 80%,
        transparent 100%
    );
    opacity: .75;
}

/* ANIMACION SUAVE */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ADAPTACIÓN A MÓVILES */
@media (max-width: 600px) {
    .contenedor {
        padding: 45px 20px 35px;
    }

    .logo {
        width: 118px;
        margin-bottom: 45px;
    }

    h1 {
        letter-spacing: 4px;
    }

    .subtitulo {
        margin-bottom: 38px;
    }

    .linea {
        margin-bottom: 36px;
    }

    .mensaje {
        margin-bottom: 42px;
    }

    .redes {
        gap: 22px;
    }

    .redes a {
        font-size: 27px;
    }

    footer {
        margin-top: 45px;
        letter-spacing: 1px;
    }
}

/* RESPETO A USUARIOS QUE PREFIEREN MENOS ANIMACIÓN */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}
