/*
Theme Name:   Socorro Andino Hello Theme
Description:  Tema para Artizon Adventure
Author:       Index.pe
Author URL:   https://index.pe/
Template:     hello-elementor 
Version:      1.0
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  socorro-theme-elementor
*/

/* Añade aquí tus estilos personalizados */



/* ---- Estilos para el Header Sticky ---- */

.nav-header-home {
    transition: background-color 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}

.nav-header-home.sticky {
    position:fixed;
    background-color: rgba(255, 255, 255, 0.95) !important;   
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nav-header-home.sticky nav .e-n-menu-title-text { 
color: #333 !important;
}

.nav-header-home.sticky .elementor-nav-menu>li a {
	color:#333 !important;
}

.nav-header-home.sticky .elementor-nav-menu>li a .sub-arrow {
	fill: #333;
	color: #333;
}

.nav-header-home.sticky .elementor-nav-menu>li a:hover {
	color: #0064F6 !important;
}

.nav-header-home.sticky .elementor-nav-menu>li a:hover .sub-arrow {
	fill: #0064F6;
	color: #0064F6;
}

.nav-header-home.sticky .logo-contenedor img {
    height: 70px !important; 
    transition: height 0.4s ease;
}

.logo-contenedor img {
    transition: max-height 0.4s ease;
}

.nav-header-home .nav-container ul.sub-menu.elementor-nav-menu--dropdown {
    display: block !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease !important;
    width: max-content !important; 
}


.nav-header-home .nav-container ul.sub-menu.elementor-nav-menu--dropdown a {
    white-space: nowrap !important; 
}

.nav-header-home .nav-container li.menu-item-has-children:hover > ul.sub-menu.elementor-nav-menu--dropdown {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

.nav-header-home .nav-container .elementor-nav-menu .sub-menu a {
    flex-grow: 1;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-content: flex-start;
    align-items: flex-start;
}


.nav-header-home .nav-container .sub-menu .menu-item {
    position: relative;
    padding-left: 5px;
}



.nav-header-home .nav-container .sub-menu .menu-item a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%; 
    transform: translateY(-50%); 
    width: 1px; 
    height: 50%; 
    background-color: #005A9C; 
    border-radius: 2px;
    transition: height 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}



.nav-header-home .nav-container .sub-menu .menu-item a:hover::before {
    height: 65% !important; 
     background-color: #0064F6;
}


@media (max-width: 767px) {
.off-canvas-menu .e-off-canvas .nav-container .elementor-nav-menu .sub-menu li a {   
    display: flex !important;
    flex-direction: column !important;
    align-content: flex-start;
    align-items: flex-start;
}
}

.dracula-toggle:focus, .dracula-toggle:hover {
    background: #fff !important;
    border-color: #fff0 !important;
}

/*
 * Estilos para el Botón "Volver Arriba" (#btn-subir)
 * Diseño: Moderno y Corporativo
*/

/* --- 1. Contenedor Principal del Botón --- */
#btn-subir {
    /* --- Posicionamiento Fijo --- */
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 999; /* Asegura que esté por encima de otros elementos */

    /* --- Diseño y Colores --- */
    background-color: #005A9C; /* Azul corporativo oscuro para alto contraste */
    color: #FFFFFF; /* Texto e icono en blanco */
    border-radius: 50px; /* Forma de píldora moderna */
    box-shadow: 0 5px 20px rgba(0, 90, 156, 0.25); /* Sombra sutil para darle profundidad */
    
    /* --- Alineación y Espaciado Interno --- */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    
    /* --- Otros Estilos --- */
    text-decoration: none;
    opacity: 0; /* Empieza oculto y aparecerá con JS */
    visibility: hidden;

    /* --- Animación Suave --- */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- Hacemos visible el botón cuando tiene el estilo 'display: flex' (manejado por JS) --- */
#btn-subir[style*="display: flex"] {
    opacity: 1;
    visibility: visible;
}


/* --- 2. Icono SVG dentro del Botón --- */
#btn-subir .elementor-icon-list-icon svg {
    width: 1em; /* Tamaño adaptable al texto */
    height: 1em;
    fill: currentColor; /* Hereda el color blanco del padre (<a>) */
    transition: transform 0.3s ease;
}


/* --- 3. Texto "go up" --- */
#btn-subir .texto {
    margin-left: 8px; /* Espacio entre el icono y el texto */
    font-size: 14px;
    font-weight: 600; /* Letra semibold para un look corporativo */
    line-height: 1;
}


/* --- 4. Efecto Hover (al pasar el mouse) --- */
#btn-subir:hover {
    background-color: #0073b6; /* Un azul un poco más claro y vibrante */
    transform: translateY(-5px); /* El botón se eleva sutilmente */
    box-shadow: 0 8px 25px rgba(0, 90, 156, 0.3); /* La sombra se hace más pronunciada */
}

/* Animación sutil en el icono al hacer hover */
#btn-subir:hover .elementor-icon-list-icon svg {
    transform: translateY(-2px);
}
