:root {
    --azul-volsur: #1a2238;
    --dorado-volsur: #c5a059;
    --oscuro: #222222;
    --blanco: #ffffff;
    --gris-claro: #f4f4f4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* --- HEADER --- */
.navbar {
    background-color: var(--azul-volsur);
    color: white;
    padding: 1rem 10%; /* Margen lateral mayor para elegancia */
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-name { font-size: 1.8rem; color: white; }
.brand-name span { color: var(--dorado-volsur); }
.navbar nav ul { display: flex; list-style: none; gap: 20px; }
.navbar-link { color: white; text-decoration: none; font-size: 0.9rem; }

/* --- HERO SECTION --- */
.hero-content {
    position: relative;
    height: 100vh; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden; 
    color: white;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -2; /* Lo envía al fondo */
    transform: translate(-50%, -50%);
    object-fit: cover; /* Clave para que no se deforme */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Oscurece un poco el video para leer el texto */
    z-index: -1;
}

.hero-text {
    text-align: center;
    z-index: 1;
}
.hero-text h2 { font-size: 2.5rem; text-transform: uppercase; }

/* --- SEARCH SECTION (EL CAMBIO CLAVE) --- */
.search-section {
    background-color: var(--gris-claro);
    padding: 2rem 0;
    margin-top: -50px; /* Sube un poco el buscador sobre el Hero */
}

.search-container {
    max-width: 1100px; /* Ancho máximo para que no se desparrame en pantallas gigantes */
    margin: 0 auto;    /* Centrado horizontal */
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.search-container h3 {
    margin-bottom: 1.5rem;
    color: var(--azul-volsur);
    text-align: center;
    font-weight: 700;
}

.iframe-wrapper {
    position: relative;
    width: 100%;
    min-height: 450px; /* Ajusta según el tamaño de tu motor */
    overflow: hidden;
}

.iframe-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER --- */
.main-footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--oscuro);
    color: white;
}

/* --- RESPONSIVO --- */
@media (max-width: 768px) {
    .search-container {
        margin: 0 5%; /* Margen pequeño en móviles */
        margin-top: 0;
    }
    .hero-content { height: 30vh; }
}

/* --- BLOQUE DEL LOGO --- */
.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    height: auto;
    max-height: 50px; /* Controla el tamaño del logo */
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 1.8rem;
    line-height: 1;
    color: var(--blanco);
    text-transform: lowercase;
}

.brand-name span {
    color: var(--dorado-volsur);
    font-weight: 700;
}

.by-fraveo {
    font-size: 0.7rem;
    color: var(--dorado-volsur);
    text-transform: lowercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

/* --- MENÚ DE NAVEGACIÓN (PC) --- */
#menu-check, .menu-icono {
    display: none; /* Oculto en PC */
}

.navbar nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

.navbar nav ul li {
    margin-left: 25px;
}

.navbar-link {
    color: var(--dorado-volsur);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.navbar-link:hover {
    color: var(--blanco);
}

.navbar-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--dorado-volsur);
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}
/* TERMINACION DEL NAVBAR*/



/* --- MEDIA QUERIES (RESPONSIVO) --- */

@media (max-width: 850px) {
    /* Navbar móvil con Menú Hamburguesa */
    .menu-icono {
        display: block; /* Muestra las 3 rayitas */
        font-size: 1.8rem;
        color: var(--dorado-volsur);
        cursor: pointer;
    }

    .navbar nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--oscuro);
        max-height: 0; /* Oculto inicialmente */
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
        box-shadow: 0 5px 10px rgba(0,0,0,0.3);
    }

    .navbar nav ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 20px;
    }

    .navbar nav ul li {
        margin-left: 0;
    }

    /* Mostrar menú al hacer clic */
    #menu-check:checked ~ nav {
        max-height: 300px; /* Animación de apertura */
    }

    /* Ajuste de contenedores principales */
    .main-container, .contact-container {
        flex-direction: column;
    }

    .search-engine, .hero-content, .info-grid, .form-section {
        width: 100%;
        padding-right: 0;
    }

    .hero-content {
        min-height: 300px;
        order: -1; /* Pone la imagen arriba del buscador en móvil */
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .brand-name {
        font-size: 1.4rem;
    }
}

@media (max-width: 600px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .form-section {
        padding: 40px 20px;
    }
}

/* --- SECCIÓN SOBRE NOSOTROS --- */

.sobre-volsur {
    display: block !important;
    width: 100% !important;
    padding: 80px 0 !important;
    background-color: #ffffff !important;
    clear: both !important; /* Evita que se encime con el buscador */
}

.contenedor-sobre {
    display: flex !important;
    max-width: 1100px !important;
    margin: 0 auto !important;
    align-items: center !important;
    gap: 40px !important;
    padding: 0 20px !important;
}

.texto-sobre {
    flex: 1 !important;
    text-align: left !important;
}

.subtitulo-volsur {
    color: #d4a73d !important; /* Tu dorado */
    font-weight: bold !important;
    text-transform: uppercase !important;
    display: block !important;
    margin-bottom: 10px !important;
}

.texto-sobre h2 {
    color: #1a2a44 !important; /* Tu azul */
    font-size: 2.5rem !important;
    margin-bottom: 20px !important;
}

.texto-sobre p {
    color: #444 !important;
    line-height: 1.6 !important;
    margin-bottom: 15px !important;
}

.imagen-sobre {
    flex: 1 !important;
}

.imagen-sobre img {
    width: 100% !important;
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: 10px 10px 30px rgba(0,0,0,0.1) !important;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    .contenedor-sobre {
        flex-direction: column !important;
    }
    .texto-sobre {
        text-align: center !important;
    }
}
/* WIDGETS DE INICIO */

/* ================================================= */
/* SECCIÓN COMPLETA: GALERÍA DE DESTINOS  */
/* ================================================= */

.seccion-galeria {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    padding: 80px 0 !important;
    background-color: #f4f7f9 !important; 
    padding-bottom: 120px !important;
}

/* Título con estilo de marca */
.seccion-galeria h2 {
    color: var(--azul-volsur) !important; 
    font-size: 2.5rem !important;
    margin-bottom: 10px !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 2px;
}


.seccion-galeria::after {
    content: "Explora el mundo con nosotros";
    color: var(--dorado-volsur) !important; 
    font-weight: 600;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Contenedor con efecto de profundidad */
.contenedor-galeria {
    display: block !important;
    width: 90% !important;
    max-width: 1100px !important;
    background: #ffffff !important;
    border-radius: 25px !important; /* Esquinas más redondeadas y modernas */
    box-shadow: 0 20px 50px rgba(26, 42, 68, 0.15) !important; /* Sombra con tono azulado */
    border: 2px solid #ffffff !important;
    transition: transform 0.4s ease;
    overflow: hidden !important;
}

/* Efecto al pasar el mouse sobre la galería */
.contenedor-galeria:hover {
    transform: translateY(-5px);
}

.iframe-destinos {
    width: 100% !important;
    height: 520px !important; 
    border: none !important;
    display: block !important;
}


/* --- Estilos Generales y Sección Sobre Nosotros --- */
.sobre-nosotros {
    padding: 80px 5%;
    background-color: #f9f9f9;
}

.contenedor-flex {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.columna-imagen, .columna-texto {
    flex: 1;
    min-width: 320px;
}

.img-redondeada {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.etiqueta-azul {
    color: var(dorado-volsur);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 14px;
    display: block;
    margin-bottom: 10px;
}

.columna-texto h2 {
    font-size: clamp(28px, 5vw, 40px); /* Tamaño fluido */
    color: #222;
    margin-bottom: 20px;
    line-height: 1.2;
}

.columna-texto p {
    color: #666;
    line-height: 1.8;
    font-size: 17px;
    margin-bottom: 25px;
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin-bottom: 35px;
}

.lista-beneficios li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: #444;
}

.check {
    color: #28a745;
    margin-right: 12px;
    font-weight: bold;
}

.boton-primario {
    background-color: var(--azul-volsur);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.boton-primario:hover {
    background-color: var(--azul-volsur);
    transform: translateY(-3px);
}

/* --- Estilos del Iframe (Ofertas) --- */
.seccion-ofertas-viajes {
    padding: 60px 0;
    text-align: center;
}

.subtitulo-volsur {
    display: block;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #333;
}

.iframe-viajes {
    width: 80%;
    height: 1200px;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* --- Responsividad para el Iframe --- */
@media (max-width: 768px) {
    .iframe-viajes {
        width: 95%; /* En móviles usamos más espacio */
        height: 1000px;
    }
}

.por-que-elegirnos {
    padding: 80px 20px;
    background-color: #f9f9f9; /* Fondo gris muy tenue para contrastar */
    text-align: center;
}

.titulo-seccion {
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--azul-volsur);
}

.grid-beneficios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.beneficio-item i {
    font-size: 3rem;
    color: var(--dorado-volsur);
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.beneficio-item:hover i {
    transform: scale(1.1); 
}

.beneficio-item h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #333;
}

.beneficio-item h3 {
    font-size: 1.8rem;
    color: var(--dorado-volsur);
    margin-bottom: 10px;
}

.beneficio-item p {
    color: #666;
    line-height: 1.6;
}


/* --- ESTILOS DEL FOOTER --- */
.footer-volsur {
    background-color: #1a1a1a; /* Un gris muy oscuro o el color de tu marca */
    color: #ffffff;
    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.footer-col h3, .footer-col h4 {
    color: var(--dorado-volsur);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
}

.footer-col ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #333;
    font-size: 14px;
    color: #777;
}

/* ============================= */
/* SECCIÓN VIDEOS DESTINOS */
/* ============================= */

.video-destinos {
    padding: 80px 5%;
    background-color: #000;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.video-card {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    height: 400px;
    cursor: pointer;
}

.video-card video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover video {
    transform: scale(1.1);
}

/* Overlay oscuro elegante */
.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), rgba(0,0,0,0));
    color: white;
}

.video-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.video-overlay p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.video-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--dorado-volsur);
    color: #000;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: 0.3s ease;
}

.video-btn:hover {
    background-color: white;
}