/*
    Theme Name: ADSAC
    Theme URI: 
    Author: ilinium
    Author URI: 
    Description: Tema de practica para wordpress
    Version: 1.0
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    Tags: ADSAC
    Text Domain: ADSAC
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;700&display=swap');


:root {
    --red-50: #E30917;
    --red-100: #C1121F;
    --red-200: #780000;
    --gray-100: #E5E6E4;
    --gray-200: #CFD2CD;
    --gray-300: #ADADAD;
    --gray-400: #737373;
    --beige-100: #FFF9EF;
    --beige-200: #FFF6E2;
    --beige-300: #DDA17D;
    --black-100: #32373B;
    --black-200: #000500;
    --aqua-100: #61C1B6;
    --aqua-200: #0A9396;
    --blue-100: #78BBE3;
    --blue-200: #05344A;
    --blue-300: #033051;
}


* {
   box-sizing: border-box;
   font-display: swap;
   font-family: 'Montserrat', sans-serif;
   position: relative;
}

/*
* FONT COLOR
*/
.red-50 {
    color: var(--red-50);
}
.red-100 {
    color: var(--red-100);
}       
.red-200 {
    color: var(--red-200);
}
.gray-100 {
    color: var(--gray-100);
}
.gray-200 {
    color: var(--gray-200);
}
.gray-300 {
    color: var(--gray-300);
}
.gray-400 {
    color: var(--gray-400);
}
.beige-100 {
    color: var(--beige-100);
}
.beige-200 {
    color: var(--beige-200);
}
.beige-300 {
    color: var(--beige-300);
}
.black-100 {
    color: var(--black-100);
}
.black-200 {
    color: var(--black-200);
}
.aqua-100 {
    color: var(--aqua-100);
}
.aqua-200 {
    color: var(--aqua-200);
}
.blue-100 {
    color: var(--blue-100);
}
.blue-200 {
    color: var(--blue-200);
}
.blue-300 {
    color: var(--blue-300);
}

/*
* BACKGROUND COLOR
*/
.bg-red-50 {
    background-color: var(--red-50);
}   
.bg-red-100 {
    background-color: var(--red-100);
}
.bg-red-200 {
    background-color: var(--red-200);
}
.bg-gray-100 {
    background-color: var(--gray-100);
}
.bg-gray-200 {
    background-color: var(--gray-200);
}
.bg-gray-300 {
    background-color: var(--gray-300);
}
.bg-gray-400 {
    background-color: var(--gray-400);
}
.bg-beige-100 {
    background-color: var(--beige-100);
}
.bg-beige-200 {
    background-color: var(--beige-200);
}
.bg-beige-300 {
    background-color: var(--beige-300);
}
.bg-black-100 {
    background-color: var(--black-100);
}
.bg-black-200 {
    color: var(--black-200);
}
.bg-aqua-100 {
    background-color: var(--aqua-100);
}
.bg-aqua-200 {
    background-color: var(--aqua-200);
}
.bg-blue-100 {
    background-color: var(--blue-100);
}
.bg-blue-200 {
    background-color: var(--blue-100);
}
.bg-blue-300 {
    background-color: var(--blue-300);
}
/*
* BTN & LINK STYLE.
*/
a {
    text-decoration: none;
    color: var(--beige-300);
    transition: 0.3s all;
    font-weight: 500;
}
.btn {
    display: flex;
    padding: 10px 20px;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white !important;
    border: none;
    width: fit-content;
}
.btn i:before {
    font-weight: bold !important;
}
.btn-cta {
  background-color: var(--red-100); 
}
.btn-cta:hover {
  background-color: var(--red-200); 
  color: white;
}

.btn-info {
  background-color: var(--red-100); /* Azul (cambia el color) */
}

.btn-info:hover {
   background-color: var(--red-200); /* Fondo sutil al hover */
}

/*
* NAV MENU
*/
a.underline-animation {
    text-decoration: none !important;
    display: inline-block;
}

a.underline-animation::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0; 
    height: 2px;
    background: var(--red-100); 
    transition: width 0.3s ease-in-out; 
}

a.underline-animation:hover::after {
    width: 100%;
    left: 0; 
}

a.underline-animation:not(:hover)::after {
    width: 0;
    left: 100%; 
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out; 
}

/*
* Dropdown menu
*/

.dropdown-menu {
    display: none;
    position: absolute;
    background-color: #FFF;
    border: 1px solid #ccc;
}

.dropdown:hover > .dropdown-menu {
    display: block;
}

/*
* Anular estilos de Bootstrap para dropdowns
*/

.dropdown-item.active,
.dropdown-item:active {
  background-color: transparent !important;
}

.dropdown-item:hover{
    background-color: transparent !important;
}

/*
* Banner shade
*/
.banner-shade:after
 {
    content: '';
    background: #0000004f;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
}

/*
* Small Banner
*/
.small-banner{
  height: 420px;
}

/*
* Navigation styles
*/

/*
.nav-menu-figure:after {
    width: 150%;
    height: 140%;
    content: '';
    background: var(--beige-200);
    position: absolute;
    top: -10px;
    left: 0;
    z-index: 0;
    pointer-events: none;
}
*/
.adsac-nav {
    background: linear-gradient(to right, white 35%, var(--beige-200) 25%);
}
/*
.adsac-nav.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background: var(--beige-200); /* Fondo sólido
  box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Sombra sutil
  padding: 0.5rem 0 !important; /* Reduce el padding al fixed
  transform: translateY(0); /* Desplazamiento final (0 = posición fixed)
  backdrop-filter: blur(8px); /* Efecto de cristal (opcional)
  animation: fadeInDown 0.4s ease-out; /* Animación adicional (opcional)
}


/* Keyframes para animación de entrada (opcional)
@keyframes fadeInDown {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Opcional: Ajustar el logo cuando el menú es fixed
.nav-fixed .adsac-logo {
  height: 40px !important;
}

/*
* Footer styles
*/

#logo-igualdad-e-inclusion{
    width: 300px;
}

.social-media-icons{
    width: 45px;
    height: 45px;
    background-color: #FFF;
}

.social-media-icons:hover{
    background-color: var(--red-100);
    color: #FFF;
}

/*
* Menú móvil
*/
    /* Menú móvil principal */
    .mobile-menu {
        top: 12px;
        left: -100%;
        width: calc(100% - 24px);
        max-width: 320px;
        height: calc(100vh - 24px);
        z-index: 1100;
        box-shadow: 0 0 20px rgba(0,0,0,0.1);
        transition: transform 0.4s ease, left 0.4s ease;
        will-change: transform;
    }

    /* Estado activo */
    .mobile-menu.active {
        left: 12px;
        transform: translateX(0);
    }

    /* Botón de cerrar */
    .close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        cursor: pointer;
        line-height: 1;
    }

    /* Navegación del menú */
    .menu-nav {
        height: calc(100% - 180px);
        overflow-y: scroll;
    }

    .menu-list li {
        margin-bottom: 15px;
    }

    /* Backdrop */
    .menu-backdrop {
        background: rgba(0,0,0,0.5);
        z-index: 1099;
        display: none;
    }

    .menu-backdrop.active {
        display: block;
    }

    /* Oculta los submenús por defecto */
#mobileMenu .sub-menu {
    display: none;
    list-style: none; /* Elimina los círculos */
    padding-left: 0;
    margin-top: 10px;
}

/* Muestra los submenús cuando su padre está activo */
#mobileMenu .menu-item-has-children.active > .sub-menu {
    display: block;
}

/* Aumenta el tamaño de la letra en los enlaces del menú principal */
#mobileMenu .menu-list > li > a {
    font-size: 20px;
}

/* Quita las negritas de los enlaces hijos */
#mobileMenu .sub-menu a {
    font-weight: normal !important;
}

/*
* Responsive
*/

@media (max-width: 991px) {
    .adsac-nav {
        background: linear-gradient(to right, white 45%, var(--beige-200) 25%);
    }
}

@media (max-width: 767px) {
    .adsac-nav {
        background: linear-gradient(to right, white 65%, var(--beige-200) 50%);
    }
}