/* Estilos para sobre_nosotros.html */

.page-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../assets/foto_grupo_clase.jpg');
    background-size: cover;
    background-position: center 20%;
    padding: 150px 20px;
    text-align: center;
    color: white;
}

.page-hero h1 {
    font-family: var(--Anton);
    font-size: 3.5rem;
    color: var(--color_secundario);
}

.zigzag-section {
    padding: 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.zigzag-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 5rem;
}

.zigzag-row:nth-child(even) {
    direction: rtl;
    /* Invierte el orden visualmente */
}

.zigzag-row:nth-child(even)>* {
    direction: ltr;
    /* Restaura dirección de texto */
}

.zigzag-content h2 {
    font-family: var(--Anton);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--texto_oscuro);
}

.zigzag-content p {
    line-height: 1.8;
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1rem;
}

.zigzag-image {
    position: relative;
}

.zigzag-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.zigzag-image img:hover {
    transform: scale(1.02);
}

@media (max-width: 900px) {

    .zigzag-row,
    .zigzag-row:nth-child(even) {
        grid-template-columns: 1fr;
        direction: ltr;
        gap: 2rem;
    }

    .page-hero h1 {
        font-size: 2.5rem;
    }
}

/* Estilos específicos para el video */
.video-container {
    width: 100%;
    max-width: 1200px;
    /* opcional */
    height: 600px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

/* SECCION CARRUSEL SOBRE NOSOTROS */
.carousel-section {
    padding: 0 2rem 5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.carousel-section h2 {
    font-family: var(--Anton);
    font-size: 2.5rem;
    color: var(--color_secundario);
    margin-bottom: 3rem;
}

.carousel-content-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    overflow: hidden;
}

/* Carrusel de Imágenes */
.carousel-viewport {
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
    /* Removed border-radius and box-shadow from container */
}

.carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.carousel-slide {
    flex: 0 0 calc(100% / 3);
    /* 3 items visible */
    width: calc(100% / 3);
    min-width: unset;
    /* Remove min-width 100% */
    aspect-ratio: 1 / 1;
    /* Square */
    height: auto;
    padding: 10px;
    box-sizing: border-box;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.carousel-slide img:hover {
    transform: scale(1.03);
}

/* Carrusel de Texto (opcional, si se quiere sincronizar texto) */
/* Si solo son imágenes, esto puede omitirse o usarse para captions */
.text-carousel-viewport {
    overflow: hidden;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 0;
}

/* ESTILOS NUEVOS: SECCION PRESTIGIO Y MISION */

/* Prestige Banner */
.prestige-banner {
    background-color: var(--color_primario);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.prestige-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.prestige-content h2 {
    font-family: var(--Anton);
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-accent, #d4af37);
    /* Fallback si no está definida */
    margin-bottom: 0.5rem;
}

.prestige-content h3 {
    font-family: var(--Montserrat);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.prestige-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.prestige-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--Anton);
    font-size: 3.5rem;
    color: var(--gold-accent, #d4af37);
}

.stat-label {
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.prestige-countries {
    font-size: 1rem;
    opacity: 0.7;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Mission Section */
.mission-section {
    padding: 6rem 2rem;
}

.mission-container {
    max-width: 1100px;
    margin: 0 auto;
}

.mission-header {
    text-align: center;
    margin-bottom: 4rem;
}

.mission-header h2 {
    font-family: var(--Anton);
    font-size: 3rem;
    color: var(--color_secundario);
    margin-bottom: 1rem;
}

.mission-lead {
    font-size: 1.5rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.mission-card {
    padding: 3rem 2rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.mission-card h4 {
    font-family: var(--Montserrat);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--color_secundario);
}

.mission-card p {
    color: #666;
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .prestige-content h3 {
        font-size: 1.8rem;
    }

    .prestige-stats {
        flex-direction: column;
        gap: 2rem;
    }

    .mission-header h2 {
        font-size: 2.5rem;
    }
}

.text-carousel-track {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.text-slide {
    min-width: 100%;
    text-align: center;
    padding: 1rem;
}

.text-slide h3 {
    font-family: var(--Anton);
    font-size: 1.5rem;
    color: var(--color_primario);
    margin-bottom: 0.5rem;
}

.text-slide p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.6;
}

/* Puntos de navegación */
.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 2rem;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--color_primario);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background-color: #bbb;
}

@media (max-width: 768px) {
    .carousel-slide {
        height: 300px;
    }

    .carousel-section h2 {
        font-size: 2rem;
    }
}