/* =====================================================
   hero.css — Navegación Dinámica y Carrusel Fullscreen
   ===================================================== */

.nav {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 25px 60px !important;
    background-color: transparent !important;
    border-bottom: 1px solid transparent !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.nav.scrolled {
    background-color: var(--ch) !important;
    padding: 12px 60px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4) !important;
}

.nav .nl {
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 500;
    font-size: 14px;
    opacity: 0.85;
    transition: 0.3s;
}

.nav .nl:hover,
.nav .nl.active {
    opacity: 1;
    color: #fff !important;
}

/* ── HERO FULLSCREEN ── */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--ch);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
    repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(255, 255, 255, .015) 39px, rgba(255, 255, 255, .015) 40px),
    repeating-linear-gradient(90deg, transparent, transparent 39px, rgba(255, 255, 255, .015) 39px, rgba(255, 255, 255, .015) 40px);
    z-index: 5;
    pointer-events: none;
}

/* ── CARRUSEL BOOTSTRAP ── */
.carousel,
.carousel-inner,
.carousel-item {
    height: 100vh;
}

.carousel-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6));
}

/* ── CONTENIDO (TEXTO) ── */
.carousel-caption {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    z-index: 10;
    max-width: 900px;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
}

.carousel-caption h1 {
    font-family: 'Playfair Display', serif !important;
    font-size: clamp(42px, 7vw, 82px);
    font-weight: 900 !important;
    line-height: 1;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: -2px;
    margin-bottom: 25px;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: clamp(16px, 2vw, 22px);
    color: rgba(255, 255, 255, 0.95);
    max-width: 650px;
    margin: 0 auto 45px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* ── INDICADORES (PUNTITOS) ── */
.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin: 0 8px;
    background-color: #fff;
    opacity: 0.4;
    border: none;
}

.carousel-indicators .active {
    background-color: var(--red);
    opacity: 1;
    transform: scale(1.2);
}

/* ── CONTROLES FLECHAS ── */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;
    z-index: 15;
}