:root {
    --navy: #002D58;
    --sand: #E1C699;
    --white: #ffffff;
    --dark: #333333;
    --light-bg: #f9f9f9;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--dark);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--navy);
}

p {
    font-size: 1.15rem; 
    line-height: 1.8;
    margin-bottom: 15px;
}

.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.subtitle { font-size: 1.25rem; color: #555; max-width: 800px; margin: 0 auto 30px; }

/* Header */
header {
    background: var(--white);
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav-links { display: flex; gap: 20px; align-items: center; }
.nav-links a { text-decoration: none; color: var(--navy); font-weight: bold; }

.btn-primary {
    background: var(--navy); 
    color: var(--white) !important; 
    padding: 10px 20px; 
    border-radius: 5px; 
    text-decoration: none; 
    display: inline-block;
}
.btn-secondary {
    border: 1px solid var(--navy); color: var(--navy); padding: 8px 18px; border-radius: 5px; text-decoration: none;
}
.btn-hero {
    background: var(--sand); color: var(--navy); padding: 15px 30px; border-radius: 5px; font-weight: bold; font-size: 1.2rem; text-decoration: none; display: inline-block;
}

/* Carrusel */
.hero { height: 70vh; position: relative; overflow: hidden; }
.slider {
    display: flex;
    width: 500%; 
    height: 100%;
    animation: slide 25s infinite;
}
.slide {
    width: 20%; 
    height: 100%;
    background-size: cover;
    background-position: center;
}
@keyframes slide {
    0%, 15% { transform: translateX(0); }
    20%, 35% { transform: translateX(-20%); }
    40%, 55% { transform: translateX(-40%); }
    60%, 75% { transform: translateX(-60%); }
    80%, 95% { transform: translateX(-80%); }
    100% { transform: translateX(0); }
}

.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: rgba(0,0,0,0.4); }
.hero-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 80%; text-align: center; color: var(--white); z-index: 10; }
.hero-content h1 { color: var(--white); font-size: 3rem; margin-bottom: 10px; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); }
.hero-content p { font-size: 1.5rem; text-shadow: 1px 1px 3px rgba(0,0,0,0.5); }

.rating-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.9);
    color: var(--navy);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 15px;
}

/* Secciones Generales */
.section { padding: 80px 5%; }
.bg-light { background: var(--light-bg); }
.bg-dark { background: var(--navy); color: var(--white); }
.bg-dark h2, .bg-dark p { color: var(--white); }

/* Ajuste de Proporciones Texto/Imagen */
.grid-2 {
    display: grid;
    grid-template-columns: 1.2fr 1.8fr;
    gap: 60px;
    align-items: center;
}

.grid-2-reverse {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.img-container img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.video-box {
    margin-top: 30px;
    border: 5px solid var(--sand);
    border-radius: 10px;
    overflow: hidden;
}

/* Tarjetas (Activities/Tours) */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: var(--white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.card-img {
    width: 100%;
    height: 380px; 
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

/* Listas Especiales */
.grid-feature-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.15rem;
}
.grid-feature-list ul { list-style: none; padding: 0; }
.grid-feature-list li { margin-bottom: 15px; }

/* Banner de Alerta */
.banner-alert {
    background: var(--sand);
    color: var(--navy);
}
.banner-alert h3 { margin-bottom: 10px; }

/* Reviews */
.review-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-align: center;
}
.stars { font-size: 1.5rem; margin-bottom: 15px; }
.review-card p { font-style: italic; color: #555; margin-bottom: 20px; }
.review-card strong { color: var(--navy); font-size: 1.1rem; }

/* Nueva Galería Armoniosa */
.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
}

.grid-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    padding: 20px;
}

.gallery-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-img:hover {
    transform: scale(1.03);
}

/* Menú Hamburguesa */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}
.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--navy);
    transition: all 0.3s ease;
}

/* Responsive */
@media (max-width: 768px) {
    .grid-2, .grid-2-reverse, .grid-feature-list {
        grid-template-columns: 1fr;
    }
    .hero-content h1 { font-size: 2rem; }
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links {
        display: none; 
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: var(--white);
        position: absolute;
        top: 60px;
        left: 0;
        box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
        padding-bottom: 20px;
    }
    .nav-links.active { display: flex; }
    .nav-links a { padding: 15px 0; width: 100%; }
}

.music-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--navy);
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
    z-index: 9999;
    transition: all 0.3s ease;
}

.music-btn:hover {
    background-color: var(--sand);
    color: var(--navy);
    transform: translateY(-3px);
}