/* ===========================================
   HEADER KIBAH (Transparente + Fijo)
=========================================== */

.header-kibah {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 18px 0;
    display: flex;
    justify-content: center;
    z-index: 999;
    transition: background 0.3s ease;

    /* Fondo transparente elegante */
    background: var(--color-primary);
    /* background: rgba(10, 10, 10, 0.05); */
    backdrop-filter: blur(6px);
}

.header-contenido {
    width: 90%; /* ← CORRECCIÓN que resolvió tu problema */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.logo-kibah img {
    width: 150px;
    height: auto;
}

/* Nav Desktop */
.nav-kibah {
    display: flex;
    gap: 28px;
}

.nav-kibah a {
    font-family: 'ArialCustom';
    color: var( --color-white);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.25s ease;
}

.nav-kibah a:hover {
    opacity: 0.75;
    color: var(--color-accent);
}

/* Botón Hamburguesa */
.menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-btn span {
    width: 28px;
    height: 3px;
    background: var( --color-white);
    border-radius: 2px;
}

.cerrar-menu {
    display: none; /* Oculta la X en escritorio */
}

/* ===========================================
   MENÚ MÓVIL FULLSCREEN
=========================================== */
@media (max-width: 900px) {

    /* Ocultar menu desktop */
    .nav-kibah {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;       /* FULLSCREEN */
        height: 100vh;     /* FULLSCREEN */
        background: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(6px);

        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 45px;

        padding: 0;
        opacity: 0;       /* Para animación fade */
        transition: right 0.35s ease, opacity 0.3s ease;
    }

    .nav-kibah.activo {
        right: 0;
        opacity: 1;
    }

    .nav-kibah a {
        font-size: 24px;
        font-weight: 700;
        text-align: center;
    }

    /* Mostrar hamburguesa */
    .menu-btn {
        display: flex;
    }

    /* Botón cerrar (X) */
    .cerrar-menu {
        position: absolute;
        top: 25px;
        right: 25px;
        font-size: 32px;
        color: var( --color-white);
        background: none;
        border: none;
        cursor: pointer;
    }
    .cerrar-menu {
        display: block; /* Mostrar X solo en móvil */
    }
}
