/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&display=swap');

/* VARIABLES REUTILIZABLES  */

:root {}

/* HEADER */

.fusion-standard-logo {
    width: 180px !important;
    height: auto !important;
}

.fusion-header .fusion-row {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 !important;
}

.fusion-header .fusion-row::before,
.fusion-header .fusion-row::after {
    display: none !important;
}

.menu-contenedor {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
}

.header-translate ul {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: center !important;
    gap: 0px !important;
    justify-content: center !important;
    padding-left: 20px !important;

}

#flags {
    width: auto !important;
}

#flags li{
    display: flex !important;
    height: fit-content !important;
}

/* MENÚ HAMBURGUESA */

.burger {
    position: relative;
    width: 35px;
    height: 25px;
    background: transparent;
    cursor: pointer;
    display: none;
}

.burger input {
    display: none;
}

.burger span {
    display: block;
    position: absolute;
    height: 4px;
    width: 100%;
    background: black;
    border-radius: 9px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.burger span:nth-of-type(1) {
    top: 0px;
    transform-origin: left center;
}

.burger span:nth-of-type(2) {
    top: 50%;
    transform: translateY(-50%);
    transform-origin: left center;
}

.burger span:nth-of-type(3) {
    top: 100%;
    transform-origin: left center;
    transform: translateY(-100%);
}

.burger input:checked~span:nth-of-type(1) {
    transform: rotate(45deg);
    top: 0;
    left: 5px;
}

.burger input:checked~span:nth-of-type(2) {
    width: 0%;
    opacity: 0;
}

.burger input:checked~span:nth-of-type(3) {
    transform: rotate(-45deg);
    top: 28px;
    left: 5px;
}

#menu-principal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100vh;
    overflow-y: auto !important;
    background: rgba(255, 255, 255, 0.8);
    /* Fondo semitransparente */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#burger:checked~#menu-principal {
    display: flex !important;
}

.menu-abierto {
    display: flex !important;
    flex-direction: column !important;
    /* Solo aparece cuando se activa */
}

.custom-burger {
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    justify-content: center !important;
    align-items: center !important;
}

.menu-icons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
    justify-content: center !important;
}

/* .fusion-mobile-nav-holder {
  display: none !important;
} */

/* BODY */

body p{
  font-family: 'Rubik', sans-serif !important;
}

h1, h2, h3 {
  font-family: 'Playfair Display', serif !important;
}

h1 {
    color: #1D3557 !important;
    font-size: 48px !important;
}

h2 {
    margin-bottom: 20px !important;
    width: 100% !important;
    font-size: 36px !important;
    color: #1D3557 !important;
}

h3 {
    font-size: 20px !important;
}

.boton-acd a {
    background-color: #E50013 !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
}

.boton-acd a:hover {
    background-color: #bf0010 !important;
}

.tarjeta-horizontal {
    border: 1px solid #1D3557 !important;
    border-radius: 10px !important;
    padding: 20px !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

/* .tarjeta-vertical {
    border: 1px solid #1D3557 !important;
    border-radius: 5px !important;
    margin: 10px !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
} */

.tarjeta-vertical h3 {
    border-bottom: 1px solid #1D3557 !important;
}

.img-shadow img {
    border-radius: 5px !important;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
}

.grid-inicio {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 1rem;
}

.grid-inicio > * {
    width: 100%;
    min-width: 0;
    word-break: break-word;
}

.grid-inicio img {
    width: 100%;
    height: auto;
    display: block;
}


/* FORMULARIO */

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    color: #777 !important;
}

.gfield input:focus {
    border: none !important;
    outline: none !important;
}


input[type="submit"] {
    background-color: #457b9d !important;
    color: white !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    font-size: 16px !important;
}

.col-izq p {
    margin-bottom: 0 !important;
}

/* FOOTER */

.fusion-footer-widget-area.fusion-widget-area {
    background-color: #FAFAFA !important;
    width: 100% !important;
}

footer .custom-footer img {
    max-width: 200px !important;
    height: auto !important;
}

.footer-logo {
    text-align: center !important;
    margin-bottom: 40px !important;
}

.custom-footer {
    color: black !important;
    font-family: sans-serif;
}

.footer-nav {
    text-align: center;
    margin-bottom: 30px;
}

.footer-nav a {
    color: black !important;
    text-decoration: none;
    margin: 0 15px;
    font-size: 18px;
    font-weight: 500;
}

.footer-nav a:hover {
    color: #457B9D !important;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: 18px;
    font-weight: 500;
    padding-top: 20px;
}

.footer-left {
    flex: 1;
    min-width: 150px;
    text-align: left;
}

.footer-right {
    flex: 1;
    min-width: 150px;
    text-align: right;
}

.footer-right a {
    color: black !important;
    margin-left: 20px;
    text-decoration: none;
}

.footer-right a:hover {
    color: #457B9D !important;
}

.footer-kit {
    padding-top: 45px !important;
}

/* MEDIA QUERIES */

@media (max-width: 1000px) {

    /* Ocultar el menú normal */
    #menu-principal {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto !important;
        background: rgba(255, 255, 255, 0.8);
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 1050;
    }

    .burger {
        display: block;
        position: relative !important;
        font-size: 20px !important;
        font-family: 'Open Sans', sans-serif !important;
        top: 0px;
        right: 0px;
        /* Se coloca en la esquina superior derecha */
        z-index: 1100;
    }

    .menu-abierto {
        display: flex !important;
    }

    a.social-icon>img {
        display: none !important;
    }

    /* Mostrar el menú cuando se active el checkbox */
    #burger:checked~#menu-principal {
        display: flex !important;
        flex-direction: column !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        overflow-y: auto !important;
        background: rgba(255, 255, 255, 0.8);
        /* Capa semitransparente */
        justify-content: center;
        align-items: center;
        z-index: 1000;
    }

    #menu-principal a {
        color: black;
        font-family: 'Poppins', sans-serif !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        text-decoration: none;
        transition: 0.3s;
    }

    #menu-principal a::after {
        content: none !important;
    }

    #menu-principal ul {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }

    #menu-principal ul li {
        width: 100% !important;
        text-align: center !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        
    }

    .menu-icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        /* Espaciado entre íconos */
    }

}

@media (min-width: 1001px) {
    #menu-principal {
        display: flex !important;
        position: static;
        background: none;
        height: auto;
        flex-direction: row;
        /* Mantiene el diseño horizontal */
    }

    .burger {
        display: none;
        /* Oculta el menú hamburguesa */
    }
}

@media (max-width: 1200px) {}

@media (max-width: 801px) {}

@media (max-width: 480px) {}