/*
 * Changelog:
 * 2026-07-06 - Enrique Almisas - Se eliminan estilos del antiguo overlay responsivo para evitar conflictos con el nuevo menú a pantalla completa global.
 * 2026-07-06 - Enrique Almisas - Se añade un círculo negro de fondo al botón toggle activo para mejorar la legibilidad del botón de cerrar sobre imágenes claras.
 * 2026-07-06 - Enrique Almisas - Se reemplazan barras CSS por iconos FontAwesome fa-bars y fa-xmark para hamburguesa y cierre del menú.
 */

.hidden-scroll {
    overflow: hidden;
}

#block-toggle {
    display: none;
}

/* Hamburger button - Default state */
.toggle-button {
    cursor: pointer;
    z-index: 999999;
    position: relative;
    background: transparent;
    border: none;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.toggle-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Hamburger icon - Visible by default */
.toggle-open-icon {
    display: block;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
    transition: color 0.2s ease;
}

.toggle-button:hover .toggle-open-icon {
    color: #DDD8A1;
}

/* Close icon (FA xmark) - Hidden by default */
.toggle-close-icon {
    display: none;
}

/* Active state: Black circle with FA xmark icon */
.toggle-button.toggle-active {
    position: fixed;
    top: clamp(20px, 4vw, 40px);
    right: clamp(20px, 4vw, 40px);
    z-index: 999999;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #000000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.toggle-button.toggle-active:hover {
    background-color: #1a1a1a;
    transform: scale(1.08);
}

/* Hide hamburger icon when menu is open */
.toggle-active .toggle-open-icon {
    display: none;
}

/* Show FA xmark icon when menu is open */
.toggle-active .toggle-close-icon {
    display: block;
    color: #ffffff;
    font-size: 2.2rem;
    line-height: 1;
}

.toggle-active:hover .toggle-close-icon {
    color: var(--destacado);
    transition: color 0.2s ease;
}