/* =========================================
   VARIABLES Y RECURSOS
   ========================================= */
:root {
    --primary: #000000;      /* Negro puro */
    --secondary: #FFFFFF;    /* Blanco */
    --accent: #C5A059;       /* Dorado premium */
    --bg-light: #F4F4F4;     /* Gris suave para contraste */
    --text-main: #1A1A1A;
    --text-muted: #666666;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* =========================================
   BASE
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--secondary);
    overflow-x: hidden;
}

h1, h2, h3, h4, .main-nav {
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul { list-style: none; }

/* =========================================
   HEADER
   ========================================= */
.site-header {
    background: var(--secondary);
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 65px;
    display: block;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--accent);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    padding: 100px 0;
    background: linear-gradient(to right, rgba(255,255,255,1) 30%, rgba(255,255,255,0.6) 100%), 
                url('https://images.unsplash.com/photo-1436491865332-7a61a109c0f3?auto=format&fit=crop&q=80&w=1470') no-repeat center right/cover;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
}

.badge {
    color: var(--accent);
    font-weight: 700;
    font-size: 0.75rem;
    display: block;
    margin-bottom: 10px;
}

.hero-left h1 {
    font-size: 3.8rem;
    line-height: 1;
    margin-bottom: 20px;
    color: var(--primary);
}

.tagline {
    font-size: 1.3rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.cta, .cta-secondary {
    padding: 16px 35px;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.cta {
    background: var(--primary);
    color: var(--secondary);
}

.cta:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.3);
}

.cta-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
}

.cta-secondary:hover {
    background: var(--primary);
    color: var(--secondary);
}

/* =========================================
   BUSCADOR (SEARCH CARD)
   ========================================= */
.search-card {
    background: var(--secondary);
    padding: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    border-radius: 8px;
    border-top: 5px solid var(--accent);
}

.search-card h3 {
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.input-group input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.1);
}

.btn-search {
    width: 100%;
    padding: 16px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: var(--transition);
}

.btn-search:hover {
    background: var(--primary);
    transform: scale(1.02);
}

/* =========================================
   PAQUETES DESTACADOS (INTERACTIVOS)
   ========================================= */
.featured {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: var(--accent);
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
}

.feat-card {
    background: var(--secondary);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.feat-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    border-color: var(--accent);
}

.card-img {
    height: 240px;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.feat-card:hover .card-img img {
    transform: scale(1.1);
}

.card-content {
    padding: 30px;
}

.card-content h4 {
    margin-bottom: 12px;
    font-size: 1.25rem;
    color: var(--primary);
}

.card-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.price {
    font-weight: 800;
    color: var(--accent);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.price::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--accent);
}

/* =========================================
   FOOTER (LIMPIO Y PROFESIONAL)
   ========================================= */
.site-footer {
    background: var(--primary);
    color: var(--secondary);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 60px;
    border-bottom: 1px solid #222;
    padding-bottom: 50px;
}

.footer-info h4, .footer-links h4, .footer-hours h4 {
    margin-bottom: 25px;
    font-size: 1rem;
    color: var(--accent);
    text-transform: uppercase;
}

.footer-info p, .footer-hours p {
    color: #999;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #999;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 8px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    font-size: 0.8rem;
    color: #555;
}

/* =========================================
   BOTÓN WHATSAPP (FIXED)
   ========================================= */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background-color: #25D366;
    color: white !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
    z-index: 9999;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: scale(1.1) rotate(10deg);
    background-color: #128C7E;
}

.wa-tooltip {
    position: absolute;
    right: 80px;
    background: #333;
    color: white;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: var(--transition);
}

.whatsapp-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero { background-position: center; }
    .hero-buttons { justify-content: center; }
    .hero-left h1 { font-size: 3rem; }
}

@media (max-width: 768px) {
    .header-flex { flex-direction: column; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
    .cards { grid-template-columns: 1fr; }
}

/* =========================================
   ESTILOS DEL MODAL (PAQUETES)
   ========================================= */
.modal {
    display: none; 
    position: fixed;
    z-index: 2000;
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal.show { display: flex; }

.modal-content {
    background-color: #fff;
    padding: 50px;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.modal .close {
    position: absolute;
    top: 20px; right: 20px;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #999;
}

.modal h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

/* --- ESTILO PROFESIONAL TARJETAS --- */
.card-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.card-actions {
    display: flex;
    gap: 10px;
}

.card-actions .cta, .card-actions .cta-secondary {
    padding: 10px 16px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* --- WHATSAPP CORREGIDO (Solución image_e4a64c.png) --- */
.whatsapp-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #fff !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-decoration: none;
}

.wa-tooltip {
    position: absolute;
    right: 75px;
    background: #1a1a1a;
    color: white;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
}

.whatsapp-btn:hover .wa-tooltip {
    opacity: 1;
    visibility: visible;
}

/* --- MODAL --- */
.modal {
    display: none;
    position: fixed;
    top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.85);
    z-index: 10000;
    align-items: center; justify-content: center;
}
.modal.show { display: flex; }
.modal-content {
    background: white; padding: 40px; border-radius: 12px;
    max-width: 500px; width: 90%; position: relative;
}
.close-modal {
    position: absolute; top: 15px; right: 20px;
    border: none; background: none; font-size: 28px; cursor: pointer;
}
/* Ajustes para el Hero de Cruceros */
.hero-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-left {
    flex: 1;
}

.hero-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-img-crucero {
    max-width: 100%;
    height: auto;
    border-radius: 20px; /* Bordes suaves como tus tarjetas */
    box-shadow: 0 15px 35px rgba(0,0,0,0.1); /* Sombra elegante */
    transition: transform 0.5s ease;
}

.hero-img-crucero:hover {
    transform: translateY(-10px); /* Efecto sutil al pasar el ratón */
}

/* Responsive: en móviles la imagen se va abajo o desaparece */
@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
        text-align: center;
    }
}

/* Formulario específico para Vuelo + Hotel */
.grid-form-vh {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    align-items: flex-end;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

/* Reutilizamos el estilo de tus tarjetas del index para los resultados */
.result-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-left: 4px solid var(--accent); /* Detalle dorado */
}

/* --- FOOTER PROFESIONAL --- */
.site-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 0 0;
    font-family: 'Open Sans', sans-serif;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1); /* Si el logo es oscuro, esto lo pone blanco */
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    color: #bbb;
    margin-bottom: 20px;
}

.site-footer h4 {
    color: #C5A059; /* Color dorado del logo */
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links ul li a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: #C5A059;
    padding-left: 5px;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #bbb;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    color: #C5A059;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: white;
    background: #333;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
}

.footer-social a:hover {
    background: #C5A059;
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #111;
    padding: 20px 0;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-contact p {
        justify-content: center;
    }
    .footer-social {
        justify-content: center;
    }
}