/* ======================================================
   EXPLORA PUCALLPA - CSS COMENTADO
   Este archivo controla TODO el diseño visual
   Compatible con miHosting (HTML + CSS puro)
====================================================== */

/* =====================
   RESET GENERAL
   Eliminamos estilos por defecto del navegador
===================== */
* {
    margin: 0; /* Quita márgenes por defecto */
    padding: 0; /* Quita rellenos por defecto */
    box-sizing: border-box; /* Evita errores de tamaño */
}

/* =====================
   ESTILOS BASE DEL BODY
===================== */
body {
    font-family: 'Poppins', sans-serif; /* Fuente principal */
    background: #ffffff;/* Fondo blanco como en el diseño */
    color: #000000;/* Texto negro */
}

/* Todas las imágenes se adaptan al contenedor */
img {
    max-width: 100%;
    display: block;
}

/* Quitamos subrayado de links */
a {
    text-decoration: none;
    color: inherit;
}

/* =====================
   HEADER (LOGO + MENÚ)
===================== */
.header {
    display: flex;  /* Logo a la izquierda, menú a la derecha */
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: #ffffff;  /* Negro blanco */
}

/* Tamaño del logo */
.logo {
    height: 52px;
}

/* Links del menú */
.nav a {
    margin: 0 14px;
    font-weight: 500;
}

.nav a {
    display: inline-block;
    opacity: 0;
    transform: translateY(-50px);
    animation: reboteMenu 0.6s ease-out forwards;
}

/* Animación escalonada */
.nav a:nth-child(1) {
    animation-delay: 0s;
}

.nav a:nth-child(2) {
    animation-delay: 0.2s;
}

.nav a:nth-child(3) {
    animation-delay: 0.4s;
}

.nav a:nth-child(4) {
    animation-delay: 0.6s;
}

.nav a:nth-child(5) {
    animation-delay: 0.8s;
}

/* Rebote al entrar */
@keyframes reboteMenu {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }

    60% {
        opacity: 1;
        transform: translateY(20px);
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Botón contáctanos */
.nav .btn {
    border: 1px solid #7CFF6B;/* Verde del diseño */
    padding: 8px 18px;
    border-radius: 30px;
    
}

/* Íconos dentro del header */
.sociales a i {
    font-size: 22px;
    transition: transform 0.3s ease;
    animation: bounce 1.5s infinite;
}


/* Rebote */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }
}
.sociales a:nth-child(1) i {
    animation-delay: 0s;
}

.sociales a:nth-child(2) i {
    animation-delay: 0.3s;
}

.sociales a:nth-child(3) i {
    animation-delay: 0.6s;
}

.sociales a:nth-child(4) i {
    animation-delay: 0.9s;
}


/* =====================
   HERO PRINCIPAL
===================== */
.hero {
    margin: 20px; /* Separación exterior */
    height: 640px; /* Altura del banner */
    border-radius: 30px;/* Bordes redondeados */
    background: url('../img/img.jpg') center/cover no-repeat;
    display: flex;
    align-items: center;/* Centra el texto verticalmente */
    padding: 50px;
}


/* Texto grande del hero */
.hero h1 {
    color: #CFFF9A; /* Verde claro exacto */
    font-size: 44px;
    font-family: 'Playfair Display', serif;
        /* Nueva tipografía elegante */
    line-height: 1.15;
    max-width: 650px;
    font-weight: 700;
    animation: entradaRebote 1.2s ease-out;
}
@keyframes entradaRebote {
    0% {
        transform: translateY(-200px);
        opacity: 0;
    }

    60% {
        transform: translateY(30px);
        opacity: 1;
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* =====================
   SECCIÓN LUGARES / TOURS
===================== */
.lugares {
    background: #2f9300; /* Fondo verde */
    padding: 70px 40px;
    text-align: center;
    color: #fff715;/* Texto negro */
}

.lugares h2 {
    font-size: 26px;
    font-family: 'Playfair Display', serif;        /* Nueva tipografía elegante */
    margin-bottom: 45px;
    font-weight: 700;
}
.lugares h1 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
    /* Nueva tipografía elegante */
    margin-bottom: 45px;
    font-weight: 700;
}

/* Contenedor de cards */
.cards {
    display: grid;  /* Grid responsive */
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 28px;
}

/* Card individual */
.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden; /* Corta la imagen */
    box-shadow: 0 10px 20px rgba(0, 0, 0, .15);
    color: #000000;     /* Texto negro */
}

/* Card de experiencia */
.experiencia-card {
    width: 260px;
    height: 260px; /* 👈 AQUÍ está el cambio REAL */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    background: #fff;
}

/* Imagen dentro del card */
.experiencia-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Recorta sin deformar */
    object-position: center center;
    display: block;
    transition: transform 0.4s ease;
}

.experiencia-card:hover img {
    transform: scale(1.1);
}

/* Imagen del tour */
.card img {
    width: 100%; /* Ocupa todo el ancho de la card */
    height: 280px; /* Altura fija (CLAVE) */
    object-fit: cover; /* Recorta sin deformar */
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

/* Información del tour */
.info {
    padding: 18px;
    text-align: left;
}

.info h3 {
    font-size: 16px;
    font-weight: 600;
}
/* Entrada desde la izquierda */
.slide-in-left {
    opacity: 0;
    transform: translateX(-200px);
    animation: entrarIzquierda 1s ease-out forwards;
}

/* Entrada desde la derecha */
.slide-in-right {
    opacity: 0;
    transform: translateX(200px);
    animation: entrarDerecha 1s ease-out forwards;
}

/* Animaciones */
@keyframes entrarIzquierda {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes entrarDerecha {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
/* Cuando se hace visible */
.slide-in-left.visible,
.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Precio alineado a la derecha */
.price {
    float: right;
    font-weight: 700;
}

.info p {
    font-size: 13px;
    margin-top: 6px;
}

/* =====================
   EXPERIENCIAS
===================== */
.experiencias {
    padding: 90px 40px;
    text-align: center;
    color: #d8d103;/* Texto negro */
}

.experiencias h1 {
    font-size: 48px;
    font-family: 'Playfair Display', serif;
        /* Nueva tipografía elegante */
    margin-bottom: 50px;
}

.experiencias h2 {
    font-size: 28px;
    font-family: 'Playfair Display', serif;
    /* Nueva tipografía elegante */
    margin-bottom:80px;

}

/* Galería de experiencias */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 22px;
}
/* =====================
   SECCIÓN SOBRE AGENCIA
   Estilo tipo "Sobre Mí"
===================== */

.sobre-agencia {
    background: linear-gradient(180deg, #f7f7f7 0%, #b1ffa7 100%);
    padding: 60px 60px 100px;
}
.sobre-agencia h1{
    text-align: center;
    font-family: 'Playfair Display', serif;
    /* Nueva tipografía elegante */
    font-size: 48px;
    /* Más presencia */
    color: #d8d103;
    margin-top: 0;
        /* ⬅️ Evita que baje */
        margin-bottom: 50px;
        /* ⬅️ Lo separa más del contenido */
}

/* Contenedor principal */
.sobre-contenedor {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
}

/* IMAGEN IZQUIERDA */
.sobre-contenedor img {
    width: 100%;
}

/* Imagen */
.imagen-agencia img {
    width: 100%;
    max-width: 490px;
    border-radius: 30px;
    display: block;
    margin: auto;
}

/* Tarjeta blanca */
.card-agencia {
    animation: fadeUp 0.8s ease;
    
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Título */
.card-agencia h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #35E14E; /* Verde identidad */
}

/* Texto */
.card-agencia p {
    font-size: 25px;
    text-align: center;
    line-height: 1.8;
    color: #000000;
}

/* Responsive */
@media (max-width: 768px) {
    .sobre-contenedor {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .card-agencia {
        padding: 35px;
    }
}

/* =====================
   CÓMO LLEGAR
===================== */
.como-llegar {
    background: #0b0f0b;
    padding: 110px 60px;
    color: #fff;
}

.llegar-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.info-ucayali h2 {
    font-size: 42px;
    color: #4cff4c;
    margin-bottom: 45px;
}

.info-item {
    display: flex;
    gap: 18px;
    margin-bottom: 28px;
}

.info-item span {
    font-size: 28px;
    color: #4cff4c;
}

.info-item h3 {
    font-size: 20px;
    color: #4cff4c;
    margin-bottom: 6px;
}

.info-item p {
    font-size: 16px;
    color: #e0e0e0;
}

/* Responsive */
@media(max-width:900px) {
    .llegar-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.mapa-ucayali {
    display: flex;
    justify-content: center;
}

.mapa-ucayali img {
    max-width: 670px;
    width: 100%;
    animation: flotar 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(124, 255, 0, 0.6));
}

/* ANIMACIÓN MAPA */
@keyframes flotar {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    100% {
        transform: translateY(0);
    }
}
/* ===============================
   SECCIÓN TÉRMINOS Y CONDICIONES
=============================== */

.terminos-condiciones {
    background: linear-gradient(180deg, #b1ffa7 0%, #1f7232 100%);
    /* Fondo celeste igual a la imagen */
    padding: 100px 40px;
    text-align: center;
}

/* Título principal */
.terminos-condiciones h2 {
    font-size: 36px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 60px;
    letter-spacing: 2px;
}

/* Icono del título */
.terminos-condiciones h2 i {
    margin-left: 12px;
    font-size: 32px;
}

/* Contenedor de las imágenes */
.terminos-contenedor {
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
}

/* Cada afiche */
.termino-item img {
    width: 100%;
    max-width: 380px;
    border-radius: 6px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease;
}

/* Efecto hover */
.termino-item img:hover {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
    .terminos-contenedor {
        gap: 40px;
    }

    .termino-item img {
        max-width: 300px;
    }
}

/* =====================
   CONTACTO
===================== */
.contacto {
    background: #0e461b !important;
    color: #f3ff0d;
    padding: 70px 40px;
    text-align: center;
}

.contacto h2 {
    font-size: 36px;
        font-family: 'Playfair Display', serif;
            /* Nueva tipografía elegante */
    margin-bottom: 20px;
}

/* Botón WhatsApp */
.whatsapp {
    display: inline-block;
    background: #1DB954;
    color: #fff;
    padding: 12px 26px;
    border-radius: 40px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Iconos sociales */
.sociales a {
    font-size: 26px;
    margin: 0 12px;
}

/* =====================
   FOOTER
===================== */
.footer {
    background: linear-gradient(180deg, #0e461b 0%, #000000 100%);
    color: #ffffff;
    text-align: center;
    padding: 50px 20px 35px;      /* controlado */
}

/* =====================
   RESPONSIVE (CELULAR)
===================== */
@media(max-width:768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }

    .hero {
        height: 360px;
        padding: 30px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .como-llegar,
    .agencia {
        grid-template-columns: 1fr;
        flex-direction: column;
    }
}
/* =========================
   WHATSAPP FLOTANTE FINAL
========================= */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    z-index: 999999;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .35);

    /* 👇 Animación de rebote */
    animation: rebote 1.5s infinite ease-in-out;
}

/* Ícono dentro del botón */
.whatsapp-float i {
    color: #fff;
}

/* Definición del rebote */
@keyframes rebote {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }

    /* altura del rebote */
}



/* Ajuste SOLO móvil */
@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        font-size: 28px;
        bottom: 18px;
        right: 18px;
    }
}

/* evitar que algún contenedor lo tape */
body,
html {
    overflow-x: visible !important;
}

.card-link {
    text-decoration: none;
    color: inherit;
}

.card-link:hover .card {
    transform: translateY(-6px);
    transition: 0.3s ease;
}

.tour-detalle {
    
    max-width: 1200px;
    margin: 100px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    padding: 0 40px;
}

.tour-img img {
    width: 100%;
    border-radius: 30px;
}

.tour-info h1 {
    font-size: 42px;
    color: #35E14E;
}

.precio {
    font-size: 24px;
    font-weight: 700;
    margin: 20px 0;
}

.tour-info ul {
    margin: 25px 0;
    padding-left: 20px;
}

.btn-reserva {
    display: inline-block;
    background: #25D366;
    color: #fff;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
}