/*
Theme Name: Aguidiaz Travel
Theme URI: https://aguidiaztravel.com
Author: Aguidiaz Travel
Author URI: https://aguidiaztravel.com
Description: Tema a medida para Aguidiaz Travel, agencia de turismo y transporte en Perú. Diseño "boleto de viaje" en guinda y dorado.
Version: 1.1
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: aguidiaz-travel
*/

/* --- Variables Corporativas Aguidiaz Travel --- */
:root {
    --primary-red: #8B1832;    
    --accent-gold: #D69E33;    
    --dark-bg: #111827;        
    --white: #FFFFFF;
    --text-grey: #4A5568;
}

html { scroll-behavior: smooth; }
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: 'Poppins', sans-serif; background-color: #f9f9f9; color: var(--text-grey); overflow-x: hidden; }

/* --- Cabecera --- */
.main-header { 
    background-color: var(--white); 
    position: sticky; 
    top: 0; 
    z-index: 9999; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
}

.header-container { 
    max-width: 1300px; 
    margin: 0 auto; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 15px 20px; 
    position: relative; /* Clave para el centrado del menú */
}

/* CENTRADO PERFECTO DEL MENÚ EN LA PANTALLA */
.navigation-menu {
    position: absolute;
    left: 50%;
    transform: translateX(-50%); /* Lo mantiene siempre en el centro exacto */
}

/* RECUADRO ESTILO CÁPSULA (Color Guinda) */
.navigation-menu ul { 
    display: flex; 
    list-style: none; 
    gap: 5px; 
    align-items: center; 
    background-color: var(--primary-red); /* Fondo color guinda del logo */
    padding: 5px 15px;
    border-radius: 40px; /* Bordes totalmente redondeados */
    box-shadow: 0 4px 15px rgba(139, 24, 50, 0.25); /* Sombra con un toque rojizo */
}

/* ESTILO DE LOS BOTONES DEL MENÚ */
.navigation-menu a { 
    text-decoration: none; 
    color: var(--white) !important; /* Letra blanca para contrastar */
    font-weight: 600; 
    font-size: 14px; 
    transition: all 0.3s ease; 
    position: relative; 
    display: inline-block;
    padding: 10px 18px;
    border-radius: 30px; /* Redondeo interior para el efecto hover */
}

/* Efecto al pasar el ratón (Hover) -> Se vuelve Dorado y la letra Guinda */
.navigation-menu a:hover { 
    background-color: var(--accent-gold); 
    color: var(--primary-red) !important; 
}

/* Ajuste del puente invisible para el menú desplegable (ajustado al nuevo tamaño) */
.dropdown > a::after { 
    content: ''; 
    position: absolute; 
    width: 100%; 
    height: 35px; 
    bottom: -30px; 
    left: 0; 
}
/* --- Botón Móvil --- */
.mobile-menu-btn { display: none; font-size: 28px; color: var(--primary-red); cursor: pointer; }

/* --- MEGA MENÚ DESPLEGABLE (TAMAÑO RESTAURADO Y AMPLIO) --- */
.dropdown { position: static; } 

.mega-menu {
    position: absolute; 
    top: 65px; /* Distancia hacia abajo desde la cápsula */
    left: 50%; 
    transform: translateX(-50%); /* Centrado perfecto en la pantalla */
    
    /* SOLUCIÓN AL TAMAÑO: Ancho forzado para que sea espacioso */
    width: 1000px; 
    max-width: 95vw; /* Evita que se desborde en laptops pequeñas */
    
    background: rgba(26, 32, 44, 0.95);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    
    /* Bordes redondeados en las 4 esquinas para que sea una ventana flotante */
    border-radius: 15px; 
    display: flex; opacity: 0; visibility: hidden;
    transition: all 0.3s ease; box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    border: 1px solid rgba(255,255,255,0.1); 
    color: var(--white); overflow: hidden;
}

/* Puente invisible corregido para que no se pierda el cursor al bajar */
.dropdown > a::after { 
    content: ''; 
    position: absolute; 
    width: 100%; 
    height: 40px; 
    bottom: -40px; 
    left: 0; 
}

.dropdown:hover .mega-menu { opacity: 1; visibility: visible; }

/* Ajuste de columnas para que el contenido respire mejor */
.mega-col-left { 
    width: 30%; 
    padding: 35px 30px; 
    background: linear-gradient(180deg, rgba(255,255,255,0.05) 0%, transparent 100%); 
    display: flex; flex-direction: column; gap: 20px; 
}

.mega-col-right { 
    width: 70%; 
    padding: 35px 40px; 
    background-size: cover; background-position: center; position: relative; 
}
.mega-col-right::before { content: ''; position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.7); z-index: 0; }
.mega-col-right > * { position: relative; z-index: 1; }

.bg-tours { background-image: url('https://getinperu.com/wp-content/uploads/2022/10/machu-picchu-sunset-get-in-peru.jpg'); }
.bg-cars { background-image: url('https://images.unsplash.com/photo-1549317661-bd32c8ce0db2?auto=format&fit=crop&q=80&w=800'); }

.mega-tag { font-size: 12px; font-weight: 700; color: #fff; display: inline-block; border-bottom: 2px solid var(--accent-gold); padding-bottom: 5px; margin-bottom: 10px; }
.mega-btn { display: block; background: rgba(255,255,255,0.1); color: var(--white) !important; text-align: center; padding: 12px; border-radius: 30px; font-weight: 600; font-size: 14px; margin-bottom: 10px; border: 1px solid rgba(255,255,255,0.2); transition: 0.3s; }
.mega-btn:hover { background: var(--white); color: #000 !important; }
.mega-info-box { background: rgba(255,255,255,0.9); color: #000; padding: 15px; border-radius: 10px; font-size: 12px; margin-top: auto; }

.mega-col-right h3 { text-align: center; background: rgba(255,255,255,0.9); color: #000; padding: 10px; border-radius: 30px; margin-bottom: 20px; font-size: 16px; }
.destinations-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }

.dest-btn { background: rgba(0,0,0,0.8); color: #FFFFFF !important; padding: 12px 10px; text-align: center; border-radius: 20px; font-size: 13px; font-weight: 600; border: 1px solid rgba(255,255,255,0.3); transition: 0.3s; }
.dest-btn:hover { background: var(--accent-gold); color: #000 !important; border-color: var(--accent-gold); }

.mega-units ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14px; margin-top: 15px;}
.mega-units i { color: var(--accent-gold); margin-right: 8px; }
.cars-features { background: rgba(255,255,255,0.9); color: #000; padding: 20px; border-radius: 15px; max-width: 300px; float: right; }
.cars-features h4 { margin-bottom: 15px; font-size: 14px; }
.cars-features ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.cars-features i { width: 20px; color: var(--primary-red); }



/* =========================================
   SELECTOR DE IDIOMAS (ESQUINA DERECHA)
========================================= */
.header-lang-selector {
    display: flex;
    align-items: center;
    z-index: 100; /* Asegura que quede por encima de todo */
}

.lang-dropdown-standalone {
    position: relative;
}

/* Diseño del botón principal en la esquina */
.lang-btn {
    background: transparent;
    border: 2px solid var(--primary-red);
    color: var(--primary-red);
    padding: 8px 15px;
    border-radius: 30px; /* Diseño tipo pastilla */
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 600;
}

.lang-dropdown-standalone.active .lang-btn {
    background: var(--primary-red);
    color: var(--white);
}

/* Puente invisible para que el mouse no se escape */
.lang-dropdown-standalone.active .lang-list {
    opacity: 1;
    visibility: visible;
    top: 45px;
}

/* La cajita blanca que se despliega */
.lang-dropdown-standalone .lang-list {
    position: absolute;
    top: 55px;
    right: 0;
    background-color: var(--white);
    border: 1px solid #EEEEEE;
    border-radius: 12px;
    padding: 0; /* Reseteado */
    margin: 0;  /* Reseteado */
    min-width: 150px;
    list-style: none !important; /* Elimina los puntos viñeta forzosamente */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}



/* Estilo de cada idioma (bandera + texto) */
.lang-list li {
    width: 100%;
}

.lang-list li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    text-decoration: none;
    color: var(--text-grey);
    font-size: 13px;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.lang-list li a:hover {
    background-color: #F8F9FA;
    color: var(--primary-red);
}

.lang-list li a img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* --- Ocultar en Celulares (Opcional, para que no choque con el menú hamburguesa) --- */
@media (max-width: 992px) {
    .header-lang-selector {
        margin-right: 50px; /* Lo separa del botón hamburguesa */
    }
}
@media (max-width: 480px) {
    .lang-btn {
        padding: 6px 10px;
        font-size: 12px;
    }
}

/* =========================================
   HERO SECTION (CON VIDEO DE FONDO)
========================================= */
.hero-video-section {
    position: relative;
    height: 85vh; /* Ocupa el 85% del alto de la pantalla */
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center; /* Centrado horizontal */
    text-align: center;      /* Centrado del texto */
}

/* Propiedades del Video */
.hero-video-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%); /* Lo mantiene anclado al centro */
    z-index: 0;
    object-fit: cover; /* Garantiza que el video cubra toda el área sin estirarse */
}

/* Capa de oscurecimiento (Overlay) */
.hero-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.45); /* Nivel de oscuridad (0.45 es 45%) */
    z-index: 1;
}

/* Contenido de textos y botón */
.hero-video-content {
    position: relative;
    z-index: 2; /* Para que quede por encima del video y la capa oscura */
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-video-content h1 {
    font-size: 65px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 15px rgba(0,0,0,0.5); /* Sombra para resaltar */
    letter-spacing: 2px;
}

.hero-video-content p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 40px;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
    line-height: 1.5;
}

/* --- Estilo de Botón Profesional --- */
.btn-accent {
    background-color: var(--accent-gold); /* Dorado */
    color: #000000;                       /* Texto negro para contraste */
    padding: 16px 45px;                   /* Padding generoso para dar forma de botón */
    border-radius: 50px;                  /* Bordes redondeados tipo cápsula */
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;                /* Quita el subrayado de link */
    display: inline-block;                /* Permite que se comporte como bloque */
    border: 2px solid var(--accent-gold); /* Borde que combina con el fondo */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); /* Sombra para profundidad */
    transition: all 0.4s ease;            /* Animación suave al pasar el cursor */
    letter-spacing: 1px;
}

.btn-accent:hover {
    background-color: transparent;        /* Se vuelve transparente al pasar el mouse */
    color: var(--white);                  /* El texto cambia a blanco */
    border-color: var(--white);           /* El borde cambia a blanco */
    transform: translateY(-5px);          /* Efecto de elevación al pasar el mouse */
    box-shadow: 0 8px 25px rgba(0,0,0,0.3); /* Sombra más pronunciada */
}

/* Ajustes Responsive para el Video Hero en Celulares */
@media (max-width: 768px) {
    .hero-video-content h1 {
        font-size: 40px; /* Letra más pequeña en celulares */
    }
    .hero-video-content p {
        font-size: 16px;
    }
}

/* =========================================
   NUEVA SECCIÓN: CONFIANZA Y SEGURIDAD
========================================= */
.trust-section {
    background-color: var(--white);
    padding: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    position: relative;
    z-index: 10;
}
.trust-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 250px;
}
.trust-item i {
    font-size: 35px;
    color: var(--accent-gold);
}
.trust-item h4 {
    font-size: 16px;
    color: var(--primary-red);
    margin-bottom: 2px;
}
.trust-item p {
    font-size: 13px;
    color: var(--text-grey);
    margin: 0;
}

/* =========================================
   NUEVA SECCIÓN: PAQUETES POR DESTINO
========================================= */
.section-container { max-width: 1200px; margin: 0 auto; padding: 60px 20px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-title { font-size: 32px; font-weight: 700; margin-bottom: 5px; }
.section-subtitle { color: var(--text-grey); }

.destinations-grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.dest-card { 
    position: relative; 
    height: 380px; 
    border-radius: 15px; 
    overflow: hidden; 
    background-size: cover; 
    background-position: center; 
    text-decoration: none; 
    display: block; 
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

.dest-overlay { 
    position: absolute; 
    top: 0; left: 0; 
    width: 100%; height: 100%; 
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%); 
    display: flex; 
    flex-direction: column; 
    justify-content: flex-end; 
    padding: 25px; 
    transition: all 0.4s ease; 
}

.dest-card h3 { 
    color: var(--white); 
    font-size: 18px; 
    margin-bottom: 5px; 
    transform: translateY(20px); 
    transition: transform 0.4s ease; 
}
.dest-card span { 
    color: var(--accent-gold); 
    font-size: 14px; 
    font-weight: 600; 
    opacity: 0; 
    transform: translateY(20px); 
    transition: all 0.4s ease; 
}

.dest-card:hover { 
    transform: scale(1.03); 
    box-shadow: 0 15px 35px rgba(0,0,0,0.25); 
}
.dest-card:hover .dest-overlay { 
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%); 
}
.dest-card:hover h3 { transform: translateY(0); }
.dest-card:hover span { opacity: 1; transform: translateY(0); }

/* =========================================
   CARRUSEL INFINITO DE FOTOS
========================================= */
.photo-carousel {
    overflow: hidden;
    width: 100%;
    padding: 60px 0; /* Espaciado superior e inferior para separar de las otras secciones */
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 20px; /* Separación entre la tira de arriba y la de abajo */
}

.carousel-track {
    display: flex;
    width: max-content;
    gap: 20px;
}

.carousel-slide { 
    display: flex; 
    gap: 20px; 
}

.carousel-slide img {
    width: 280px; /* Ajusta el ancho de las fotos */
    height: 220px; /* Ajusta el alto de las fotos */
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Efecto al pasar el cursor por encima de una foto */
.carousel-slide img:hover { 
    transform: scale(1.05); 
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Pausar la animación cuando el usuario pone el cursor (hover) en toda la tira */
.carousel-track:hover { 
    animation-play-state: paused; 
}

/* Direcciones de animación */
.track-left { 
    animation: scroll-left 35s linear infinite; 
}
.track-right { 
    animation: scroll-right 35s linear infinite; 
}

/* Fotogramas clave para el movimiento fluido (Loop Infinito) */
@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .photo-carousel { padding: 40px 0; }
    .carousel-slide img { width: 180px; height: 140px; }
}

/* =========================================
   SOCIOS Y ALIADOS (LOGOS FIJOS)
========================================= */
.partners-section { padding-top: 0; }
.partners-section .section-header { margin-bottom: 30px; }

.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 45px;
    margin-top: 20px;
}

.partner-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 60px;
}

.partner-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}

.partner-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .partners-grid { gap: 20px; }
    .partner-item { width: 80px; height: 50px; }
}

.destinations-section {
    scroll-margin-top: 100px;
}
.tours-grid-modern { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; margin-top: 40px; }
.tour-card-modern { height: 400px; border-radius: 20px; background-size: cover; background-position: center; position: relative; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: transform 0.3s; }
.tour-card-modern:hover { transform: translateY(-10px); }
.tour-card-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.1) 50%); display: flex; flex-direction: column; justify-content: space-between; padding: 20px; }
.tour-badge { align-self: flex-start; background: var(--accent-gold); color: #000; padding: 5px 15px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.tour-card-bottom { color: var(--white); }
.tour-card-bottom h3 { font-size: 22px; margin-bottom: 5px; }
.tour-price { font-size: 20px; font-weight: 700; color: var(--accent-gold); }

/* --- Botón Flotante WhatsApp --- */
.float-whatsapp { position: fixed; bottom: 30px; right: 30px; background-color: #25D366; color: #FFF; border-radius: 50%; width: 60px; height: 60px; display: flex; justify-content: center; align-items: center; font-size: 30px; box-shadow: 0 4px 10px rgba(0,0,0,0.3); z-index: 1000; }

/* =========================================
   MEDIA QUERIES (DISEÑO RESPONSIVO)
========================================= */
@media (max-width: 992px) {
    .dropdown { position: relative; }
    .mobile-menu-btn { display: block; }
    
    .navigation-menu {
        display: none; 
        position: absolute; top: 100%; left: 0; width: 100%; background: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .navigation-menu.active { display: block; }
    
    .navigation-menu ul { flex-direction: column; gap: 0; align-items: flex-start; }
    .navigation-menu ul li { width: 100%; border-bottom: 1px solid #eee; }
    .navigation-menu ul li a { display: block; padding: 15px 20px; width: 100%; }
    
    .mega-menu {
        position: static; width: 100%; transform: none; flex-direction: column;
        border-radius: 0; box-shadow: none; display: none; background: #222;
    }
    .dropdown:hover .mega-menu { transform: none; }
    .mega-col-left, .mega-col-right { width: 100%; padding: 20px; }
    .cars-features { float: none; max-width: 100%; }
    
    .hero-section { flex-direction: column; justify-content: center; text-align: center; padding: 0 20px; }
    .hero-section::before { background: rgba(0,0,0,0.6); }
    .hero-cards { display: none; }
    .hero-content h1 { font-size: 36px; }

    .carousel-slide img { width: 150px; height: 150px; }
    
    .trust-container { flex-direction: column; align-items: center; text-align: center; }
    .trust-item { flex-direction: column; gap: 5px; }
}

/* =========================================
   ESTILOS LOGO CABECERA Y TEXTO
========================================= */
.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre el logo y el texto */
    text-decoration: none;
}

.header-logo {
    max-height: 80px; 
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-red); /* Color Guinda/Rojo del Logo */
    line-height: 1.1;
    letter-spacing: 1px;
}

.logo-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 10px;
    font-weight: 600;
    color: var(--accent-gold); /* Color Dorado del Logo */
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Ajuste responsivo para celulares pequeños */
@media (max-width: 480px) {
    .logo-title { 
        font-size: 18px; 
    }
    .logo-subtitle { 
        font-size: 8px; 
        letter-spacing: 0.5px; 
    }
}
/* =========================================
   ESTILOS MEGA MENÚ CARROS (PNGS)
========================================= */
.cars-showcase {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-end;
    gap: 15px;
    margin-bottom: 25px;
    padding-top: 20px;
}
.car-item {
    text-align: center;
    color: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
}
.car-item img {
    width: 100%;
    max-width: 110px;
    object-fit: contain;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 15px 10px rgba(0,0,0,0.6)); /* Sombra realista debajo del carro */
    margin-bottom: 10px;
}
.car-item:hover img {
    transform: scale(1.15); /* Efecto zoom al pasar el ratón */
}
.car-item span {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    background-color: rgba(0,0,0,0.5);
    padding: 3px 10px;
    border-radius: 10px;
}
.cars-features-inline ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    background: rgba(255,255,255,0.9);
    padding: 15px;
    border-radius: 12px;
    color: #000;
    font-size: 13px;
    font-weight: 600;
}
.cars-features-inline i {
    color: var(--primary-red);
    margin-right: 5px;
}

/* =========================================
   ESTILOS DEL FOOTER (PIE DE PÁGINA)
========================================= */
.main-footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: 60px 0 20px 0;
    font-size: 15px;
}
.footer-top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.footer-col h4 {
    font-size: 18px;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.footer-col a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-col a:hover {
    color: var(--accent-gold);
}
.contact-col i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
    color: var(--accent-gold);
}
.contact-col li {
    color: #CCCCCC;
}

/* Línea separadora */
.footer-divider {
    height: 1px;
    background-color: #333333;
    margin: 0 auto;
    width: 90%;
    max-width: 1200px;
}

.footer-middle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 20px;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-logo img {
    max-width: 220px;
    height: auto;
}
.footer-social {
    display: flex;
    gap: 15px;
}
.footer-social a {
    width: 45px;
    height: 45px;
    background-color: #333333;
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.footer-social a:hover {
    background-color: var(--accent-gold);
    color: #000000;
    transform: translateY(-3px);
}

.footer-office-hours h4 {
    text-align: right;
    margin-bottom: 15px;
    font-size: 18px;
}
.footer-office-hours p {
    text-align: right;
    color: #CCCCCC;
    margin-bottom: 8px;
}
.payment-methods {
    background-color: #FFFFFF;
    padding: 10px 20px;
    border-radius: 30px;
    display: inline-flex;
    gap: 15px;
    font-size: 28px;
    color: #000000;
    margin-top: 20px;
    float: right;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    color: #777777;
    font-size: 13px;
}

/* Ajustes Responsive Footer & Carros */
@media (max-width: 768px) {
    .footer-middle {
        flex-direction: column;
        text-align: center;
    }
    .footer-office-hours h4, .footer-office-hours p {
        text-align: center;
    }
    .payment-methods {
        float: none;
        margin: 20px auto 0 auto;
    }
    .cars-showcase {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================
   SECCIÓN: ¿POR QUÉ ELEGIR AGUIDIAZ TRAVEL?
========================================= */
.why-choose-us {
    background-color: #F8F9FA; /* Fondo gris súper claro */
    padding: 80px 0;
}

.why-container {
    display: flex;
    align-items: flex-start;
    gap: 50px;
}

.why-title-col {
    flex: 1;
    position: sticky;
    top: 100px; /* Hace que el título te acompañe al bajar si la pantalla es alta */
}

.why-title-col h2 {
    font-size: 38px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--dark-text);
}

.why-features-col {
    flex: 2.5;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background-color: #E9ECEF; /* Círculo gris */
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #495057; /* Icono gris oscuro */
    transition: all 0.3s ease;
}

.feature-item:hover .feature-icon {
    background-color: var(--primary-red);
    color: var(--white);
    transform: scale(1.1);
}

.feature-text h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 8px;
    margin-top: 5px;
}

.feature-text p {
    font-size: 14px;
    color: #6C757D;
    line-height: 1.6;
}

/* --- Responsive para ¿Por qué elegirnos? --- */
@media (max-width: 992px) {
    .dropdown { position: relative; }
    .mobile-menu-btn { display: block; }
    
    /* Reseteo del menú centrado para móviles */
    .navigation-menu {
        display: none; 
        position: absolute; 
        top: 100%; 
        left: 0; 
        transform: none; /* Quitamos el centrado forzado */
        width: 100%; 
        background: var(--white);
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .navigation-menu.active { display: block; }
    
    /* Quitamos el recuadro guinda en móviles */
    .navigation-menu ul { 
        flex-direction: column; 
        gap: 0; 
        align-items: flex-start;
        background-color: transparent; /* Quitamos el fondo guinda */
        border-radius: 0;
        padding: 0;
        box-shadow: none;
    }
    .navigation-menu ul li { width: 100%; border-bottom: 1px solid #eee; }
    
    /* Restauramos los enlaces a negro en móviles */
    .navigation-menu a { 
        display: block; 
        padding: 15px 20px; 
        width: 100%; 
        color: var(--dark-text) !important; /* Letra oscura de nuevo */
        border-radius: 0;
    }
    .navigation-menu a:hover {
        background-color: var(--light-bg);
        color: var(--primary-red) !important;
    }
    
    /* ... (Deja el resto del código del @media igual, lo del mega-menu y hero-section) ... */
}

@media (max-width: 768px) {
    .why-features-col {
        grid-template-columns: 1fr; /* Una sola columna en celulares */
        gap: 30px;
    }
}
/* =========================================
   SECCIÓN: VENTAJAS DE NUESTRA MOVILIDAD
========================================= */
.mobility-advantages {
    padding: 80px 0;
    background-color: var(--light-bg); 
}

.mobility-container {
    display: flex;
    align-items: center; /* Alinea verticalmente al centro */
    justify-content: space-between;
    gap: 50px; /* Espacio equilibrado entre ambas columnas */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Columna Izquierda: Ajustada para que no robe tanto espacio */
.mobility-image {
    flex: 1;
    max-width: 45%; /* Fuerza a que no pase de la mitad de la pantalla */
    position: relative;
}

/* Columna Derecha (Texto): Le damos más espacio para expandirse */
.mobility-content {
    flex: 1.5; /* Toma una vez y media más espacio que las fotos */
}

/* =========================================
   CUADRÍCULA DE VEHÍCULOS PNG (TAMAÑO REDUCIDO)
========================================= */
.fleet-png-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Redujimos el espacio entre las tarjetas */
    position: relative;
    padding-bottom: 20px; 
}

.fleet-png-item {
    flex: 0 1 calc(50% - 15px);
}

.fleet-png-item {
    background-color: var(--white);
    border-radius: 12px;
    padding: 15px 10px; /* Menos relleno para que sean más compactas */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #EEEEEE;
}

.fleet-png-item:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    border-color: var(--accent-gold);
}

/* Tamaño de las imágenes PNG reducido */
.fleet-png-item img {
    width: 100%;
    max-width: 200px; /* Reducimos el tamaño máximo del auto */
    height: auto;
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 8px 6px rgba(0,0,0,0.15)); 
    transition: transform 0.4s ease;
}

.fleet-png-item:hover img {
    transform: scale(1.1); 
}

.fleet-png-name {
    font-size: 13px; /* Letra un poco más discreta */
    font-weight: 700;
    color: var(--primary-red);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

/* Ajustamos el badge flotante para la cuadrícula más pequeña */
.mobility-advantages .floating-badge {
    bottom: -15px;
    right: 50%;
    transform: translateX(50%); 
    z-index: 2;
    padding: 10px 20px;
    font-size: 14px;
    white-space: nowrap; /* Evita que el texto del badge se rompa en dos líneas */
}

/* Textos e Iconos de las Ventajas */
.mobility-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobility-features li {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.mobility-features .icon-box {
    background-color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.mobility-features .icon-box i {
    font-size: 22px;
    color: var(--accent-gold);
}

.mobility-features li:hover .icon-box {
    background-color: var(--accent-gold);
}

.mobility-features li:hover .icon-box i {
    color: var(--white);
}

.mobility-features .feature-text h4 {
    font-size: 17px;
    color: var(--dark-text);
    margin-bottom: 4px;
    font-weight: 700;
}

.mobility-features .feature-text p {
    font-size: 14px;
    color: var(--text-grey);
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 992px) {
    .mobility-container {
        flex-direction: column;
        gap: 50px;
    }
    .mobility-image {
        max-width: 100%; /* En móviles vuelve a tomar todo el ancho */
    }
    .mobility-advantages .floating-badge {
        bottom: -20px;
        right: 20px;
        transform: none;
    }
}
@media (max-width: 480px) {
    .fleet-png-item {
        flex: 0 1 100%; /* En celulares muy pequeños, 1 sola columna de autos */
    }
}
/* =========================================
   PÁGINA DE TOUR INDIVIDUAL (plantilla "Tour Individual")
   Antes vivía en un <style> suelto dentro de lima.html
========================================= */
.tour-header {
    background-size: cover; background-position: center; height: 50vh;
    display: flex; align-items: center; justify-content: center; text-align: center; color: #fff;
}
.tour-header h1 { font-size: 45px; font-weight: 800; margin-bottom: 10px; }

.tour-layout { display: flex; gap: 40px; margin-top: 40px; flex-wrap: wrap; }
.tour-main { flex: 2; min-width: 300px; }
.tour-sidebar { flex: 1; min-width: 300px; }

.tour-main h2 { color: var(--primary-red); margin: 30px 0 15px; border-bottom: 2px solid #eee; padding-bottom: 10px; }
.tour-main ul { list-style-type: disc; margin-left: 20px; line-height: 1.8; }

.booking-box { background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); position: sticky; top: 100px; }
.booking-box .price { font-size: 32px; color: var(--primary-red); display: block; margin-bottom: 20px; font-weight: 700; }
.booking-box input, .booking-box select { width: 100%; padding: 12px; margin-bottom: 15px; border: 1px solid #ddd; border-radius: 8px; }
.btn-book { width: 100%; background: var(--accent-gold); color: #000; border: none; padding: 15px; font-size: 16px; font-weight: 700; border-radius: 8px; cursor: pointer; }
.btn-book:hover { background: #000; color: #fff; }

/* Contenido editable desde el editor de WordPress (the_content) dentro de page.php */
.page-content { line-height: 1.8; }
.page-content h2 { color: var(--primary-red); margin: 25px 0 12px; }