@font-face {
    font-family: "GavalazRuwat";
    src: url("https://luislopezweddings.es/wp-content/uploads/2025/08/GavalazRuwat-Regular.otf") format("opentype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "AlbertSans";
    src: url("https://luislopezweddings.es/wp-content/uploads/2025/08/Albert-Sans-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Ocultar las hamburguesas originales del tema */
.sc_layouts_menu_mobile_button_burger {
    display: none !important;
}

.custom-menu-trigger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    padding: 10px 12px;
    background: transparent;
    border: 0;
    font-family: "AlbertSans", sans-serif;
    font-size: 20px;
    line-height: 1;
    color: #3b3836;
    letter-spacing: .04em;
    text-transform: uppercase; /* quítalo si no lo quieres en mayúsculas */
}

.custom-menu-trigger.is-open {
    color: #ffffff;
}


/* Crear nuestra nueva hamburguesa */
.custom-hamburger-menu {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 1000;
    padding: 10px;
}

.custom-hamburger-icon {
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.custom-hamburger-icon span {
    display: block;
    position: absolute;
    height: 2px;
    width: 100%;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.custom-hamburger-icon span:nth-child(1) { top: 0; }
.custom-hamburger-icon span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.custom-hamburger-icon span:nth-child(3) { bottom: 0; }

.custom-hamburger-icon.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background: #fff;
}

.custom-hamburger-icon.active span:nth-child(2) {
    opacity: 0;
}

.custom-hamburger-icon.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
    background: #fff;
}

.fullscreen-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.fullscreen-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Botón de cierre X */
.fullscreen-menu-close-btn {
    position: absolute;
    background-color: #000;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100000;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease 0.3s;
}

/* cuando el overlay esté activo, eleva la hamburguesa para que sea clicable */
.fullscreen-menu-overlay.active ~ .custom-hamburger-menu,
.custom-hamburger-menu.menu-open {
    z-index: 100001; /* por encima del overlay y del close */
}


.fullscreen-menu-overlay.active .fullscreen-menu-close-btn {
    opacity: 1;
    transform: scale(1);
}

.fullscreen-menu-close-btn span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 30px;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.fullscreen-menu-close-btn span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.fullscreen-menu-close-btn span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.fullscreen-menu-close-btn:hover span {
    background: #ccc;
}

.fullscreen-menu-content {
    display: flex;
    height: 100%;
    position: relative;
}

.menu-images-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    position: relative;
}

.menu-images-container {
    position: relative;
    width: 100%;
    height: 100%;
    max-width: 600px;
}

.menu-image {
    position: absolute;
    border: none;
    box-shadow: 0 10px 30px rgba(255,255,255,0.1);
    transition: transform 0.3s ease;
}

.menu-image:hover {
    transform: scale(1.05);
}

.menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.menu-image:nth-child(1) {
    top: 10%;
    left: 10%;
    width: 300px;
    height: 450px;
}

.menu-image:nth-child(2) {
    top: 5%;
    right: 10%;
    width: 250px;
    height: 160px;
}

.menu-image:nth-child(3) {
    bottom: 25%;
    left: 20%;
    width: 180px;
    height: 120px;
}

.menu-image:nth-child(4) {
    bottom: 10%;
    right: 15%;
    width: 200px;
    height: 266px;
}

.menu-navigation-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    padding: 50px 12% 50px 50px;
    position: relative;
}

.menu-vertical-line {
    position: absolute;
    right: 15%;
    top: 0;
    width: 3px;
    height: 65%;
    background-color: white;
}

.menu-nav-items {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.menu-nav-items li {
    margin-bottom: 40px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.fullscreen-menu-overlay.active .menu-nav-items li {
    opacity: 1;
    transform: translateX(0);
}

.menu-nav-items li:nth-child(1) { transition-delay: 0.1s; }
.menu-nav-items li:nth-child(2) { transition-delay: 0.2s; }
.menu-nav-items li:nth-child(3) { transition-delay: 0.3s; }
.menu-nav-items li:nth-child(4) { transition-delay: 0.4s; }
.menu-nav-items li:nth-child(5) { transition-delay: 0.5s; }

.menu-nav-items a {
    font-family: "GavalazRuwat", serif;
    font-size: 60px;
    color: white;
    text-decoration: none;
    display: block;
    transition: all 0.3s ease;
    line-height: 1;
}

.menu-nav-items a:hover {
    color: #ccc;
    transform: translateX(-10px);
}

.menu-contact-info {
    bottom: 50px;
    right: 50px;
    text-align: right;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease 0.6s;
}

.fullscreen-menu-overlay.active .menu-contact-info {
    opacity: 1;
    transform: translateY(0);
}

.menu-contact-info p {
    color: white;
    margin: 5px 0;
    font-size: 14px;
}

@media (max-width: 768px) {
    .fullscreen-menu-close-btn {
        top: 20px;
        right: 20px;
        width: 35px;
        height: 35px;
    }
    
    .fullscreen-menu-close-btn span {
        width: 25px;
    }
    
    .fullscreen-menu-content {
        flex-direction: column;
    }
    
    .menu-images-section {
        height: 40%;
        padding: 20px;
    }
    
    .menu-navigation-section {
        height: 60%;
        padding: 30px;
        align-items: center;
    }
    
    .menu-nav-items a {
        font-size: 40px;
    }
    
    .menu-nav-items li {
        margin-bottom: 25px;
    }
    
    .menu-contact-info {
        position: relative;
        bottom: auto;
        right: auto;
        margin-top: 30px;
        text-align: center;
    }
    
    .menu-vertical-line {
        display: none;
    }
    
    .menu-image:nth-child(1) {
        top: 5%;
        left: 15%;
        width: 120px;
        height: 180px;
    }
    
    .menu-image:nth-child(2) {
        top: 10%;
        right: 25%;
        width: 150px;
        height: 100px;
    }
    
    .menu-image:nth-child(3) {
        bottom: 15%;
        left: 30%;
        width: 100px;
        height: 70px;
    }
    
    .menu-image:nth-child(4) {
        bottom: 15%;
        right: 10%;
        width: 150px;
        height: 216px;
    }

    .custom-menu-trigger {
        font-size: 15px;
    }
}