/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
strong{
    font-weight: bold !important;
}

.texto-blanco, .texto-blanco h1, .texto-blanco h2, .texto-blanco h3, .texto-blanco h4, .texto-blanco p, .texto-blanco span{
    color: white !important;
}

.texto-negro, .texto-negro h1, .texto-negro h2, .texto-negro h3, .texto-negro h4, .texto-negro p, .texto-negro span{
    color: black !important;
}

.texto-rojo, .texto-rojo h1, .texto-rojo h2, .texto-rojo h3, .texto-rojo h4, .texto-rojo p, .texto-rojo span{
    color: #981831 !important;
}

.hesterica, .hesterica h1, .hesterica h2, .hesterica h3, .hesterica h4, .hesterica p, .hesterica span{
    font-family: 'Hesterica', sans-serif !important;
}

.open-sans-bold, .open-sans-bold h1, .open-sans-bold h2, .open-sans-bold h3, .open-sans-bold h4, .open-sans-bold p, .open-sans-bold span{
    font-family: 'OpenSansCondensed-Bold', sans-serif !important;
    font-weight: bold;
}

.open-sans-light, .open-sans-light h1, .open-sans-light h2, .open-sans-light h3, .open-sans-light h4, .open-sans-light p, .open-sans-light span{
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
    font-weight: lighter;
}

.open-sans-light-bold, .open-sans-light-bold h1, .open-sans-light-bold h2, .open-sans-light-bold h3, .open-sans-light-bold h4, .open-sans-light-bold p, .open-sans-light-bold span{
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
    font-weight: bold;
}

/*header*/

/* Estilo inicial del menú desplegable */
.mi-menu-dropdown.elementor-nav-menu--dropdown {
    position: relative;
  }
  
  /* Oculta el menú por defecto */
  .mi-menu-dropdown .elementor-nav-menu__container {
    position: absolute;
    top: 100%;
    background: white;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    z-index: 999;
    right: 0;
  }

  .mi-menu-dropdown ul{
    background-color: white;
  }
  
  /* Cuando el menú está activo */
  .mi-menu-dropdown.elementor-nav-menu--dropdown-active .elementor-nav-menu__container {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .item-menu-fondo-negro h4{
    font-size: 16px !important;
  }

/*HOME*/
.titulo-home-1{
    font-size: 175px;
}

.titulo-home-2{
    font-size: 270px;
}

.titulo-home-3{
    font-size: 160px;
    font-weight: lighter;
}


.titulo-internas-1{
    font-size: 150px;
}

.titulo-internas-2{
    font-size: 230px;
}

.titulo-internas-3{
    font-size: 300px;
    font-weight: lighter;
	line-height: 0px;
	color: #F5ECE3 !important;
}

/*FORMULARIO CONTACTO*/
/* Contenedor general del formulario */
.wpcf7 {
    max-width: 100%;
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

/* Labels */
.wpcf7 label {
    display: block;
    margin-bottom: 15px;
    font-size: 24px;
    color: #000;
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

.wpcf7 p{
    width: 100% !important;
}


/* Inputs y textarea */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid #bfbfbf;
    border-radius: 0;
    font-size: 20px;
    outline: none;
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

/* Altura del textarea */
.wpcf7 textarea {
    min-height: 180px;
    resize: vertical;
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

/* Placeholder */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: #666;
}

.wpcf7-not-valid-tip{
    font-size: 18px;
        font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

/* Botón Enviar */
.wpcf7 input[type="submit"] {
    width: 100%;
    background-color: #9c9c9c;
    color: #fff;
    border: none;
    padding: 12px;
    font-size: 20px;
    cursor: pointer;
    text-transform: none;
    font-family: 'OpenSansCondensed-Light', sans-serif !important;
}

/* Hover botón */
.wpcf7 input[type="submit"]:hover {
    background-color: #8a8a8a;
}

/* Eliminar márgenes extra de CF7 */
.wpcf7 p {
    margin: 0;
}


/* GRID GENERAL */
/* Grid de galerías */
.galeria-grid [type=button]:focus, [type=button]:hover, [type=submit]:focus, [type=submit]:hover, button:focus, button:hover {
    background-color: #981831;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px 30px;
    padding: 40px 0;
    align-items: start;
}

.galeria-item {
    background: transparent;
    text-align: center;
    transition: transform 0.3s ease;
}

.galeria-item:hover {
    transform: translateY(-8px);
}

.galeria-trigger {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 15px;
    transition: box-shadow 0.3s ease;
}

.galeria-trigger:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.galeria-thumb {
    width: 100%;
    min-height: 280px;
    max-height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

@media (min-width: 1024px) {
    .galeria-thumb {
        height: 320px;
    }
}

.galeria-trigger:hover .galeria-thumb {
    transform: scale(1.08);
}

.galeria-no-image {
    width: 100%;
    min-height: 280px;
    max-height: 280px;
    background: #e8e8e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border-radius: 4px;
}

@media (min-width: 1024px) {
    .galeria-no-image {
        height: 320px;
    }
}

.galeria-title {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    color: #981831;
    line-height: 1.3;
}

/* Modal */
.galeria-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.galeria-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
}

.galeria-close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.galeria-close:hover {
    color: #ccc;
}

#galeria-modal-title {
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.galeria-slider {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.galeria-images-container {
    max-width: 100%;
    max-height: 70vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.galeria-images-container img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    display: none;
}

.galeria-prev,
.galeria-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.3);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    z-index: 10;
}

.galeria-prev:hover,
.galeria-next:hover {
    background-color: rgba(255,255,255,0.5);
}

.galeria-prev {
    left: 10px;
}

.galeria-next {
    right: 10px;
}

.galeria-counter {
    text-align: center;
    color: #fff;
    margin-top: 15px;
    font-size: 18px;
}

/* Responsive */
@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .galeria-modal-content {
        width: 95%;
        padding: 10px;
    }
    
    .galeria-prev,
    .galeria-next {
        padding: 10px 15px;
        font-size: 18px;
    }
}





/* Estilos solo para móviles */
@media (max-width: 767px) {
    .titulo-home-1{
        font-size: 65px;
    }
    
    .titulo-home-2{
        font-size: 100px;
    }
    
    .titulo-home-3{
        font-size: 65px;
    }

    .titulo-internas-1{
        font-size: 65px;
    }
    
    .titulo-internas-2{
        font-size: 90px;
    }

    .titulo-internas-2-largo.titulo-internas-2{
        font-size: 58px;
    }
    
    .titulo-internas-3{
        font-size: 130px;
    }

    .item-menu-fondo-negro{
        padding: 10px 0px;
    }
  }
  
  /* Estilos para tablets */
  @media (min-width: 768px) and (max-width: 991px) {
    .titulo-home-1{
        font-size: 130px;
    }
    
    .titulo-home-2{
        font-size: 185px;
    }
    
    .titulo-home-3{
        font-size: 120px;
    }

    .titulo-internas-1{
        font-size: 130px;
    }
    
    .titulo-internas-2{
        font-size: 185px;
    }

    .titulo-internas-2-largo.titulo-internas-2{
        font-size: 115px;
    }
    
    .titulo-internas-3{
        font-size: 180px;
    }
  }
  

/*FUENTES*/
@font-face {
    font-family: 'Hesterica';
    src: url('/wp-content/uploads/2025/04/Hesterica.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansCondensed-Bold';
    src: url('/wp-content/uploads/2025/04/OpenSansCondensed-Bold.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OpenSansCondensed-Light';
    src: url('/wp-content/uploads/2025/04/OpenSansCondensed-Light.ttf');
    font-weight: normal;
    font-style: normal;
}