@font-face {
    font-family: title;
    src: url();
}

:root {
    --color-primary: #CC0000;
    --color-secondary: #036125;
    --color-light: #FFFFFF;
    --color-dark: #000000; 
    --color-gray: #222222;

    --font-title: "Montserrat", Arial, sans-serif;
    --font-text: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ESTILOS PARA EL CONTENIDO PRINCIPAL */

#contenido.blur {
    filter: blur(6px);
    transition: filter .3s ease;
}

/* Estilos GLOBALES */

h2 {
    font-family: var(--font-title);
}

h3 {
    font-family: var(--font-title);
}

p {
    font-family: var(--font-text);
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-light);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.25);
    animation: pulse 2s infinite;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

@keyframes pulse {
    
    0% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.4);
    }

    75% {
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    color: var(--color-primary);
    font-size: .85rem;
    font-weight: 600;
    
    text-transform: uppercase;
    letter-spacing: 2px;

    margin-bottom: 1rem;
}

.section-title {
    color: var(--color-light);
    
    font-size: 2.4rem;
    line-height: 1.1;
    
    margin-bottom: 1rem;
}

.section-description {
    color: rgba(255, 255, 255, 0.7);

    font-size: 1rem;
    line-height: 1.6;
    
    max-width: 320px;

    margin: 0 auto;
}

.hidden {
    /* opacity: 0; */
    transform: translateY(30px);
    transition: opacity .6s ease, transform .6 ease;
}

.show {
    opacity: 1;
    transform: translateY(0);
}

/* Estilos para el HEADER */

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: max-content;
    z-index: 2000;
    background-color: var(--color-primary);
    transition: transform .3s ease;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1em 1.3rem;
    align-items: center;
}

.header-hidden {
    transform: translateY(-100%);
}

header .logo {
    max-height: 3em;
    order: 1;
}

.btn-toggle {
    border: none;
    background: none;
    color: var(--color-light);
    cursor: pointer;
    font-family: var(--font-text);
    font-size: 1em;
}

.btn-partidos a {
    color: var(--color-light);
    text-decoration: none;
}

#btn-close {
    position: absolute;
    right: 2.5rem;
    color: var(--color-gray);
}

.nav {
    opacity: 0;
    visibility: hidden;

    display: flex;
    flex-direction: column;
    position: fixed;
    width: 100%;
    height: 120vh;
    top: 0;
    left: -100%;
    background-color: var(--color-secondary);
    padding: 2rem;
    overflow-y: auto;
    transition: all .5s ease;
}

.nav.active {
    opacity: 1;
    visibility: visible;
    left: 0;
}

.nav-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2em;
    margin-top: 4rem;
}

.nav-list li {
    width: 100%;
    height: auto;
    list-style: none;
}

.nav-list a {
    display: block;
    width: 100%;
    padding: .8rem 0;
    color: var(--color-light);
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 1.2em;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: .3s ease;
}

.nav-list a:hover, a:active {
    background: rgba(0, 0, 0, 0.1);
    padding-left: .8rem;
}

/* Estilos para HERO */

.hero {
    position: relative;
    width: 100%;
    min-height: 90vh;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    padding: 7rem 1.5rem 3rem;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-content {
    width: 100%;
    position: relative;
    z-index: 2;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1.2rem;
}

.hero-subtitle {
    color: var(--color-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .8rem;
}

.hero-title {
    color: var(--color-light);
    font-size: 2.5rem;
    line-height: 1;
    font-family: var(--font-title);
}

.hero-description {
    color: var(--color-light);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 320px;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.btn {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    width: 20rem;

    padding: 1rem 1.8rem;

    border-radius: 8px;

    font-size: .95rem;
    font-family: var(--font-text);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;

    text-decoration: none;
    overflow: hidden;
    transition: all .3s ease;
}

.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: rgba(255, 255, 255, 0.15);
    transition: .5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-secondary {
    border: 2px solid rgba(255, 255, 255, 0.7);
    color: white;
    backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.05);
}

.btn-secondary:hover {
    background: white;
    color: var(--color-dark);
    transform: translateY(-3px);
}

.hero-stats {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat h2 {
    color: var(--color-light);
    font-size: 1.8rem;
    font-family: var(--font-text);
}

.stat p {
    color: var(--color-light);
    font-size: .8rem;
    font-family: var(--font-text);
}

.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    
    color: white;
    font-size: 1.5rem;

    animation: bounce 1.5s infinite;

    z-index: 2;
}

.fade-up,
.fade-left,
.scale-up {
    opacity: 0;
}

.fade-up {
    animation: fadeUp 2s ease forwards;
}

.fade-left {
    animation: fadeLeft 2s ease forwards;
}

.scale-up {
    animation: scaleUp 2s ease forwards;
}

.delay-1 {
    animation-delay: .3s; 
}

.delay-2 {
    animation-delay: .6s; 
}

.delay-3 {
    animation-delay: .9s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Estilos para el SLIDER/CARRUSEL sobre imagenes promocionales */

.carrusel {
    padding: 3rem .3rem 4rem;
    background: linear-gradient(180deg, rgba(204,0,0,.08), rgba(255,255,255,0));
}

.carrusel h2 {
    max-width: 880px;
    margin: 0 auto 1.5rem;
    color: var(--color-dark);
    text-align: center;
    font-size: 1.8rem;
    letter-spacing: .5px;
}

.carrusel-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.14);
    background: #111;
}

.carrusel-track {
    display: flex;
    transition: transform .6s ease;
    will-change: transform;
}

.carrusel-item {
    min-width: 100%;
    flex-shrink: 0;
}

.carrusel-item img {
    width: 100%;
    display: block;
    object-fit: cover;
    min-height: 320px;
}

.carrusel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 1.4rem;
    cursor: pointer;
    display: grid;
    place-items: center;
    z-index: 2;
}

.carrusel-button:hover {
    background: rgba(0, 0, 0, 0.75);
}

.carrusel-button--prev {
    left: .5rem;
}

.carrusel-button--next {
    right: .5rem;
}

.carrusel-dots {
    display: flex;
    justify-content: center;
    gap: .5rem;
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.05);
}

.carrusel-dot {
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.carrusel-dot.active {
    background: var(--color-primary);
    transform: scale(1.15);
}

/* Estilos para el section de "Unete a Nosotros" */

.join-club {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #111 0%, #1b1b1b 100%);
}

.club-stats {
    display: flex;
    justify-content: center;
    gap: 1rem;
    
    margin-bottom: 3rem;
}

.club-stat {
    flex: 1;

    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;

    padding: 1.2rem 1rem;
    text-align: center;
}

.club-stat h3 {
    color: var(--color-primary);
    font-size: 1.8rem;
    font-family: var(--font-text);
    margin-bottom: .3rem;
}

.club-stat p {
    color: var(--color-light);
    font-size: .85rem;
    font-family: var(--font-text);
}

.benefits-grid {
    display: grid;
    gap: 1rem;
}

.benefit-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;

    background: white;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);

    padding: 1.5rem;

    transition: .3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 55px;
    height: 55px;

    border-radius: 50%;
    background: rgba(255, 0, 0, 0.08);

    font-size: 1.5rem;
}

.benefit-content h3 {
    color: #111;
    font-size: 1.2rem;
    
    line-height: 1.2;
    margin-bottom: .5rem;
}

.benefit-content p {
    color: #555;

    font-size: .95rem;
    line-height: 1.6;
}

.join-cta {
    margin-top: 3rem;

    display: flex;
    justify-content: center;
}

/* Estilos para el secetion de "Nuestros Valores" */

.club-values {
    padding: 5rem 1.5rem;
    background: #0f0f0f;
}

.values-layout {
    display: flex;
    flex-direction: column;

    gap: 2rem;
}

.values-image {
    border-radius: 24px;
    overflow: hidden;
}

.values-image img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform .5s ease;
}

.values-image:hover img {
    transform: scale(1.05);
}

.values-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.value-card {
    display: flex;
    align-items: center;

    gap: 1rem;
    padding: 1.4rem;

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);

    transition: .3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.08);
}

.value-icon {
    display: flex;
    justify-content: center;
    align-items: center;

    min-width: 55px;
    height: 55px;

    border-radius: 50%;
    background: rgba(255, 0, 0, .12);

    font-size: 1.4rem;
}

.value-info h3 {
    color: var(--color-light);
    font-size: 1.15rem;
    margin-bottom: .4rem;
}

.value-info p {
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    font-size: .95rem;
}

.values-quote {
    color: var(--color-light);
    font-size: 1.3rem;
    font-style: italic;
    line-height: 1.5;

    text-decoration: none;
    text-align: center;
    margin-top: 4rem;

    opacity: .9;
}

/* Estilos para el section de "Google Maps" */

.location-section {
    padding: 5rem 1.5rem;
}

.location-header {
    text-align: center;
    margin-bottom: 2rem;
}

.location-subtitle {
    color: var(--color-secondary);
    margin-bottom: .7rem;
}

.location-address {
    color: black;
    line-height: 1.6;
    margin-top: 1rem;
    font-size: 1rem;
}

.map-container {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}

.map-container iframe {
    display: blok;
    width: 100%;
    height: 350px;
    border: none;
}

/* Estilos para el section de PARTNERS */

/* Estilos para el FOOTER */

.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 4rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    padding: 0 1.5rem 3rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand img {
    width: 120px;
    margin-bottom: 1.5rem;
}

.footer-description {
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.8rem;
}

.footer-socials a {
    display: flex;
    justify-content: center;
    align-items: center;

    width: 45px;
    height: 45px;

    border-radius: 50%;
    background: rgba(255, 255, 255, .05);
    
    color: white;

    transition: .3s ease;
}

.footer-socials a:hover {
    background: var(--color-primary);
    transform: translateY(-4px);
}

.footer-links,
.footer-contact {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 1rem;
}

.footer-links h3,
.footer-contact h3 {
    color: white;
    font-size: 1.2rem;
    margin-bottom: .5rem;
}

.footer-links a,
.footer-contact a,
.footer-contact p {
    color: rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: .3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, .08);
    gap: .5rem;
    padding: 1.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, .7);
    font-size: .9rem;
}

.footer-bottom span {
    color: white;
    font-size: .95rem;
    font-style: italic;
}

/* ESTILOS PARA EL OVERLAY */

.overlay {
    position: fixed;
    inset: 0;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    z-index: 9999 !important;
}

.overlay.active {
    display: flex;
}

.overlay.active button {
    position: relative;
    padding: .3em 1em;
    border: 3px solid var(--color-secondary);
    border-radius: 3rem;
    background: none;
    color: white;
    font-family: var(--font-text);
    font-size: 1em;
    cursor: pointer;
}

.copiado {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateY(-50%);
    background-color: #333;
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
}

.copiado::after {
    content: "";
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid transparent;
}

.mostrar {
    opacity: 1;
    transform: translateX(-50%) translateY(-3px);
}

/* Estilos para DESKTOP */

@media screen and (min-width: 768px) {

    /* Estilos para el Carrusel/Slider */

    .carrusel {
        padding: 7rem 5%;
    }

    .carrusel-container {
        width: 80%;
        border-radius: 32px;
    }

    .carrusel-item img {
        object-fit: contain;
        aspect-ratio: 21 / 9;
    }

    /* Estilos para el section de "Unete al club" */

    .join-club {
        padding: 7rem 5%;
    }

    .section-title {
        font-size: 4rem;
    }

    .section-description {
        max-width: 650px;
        font-size: 1.1rem;
    }

    .club-stats {
        max-width: 700px;
        margin: 0 auto 4rem;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .benefit-card {
        padding: 2rem;
    }

    .benefit-content h3 {
        font-size: 1.4rem;
    }

    .benefit-content p {
        font-size: 1rem;
    }

    /* Estilos para el section de "Nuestros Valores" */

    .club-values {
        padding: 7rem 5%;
    }

    .values-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
    }

    .values-content {
        gap: 1.4rem;
    }

    .values-quote {
        font-size: 2rem;
        max-width: 900px;
        margin: 5rem auto 0;
    }

    /* Estilos para el section de Google Maps */

    .location-section {
        padding: 7rem 5%;
    }

    .map-container iframe {
        height: 500px;
    }

    /* Estilos para el FOOTER */

    .footer-container {
        display: grid;
        grid-template-columns: 1.2fr .8fr 1fr;
        align-items: start;
        gap: 4rem;
        padding: 0 5% 4rem;
    }

    .footer-brand {
        align-items: flex-start;
        text-align: left;
    }

    .footer-links,
    .footer-contact {
        text-align: left;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem 5%;
    }
}

@media screen and (min-width: 1024px) {
    /* Estilos para el HEADER */

    header {
            padding: 1em 2.5rem;
    }

    #btn-open, #btn-close {
        display: none;
    }

    #btn-contact {
        order: 1;
    }

    header .logo {
        max-height: 4em;
    }

    .nav {
        opacity: 1;
        visibility: visible;

        position: static;
        width: auto;
        height: auto;

        background-color: transparent;
        padding: 0;
    }

    .nav-list {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2em;
        margin-top: 0rem;
    }

    .nav-list li {
        width: auto;
    }

    .nav-list a {
        padding: 1rem 1rem;
        border-bottom: none;
    }
}
