:root {
    --primary: #003366; /* Azul corporativo */
    --accent: #ff6600;  /* Naranja de acción */
    --light: #f4f4f4;
    --dark: #333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html { scroll-behavior: smooth; }


/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.logo { font-size: 1.5rem; font-weight: bold; color: var(--primary); }
.logo span { color: var(--accent); }

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

#logo-img {
    height: 100px; /* Prueba subiendo este valor */
    width: auto;
    max-height: 120px; /* Evita que rompa el navbar si es muy grande */
    display: block;
    object-fit: contain; /* Asegura que no se deforme */
}

/* Efecto sutil al pasar el mouse */
#logo-img:hover {
    transform: scale(1.05);
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    #logo-img {
        height: 40px; /* Un poco más pequeño en móviles */
    }
}

.nav-links { display: flex; list-style: none; }
.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin-left: 2rem;
    font-weight: 500;
    transition: 0.3s;
}

.nav-links li a:hover { color: var(--accent); }

/* Hero Section */
.hero {
    height: 60vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('assets/img/servicios.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

.btn-main {
    background: var(--accent);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 5rem 10%;
    background: var(--light);
}

.service-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-10px); }
.service-card i { font-size: 3rem; color: var(--primary); margin-bottom: 1rem; }

/* Formulario */
.booking-section { padding: 5rem 10%; text-align: center; }
.contact-form {
    max-width: 600px;
    margin: 2rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.btn-submit {
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    cursor: pointer;
    font-weight: bold;
}

/* Responsivo */
@media (max-width: 768px) {
    .nav-links { display: none; } /* Aquí podrías añadir un menú móvil con JS */
    .hero h1 { font-size: 2rem; }
}



/* --- ESTILOS ESPECÍFICOS PARA PÁGINAS INTERNAS (Boletería, Hoteles, etc.) --- */

/* Banner específico para Boletería (mismo estilo que Hero pero más corto) */
.boleteria-banner {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), 
                url('assets/img/servicios.jpg');
    height: 60vh; /* Altura reducida para páginas internas */
}

/* Buscador que se posiciona sobre el banner */
.search-section {
    padding: 0 10%;
    margin-top: -60px; /* Sube el cuadro para que pise el banner */
    position: relative;
    z-index: 10;
}

.search-container {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    align-items: flex-end;
}

.input-field {
    flex: 1;
    min-width: 180px;
    display: flex;
    flex-direction: column;
}

.input-field label {
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--primary);
    text-transform: uppercase;
}

.btn-search-vuelos {
    background: var(--accent);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    height: 50px; /* Alineado con los inputs */
}

.btn-search-vuelos:hover {
    background: #e65c00;
    transform: scale(1.05);
}

/* Ajuste para las tarjetas de vuelo en la rejilla */
.price-tag {
    display: block;
    font-size: 1.4rem;
    color: var(--accent);
    font-weight: bold;
    margin: 10px 0;
}

/* Botón flotante de WhatsApp */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 2px 5px 15px rgba(0,0,0,0.3);
    z-index: 2000;
    text-decoration: none;
    transition: 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background: #128c7e;
}

/* Footer adicional */
footer {
    background: var(--primary);
    color: white;
    padding: 3rem 10% 1rem 10%;
    margin-top: 4rem;
}

.footer-info h3 { margin-bottom: 1.5rem; color: var(--accent); }
.footer-info p { margin-bottom: 0.8rem; font-size: 0.9rem; }
.footer-bottom { 
    text-align: center; 
    margin-top: 2rem; 
    padding-top: 1rem; 
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.8rem;
}


/* Banner específico para Hoteles */
.hoteles-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1571003123894-1f0594d2b5d9?auto=format&fit=crop&w=1200&q=80');
    height: 60vh;
}

/* Estilos para las fotos en las tarjetas de hoteles */
.hotel-card {
    padding: 0 0 2rem 0 !important; /* 0 arriba, 0 lados, 2rem abajo */
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.hotel-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    margin-bottom: 1.5rem;
}

.hotel-card h3 {
    padding: 0 1.5rem; /* Les damos margen interno a los textos */
    margin-bottom: 1rem;
}

.hotel-card .price-tag {
    margin-bottom: 1.5rem;
}

.hotel-card .btn-submit {
    width: 80%;
    margin: auto auto 0 auto; /* Centra horizontalmente y empuja hacia abajo */
    padding: 0.8rem;
    border-radius: 5px;
}

/* Banner específico para Paquetes */
.paquetes-banner {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?auto=format&fit=crop&w=1200&q=80');
    height: 60vh;
}

/* Detalles de las tarjetas de paquetes */
.package-card {
    text-align: left !important; /* Los paquetes se leen mejor alineados a la izquierda */
}

.package-card h3 {
    margin-top: 1rem;
    padding: 0 1.5rem;
    color: var(--primary);
}

.package-card p {
    padding: 0 1.5rem;
    font-size: 0.95rem;
    color: #666;
}

.package-includes {
    font-size: 1.2rem !important;
    color: var(--primary) !important;
    margin: 10px 0;
}

.package-card .price-tag {
    font-size: 1.6rem;
    margin-top: 15px;
}

.package-card .price-tag span {
    font-size: 0.8rem;
    color: #888;
}

/* Pequeña etiqueta de "Más vendido" o "Oferta" */
.badge {
    background: var(--accent);
    color: white;
    padding: 5px 12px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 0 0 10px 0;
    position: absolute;
    text-transform: uppercase;
}


/* Estilos para el Index */
.main-banner {
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), 
                url('assets/img/home.jpg');
    height: 85vh;
}

.home-section {
    padding: 4rem 10%;
    text-align: center;
}

.light-bg {
    background-color: var(--light);
}

.section-title {
    margin-bottom: 3rem;
    color: var(--primary);
    font-size: 2.2rem;
    position: relative;
}

.section-title::after {
    content: '';
    width: 60px;
    height: 4px;
    background: var(--accent);
    display: block;
    margin: 10px auto;
}

.btn-text {
    color: var(--accent);
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.btn-text:hover {
    text-decoration: underline;
}

.enebros-container {
    background: var(--primary);
    color: white;
    padding: 3rem;
    border-radius: 15px;
    margin-top: 2rem;
}


/* --- 1. Ajuste General de la Rejilla (Grid) --- */
/* Aumentamos el espacio entre las tarjetas (gap) de 2rem a 3rem */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Tarjetas un poco más anchas mínimo */
    gap: 3rem; /* <--- ESTO DA MÁS ESPACIO ENTRE TARJETAS */
    padding: 5rem 10%;
    background: var(--light);
}

/* --- 2. Ajuste Interno de la Tarjeta (Card) --- */
.service-card {
    background: white;
    padding: 2rem;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); /* Un toque de sombra queda bien */
    transition: transform 0.3s, box-shadow 0.3s;
    
    /* ESTO ES CLAVE: Convierte la tarjeta en un flexbox vertical
       para empujar el botón siempre hacia abajo, separándolo del texto */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empuja el contenido arriba y el botón abajo */
}

/* --- 3. Ajuste Específico del Botón --- */
.service-card .btn-submit,
.service-card .btn-main {
    margin-top: auto; /* Empuja el botón al fondo si hay poco texto */
    margin-bottom: 0;
    width: 100%; /* Que ocupe todo el ancho interno */
    border-radius: 5px;
    /* Aseguramos un margen superior mínimo para que no pegue con el texto */
    margin-top: 20px; 
}

/* Si usas las tarjetas estilo hotel/paquete con imagen arriba: */
.hotel-card .btn-submit {
    width: 90%; /* Un poco más pequeño que el ancho total para que respire */
    margin-left: auto;
    margin-right: auto;
}


.about-section {
    padding: 5rem 10%;
    background-color: white;
    line-height: 1.8;
}

.about-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.about-text {
    color: #555;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.iata-badge {
    display: inline-flex;
    align-items: center;
    background: var(--light);
    padding: 1.5rem 2rem;
    border-radius: 10px;
    border-left: 5px solid var(--primary);
    margin-top: 2rem;
}

.iata-badge i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-right: 1.5rem;
}

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

.iata-info span {
    display: block;
    font-size: 0.9rem;
    text-transform: uppercase;
    color: #777;
    letter-spacing: 1px;
}

.iata-info strong {
    font-size: 1.2rem;
    color: var(--primary);
}

.vehicle-card i {
    font-size: 2rem;
    color: var(--accent);
    margin: 1rem 0;
}

.vehicle-card .hotel-img {
    border-radius: 10px 10px 0 0;
    margin-bottom: 0.5rem;
}

/* Para que las tarjetas de vehículos resalten un poco más */
.vehicle-card:hover {
    border: 1px solid var(--accent);
}

.values-section {
    padding: 80px 20px;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    color: #003366;
    margin-bottom: 50px;
    font-size: 2rem;
    position: relative;
}

/* Línea decorativa debajo del título */
.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #d44c17; /* Dorado */
    margin: 10px auto;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    text-align: center;
    padding: 40px 25px;
    border-radius: 15px;
    background: #f8faff;
    border: 1px solid #eef2f6;
    transition: all 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 51, 102, 0.1);
    background: #fff;
    border-color: #d44c17;
}

.value-card i {
    font-size: 2.5rem;
    color: #003366;
    margin-bottom: 20px;
    transition: color 0.3s ease;
}

.value-card:hover i {
    color: #d44c17;
}

.value-card h4 {
    color: #003366;
    font-size: 1.25rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.value-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

.map-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Ajuste para que el mapa sea responsivo en móviles */
@media (max-width: 768px) {
    .map-container iframe {
        height: 300px;
    }
}

.address-details p {
    font-size: 1.1rem;
    color: #444;
}

.address-details .btn-text {
    display: inline-block;
    margin-top: 10px;
    color: #003366;
    text-decoration: none;
    font-weight: bold;
}

.address-details .btn-text:hover {
    color: #d4a017;
}

