/* ============================================= */
/* FUENTES Y VARIABLES GLOBALES */
/* ============================================= */
:root {
    --primary-color: #0a1f92;
    --secondary-color: #0056b3;
    --accent-color: #FF6B00;
    --text-color: #333;
    --light-gray: #f8f9fa;
    --whatsapp-green: #25D366;
    --font-title: 'Oswald', sans-serif;
    --font-body: 'Lato', sans-serif;
}

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    font-weight: 700;
}

/* ============================================= */
/* HEADER Y NAVEGACIÓN */
/* ============================================= */
#header {
    background: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    padding: 5px 0;
}

#header .logo {
    max-height: 90px;
}

.navbar-toggler {
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-family: var(--font-title);
    text-transform: uppercase;
    color: var(--text-color);
    padding: 10px 15px !important;
    font-size: 1.1rem;
    font-weight: 700;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color);
}

.header-whatsapp-btn {
    background-color: var(--whatsapp-green);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-family: var(--font-title);
    font-weight: 700;
    transition: all 0.3s ease;
    align-items: center;
}

.header-whatsapp-btn:hover {
    background-color: #128C7E;
    color: #fff;
    transform: scale(1.05);
}

.header-whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

/* ============================================= */
/* MENÚ LATERAL MÓVIL */
/* ============================================= */
.side-menu {
    position: fixed; top: 0; left: -280px; width: 280px; height: 100%;
    background-color: var(--primary-color); z-index: 1031;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    overflow-y: auto; display: flex; flex-direction: column;
}
.side-menu.open { left: 0; }
.side-menu-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 20px; border-bottom: 1px solid rgba(255,255,255,0.1);
}
.side-menu-logo { height: 40px; }
.close-menu-btn {
    background: none; border: none; color: #fff; font-size: 2.5rem;
    line-height: 1; padding: 0 5px; font-weight: 300;
}
.side-menu-link {
    display: block; padding: 15px 25px; color: #fff; font-size: 1.1rem;
    font-family: var(--font-title); text-transform: uppercase; transition: background-color 0.3s;
}
.side-menu-link:hover { background-color: var(--secondary-color); text-decoration: none; color: #fff; }
.menu-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.5); z-index: 1030;
    opacity: 0; visibility: hidden; transition: opacity 0.4s, visibility 0.4s;
}
.menu-overlay.active { opacity: 1; visibility: visible; }

/* ============================================= */
/* HERO SECTION */
/* ============================================= */
#hero {
    height: 100vh; width: 100%;
    background: url('../imagenes/hero-bg.webp') no-repeat center center/cover; position: relative;
    padding: 100px 0 0 0;
}
#hero::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.5);
}
#hero .container { position: relative; z-index: 2; }
#hero .hero-logo { max-width: 250px; margin-bottom: 20px; }
#hero h1 { font-size: 3.5rem; color: #fff; text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); }
#hero h2 { font-size: 1.5rem; color: rgba(255, 255, 255, 0.9); font-family: var(--font-body); font-weight: 400; }

/* ============================================= */
/* SECCIONES DE TOURS */
/* ============================================= */
.tour-section { padding: 80px 0; }
.section-title { font-size: 2.8rem; margin-bottom: 20px; color: var(--primary-color); }
.bg-pattern { background-image: url('../imagenes/pattern.png'); background-repeat: repeat; background-color: var(--light-gray); }
.includes-list li { padding: 5px 0; }
.includes-list i { color: var(--accent-color); margin-right: 10px; }
.price { font-family: var(--font-title); font-size: 3.5rem; font-weight: 700; color: var(--accent-color); line-height: 1; margin-bottom: 0; }
.btn-primary, .btn-secondary, .btn-light {
    padding: 12px 30px; font-family: var(--font-title); text-transform: uppercase; font-size: 1rem; letter-spacing: 1px;
}
.btn-primary { background-color: var(--accent-color); border-color: var(--accent-color); }
.btn-primary:hover { background-color: #e65c00; border-color: #e65c00; }
.btn-secondary { background-color: var(--secondary-color); border-color: var(--secondary-color); color: #fff; }
.btn-secondary:hover { background-color: var(--primary-color); border-color: var(--primary-color); color: #fff; }

/* ============================================= */
/* GALERÍA DE TOURS Y LIGHTBOX */
/* ============================================= */
.tour-gallery a { display: block; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.tour-gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform 0.4s ease; }
.tour-gallery a:hover img { transform: scale(1.1); }
.lb-data .lb-caption, .lb-data .lb-number { font-family: var(--font-body); }

/* ============================================= */
/* SECCIÓN CTA */
/* ============================================= */
#cta-section { padding: 60px 0; background: var(--primary-color) url('../imagenes/hero-bg.webp') no-repeat center center/cover; background-attachment: fixed; position: relative; }
#cta-section::after { content: ''; position: absolute; top:0; left: 0; right: 0; bottom: 0; background: rgba(10, 31, 146, 0.85); }
#cta-section .container { position: relative; z-index: 2; }
.cta-title { font-size: 2.5rem; }
.cta-subtitle { font-size: 1.2rem; margin-bottom: 25px; font-family: var(--font-body); font-weight: 400; }

/* ============================================= */
/* FOOTER */
/* ============================================= */
footer { background-color: #222; color: #aaa; padding: 20px 0; font-size: 0.9rem; }

/* ============================================= */
/* ELEMENTOS FIJOS (WHATSAPP, SCROLL-TOP) */
/* ============================================= */
@keyframes pulse-effect {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}
.whatsapp-icon {
    position: fixed; bottom: 20px; left: 20px; background-color: var(--whatsapp-green);
    color: #fff; width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; z-index: 1000; animation: pulse-effect 2s infinite;
}
.whatsapp-icon:hover { animation-play-state: paused; transform: scale(1.1); color: #fff; }

.scroll-to-top {
    position: fixed; bottom: 20px; right: 20px; background-color: var(--accent-color);
    color: #fff; width: 50px; height: 50px; border-radius: 50%; display: none;
    align-items: center; justify-content: center; font-size: 1.5rem;
    z-index: 1000; transition: all 0.3s;
    text-align: center;
    line-height: 2.8rem;
}
.scroll-to-top:hover { background-color: #e65c00; color: #fff; transform: translateY(-5px); }

/* ============================================= */
/* MEDIA QUERIES */
/* ============================================= */
@media (max-width: 991.98px) {
    #hero h1 { font-size: 2.5rem; }
    #hero h2 { font-size: 1.2rem; }
    .price { font-size: 2.8rem; }
    .tour-section .text-md-center { text-align: left !important; margin-top: 20px; }
}

@media (max-width: 767.98px) {
    .whatsapp-icon { width: 50px; height: 50px; font-size: 1.5rem; }
    .scroll-to-top { width: 45px; height: 45px; font-size: 1.2rem; }
}
@media (max-width: 500px) {
    #header .logo {
      max-height: 40px;
    }
    #hero {
      height: 100vh;
      width: 100%;
      background: url('../imagenes/hero-bg.webp') no-repeat center center/cover;
      position: relative;
      padding: 70px 0 50px 0;
      margin: 70px 0 0 0;
    } 
    #hero .hero-logo {
      max-width: 150px;
      margin-bottom: 10px;
    }       
}