/* ==========================================================================
   CONFIGURACIÓN INICIAL (Variables de Marca)
   ========================================================================== */
:root {
    /* Colores */
    --color-primary: #e62117;    /* Rojo de tu logo */
    --color-secondary: #1a237e;  /* Azul oscuro para textos/fondos */
    --color-dark: #1d1d1b;       /* Negro para textos principales */
    --color-light: #f4f4f4;      /* Gris muy claro para fondos */
    --white: #ffffff;

    /* Fuentes */
    --font-main: 'Roboto', sans-serif;
    
    /* Contenedores */
    --container-width: 1200px;
    --transition: all 0.3s ease;
}

/* ==========================================================================
   RESET Y ESTILOS BÁSICOS
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--color-dark);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* ==========================================================================
   LAYOUT (Contenedores)
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   HEADER (Logotipo y Menú)
   ========================================================================== */
.main-header {
    background-color: var(--white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: relative;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px; /* Ajusta según el tamaño de tu logo */
    width: auto;
}

.nav-menu ul {
    display: flex;
    gap: 25px; /* Espacio entre botones */
}

.nav-menu a {
    font-weight: 700;
    font-size: 15px;
    text-transform: uppercase;
    color: var(--color-dark);
}

.nav-menu a:hover, 
.nav-menu a.active {
    color: var(--color-primary);
}

/* ==========================================================================
   UTILIDADES (Mejoras visuales)
   ========================================================================== */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #c41a12; /* Un rojo un poco más oscuro */
    transform: translateY(-2px);
}

/* --- TOP BAR --- */
.top-bar {
    background-color: #ec0e92;
    color: white;
    padding: 8px 0;
    font-size: 13px;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-social a {
    margin-left: 15px;
    font-size: 14px;
}

/* --- DROPDOWN DE IDIOMAS --- */
.lang-selector {
    position: relative;
    background: #f0f0f0;
    padding: 0 10px;
    border-radius: 4px;
}
.lang-selector .dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    min-width: 80px;
    z-index: 100;
}
.lang-selector:hover .dropdown {
    display: block;
}
.lang-selector .dropdown li a {
    padding: 10px;
    display: block;
    font-size: 13px;
}

/* --- RESPONSIVE (MENÚ HAMBURGUESA) --- */
.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 992px) {
    .menu-toggle { display: block; }
    
    .nav-menu {
        display: none; /* Se oculta por defecto en móvil */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
    }
    
    .nav-menu.active { display: block; }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }
    
    .nav-menu ul li {
        border-bottom: 1px solid #eee;
        width: 100%;
    }
    
    .nav-menu a {
        padding: 15px 20px;
        display: block;
    }
}

/* Esto asegura que el menú móvil se posicione correctamente */
@media (max-width: 992px) {
    .main-header {
        position: relative; /* Para que el menú absoluto se guíe por el header */
    }

    .nav-menu {
        display: none; 
        position: absolute;
        top: 100%; /* Aparece justo debajo del header */
        left: 0;
        width: 100%;
        background-color: var(--white);
        z-index: 999;
        flex-direction: column;
        padding: 20px 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    /* Clase que activa el jQuery */
    .nav-menu.active {
        display: flex;
    }

.lang-selector {
        background: #f9f9f9; /* Un tono gris claro para diferenciarlo */
        width: 100%;
    }

    .lang-selector .dropdown {
        position: static; /* Cambiamos de absolute a static para que empuje el contenido hacia abajo */
        width: 100%;
        box-shadow: none;
        background: #ffffff;
        display: none; /* Se abrirá al hacer clic */
    }

    /* Clase para mostrar el idioma en móvil con jQuery */
    .lang-selector.open .dropdown {
        display: block;
    }	
}

/* --- FOOTER --- */
.main-footer {
    background: linear-gradient(rgba(29, 29, 27, 0.9), rgba(29, 29, 27, 0.9)),  no-repeat center center/cover;
    color: var(--white);
    padding: 60px 0 0 0;
    font-size: 14px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 18px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

/* La línea roja debajo de los títulos */
.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
}

.footer-col p {
    line-height: 1.8;
    margin-bottom: 15px;
    color: #ccc;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col ul li a i {
    font-size: 10px;
    color: var(--color-primary);
}

.footer-col ul li a:hover {
    color: var(--color-primary);
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 3px;
}

.social-links a:hover {
    background: var(--color-primary);
}

/* Copyright Bar */
.footer-bottom {
    background-color: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-bottom p {
    margin: 0;
    color: #888;
}

/* Ajuste Responsivo para móviles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-col h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    .social-links {
        justify-content: center;
    }
}


/*Home Hero*/
/* SECCIÓN HERO CORREGIDA */
.hero-section {
    position: relative;
    min-height: 80vh; 
    /* 'top' asegura que se vea la cara de la chica */
	background-image: url('https://www.micancun.org/traslado-aeropuerto-cancun/img/fondo-home.jpg');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* El filtro oscuro para que el texto blanco resalte */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurece la foto lo suficiente */
    z-index: 1;
}

.z-index-2 {
    position: relative;
    z-index: 2;
    color: #ffffff; /* Letras blancas obligatorias */
}

/* Tamaño de letra moderado y legible */
.hero-section h1 {
    font-size: 2.8rem; /* Tamaño más real, no exagerado */
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-section p {
    font-size: 1.2rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 30px auto;
}

/* Botón llamativo pero profesional */
.btn-success {
    background-color: #28a745 !important;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    color: white !important;
}

/* SECCIÓN DE RESERVA GENERAL */
.booking-section {
    background: linear-gradient(to right, #ffffff 50%, #f9fbff 50%); /* Fondo dividido sutil */
    overflow: hidden;
}

/* Tipografía */
.booking-section h2 {
    letter-spacing: -1px;
    line-height: 1.2;
}

.booking-section .lead {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Tarjeta del Iframe */
.iframe-card {
    border: 8px solid #000; /* Marco elegante negro */
    background: #000;
    transition: transform 0.3s ease;
}

.iframe-card:hover {
    transform: translateY(-5px);
}

.tracking-wider {
    letter-spacing: 2px;
}

/* Ajustes Responsive */
@media (max-width: 991px) {
    .booking-section {
        background: #ffffff; /* Fondo liso en móvil */
        text-align: center;
    }
    
    .booking-section .row {
        flex-direction: column-reverse; /* Iframe primero en móvil */
    }

    .pe-lg-5 {
        padding-right: 0 !important;
        margin-top: 40px;
    }

    .iframe-card {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* --- MAQUETACIÓN DE DOS COLUMNAS --- */
.booking-section-custom {
    width: 100%;
    padding: 80px 0;
    background-color: #ffffff;
    font-family: 'Poppins', sans-serif; /* O la fuente que cargaste de Google */
}

.booking-container-custom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex; /* Esto crea las columnas */
    align-items: center; 
    justify-content: space-between;
    padding: 0 20px;
}

/* Columna de Texto al 55% */
.booking-column-text {
    flex: 0 0 55%;
    padding-right: 40px;
    box-sizing: border-box;
}

/* Columna de Formulario al 45% */
.booking-column-form {
    flex: 0 0 45%;
    box-sizing: border-box;
}

/* --- ESTILOS DE TEXTO --- */
.title-hammer {
    font-size: 45px;
    font-weight: 800;
    color: #1a2b4c;
    margin: 0 0 20px 0;
    line-height: 1;
}

.subtitle-hammer {
    font-size: 22px;
    color: #007bff;
    margin-bottom: 25px;
    font-weight: 600;
}

.description-hammer {
    font-size: 18px;
    color: #444;
    line-height: 1.6;
    margin-bottom: 30px;
}

.badge-trust {
    display: inline-flex;
    align-items: center;
    background: #f1f5f9;
    padding: 15px 20px;
    border-left: 5px solid #007bff;
    border-radius: 4px;
    font-weight: bold;
}

/* --- ESTILO IFRAME --- */
.card-iframe {
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card-header-iframe {
    background: #111;
    color: #777;
    text-align: center;
    padding: 10px;
    font-size: 11px;
    letter-spacing: 2px;
}

/* --- RESPONSIVO (MÓVIL) --- */
@media (max-width: 991px) {
    .booking-container-custom {
        flex-direction: column-reverse; /* Iframe arriba en móvil */
        text-align: center;
    }
    .booking-column-text, .booking-column-form {
        flex: 0 0 100%;
        padding-right: 0;
    }
    .title-hammer { font-size: 40px; margin-top: 30px; }
}

/* ==========================================================================
   SECCIÓN RESEÑAS DE GOOGLE (GRID 3x3)
   ========================================================================== */

.google-reviews-section {
    padding: 80px 0;
    background-color: #f4f7f9; /* Un gris muy tenue para que las tarjetas blancas resalten */
}

/* Encabezado con la valoración de Google */
.reviews-main-header {
    text-align: center;
    margin-bottom: 50px;
}

.google-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.g-icon {
    /*width: 40px;*/
    height: 40px;
}

.rating-info {
    text-align: left;
}

.rating-number {
    font-size: 24px;
    font-weight: 900;
    color: #1a2b4c;
    line-height: 1;
}

.rating-stars {
    color: #ffc107; /* Dorado Google */
    font-size: 14px;
    margin: 2px 0;
}

.review-count {
    font-size: 13px;
    color: #666;
    font-weight: 600;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1a2b4c;
}

/* Cuadrícula de 9 tarjetas reseñas*/
.reviews-grid-9 {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas iguales */
    gap: 25px; /* Espacio entre tarjetas */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilo de la Tarjeta Individual */
.review-item-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
    border: 1px solid #edf2f7;
}

.review-item-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-color: #4285F4; /* Azul Google al pasar el mouse */
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.stars-gold {
    color: #ffc107;
    font-size: 12px;
}

.verified-tag {
    font-size: 11px;
    color: #28a745;
    font-weight: 700;
    text-transform: uppercase;
}

/* Cuerpo del texto */
.review-text {
    font-size: 15px;
    line-height: 1.6;
    color: #4a5568;
    font-style: italic;
    margin-bottom: 25px;
}

/* Footer de la tarjeta (Autor) */
.card-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid #f1f1f1;
    padding-top: 20px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: #4285F4; /* Color representativo */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    text-transform: uppercase;
}

.author-details {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    color: #1a2b4c;
    font-size: 15px;
}

.author-date {
    font-size: 12px;
    color: #a0aec0;
}

/* ==========================================================================
   RESPONSIVE (ADAPTACIÓN MÓVIL)
   ========================================================================== */

/* Tablets (2 columnas) */
@media (max-width: 991px) {
    .reviews-grid-9 {
        grid-template-columns: repeat(2, 1fr);
    }
    .section-title {
        font-size: 28px;
    }
}

/* Móviles (1 columna) */
@media (max-width: 767px) {
    .reviews-grid-9 {
        grid-template-columns: 1fr;
    }
    .google-reviews-section {
        padding: 50px 0;
    }
}

.gallery-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: 800;
    color: #1a2b4c;
    text-transform: uppercase;
}

/* La Grilla Mágica */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas en PC */
    grid-auto-rows: 250px; /* Altura base de las filas */
    gap: 15px;
    padding: 0 15px;
}

.gallery-item {
    overflow: hidden;
    border-radius: 10px;
}

/* Las fotos verticales ocuparán 2 filas hacia abajo */
.gallery-item.vertical {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Esto evita que la foto se estire */
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1); /* Efecto zoom */
}

/* Adaptación para Tablets */
@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Adaptación para Celulares */
@media (max-width: 767px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en móvil */
        grid-auto-rows: 180px;
    }
}


.benefits-section {
    padding: 80px 0;
    background-color: #fff;
}

.benefits-header {
    text-align: center;
    margin-bottom: 50px;
}

.badge-blue {
    background: #eef4ff;
    color: #1a2b4c;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.benefits-header h2 {
    margin-top: 15px;
    font-size: 36px;
    color: #1a2b4c;
    font-weight: 800;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.benefit-card {
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 70px;
    height: 70px;
    background: #1a2b4c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    transition: 0.3s;
}

.benefit-card:hover .benefit-icon {
    background: #4285F4;
    transform: rotateY(180deg);
}

.benefit-card h3 {
    font-size: 20px;
    color: #1a2b4c;
    margin-bottom: 12px;
    font-weight: 700;
}

.benefit-card p {
    font-size: 15px;
    color: #666;
    line-height: 1.5;
}

/* Responsivo */
@media (max-width: 991px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
    .benefits-grid { grid-template-columns: 1fr; }
}




/* ==========================================================================
   SECCIÓN PREGUNTAS FRECUENTES (FAQ)
   ========================================================================== */

.faq-section {
    padding: 80px 0;
    background-color: #f8fafd; /* Un azul muy pálido para diferenciar de la galería */
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: #1a2b4c;
    margin-bottom: 10px;
}

.faq-header p {
    color: #64748b;
    font-size: 18px;
}

.faq-container {
    max-width: 850px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Estilo del Item Individual */
.faq-item {
    background: #ffffff;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.faq-item:hover {
    border-color: #4285F4;
}

/* Estilo de la Pregunta (Botón) */
.faq-question {
    width: 100%;
    padding: 22px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
    text-align: left;
    gap: 15px;
}

.faq-question span {
    font-size: 17px;
    font-weight: 700;
    color: #1a2b4c;
    line-height: 1.4;
}

.faq-question i {
    color: #4285F4;
    font-size: 14px;
    transition: transform 0.3s ease;
}

/* Estilo de la Respuesta (Contenedor animado) */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content {
    padding: 0 25px 25px 25px;
}

.faq-content p {
    color: #475569;
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

/* Estado Activo */
.faq-item.active {
    border-color: #4285F4;
    box-shadow: 0 10px 15px -3px rgba(66, 133, 244, 0.1);
}

.faq-item.active i {
    transform: rotate(180deg);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 767px) {
    .faq-section {
        padding: 60px 0;
    }
    .faq-header h2 {
        font-size: 28px;
    }
    .faq-question {
        padding: 18px 20px;
    }
    .faq-question span {
        font-size: 16px;
    }
}


