/* ===================================
   NOSOTROS SECTION STYLES
   Sección Nosotros con overlay de gradiente
   =================================== */

.nosotros {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    overflow: hidden;
    /* Imagen de fondo */
    background-image: url('../images/Cancha-noche.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
}

/* Overlay con gradiente oscuro */
.nosotros::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradiente oscuro semi-transparente para mejorar legibilidad */
    background: linear-gradient(
        135deg,
        rgba(44, 28, 44, 0.85) 0%,
        rgba(80, 67, 80, 0.80) 50%,
        rgba(58, 28, 58, 0.85) 100%
    );
    z-index: var(--z-base);
}

/* Container */
.nosotros__container {
    position: relative;
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: var(--spacing-8) var(--container-padding-mobile);
    z-index: calc(var(--z-base) + 1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Content wrapper */
.nosotros__content {
    max-width: 900px;
    text-align: center;
}

/* Título */
.nosotros__title {
    font-family: var(--font-primary);
    font-size: var(--font-size-h2);
    font-weight: normal;  
    color: var(--color-white);
    letter-spacing: var(--letter-spacing-wider);
    margin-bottom: var(--spacing-8);
    line-height: var(--line-height-tight);
}

/* Texto */
.nosotros__text {
    font-family: var(--font-secondary);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-regular);
    color: var(--color-white);
    line-height: var(--line-height-relaxed);
    letter-spacing: var(--letter-spacing-normal);
    margin: 0;
}

/* ===================================
   RESPONSIVE - TABLET
   =================================== */

@media screen and (min-width: 768px) {
    .nosotros__container {
        padding: var(--spacing-10) var(--container-padding-tablet);
    }

    .nosotros__content {
        max-width: 1000px;
    }

    .nosotros__title {
        font-size: var(--font-size-h1);
        margin-bottom: var(--spacing-10);
    }

    .nosotros__text {
        font-size: var(--font-size-lg);
    }
}

/* ===================================
   RESPONSIVE - DESKTOP
   =================================== */

@media screen and (min-width: 1024px) {
    /* Parallax effect en desktop */
    .nosotros {
        background-attachment: fixed;
    }

    .nosotros__container {
        padding: var(--spacing-12) var(--spacing-10);
    }

    .nosotros__content {
        max-width: 1100px;
    }

    .nosotros__title {
        margin-bottom: var(--spacing-12);
    }

    .nosotros__text {
        font-size: var(--font-size-xl);
        line-height: var(--line-height-loose);
    }
}

/* ===================================
   RESPONSIVE - DESKTOP GRANDE
   =================================== */

@media screen and (min-width: 1280px) {
    .nosotros__container {
        padding: var(--spacing-16) var(--spacing-12);
    }

    .nosotros__content {
        max-width: 1200px;
    }

    .nosotros__title {
        font-size: 3.5rem;  /* Tamaño específico */
    }
}

/* ===================================
   ANIMACIONES OPCIONALES
   =================================== */

/* Fade in al hacer scroll (opcional - requiere JS) */
@media (prefers-reduced-motion: no-preference) {
    .nosotros__content {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s var(--ease-out), 
                    transform 0.8s var(--ease-out);
    }

    .nosotros__content.is-visible {
        opacity: 1;
        transform: translateY(0);
    }
}