* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #f8fafc;
}

/* --- BARRA SUPERIOR CON LOGO EN LA ESQUINA --- */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 30px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2d3d;
    font-weight: 700;
    font-size: 1.2rem;
}

.navbar-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.brand-text span {
    color: #2e7d32; /* Verde jungla */
}

/* --- CONTENEDOR PRINCIPAL --- */
.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* --- ENCABEZADO CON IMAGEN TRANSPARENTE/LIMPIA --- */
.hero-banner {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-banner img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
    padding: 20px;
    max-width: 700px;
}

.hero-badge {
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255,255,255,0.3);
    display: inline-block;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.4;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.8);
    color: #ffffff;
}

/* --- CUADRÍCULA DE TOURS --- */
.tours-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); 
    gap: 25px; 
}

.tour-card { 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    overflow: hidden; 
    background: #fff; 
    display: flex; 
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

/* Enlace interactivo en la imagen */
.tour-img-link {
    display: block;
    cursor: pointer;
    overflow: hidden;
}

.tour-card img { 
    width: 100%; 
    height: 350px; 
    object-fit: cover; 
    object-position: center center;
    display: block;
    transition: transform 0.3s ease;
}

.tour-img-link:hover img {
    transform: scale(1.03); /* Efecto leve de zoom al pasar el cursor */
}

.tour-card-content { 
    padding: 20px; 
    flex-grow: 1; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.tour-card-content h3 {
    margin-bottom: 8px;
    color: #1f2d3d;
}

.tour-card-content p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.4;
}

.tour-buttons { 
    display: flex; 
    gap: 10px; 
    margin-top: 20px; 
}

.btn-catalog { 
    background-color: #f1f5f9; 
    color: #334155; 
    padding: 10px 12px; 
    text-decoration: none; 
    border-radius: 6px; 
    font-size: 0.9rem; 
    text-align: center; 
    flex: 1; 
    font-weight: 600;
}

.btn-whatsapp-tour { 
    background-color: #25D366; 
    color: white; 
    padding: 10px 12px; 
    border: none; 
    border-radius: 6px; 
    font-size: 0.9rem; 
    cursor: pointer; 
    font-weight: bold; 
    flex: 1; 
}

@media (max-width: 600px) {
    .navbar { padding: 10px 15px; }
    .hero-title { font-size: 1.8rem; }
    .hero-description { font-size: 0.95rem; }
}