@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@300;400;500;600;700;800&family=Montez&display=swap');

/* --- 1. Variables y Base --- */
:root {
    /* Paleta de colores de la agencia (turquesa) */
    --color-primary-dark: #0e545b; /* Turquesa oscuro/marino */
    --color-primary-light: #0cb5bd; /* Turquesa vibrante/acento */
    --color-text-dark: #333;
    --color-text-light: #555;
    --color-background-light: #f0f6f9; /* Fondo claro para secciones */
    --color-white: #fff;
    --color-accent-stars: #ffa726; /* Naranja/Ámbar para estrellas */
    
    /* Tipografía */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Manrope', sans-serif;
    --font-script: 'Montez', cursive;
    
    --header-height: 90px; /* Altura estándar del header */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

/* UTILIDAD: Clase para bloquear el scroll en el body cuando el menú móvil está abierto */
.no-scroll {
    overflow: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text-dark);
    background-color: var(--color-white);
    padding-top: var(--header-height); /* Para compensar el header fixed */
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

section {
    padding: 80px 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- 2. Utilidades y Tipografía --- */

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    line-height: 1.2;
    color: var(--color-primary-dark);
}

.script-font {
    font-family: var(--font-script);
    font-weight: 400;
    font-size: 2.5rem;
    color: var(--color-primary-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h3 {
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--color-primary-dark);
    font-weight: 700;
}

/* Font Awesome */
.fa-regular, .fa-solid {
    font-family: "Font Awesome 6 Free";
}

/* --- 3. Botones --- */
.btn-primary {
    display: inline-block;
    padding: 14px 32px;
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 2px solid var(--color-primary-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(12, 181, 189, 0.5);
    border-color: var(--color-primary-light);
}

.btn-secondary {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    border: 2px solid var(--color-primary-dark);
}

.btn-secondary:hover {
    background-color: var(--color-primary-light);
    transform: translateY(-2px);
    border-color: var(--color-primary-light);
}

/* --- 4. Header y Navegación --- */
.header-top {
    background-color: var(--color-white); 
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0; 
    font-size: 14px;
    color: var(--color-text-dark);
    font-weight: 500;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center; 
}

.header-top .header-links {
    display: flex;
    align-items: center;
    gap: 30px; /* Separación entre el grupo de contacto y el grupo de enlaces/social */
}

.header-links ul {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-links ul li {
    margin-right: 20px;
}

.header-links ul li:last-child {
    margin-right: 0;
}

.header-links ul li i {
    margin-right: 4px;
    color: var(--color-primary-dark);
}

.header-top .d-md-block { 
    display: block !important; 
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: box-shadow 0.3s ease; /* Transición para la sombra */
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: var(--header-height); 
}

.logo img {
    height: 80px; 
    width: auto;
}

.footer-logo img {
    height: 120px; 
    width: auto;
}


.desktop-nav ul {
    display: flex;
    gap: 40px;
}

.desktop-nav a {
    font-weight: 600;
    color: var(--color-text-dark);
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0; 
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-primary-light);
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

.desktop-nav a:hover,
.desktop-nav a.active {
    color: var(--color-primary-light);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background-color: var(--color-primary-light);
    padding: 8px 10px;
    border-radius: 5px;
    z-index: 1001; 
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    transition: all 0.3s ease;
}

/* Animación de Hamburguesa a X */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: absolute;
    top: var(--header-height); 
    left: 0;
    width: 100%;
    background-color: var(--color-primary-dark);
    padding: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav ul {
    flex-direction: column;
    gap: 0;
}

.mobile-nav a {
    color: var(--color-white);
    font-weight: 600;
    padding: 12px 20px;
    display: block;
    border-radius: 0; 
    transition: background-color 0.3s ease;
}

.mobile-nav a:hover {
    background-color: var(--color-primary-light);
}

/* --- 5. Hero Slider --- */
.hero-slider {
    margin-top: calc(var(--header-height) * -1); /* Compensación para que empiece desde el borde */
    position: relative;
    height: 650px;
    overflow: hidden;
}

.slider-container {
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro para mejor contraste */
.slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); 
    z-index: 5;
}

.slide-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: left;
    color: var(--color-white);
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.slide-content h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: var(--color-white);
}

.slide-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    color: var(--color-white);
}

.slide-content p {
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

.slider-controls {
    position: absolute;
    top: 50%; 
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 20;
}

.slider-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.3); 
    color: var(--color-white);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid var(--color-white);
}

.slider-arrow:hover {
    background-color: var(--color-primary-light);
    border-color: var(--color-primary-light);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 20;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background-color: var(--color-white);
}

/* --- 6. About Section --- */
.about-section {
    padding: 80px 0;
    background-color: var(--color-background-light);
    background-image: url('https://everlinetravel.com/wp-content/uploads/2023/12/wave-shape.png');
    background-repeat: repeat-x; 
    background-position: top; 
}
.about-section2 {
    padding: 40px 0;
    background-color: #fff;
    background-repeat: repeat-x; 
    background-position: top; 
}

.about-section3 {
    padding: 30px 0;
    background-color: var(--color-background-light);
    background-repeat: repeat-x; 
    background-position: top; 
}

.destination-section {
    padding: 20px 0;
    background-color: #fff;
    background-repeat: repeat-x; 
    background-position: top; 
}
.contact-section {
    padding: 20px 0;
    background-color: #fff;
    background-repeat: repeat-x; 
    background-position: top; 
}

.contact-info-grid-section {
    padding: 30px 0 60px;
}

.contact-info-grid {
    display: flex;
    gap: 30px; 
    justify-content: center;
    flex-wrap: wrap;
}

.info-card {
    flex: 1 1 30%; 
    min-width: 280px; 
    background: #fff;
    border: 1px solid #e0e0e0; 
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.icon-wrap {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.icon-circle {
    background-color: var(--color-primary);
    color: var(--color-white);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.info-card h4 {
    font-size: 1.4rem;
    color: var(--color-heading);
    margin-bottom: 10px;
}

.info-card p,
.info-card a {
    color: var(--color-text-body);
    font-size: 1rem;
    line-height: 1.5;
    display: block;
    text-decoration: none;
}

.info-card a:hover {
    color: var(--color-primary);
}

.contact-form-section {
    padding: 40px 0 80px;
}

.contact-form-container {
    max-width: 900px;
    margin: 0 auto;
    background: #f7f7f7;
    padding: 40px;
    border-radius: 10px;
}

.contact-form-container h2 {
    text-align: center;
    margin-bottom: 10px;
}


.destinations-section2 {
    padding: 20px 0;
    background-color: #fff;
    color: var(--color-white);
}
.about-content {
    text-align: center;
}

.about-title {
    font-size: 2.2rem; /* Más grande para H2 */
    color: var(--color-primary-dark);
    font-weight: 800; /* Más audaz */
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.about-text {
    font-size: 1.15rem; /* Ligeramente más grande */
    line-height: 1.8;
    color: var(--color-text-dark);
    max-width: 1000px;
    margin: 0 auto 40px;
    text-align: center;
}

.about-image {
    max-width: 800px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* --- 7. Featured Packages --- */
.featured-packages {
    padding: 80px 0;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.package-card {
    background-color: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.package-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.package-info {
    padding: 25px;
}

.package-info h4 {
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: 10px;
}

.package-info .location {
    color: var(--color-primary-light);
    font-weight: 600;
    margin-bottom: 5px;
}

.package-info .duration {
    color: #777;
    margin-bottom: 15px;
}

/* --- 8. Destinations Slider --- */
.destinations-section {
    padding: 80px 0;
    background-color: #fff;
    color: var(--color-white);
}

.destinations-section h2 {
    color: #0e545b;
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.destinations-slider {
    position: relative;
    overflow: hidden;
}

.destinations-track {
    display: flex;
    gap: 30px;
    overflow-x: auto; 
    scroll-snap-type: x mandatory; /* Habilitar scroll-snap nativo */
    padding-bottom: 10px;
}

/* Ocultar barra de scroll en navegadores */
.destinations-track::-webkit-scrollbar {
    display: none;
}
.destinations-track {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.destination-card {
    flex: 0 0 350px;
    scroll-snap-align: start; 
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
}

.destination-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.destination-card:hover img {
    transform: scale(1.1);
}

.destination-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--color-primary-dark) 80%, transparent); 
    padding: 30px;
    color: var(--color-white);
    opacity: 0; 
    transform: translateY(100%); 
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.destination-card:hover .destination-overlay {
    opacity: 1;
    transform: translateY(0);
}

.destination-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--color-white);
}

.destination-link {
    color: var(--color-primary-light);
    font-weight: 600;
    opacity: 1; 
    transition: color 0.3s ease;
    display: inline-block;
}

.destination-link:hover {
    color: var(--color-white);
}

.destinations-controls {
    margin-top: 30px;
    text-align: center;
}

.dest-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--color-white);
    color: var(--color-primary-dark);
    font-size: 1.5rem;
    margin: 0 10px;
    border: 2px solid var(--color-primary-dark);
    transition: all 0.3s ease;
}

.dest-arrow:hover {
    background-color: var(--color-primary-light);
    color: var(--color-white);
    border-color: var(--color-primary-light);
}

/* --- 9. Gallery --- */
.gallery-section {
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    height: 300px;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

/* Estilo para la tercera imagen tipo revista */
.gallery-grid > div:nth-child(3) {
    grid-column: span 2;
    height: 450px; 
}


/* --- 10. Testimonials --- */
.testimonials-section {
    padding: 80px 0;
    background-color: var(--color-primary-dark);
    background-image: url('https://ext.same-assets.com/3754469017/159869039.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax sutil */
    position: relative;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 84, 91, 0.85); /* Overlay */
}

.testimonials-slider {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap; /* Permite que bajen en móviles */
}

.testimonial-card {
    background-color: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    max-width: 350px;
    flex-basis: 30%; /* Ajuste para layout de 3 columnas */
    min-width: 280px;
    text-align: center;
}

.testimonial-card .stars {
    color: var(--color-accent-stars);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card h4 {
    color: var(--color-primary-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.testimonial-card p {
    color: var(--color-text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

.testimonial-dots {
    text-align: center;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.testimonial-dots .dot {
    background-color: rgba(255, 255, 255, 0.5);
}

.testimonial-dots .dot.active {
    background-color: var(--color-white);
}

/* --- 11. Footer y Páginas --- */
.footer {
    background-color: var(--color-primary-dark);
    color: var(--color-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 40px;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--color-white);
}

.footer-links a:hover,
.contact-item a:hover {
    color: var(--color-primary-light);
}

.page-header {
    background-image: url('../assets/images/breadcumb-bg.jpg'); /* <<--- ¡REEMPLAZA ESTO! */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efecto Parallax sutil */
    position: relative;

    padding: 250px 0 150px;
    text-align: center;
    color: var(--color-white);
    margin-top: calc(var(--header-height) * -1);
    z-index: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(14, 84, 91, 0.6); 
    z-index: 2; 
}

.page-header h1 {
    position: relative;
    z-index: 3;
    font-size: 3.5rem;
    color: var(--color-white);
}

/* --- 12. About Page Specific Styles (Nuevo Bloque) --- */

/* Contenedor principal para la sección Why Us */
.why-us-section {
    display: flex;
    flex-wrap: wrap; /* Permite que las columnas se apilen en móvil */
    gap: 40px; /* Espacio entre la imagen y el texto */
    padding: 30px 0;
    margin-bottom: 40px;
    align-items: center; /* Centra verticalmente el contenido */
}

/* Estilos de la columna de imágenes (50% de ancho) */
.why-us-images {
    flex: 1; /* Ocupa el espacio restante */
    max-width: 50%; /* Máximo 50% del contenedor */
    position: relative;
}

.why-us-images img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px; /* Estilo sutil */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Estilos de la columna de contenido (texto) */
.why-us-content {
    flex: 1;
    max-width: 50%;
    padding-left: 30px; /* Un poco de espacio para que no choque con la imagen */
}

/* Estilos del título (ajustando a las clases existentes) */
.why-us-content .sub-title {
    color: var(--color-primary);
    font-size: 40px;
    display: block;
    margin-bottom: 5px;
    font-family: "Montez", cursive;
}

.why-us-content .sec-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

/* Responsividad para móviles */
@media (max-width: 992px) {
    .why-us-section {
        flex-direction: column; /* Apila las columnas */
        padding: 50px 0;
    }

    .why-us-images,
    .why-us-content {
        max-width: 100%; /* Ocupan todo el ancho */
        padding-left: 0;
    }
    
    .why-us-images {
        margin-bottom: 30px;
    }
}


@media (max-width: 1024px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-text-block {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid > div:nth-child(3) {
        grid-column: span 1; 
        height: 300px; 
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px; /* Reducir padding-top para header más pequeño */
    }
    
    .header-top {
        display: none; /* Ocultar top-bar en móvil */
    }
    
    .header-content {
        height: 60px; /* Altura más pequeña del header en móvil */
    }
    
    .mobile-nav {
        top: 60px; /* Ajustar posición del menú móvil */
    }
    
    .hero-slider, .page-header {
        margin-top: calc(60px * -1); 
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }

    .slide-content h2 {
        font-size: 2rem;
    }

    .slide-content p {
        font-size: 1.2rem;
    }

    .hero-slider {
        height: 450px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 2.5rem;
    }

    .destination-card {
        flex: 0 0 90%; /* Mejor ajuste para scroll en móvil */
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 50px;
    }

    .slide-content h1 {
        font-size: 2rem;
    }

    .slide-content h2 {
        font-size: 1.5rem;
    }

    .hero-slider {
        height: 400px;
    }

    .about-title {
        font-size: 1.4rem;
    }

    .script-font {
        font-size: 2rem;
    }

    .slider-controls {
        bottom: 15px;
        right: 15px;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}