/* =====================================
   RESET GENERAL
===================================== */
html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    font-family: "Poppins", sans-serif;
}


/* =====================================
   MENU SUPERIOR
===================================== */

.menu-superior {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;

    padding: 0px 0;

    display: flex;
    justify-content: center;
    z-index: 20;

    background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent);

    /* ✨ ANIMACIÓN NUEVA */
    animation: fadeDown .9s ease-out both;
}

@keyframes fadeDown {
    0% {
        opacity: 0;
        transform: translateY(-35px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-container {
    width: 100%;
    max-width: 1450px;

    display: flex;
    justify-content: center;
    align-items: center;
}

/* UL LINKS */
.menu-links {
    list-style: none;

    display: flex;
    gap: 28px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* LOGO */
.menu-links .home-icon img {
    height: 115px;
    width: 115px;
    object-fit: contain;
    transition: 0.3s;
    border-radius: 12px;
}

.menu-links .home-icon img:hover {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);
    padding: 8px;
}

/* LOGIN ICON */
.menu-links .login-icon img {
    height: 45px;
    width: 45px;
    object-fit: contain;
    border-radius: 10px;
    transition: 0.3s;
}

.menu-links .login-icon img:hover {
    background: rgba(255,255,255,0.25);
    backdrop-filter: blur(3px);
    padding: 6px;
}

/* LINKS */
.menu-links li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: 0.3s;
    padding: 6px 10px;

    /* ✨ HOVER */
    position: relative;
}

.menu-links li a:hover {
    color: #ffe6ff;
    transform: translateY(-2px);
}

/* ✨ SUBRAYADO MAGICO */
.menu-links li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;

    width: 0;
    height: 2px;

    background: linear-gradient(90deg, #a32bbf,#ff6db7,#ffb36d);
    border-radius: 4px;

    transition: .35s ease;
}

.menu-links li a:hover::after {
    width: 100%;
}

/* ACTIVO */
.menu-links li a.activo {
    color: #ffb36d;
}

.menu-links li a.activo::after {
    width: 100%;
}



/* =====================================
   CARRUSEL
===================================== */

.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* INDICADORES */
.carousel-indicators {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

.indicator {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.indicator.active {
    background-color: white;
    transform: scale(1.3);
}



/* =====================================
   SECCIÓN 1: BIENVENIDOS
===================================== */

.contenido {
    background-image: url('/imagenes/fondos_ventanaS/fondoWeb.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    min-height: auto;
    padding: 40px 40px 20px;
    text-align: center;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;
}

/* TÍTULO */
.titulo-tepos {
    font-size: 3.5rem;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    letter-spacing: 3px;
    text-shadow: 0 5px 18px rgba(0,0,0,0.8);
}

/* SLOGAN */
.slogan {
    font-size: 1.6rem;
    margin-bottom: 40px;
    font-style: italic;
    text-shadow: 0 3px 12px rgba(0,0,0,0.7);
}

/* HISTORIA */
.historia {
    width: 85%;
    max-width: 1100px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);

    padding: 40px 50px;
    border-radius: 18px;
    line-height: 1.8rem;
    font-size: 1.25rem;

    text-align: justify;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.historia p {
    margin-bottom: 18px;
}



/* =====================================
   SECCIÓN 2: CÓMO LLEGAR
===================================== */

.como-llegar {
    background-image: url('/imagenes/fondos_ventanaS/fondoWeb.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    min-height: auto;
    padding: 20px 40px 80px;
    color: white;
    text-align: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

/* SUBTÍTULO */
.titulo-llegar {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 5px 18px rgba(0,0,0,0.9);
    letter-spacing: 2px;
}

/* TEXTO */
.texto-llegar {
    width: 85%;
    max-width: 1000px;

    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(6px);

    padding: 40px 50px;
    border-radius: 18px;
    font-size: 1.35rem;
    line-height: 1.9rem;
    text-align: justify;
    box-shadow: 0 8px 25px rgba(0,0,0,0.5);
}

.texto-llegar p {
    margin-bottom: 22px;
}



/* =====================================
   BOTONES
===================================== */

.botones-ciudades {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    justify-content: center;
}

.btn-magico {
    display: inline-block;
    padding: 18px 28px;
    border-radius: 14px;
    font-size: 1.15rem;
    font-weight: 700;
    color: white;
    text-decoration: none;

    background: linear-gradient(135deg, #a32bbf, #ff6db7, #ffb36d);
    background-size: 200% 200%;

    box-shadow: 0 8px 25px rgba(0,0,0,0.45);
    backdrop-filter: blur(5px);

    transition: 0.35s ease;
    text-align: center;

    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.btn-magico:hover {
    transform: translateY(-3px) scale(1.04);
    background-position: 100% 0;
}



/* =====================================
   MAPA
===================================== */

.map-container {
    width: 95%;
    max-width: 1100px;
    border-radius: 18px;
    overflow: hidden;

    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);

    margin-top: 10px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
}
.menu-links li a {
    display: flex;              /* permite centrar vertical/horizontal */
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;         /* centra el texto */
    white-space: normal;        /* permite salto de línea natural */

    line-height: 1.2;           /* mejora el acomodo vertical */
    min-width: 130px;           /* ancho mínimo para bloques */
}
@media (max-width: 768px){

    /* Menú arriba */
    .menu-superior{
        position: absolute;
        top: 0;
        z-index: 20;
    }

    /* Degradados laterales */
    .menu-superior::before,
    .menu-superior::after{
        content: "";
        position: absolute;
        top: 0;
        width: 70px;
        height: 100%;
        pointer-events: none;
        z-index: 25;
    }

    /* Izquierda */
    .menu-superior::before{
        left: 0;
        background: linear-gradient(
            to left,
            rgba(0,0,0,0),
            rgba(0,0,0,0.75)
        );
    }

    /* Derecha */
    .menu-superior::after{
        right: 0;
        background: linear-gradient(
            to right,
            rgba(0,0,0,0),
            rgba(0,0,0,0.75)
        );
    }

    .menu-links{
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 20px;
        padding: 0 20px;
        scrollbar-width: none;
    }

    .menu-links::-webkit-scrollbar{
        display: none;
    }

    .menu-links li{
        flex-shrink: 0;
    }

    .menu-links li a{
        min-width: auto;
        font-size: 14px;
    }

    /* Oculta el logo del menú */
    .home-icon{
        display: none;
    }

    /* Carrusel */
    .carousel{
        height: 70vh;
        position: relative;
    }

    .carousel-item img{
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }

    /* Logo centrado sobre la imagen */
    .carousel::before{
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);

        width: 180px;
        height: 180px;

        background-image: url('/imagenes/logoTepos.png');
        background-repeat: no-repeat;
        background-position: center;
        background-size: contain;

        z-index: 15;
    }
}