/* =========================================
   PALETA DE COLORES Y VARIABLES
   ========================================= */
:root {
    --vibrante: linear-gradient(45deg, #ff0076, #ffab00); /* Rosa Neón a Naranja */
    --oceano: #00b4d8;
    --oscuro: #0f172a;
    --blanco: #ffffff;
    --texto-suave: #64748b;
    --shadow-color: rgba(255, 0, 118, 0.2);
}

/* =========================================
   ESTILOS GENERALES
   ========================================= */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    background-color: #f8fafc;
    color: var(--oscuro);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

/* =========================================
   NAVEGACIÓN CREATIVA (CON LOGO AJUSTADO)
   ========================================= */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 8%; /* Reducido para que el logo luzca mejor */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff007611;
}

/* NUEVO: Estilo para que tu logo cargue bien */
.logo img {
    height: 70px; /* Tamaño ideal */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05) rotate(-2deg); /* Un pequeño giro al pasar el mouse */
}

.social-nav {
    display: flex;
    align-items: center;
}

.social-nav a {
    color: var(--oscuro);
    margin-left: 15px;
    font-size: 1.2rem;
    transition: 0.3s;
}

.social-nav a:hover {
    color: #ff0076;
    transform: translateY(-3px);
}

/* =========================================
   HEADER (HERO SECTION)
   ========================================= */
header {
    height: 60vh;
    background: linear-gradient(rgba(15, 23, 42, 0.5), rgba(15, 23, 42, 0.5)), 
                url('https://southamericaplanet.com/wp-content/uploads/2020/08/trujillo.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%);
}

header h1 {
    font-size: 4.5rem;
    font-weight: 900;
    margin: 0;
    animation: bounceIn 1s ease-out;
}

header p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 10px;
}

/* =========================================
   TÍTULOS DE SECCIÓN
   ========================================= */
.section-title {
    text-align: center;
    margin-top: 50px;
}

.subtitle {
    color: #ff0076;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 3px;
}

.line {
    width: 80px;
    height: 5px;
    background: var(--vibrante);
    margin: 15px auto 50px;
    border-radius: 10px;
}

/* =========================================
   GRID Y TARJETAS ANIMADAS
   ========================================= */
.container { padding: 20px 8% 80px; }

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.card {
    background: var(--blanco);
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0,0,0,0.03);
}

.card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px var(--shadow-color);
}

.card-img {
    height: 280px;
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.8s;
}

.card:hover .card-img img {
    transform: scale(1.15) rotate(2deg);
}

.price-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--vibrante);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 800;
    box-shadow: 0 5px 15px rgba(255, 0, 118, 0.3);
}

.card-content { padding: 30px; text-align: center; }

.tour-meta {
    background: #fff0f6;
    color: #ff0076;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-block;
    margin-bottom: 15px;
}

.btn {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--vibrante);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.4s;
    box-shadow: 0 10px 20px rgba(255, 0, 118, 0.2);
}

.btn:hover {
    letter-spacing: 3px;
    filter: brightness(1.1);
}

/* =========================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.2) rotate(15deg);
    background-color: #128C7E;
}

/* =========================================
   ANIMACIONES
   ========================================= */
@keyframes bounceIn {
    0% { opacity: 0; transform: translateY(-50px); }
    100% { opacity: 1; transform: translateY(0); }
}

.scroll-indicator {
    margin-top: 30px;
    animation: jump 2s infinite;
    font-size: 1.5rem;
}

@keyframes jump {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Estilos extra para las cajas de "Incluye" en las páginas de detalle */
.incluye-box {
    text-align: left;
    background: #f8fafc;
    padding: 20px;
    border-radius: 20px;
    margin: 20px 0;
    border-left: 4px solid var(--oceano);
}
.incluye-box ul {
    list-style: none;
    padding: 0;
}
.incluye-box li {
    margin-bottom: 10px;
}
.incluye-box i {
    color: var(--oceano);
    margin-right: 10px;
}
/* =========================================
   ESTILOS EXCLUSIVOS PARA PÁGINAS DE DETALLE
   ========================================= */

/* Header más alto y con efecto de cristal */
.header-detalle {
    height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.header-detalle h1 {
    font-size: 5rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    margin: 0;
}

/* Contenedor de información ampliada */
.info-tour-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: -50px; /* Sube la info sobre el header */
    position: relative;
    z-index: 10;
}

@media (max-width: 900px) {
    .info-tour-container { grid-template-columns: 1fr; }
}

.desc-box {
    background: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.incluye-box-premium {
    background: var(--oscuro);
    color: white;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 20px 40px var(--shadow-color);
}

.incluye-box-premium h3 { color: #ff0076; margin-top: 0; }

.incluye-box-premium ul { list-style: none; padding: 0; }

.incluye-box-premium li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    gap: 15px;
}

.incluye-box-premium i { color: #25d366; font-size: 1.2rem; }

/* Video de gran tamaño */
.video-seccion {
    margin: 80px 0;
    text-align: center;
}

/* Contenedor principal de los videos */
.galeria-videos-vertical {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 20px; /* Espacio entre videos */
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

/* Estilo de cada cuadro de video */
.video-item {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 9 / 16; /* Fuerza el formato vertical tipo TikTok */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    border: 3px solid #333;
}

.video-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que el video llene el cuadro sin deformarse */
}

/* Ajuste para celulares (se verán uno debajo de otro o más pequeños) */
@media (max-width: 768px) {
    .galeria-videos-vertical {
        grid-template-columns: repeat(1, 1fr); /* 1 columna en móvil */
        max-width: 300px;
    }
}
/* Alineación general del NAV */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 5%;
}

/* Contenedor del menú central */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Botón Trujillo resaltado */
.city-btn {
    text-decoration: none;
    color: var(--oscuro);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 5px;
    transition: 0.3s;
    border: 2px solid transparent;
}

.city-btn.active {
    background-color: var(--oceano);
    color: white;
}

/* Estilo Botón CIUDADES */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: transparent;
    color: var(--oscuro);
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 800;
    border: 2px solid var(--oceano);
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

.dropdown:hover .dropbtn {
    background-color: var(--oceano);
    color: white;
}

/* Caja desplegable */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    z-index: 1000;
    border-radius: 8px;
    margin-top: 5px;
    overflow: hidden;
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
}

.dropdown-content a:hover {
    background-color: #f9f9f9;
    color: var(--oceano);
}

/* Mostrar al pasar mouse */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Ocultar en móvil para que no se amontone, o podemos convertirlo en hamburguesa luego */
    }
}
/* Estilos para la galería de fotos en Vuelos */
.card-foto {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 350px; /* Altura de las fotos */
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card-foto:hover {
    transform: translateY(-10px);
}

.card-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.foto-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: white;
}

.foto-info h4 {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 1.4rem;
    letter-spacing: 1px;
}

.foto-info span {
    font-size: 0.9rem;
    opacity: 0.9;
    font-weight: 400;
}
/* Esto arregla el espacio del traductor */
#google_translate_element {
    min-height: 40px;
    display: flex;
    justify-content: flex-end; /* Lo tira a la derecha */
    align-items: center;
    border-bottom: 1px solid #eee;
}

/* Evita que el logo sea gigante si hay errores de carga */
.logo img {
    max-height: 70px;
    width: auto;
}

/* Si Google no carga el widget, esto evita que quede un hueco feo */
.goog-te-gadget-simple {
    border: none !important;
    background: transparent !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}