/*
Theme Name: Tema Personalizado
Author: Technicoders
Theme URI: https://technicoders.com
Description: Theme Diseñado para empresas dedicadas a la Belleza
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: PMU, micropigmentación, flexbox, css grid, mobile first
Text Domain: temapersonalizado
*/

*, :after, :before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
}
html {
    scroll-behavior: smooth;
}

.logo img {
    width: 150px;
}
ul {
    margin: 0;
    display: flex;
    gap: 2rem;
}
li {
    margin: 0;
    list-style: none;
}

/*Estilos menu header */
.site-header {
    z-index: 99;
}
.navegacion {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 15px 0;
}

.logo {
    display: flex;
}
/* Overlay */
.overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.46); /* #00000075 */
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    z-index: 99;
}
/* Menú lateral */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background-color: white;
    color: black;   
    transition: transform 0.5s ease-in-out;
    z-index: 199;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
#mobile-menu {
    transform: translateX(100%);
}
#mobile-menu-2 {
    transform: translateX(100%);
}
.mobile-menu ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0; 
}
.mobile-menu ul li.page_item {
    padding: 1rem 0;
    border-bottom: 1px solid #e0dede;
}
/* En pantallas medianas o mayores (md) */
@media (min-width: 768px) {
    .mobile-menu {
        width: 35vw;
    }
   
}
.menu-header-top {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 0 2rem;     
}
.close-button {
    color: black;
    font-size: 1.125rem;
    line-height: 1;
    padding: 0.5rem;
    border: 1px solid #000;
    border-radius: 0.375rem;
    cursor: pointer;
    background: none;
}
.menu-items {
    display: flex;
    flex-direction: column;
    margin-top: 3rem;
    padding: 0 2rem;
}
.menu-header {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.menu-toggle-button {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: black;
}
.main-menu .menu-item {
    cursor: none;
}
@media (max-width: 921px) {
    .navegacion .main-menu {
        display: none;
    }
}
/*Estilos mega menú */
.mega-menus-container {
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%;
  z-index: 99;
}
/*
.submenu {
  display: none;
  width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.8) url('/wp-content/uploads/2025/06/bg-hero-blog-calidad-scaled.webp') no-repeat center center;
  background-size: cover;
  padding: 4rem;
  color: white;
  box-sizing: border-box; 
  gap: 3rem;
  filter: grayscale(0.9);
}

.submenu.active {
  display: flex;
  align-items: center;
}*/
.submenu {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100vw;
  min-height: 100vh;
  background: rgba(0, 0, 0, 0.9);
  background-image: url('/wp-content/uploads/2025/06/titulo-secundario.webp');
  background-size: cover;
  background-position: center;
  color: white;
  z-index: 99;
  padding: 4rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  filter: grayscale(0.9);
}

.submenu.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}


.tituloMenu {
  font-size: 2rem;
  font-weight: bold;
  color: #826e03;
  flex: 1;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  white-space: pre-wrap;
  padding-right: 2rem;
}

.submenu-wrapper {
  flex: 2;
}

.submenu-wrapper ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}
.submenu-wrapper ul li a {
    color: #000;
}
.submenu-wrapper ul li:first-child a {
    font-size: 24px;
    font-weight: 500;  
    pointer-events: none;  
}

.submenu-wrapper li a {
  color: white;
  text-decoration: none;
  font-size: 1.2rem;
  display: block;
  padding: 0.4rem 0;
}

.submenu-wrapper li a:hover {
  text-decoration: underline;
}


/*Estilos footer */
footer {
    background: #e6e1e1ad;
    display: flex;
    justify-content: center;
    padding: 2.5rem 1rem;
}
footer .footer-contenedor {
    display: flex;
    flex-direction: column;   
    gap: 1.5rem;
}
.footer-logo {
    display: flex;
    justify-content: center;
}
footer .footer-logo img {
    width: 150px;
}
footer .footer-contenido {
    display: grid;
    grid-template-columns: repeat(4,minmax(0, 1fr));
    gap: 1rem;
}
footer .footer-contenido span {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px;
}
footer .footer-contenido-contacto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
footer .footer-contenido-contacto ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    gap: 1rem;
}
footer .footer-contenido-direccion {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
footer .footer-contenido-menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
footer .footer-contenido-menu ul {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    gap: 1rem;
}

footer .footer-legales {
    display: flex;   
    align-items: center; 
    justify-content: space-between;
}
footer .footer-legales-parrafo {
    font-size: 16px;
    margin: 0;
}

footer .footer-legales .redes a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
@media (max-width: 921px) {
    footer .footer-contenido {
        grid-template-columns: repeat(2,minmax(0, 1fr));        
    }
    footer .footer-legales-parrafo {
        text-align: center;
    }       
    footer .footer-legales {
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.7rem;
    }
}
@media (max-width: 600px) {
    footer .footer-contenido {
        grid-template-columns: repeat(1,minmax(0, 1fr));        
    }  
    footer .footer-legales .redes {
        flex-direction: column;
    }  
}

