/* FUENTES */
@font-face {
    font-family: 'Blastimo';
    src: url('yayasfuentes_/Blastimo.ttf');
}

@font-face {
    font-family: 'MyriadPro';
    src: url('yayasfuentes_/MYRIADPRO-COND.OTF');
}

@font-face {
    font-family: 'BillyOhio';
    src: url('yayasfuentes_/Billy-Ohio.otf');
}

/* GENERAL */
body {
    background-color: #fff;
    font-family: 'MyriadPro', sans-serif;
    overflow-x: hidden;
    perspective: 1000px;
}

/* HERO SECTION 3D */
.hero-container {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('imagenes/fondo1.jpg') no-repeat center center;
    background-size: cover;
    z-index: -2;
    transform: scale(1.1);
    transition: transform 0.1s ease-out;
}

.overlay-3d {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: -1;
}

#navbar-fixed {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(36, 161, 170, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1000;
    padding: 15px 0;
}

#navbar-fixed ul {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 20px;
}

#navbar-fixed a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-content {
    text-align: center;
    z-index: 5;
}

#logo-principal {
    width: 800px;
    max-width: 80%;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.6));
    animation: float 5s ease-in-out infinite;
}

.hero-tagline {
    font-family: 'Blastimo', sans-serif;
    color: white;
    font-size: 4rem;
    margin-top: 20px;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.8);
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* SCROLL INDICATOR */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 25px;
    height: 45px;
    border: 2px solid white;
    border-radius: 15px;
}

.scroll-indicator span {
    display: block;
    width: 5px;
    height: 5px;
    background: white;
    margin: 8px auto;
    border-radius: 50%;
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        transform: translateY(0);
    }

    100% {
        opacity: 0;
        transform: translateY(15px);
    }
}

/* Contenedor para asegurar el centrado total */
.contenedor-titulo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 20px 20px 20px;
    /* Espacio arriba y abajo */
    text-align: center;
}

.titulo2 {
    font-family: 'Poppins', sans-serif;
    /* Una fuente moderna (puedes usar Arial si no tienes esta) */
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0;
    position: relative;
    display: inline-block;

    /* Efecto de Texto en Gradiente */
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    /* Sombra suave para dar profundidad */
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.1);

    /* Animación de entrada */
    animation: aparecerTitulo 1.2s ease-out;
}

/* El subrayado decorativo "cool" */
.titulo2::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 6px;
    background: linear-gradient(90deg, #ff5722, #ff9800);
    bottom: -10px;
    left: 20%;
    border-radius: 10px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* El subrayado aparece cuando el mouse pasa cerca o la página carga */
.contenedor-titulo:hover .titulo2::after {
    transform: scaleX(1);
}

/* Animación de entrada para el texto */
@keyframes aparecerTitulo {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsivo para celulares */
@media (max-width: 600px) {
    .titulo2 {
        font-size: 1.8rem;
    }
}

/* Contenedor principal en Grid */
.contenedor-imagenes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px;
    background-color: #f0f2f5;
}

/* La Tarjeta (Efecto Glassmorphism) */
.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px;
}

/* Animación al pasar el mouse por la tarjeta */
.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Título del Tour */
.tour-name {
    font-weight: bold;
    font-size: 1.4rem;
    margin: 15px 0;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Contenedor de Imagen con Zoom Interno */
.img-wrapper {
    position: relative;
    width: 90%;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    /* Importante para que la imagen no se salga al crecer */
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* Efecto Zoom en la foto */
.tour-card:hover .img-wrapper img {
    transform: scale(1.1);
}

/* Etiqueta de Fecha sobre la imagen */
.tour-date {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ff5722;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Botón Moderno con Gradiente */
.boton-info {
    margin-top: 20px;
    background: linear-gradient(135deg, #e77b16, #26968e);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
}

.boton-info:hover {
    letter-spacing: 1px;
    background: linear-gradient(135deg, #26968e, #e77b16);
    transform: scale(1.05);
}

/* Animación de Entrada (opcional) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tour-card {
    animation: fadeInUp 0.8s ease backwards;
}

/* Retraso de animación para cada tarjeta */
.tour-card:nth-child(1) {
    animation-delay: 0.1s;
}

.tour-card:nth-child(2) {
    animation-delay: 0.3s;
}

.tour-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* Contenedor Principal del Footer */
.footer-moderno {
    background: #0f172a;
    /* Azul oscuro elegante */
    color: #ffffff;
    padding: 60px 0 20px;
    font-family: 'Poppins', sans-serif;
    position: relative;
    overflow: hidden;
}

.footer-contenido {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    padding: 0 20px;
}

.imglogo {
    width: 200px;
    height: auto;
}

/* Estilo del Logo en el Footer */
.footer-logo {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 15px;
}

.footer-logo span {
    color: #ff5722;
    /* El color naranja de acento */
}

.footer-seccion h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

/* Línea decorativa bajo los títulos */
.footer-seccion h3::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 3px;
    background: #ff5722;
    bottom: -8px;
    left: 0;
}

/* --- ICONOS DE REDES SOCIALES --- */
.iconos-redes {
    display: flex;
    gap: 15px;
}

.red-social {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Efectos Individuales por Red Social */
.facebook:hover {
    background: #3b5998;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(59, 89, 152, 0.5);
}

.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(214, 36, 159, 0.5);
}

.tiktok:hover {
    background: #000000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.2);
    border: 1px solid #ff0050;
}

.whatsapp:hover {
    background: #25d366;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.5);
}

/* Animación de rebote en el icono */
.red-social:hover i {
    transform: scale(1.2);
}

/* --- PARTE INFERIOR --- */
.footer-base {
    text-align: center;
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsivo */
@media (max-width: 768px) {
    .footer-contenido {
        text-align: center;
    }

    .iconos-redes {
        justify-content: center;
    }

    .footer-seccion h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .hero-tagline {
        font-size: 2.5rem;
    }

    #logo-principal {
        width: 250px;
    }

    .menu {
        display: none;
        flex-direction: column;
        background: rgba(36, 161, 170, 0.95);
        position: absolute;
        top: 60px;
        width: 100%;
    }

    .menu.show {
        display: flex;
    }

    .pie {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
}