/* Reset básico: Elimina márgenes y rellenos predeterminados */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
    overflow-x: hidden;
    width: 100%;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1f2937;
    background: #f5f7fa;
    /* Fondo consistente en toda la página */
}

a {
    text-decoration: none;
}

/* Contenedor centralizado para mantener el contenido alineado y responsivo */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header profesional: Estilo de la barra de navegación superior */
header {
    background-color: #0b1c3d;
    color: #fff;
    position: relative;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav {
  max-width: 1600px; /* Ampliado para dar mÃ¡s espacio a los lados */
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px; /* MÃ¡s espacio a los lados */
}

.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0; /* Evita que el logo y el tÃ­tulo se encojan */
}

.logo {
    height: 150px;
    width: auto;
}

.logo-title h1, .logo-title h2 {
  font-size: 1.8rem;
  font-weight: 700;
  white-space: nowrap; /* Fuerza a que estÃ© en una sola lÃ­nea siempre */
}

.nav ul {
    display: flex;
    gap: 25px;
    list-style: none;
}

.nav ul li a {
    color: white;
    font-weight: 700;
    padding: 8px 12px;
    transition: 0.3s;
  white-space: nowrap;
}

.nav ul li a:hover {
    background-color: #2563eb;
    border-radius: 6px;
}

.nav .btn-socio {
    background-color: #2563eb;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    transition: 0.3s;
}

.nav .btn-socio:hover {
    background-color: #1e4db7;
}

/* Hero Base: Cabecera principal de la sección femenina */
.hero {
    position: relative;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: url('../img/Femenino/FOTO_ENCABEZADOFEM.JPEG') center/cover no-repeat;
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(11, 28, 61, 0.6);
    border-bottom-left-radius: 60px;
    border-bottom-right-radius: 60px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.2rem;
}

/* Footer profesional: Pie de página con enlaces y redes sociales */
footer {
    background-color: #0b1c3d;
    color: #cbd5f5;
    padding: 50px 20px;
    text-align: center;
    width: 100%;
}

footer a {
    color: #2563eb;
}

.social-links a {
    color: #ffffff;
    margin: 0 15px;
    font-size: 30px;
}

.social-links a:hover {
    color: #ffffff;
}

/* Tablet Responsive Global: Ajustes para pantallas de tamaño medio */
@media(max-width: 1024px) {
    .nav {
  max-width: 1600px; /* Ampliado para dar mÃ¡s espacio a los lados */
  width: 100%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px; /* MÃ¡s espacio a los lados */
}
}

/* Responsive Global: Ajustes para dispositivos móviles */
@media(max-width: 1024px) {
    body {
        padding-top: 0;
    }

    .logo {
        height: 100px;
    }

    .nav ul {
        flex-direction: column;
        gap: 15px;
        margin-top: 10px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

/* Mobile en horizontal: Ajustes para vista apaisada */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        height: auto;
        min-height: 320px;
        padding: 20px 20px;
    }

    .logo {
        height: 80px;
    }
}



/* Sección de características: Texto a la izquierda, imagen con efecto hover a la derecha */
.femenino-feature {
    padding: 100px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-content {
    display: flex;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
}

.feature-text {
    flex: 1.2;
    min-width: 300px;
}

.badge {
    background: #2563eb;
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    display: inline-block;
    margin-bottom: 20px;
}

.feature-text h3 {
    font-size: 3rem;
    color: #0b1c3d;
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.feature-text p {
    font-size: 1.15rem;
    color: #4b5563;
    margin-bottom: 20px;
    line-height: 1.8;
}

.feature-stats {
    display: flex;
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #0b1c3d;
}

.stat-item i {
    color: #2563eb;
    font-size: 1.5rem;
}

.feature-image {
    flex: 1;
    min-width: 300px;
}

.image-wrapper {
    position: relative;
    /* overflow: hidden;  poner la caja de la imagen */
    border-radius: 40px;
    cursor: pointer;
}

.main-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.8s cubic-bezier(0.2, 1, 0.3, 1);
}

/* Efecto hover para la imagen principal de características */
.image-wrapper:hover .main-img {
    transform: scale(1.1);
}

/* Sección de Galería: Cuadrícula de fotos relacionadas */
.gallery-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
}

.gallery-section h3 {
    font-size: 2.2rem;
    color: #0b1c3d;
    margin-bottom: 40px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 350px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.gallery-item .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 28, 61, 0.9), transparent);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item .overlay span {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

/* Efectos Hover para la galería */
.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .overlay {
    opacity: 1;
}

.gallery-item:hover .overlay span {
    transform: translateY(0);
}

/* Sección de Valores (Parte inferior creativa) */
.femenino-values {
    padding: 100px 20px;
    background: #f5f7fa;
    /* Consistente con el fondo del body */
    color: #0b1c3d;
    margin-top: 60px;
}

.femenino-values h3 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    font-weight: 800;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: white;
    padding: 40px;
    border-radius: 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.value-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: rgba(37, 99, 235, 0.2);
}

.value-icon {
    font-size: 3rem;
    color: #2563eb;
    margin-bottom: 25px;
}

.value-card h4 {
    font-size: 1.6rem;
    margin-bottom: 15px;
}

.value-card p {
    color: #4b5563;
    line-height: 1.6;
}

/* Correcciones para dispositivos móviles y tablets */
@media (max-width: 1200px) {
    .feature-content {
        gap: 40px;
    }

    .feature-text h3 {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .feature-content {
        flex-direction: column;
        text-align: center;
    }

    .feature-stats {
        justify-content: center;
    }
}

@media(max-width: 1024px) {
    .femenino-feature {
        padding: 60px 20px;
    }

    .feature-text h3 {
        font-size: 2rem;
    }

    .gallery-item {
        height: 300px;
    }
}

