/* --- VARIABLES GLOBALES Y RESET --- */
:root {
    --brand-orange: #ff5e00;
    --brand-dark: #1a1a1a;
    --brand-light-grey: #f8f9fa;
    --text-muted: #6c757d;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--brand-dark);
    line-height: 1.6;
    overflow-x: hidden; /* Evitar scroll horizontal */
    padding-top: 100px; /* Espacio para el header fixed */
}

/* --- TIPOGRAFÍA --- */
h1, h2, h3, h4, h5, h6, .nav-link, .activity-name, .hero-subtitle, .section-sub-title {
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
}

.text-orange { color: var(--brand-orange); }
.bg-orange { background-color: var(--brand-orange); }

/* --- BOTONES PERSONALIZADOS --- */
.btn-orange {
    background-color: var(--brand-orange);
    border-color: var(--brand-orange);
    transition: all 0.3s ease;
}
.btn-orange:hover {
    background-color: #e65500;
    border-color: #e65500;
    color: white;
}

.btn-outline-dark {
    border-width: 2px;
    font-weight: bold;
}

/* --- TÍTULOS DE SECCIÓN --- */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}
.section-title span {
    color: var(--brand-orange);
}

/* --- 1. HEADER & NAV ADJUSTS --- */
.navbar-light .navbar-nav .nav-link {
    color: var(--brand-dark);
    font-size: 0.9rem;
    padding-left: 1rem;
    padding-right: 1rem;
}
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:hover {
    color: var(--brand-orange);
}

/* --- 2. HERO SECTION --- */
.hero-container {
    height: 85vh;
    background-color: #f0f0f0;
}

.hero-bg-orange {
    position: absolute;
    top: 0;
    right: 0;
    width: 65%;
    height: 100%;
    background-color: var(--brand-orange);
    /* El corte diagonal es CLAVE aquí */
    clip-path: polygon(25% 0%, 100% 0%, 100% 100%, 0% 100%);
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.8;
}

.hero-man {
    position: relative;
    z-index: 2;
    transform: scale(1.1) translateY(5%);
    filter: drop-shadow(10px 10px 20px rgba(0,0,0,0.2));
}

/* --- 3. SECCIÓN FLOTANTE --- */
.info-overlap {
    margin-top: -100px; /* Flotando sobre el hero */
}

.overlapping-images {
    position: relative;
    height: 350px;
}

.main-info-img {
    width: 80%;
    height: auto;
}

.secondary-info-img {
    position: absolute;
    bottom: -20px;
    right: 10%;
    width: 50%;
    height: auto;
    border: 5px solid white;
}

.section-sub-title {
    font-size: 1.8rem;
    font-weight: 700;
}

/* --- 4. GRID DE ACTIVIDADES --- */
.activity-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    height: 250px;
    cursor: pointer;
    transition: transform 0.3s ease, shadow 0.3s ease;
}

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

.activity-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease;
}

.activity-card:hover .activity-img {
    filter: grayscale(0%);
}

.activity-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Gradiente naranja inferior como en la imagen */
    background: linear-gradient(0deg, rgba(255, 94, 0, 0.9) 0%, rgba(255, 94, 0, 0.4) 50%, transparent 100%);
    opacity: 0.8;
}

.activity-name {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    z-index: 2;
    letter-spacing: 1px;
}

/* --- 6. SECCIÓN VÍDEO --- */
.video-parallax {
    height: 60vh;
    overflow: hidden;
}

.video-bg-img {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    z-index: 1;
}

.video-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 2;
}

.video-play-btn {
    width: 100px;
    height: 100px;
    background-color: white;
    border: 5px solid rgba(255,255,255,0.5);
    box-shadow: 0 0 30px rgba(255,255,255,0.3);
    transition: all 0.3s ease;
}

.video-play-btn:hover {
    transform: scale(1.1);
    background-color: var(--brand-orange);
}

/* --- 7. REASON CARDS --- */
.reason-card {
    transition: all 0.3s ease;
}
.reason-card:hover {
    border-color: var(--brand-orange) !important;
    background-color: #fffaf7;
}

.reason-card .icon-circle {
    width: 70px;
    height: 70px;
}

/* --- 8. CONTACTO (MAP ADJUSTS) --- */
.map-placeholder {
    margin-top: -100px; /* Subir el mapa como en el diseño */
    position: relative;
    z-index: 1;
}

/* --- 9. FOOTER --- */
footer .social-icons a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255,255,255,0.1);
}

footer .footer-links a:hover {
    color: white !important;
}

/* --- RESPONSIVE ADJUSTS --- */
@media (max-width: 992px) {
    body {
        padding-top: 140px; /* Ajuste para header colapsado */
    }
    .hero-container {
        height: auto;
        padding: 60px 0;
    }
    .hero-bg-orange {
        width: 100%;
        clip-path: none; /* Quitamos el corte diagonal en mobile */
    }
    .hero-container .text-end {
        text-align: center !important;
    }
    .hero-container h1 {
        font-size: 2.5rem;
    }
    .overlapping-images {
        height: 250px;
    }
    .secondary-info-img {
        width: 40%;
    }
    .info-overlap {
        margin-top: 0px;
    }
    .video-parallax {
        height: 40vh;
    }
}