/* Variables de Color basadas en tu logo */
:root {
    --azul-noche: #0a192f;
    --oro: #c5a059;
    --oro-light: #e2c28d;
    --blanco: #f8f9fa;
    --text-gray: #a8b2d1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--azul-noche);
    color: var(--blanco);
    line-height: 1.6;
}

/* Navegación */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 10%;
    background: rgba(10, 25, 47, 0.95);
    position: fixed;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid var(--oro);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--oro);
}

.logo span {
    color: var(--blanco);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li a {
    color: var(--blanco);
    text-decoration: none;
    margin-left: 2rem;
    transition: 0.3s;
    font-weight: 400;
}

.nav-links li a:hover {
    color: var(--oro);
}

/* Hero Section */
.hero {
    height: 100vh;

    background:
        linear-gradient(rgba(10, 25, 47, 0.8), rgba(10, 25, 47, 0.8)),
        url('logo_gestoriadocente4k-removebg.png');

    background-repeat: no-repeat;
    background-position: center center;

    /* Tamaño de la imagen */
    background-size: 58%;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--oro);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn-gold {
    padding: 1rem 2.5rem;
    background: var(--oro);
    color: var(--azul-noche);
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: 0.4s;
}

.btn-gold:hover {
    background: var(--oro-light);
    transform: translateY(-3px);
}

/* Nosotros / Misión y Visión */
.about {
    padding: 100px 10%;
    background: var(--blanco);
    color: var(--azul-noche);
}

.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    padding: 40px;
    background: #fff;
    border-left: 5px solid var(--oro);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--azul-noche);
}

/* Servicios */
.services {
    padding: 100px 10%;
    text-align: center;
}

.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--oro);
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.service-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border: 1px solid rgba(197, 160, 89, 0.2);
    border-radius: 10px;
    transition: 0.3s;
}

.service-item:hover {
    border-color: var(--oro);
    background: rgba(197, 160, 89, 0.1);
}

.service-item h4 {
    color: var(--oro);
    margin-bottom: 10px;
}

/* Footer / Contacto */
.contact {
    padding: 60px 10%;
    background: #050c18;
    text-align: center;
    border-top: 2px solid var(--oro);
}

.contact h2 {
    color: var(--oro);
    margin-bottom: 20px;
}

.contact-info {
    margin: 20px 0;
}

.copy {
    margin-top: 40px;
    font-size: 0.8rem;
    color: var(--text-gray);
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-content h1 { font-size: 2rem; }
}

.location {
    padding: 80px 10%;
    background: #f0eff1;
    color: #0a192f;
}
.container-location {
    display: flex;
    gap: 50px;
    align-items: center;
    flex-wrap: wrap;
}
.map-container {
    flex: 1.5;
    min-width: 300px;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2000;
}
.whatsapp-btn img {
    width: 35px;
}
/* Estilos para el contacto con imagen */
.contact-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 30px;
    flex-wrap: wrap; /* Para que en celular la foto se ponga arriba del texto */
}

.profile-pic {
    width: 350px; /* Puedes ajustar el tamaño aquí */
    height: auto;
    border-radius: 10px; /* Opcional: suaviza las esquinas */
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3)); /* Le da profundidad al PNG */
}

.contact-text {
    text-align: left;
    min-width: 280px;
}

.role {
    color: var(--oro); /* Si usas la variable de color dorado */
    font-weight: bold;
    margin-bottom: 15px;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        text-align: center;
    }
    .contact-text {
        text-align: center;
    }
}

/* Alineación del logo y texto en el menú */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px; /* Espacio entre la imagen y el texto */
}

.nav-logo {
    height: 60px; /* Ajusta este tamaño según prefieras */
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.logo-text {
    font-size: 1.4rem;
    font-weight: bold;
    color: #ffffff;
}

.logo-text span {
    color: #c5a059; /* El color dorado para DOCENTE */
}

/* Aplicar la fuente elegante y colores correctos */
.logo-text {
    font-family: 'Playfair Display', serif; 
    font-size: 1.6rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    gap: 8px;
}

/* GESTORÍA en blanco */
.logo-text span:first-child {
    color: #ffffff; 
}

/* DOCENTE en dorado */
.logo-text span:last-child {
    color: #c5a059; /* Tu color dorado */
}

/* --- CARRUSEEL PARA IMÁGENES VERTICALES --- */
.carousel-container-vertical {
    width: 90%;
    max-width: 500px;      /* Al ser verticales, no necesitan ser tan anchas */
    height: 700px;         /* Aumentamos el alto para que quepa el formato vertical */
    margin: 50px auto;
    overflow: hidden;
    border-radius: 20px;
    background: #0a1428;   /* Fondo oscuro para los bordes si la imagen es delgada */
    border: 2px solid #c5a059;
    box-shadow: 0 15px 35px rgba(0,0,0,0.6);
}

.carousel-track {
    display: flex;
    width: 300%;
    height: 100%;
    animation: scrollVerticalImages 8s infinite ease-in-out;
}

.carousel-item {
    width: 33.333%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-item img {
    height: 100%;          /* Priorizamos que llene el alto */
    width: auto;           /* Que el ancho se ajuste solo */
    object-fit: contain;   /* ¡ESTO EVITA QUE SE RECORTE! Muestra la foto completa */
}

/* Animación de desplazamiento */
@keyframes scrollVerticalImages {
    0%, 25% { transform: translateX(0); }
    33%, 58% { transform: translateX(-33.33%); }
    66%, 91% { transform: translateX(-66.66%); }
    100% { transform: translateX(0); }
}

/* AJUSTE PARA MÓVIL (Muy importante para fotos verticales) */
@media (max-width: 768px) {
    .carousel-container-vertical {
        height: 500px;     /* En el cel la bajamos un poco para que no tape todo */
        max-width: 90%;
    }
}

/* Estilos para la sección de Video */
.video-presentacion {
    padding: 60px 5%;
    background-color: #0a1428; /* El azul oscuro de tu marca */
    text-align: center;
}

.container-video {
    max-width: 900px; /* Tamaño ideal para que no se vea gigante en PC */
    margin: 0 auto;
}

.section-title {
    color: #c5a059; /* Dorado corporativo */
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.video-wrapper {
    position: relative;
    border: 2px solid #c5a059;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    line-height: 0;
}

.video-wrapper video {
    width: 100%;
    height: auto;
    display: block;
}

.servicios-layout-centrado{
    display:flex;
    gap:30px;

    width:95%;              /* ocupa más espacio */
    max-width:1600px;       /* MÁS ancho */

    margin:50px auto;

    align-items:stretch;
}

/* CONTENEDORES */
.carousel-container-vertical{
    flex:1;

    height:850px;

    border:2px solid #c5a059;
    border-radius:20px;

    background:#02163a;

    padding:10px;          /* padding interno */

    box-sizing:border-box;

    overflow:hidden;
}

/* CONTENEDOR CAROUSEL */
#carouselServicios{
    width:100%;
    height:100%;

    position:relative;
}

/* ITEMS */
.carousel-item{
    position:absolute;
    inset:0;

    width:100%;
    height:100%;

    opacity:0;

    transition:opacity 0.8s ease-in-out;

    display:flex;
    justify-content:center;
    align-items:center;

    padding:5px;

    box-sizing:border-box;
}

/* ITEM ACTIVO */
.carousel-item.active{
    opacity:1;
    z-index:1;
}

/* IMÁGENES */
.carousel-img{
    max-width:100%;
    max-height:100%;

    width:auto;
    height:auto;

    object-fit:contain;

    display:block;
}
/* IMAGEN DERECHA */
.img-estatica{
    width:100%;
    height:100%;

    object-fit:contain; 

    display:block;

    border-radius:15px;
}


