/* ==================================================
   ZYRO LYON - TEMA OSCURO GLOBAL
   ================================================== */

/* 1. Paleta de colores */

:root {
    --brand: #FFCD00;
    --ink: #FFFFFF;
    --muted: #B5B5B5;
    --paper: #0D0D0D;
    --soft: #141414;
    --line: #303030;
    --card-bg: #1C1C1C;

    --bs-body-bg: #0D0D0D;
    --bs-body-color: #FFFFFF;
    --bs-secondary-color: #B5B5B5;
    --bs-border-color: #303030;

    color-scheme: dark;
}

/* 2. Fondo general */

html,
body {
    background-color: var(--paper);
    color: var(--ink);
}

/* 3. Títulos y textos */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--ink);
}

p {
    color: var(--muted);
}

.text-secondary {
    color: var(--muted) !important;
}

/* 4. Encabezado */

#site-header {
    background-color: #090909;
    border-bottom: 1px solid var(--line);
}

.site-nav .nav-link {
    color: #FFFFFF;
}

/* ==========================================
   ESTADOS DEL MENÚ DE NAVEGACIÓN
   ========================================== */

/* Estado normal */
.site-nav .nav-link {
    color: #FFFFFF;
    transition: color 0.25s ease;
}

/* Al pasar el cursor */
.site-nav .nav-link:hover {
    color: #00ffe1;
}

/* Página seleccionada */
.site-nav .nav-link.active,
.site-nav .nav-link.active:hover {
    color: var(--brand);
}

/* Menú hamburguesa para celulares */

.navbar-toggler {
    border-color: #555555;
    color: #FFFFFF;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* 5. Redes sociales */

.social-link {
    background-color: #1C1C1C;
    color: #FFFFFF;
    border-color: var(--line);
}

.social-link:hover {
    background-color: var(--brand);
    color: #0D0D0D;
    border-color: var(--brand);
}

/* 6. Portada principal */

.hero {
    background-color: var(--paper);
    border-color: var(--line);
}

.hero h1 {
    color: #FFFFFF;
}

.eyebrow {
    color: var(--brand);
}

/* 7. Contenido de la página */

.home-content {
    background-color: var(--soft);
}

/* 8. Tarjetas y recuadros */

.surface,
.card {
    background-color: var(--card-bg);
    color: var(--ink);
    border-color: var(--line);
}

/* 9. Botones amarillos */

.btn-brand {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #0D0D0D;
}

.btn-brand:hover,
.btn-brand:focus,
.btn-brand:active {
    background-color: #E9B900;
    border-color: #E9B900;
    color: #0D0D0D;
}

/* 10. Botones secundarios */

.btn-outline-brand {
    background-color: transparent;
    border-color: #555555;
    color: #FFFFFF;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus,
.btn-outline-brand:active {
    background-color: var(--brand);
    border-color: var(--brand);
    color: #0D0D0D;
}

/* 11. Estadísticas de la comunidad */

.community-number {
    color: var(--brand);
}

.community-label {
    color: var(--muted);
}

/* 12. Enlaces */

a {
    color: #FFFFFF;
}

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

.section-heading a,
.artist-card a {
    color: var(--brand);
}

/* 13. Formularios y buscadores */

.form-control,
.form-select {
    background-color: #1C1C1C;
    color: #FFFFFF;
    border-color: #303030;
}

.form-control::placeholder {
    color: #999999;
}

.form-control:focus,
.form-select:focus {
    background-color: #1C1C1C;
    color: #FFFFFF;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 205, 0, 0.15);
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3E%3C/svg%3E");
}

/* 14. Invitación comercial */

.callout {
    background-color: #1C1C1C;
    border-left: 5px solid var(--brand);
}

/* 15. Pie de página */

#site-footer {
    background-color: #090909;
    border-top: 1px solid var(--line);
}

.footer-title {
    color: #FFFFFF;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover {
    color: var(--brand);
}

.footer-bottom {
    color: var(--muted);
    border-color: var(--line);
}

/* 16. Selección de texto y accesibilidad */

::selection {
    background-color: var(--brand);
    color: #0D0D0D;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
}

/* Logotipo horizontal de ZYRO LYON */

.site-brand img {
    width: 160px;
    height: auto;
    object-fit: contain;
}

/* Bordes redondeados globales */

:root {
    --image-radius: 16px;
}

main img {
    border-radius: var(--image-radius);
}

/* ==========================================
   ZYRO LYON - REDES SOCIALES DEL HEADER
   ========================================== */

.social-links {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.social-links .social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: #1C1C1C;
    color: var(--brand);

    border: 1px solid #303030;
    border-radius: 8px;

    text-decoration: none;

    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

/* Tamaño de los iconos */

.social-link svg {
    display: block;
    width: 21px;
    height: 21px;
}

/* Efecto al pasar el cursor */

.social-links .social-link:hover {
    background-color: var(--brand);
    color: #090909;
    border-color: var(--brand);

    transform: translateY(-3px);
}

/* Efecto al hacer clic */

.social-links .social-link:active {
    transform: scale(0.95);
}

/* Adaptación a celulares */

@media (max-width: 1199.98px) {

    .social-links {
        padding: 15px 0;
        gap: 12px;
    }

}

/* ==================================================
   ZYRO LYON - FOOTER
   ================================================== */

/* 1. Fondo general */

#site-footer {
    background-color: #111111;
    border-top: 1px solid #303030;
    color: #FFFFFF;
}

/* 2. Espaciado general */

#site-footer .footer-container {
    padding-top: 42px;
    padding-bottom: 28px;
}

/* 3. Distribución de las cuatro columnas */

#site-footer .footer-grid {
    display: grid;

    grid-template-columns: 1.3fr 1fr 1.1fr 1fr;

    gap: 30px;
    align-items: start;

    padding-bottom: 32px;
}

/* 4. Logotipo */

#site-footer .footer-brand .site-brand {
    display: inline-flex;
    margin-bottom: 15px;
    text-decoration: none;
}

#site-footer .footer-brand img {
    width: 190px;
    height: auto;
    object-fit: contain;
}

/* 5. Eslogan */

#site-footer .footer-slogan {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
    color: #FFFFFF;
    margin: 0 0 6px;
}

/* 6. Descripción de la marca */

#site-footer .footer-description {
    font-size: 14px;
    line-height: 1.5;
    color: #B5B5B5;
    margin: 0;
}

/* 7. Separadores verticales */

#site-footer .footer-column {
    border-left: 1px solid #353535;
    padding-left: 28px;
    min-height: 155px;
}

/* 8. Títulos de las columnas */

#site-footer .footer-title {
    display: flex;
    align-items: center;
    gap: 12px;

    font-size: 19px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.3;

    color: #FFFFFF;

    margin: 0 0 18px;
}

/* 9. Barra amarilla junto a los títulos */

#site-footer .footer-title::before {
    content: "";

    display: block;
    flex-shrink: 0;

    width: 5px;
    height: 24px;

    background-color: var(--brand);
    border-radius: 4px;
}

/* 10. Organización de los enlaces */

#site-footer .footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 9px;
    padding-left: 17px;
}

/* 11. Diseño de los enlaces */

#site-footer .footer-links a {
    display: inline-flex;
    align-items: center;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;

    color: #CCCCCC;
    text-decoration: none;

    transition: color 0.25s ease;
}

/* 12. Efecto al pasar el cursor */

#site-footer .footer-links a:hover {
    color: var(--brand);
    text-decoration: none;
}

/* 13. Redes sociales */

#site-footer .footer-social {
    gap: 12px;
}

#site-footer .footer-social a {
    display: flex;
    align-items: center;
    gap: 13px;
}

/* 14. Iconos de redes sociales */

#site-footer .footer-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 22px;
    height: 22px;

    flex-shrink: 0;
    color: inherit;
}

#site-footer .footer-social-icon svg {
    display: block;
    width: 20px;
    height: 20px;
}

/* 15. Derechos de autor */

#site-footer .footer-bottom {
    border-top: 1px solid #444444;

    padding-top: 20px;

    font-size: 13px;
    line-height: 1.6;
    font-weight: 400;

    color: #B5B5B5;
}

/* ==================================================
   RESPONSIVE - TABLETS
   ================================================== */

@media (max-width: 991.98px) {

    #site-footer .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    #site-footer .footer-brand {
        grid-column: 1 / -1;
    }

    #site-footer .footer-column {
        padding-left: 18px;
        min-height: auto;
    }

}

/* ==================================================
   RESPONSIVE - CELULARES
   ================================================== */

@media (max-width: 575.98px) {

    #site-footer .footer-container {
        padding-top: 30px;
        padding-bottom: 24px;
    }

    #site-footer .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    #site-footer .footer-brand img {
        width: 170px;
    }

    #site-footer .footer-column {
        padding-left: 15px;
    }

    #site-footer .footer-title {
        font-size: 18px;
    }

    #site-footer .footer-links a {
        font-size: 14px;
    }

    #site-footer .footer-bottom {
        font-size: 12px;
    }

}