.footer-mobile {
    display: none;
}

@media (max-width: 1078px) {
    .footer-mobile {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: space-between;
        align-items: stretch;
        pointer-events: none;
        z-index: 50;
        padding: 25px;
    }

    .footer-mobile > div {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
    }

    .txt-footer-2 {
        font-size: 22px;
        font-weight: 300;
        margin-right: 15px;
        color: #d1d1d1;
        letter-spacing: 0.5px;
    }

    .footer {
        display: none;
    }
}

/* === Botones de Menú (Abrir / Cerrar) === */

.menu-btn {
    position: fixed;
    top: 20px;
    right: 13px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 100;
    color: inherit;
}

.menu-btn svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    stroke-width: 2.5;
    fill: none;
}

.menu-text {
    writing-mode: sideways-lr;
    font-size: 1.5rem;
    font-weight: 500;
    margin-left: 50%;
    letter-spacing: 1px;
    margin-top: 20px;
}

/* Color específico para el botón de cerrar */
.btn-close {
    color: var(--text-light);
}

/* === Menú Desplegable (Overlay) === */
.menu-overlay {
    position: fixed;
    width: 100%;
    height: 100vh;
    background-color: #16151540;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-light);
    z-index: 90;
    display: flex;
    flex-direction: column;
    padding: 20px;
    visibility: hidden;
    clip-path: polygon(100% 0, 100% 0, 100% 0, 100% 0);
    transition: visibility 0.4s ease, clip-path 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

/* Estado Abierto */
.menu-overlay.is-active {
    visibility: visible;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

/* === Cabecera del Menú === */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
}

.profile-widget {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-img {
    width: 80px;
    height: 80px;
    background-color: #333;
    /* Placeholder */
    background-image: url('https://via.placeholder.com/80');
    /* Reemplazar con la imagen real */
    background-size: cover;
    filter: grayscale(100%) contrast(120%);
}

/* Simulación del círculo punteado */
.dotted-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px dotted var(--text-muted);
    animation: spin 10s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

/* === Contenido Principal (Layout) === */
.menu-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

/* Redes Sociales */
.social-links {
    flex-direction: column;
    gap: 40px;
    font-size: 1.1rem;
}

.social-links a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:nth-child(2) {
    margin-left: 40px;
    /* Para simular el efecto de escalera de la imagen */
}

.social-links a:nth-child(3) {
    margin-left: 20px;
}

.social-links a:hover {
    color: #fff;
}

/* Navegación Principal */
.main-nav {
    align-self: flex-start;
    margin-bottom: 65px;
}

.main-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.main-nav li {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 1.2rem;
}

.nav-num {
    color: var(--text-muted);
    font-size: 1.2rem;
    width: 30px;
}

.main-nav a {
    color: var(--text-light);
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    display: inline-block;
}

.main-nav a:hover {
    color: #fff;
    transform: translateX(10px);
}

/* Hide mobile navigation on larger screens */
.mobile-nav {
    display: none;
}

.nav-menu {
    display: flex;
}

.main-content {
    display: block;
}

@media (max-width: 1078px) {
    .track-selector{
        width: 90%;
    }
    .images-carrousel {
        gap: 10px;
        padding: 20px;
        padding-top: 70px;
    }
    .images-carrousel img {
        height: auto;
    }
    .vid-pg-4{
        height: auto;
    }
    .submit-row {
        margin-top: 50px;
    }

    .mobile-nav {
        display: block;
    }
 
    .social-links a {
        font-size: 1rem;
    }

    .links-mobile {
        display: none;
    }
    
    .nav-menu {
        display: none;
    }

    .main-content {
        display: none;
    }

    .hero-container {
        top: 41.2%;
    }

    .hero-container h1 {
        font-size: 2.4rem;
        top: 41.2%;
        font-weight: 400;
    }

    .logo-image,
    .logo-image-t {
        width: 102vh;
    }

    .container-menu-content {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: none;
    }

    .svg-menu-2-img {
        position: absolute;
        top: 39.5%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .second-element {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 95%;
    }

    .third-element {
        position: absolute;
        top: 85%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    .third-element svg{
        width: 3.5em;
    }

    .watch-now-txt {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -210%);
        text-align: center;
        pointer-events: none;
        width: 400px;
    }

    .logo-container {
        transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        transform: translateX(-50%) rotate(-90deg);
        top: 39.5%;
        bottom: auto;
        height: auto;
        width: 102vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .images-carrousel-s {
        flex-direction: column;
    }

    .images-carrousel-s > div {
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }   
    .radio-group {
        gap: 20px;
    }

    .form-container {
        position: absolute;
        transform: unset;
        display: flex;
        flex-direction: column;
        gap: 40px;
        width: 90%;
        margin-right: 5%;
        margin-left: 5%;
    }

    .images-carrousel-s img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .radio-group {
        display: block;
    }
    .bg-img {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .bg-img img {
        width: 100%;
        height: auto;
        display: block;
    }

    .gallery-container {
        display: block;
    }

    .gallery-container-2 .image-2 img {
        width: 100%;
        height: auto;
        padding: 20px;
    }
    .show-list {
        display: flex;
        flex-direction: column;
        gap: 40px;
        font-size: 15px;
    }

    .header .h1 {
        font-size: 2.5em;
    }


    .gallery-container-2 .image-2 {
        grid-column: 6 / 13;
        grid-row: 9 / 12;
    }   
    .gallery-container-2 .image-1 img {
        width: 100%;
        height: auto;
    }
    .gallery-container-2 .image-3 {
        grid-column: 1 / 6;
        grid-row: 13 / 21;
    }
    .gallery-container-2 .image-3 img {
        padding: 20px;
    }
    .gallery-container img,
    .gallery-container video {
        width: 100%;
        height: auto;
        display: block;
        padding-left: 20px !important;
        padding-right: 20px !important;
        padding-top: 10px !important;
        padding-bottom: 0px !important;
    }

    .gallery-container video::-webkit-media-controls {
        display: none !important;
    }

    .gallery-container video {
        pointer-events: none;
    }
    .form-container{
        top: 12%;
    }
    /* Navigation Items */
    .nav-item {
        font-weight: 500;
    }
    .gallery-container-2 .image-9 {
        grid-column: 7 / 9;
        grid-row: 42 / 47;
    }
}

@media (max-width: 650px) {
    .third-element svg{
        width: 3em;
    }
    .img-container-table {
        font-size: 0.9em;
    }
    .img-container-table > * {
        padding: 0px;
    }
    .submit-row {
        justify-content: center;
        margin-top: 30px;
    }
    .track-selector{
        width: 100%;
    }
    .form-container {
        gap: 20px;
    }
    .gallery-container-2 .image-9 {
        grid-row: 40 / 47;
    }
    .gallery-container-2 .image-5 {
        grid-column: 1 / 9;
    }
    .gallery-container-2 .image-6 img {
        width: 100%;
        height: auto;
        padding: 10px;
    }
    .gallery-container-2 .image-7 {
        grid-column: 6 / 13;
        grid-row: 26 / 30;
    }
    .gallery-container-2 .image-8 {
        grid-column: 1 / 6;
        grid-row: 31 / 34;
    }

    .gallery-container-2 .image-9 {
        grid-column: 6 / 9;
        grid-row: 35 / 36;
    }
    .gallery-container-2 .image-3 {
        grid-column: 1 / 7;
        grid-row: 12 / 21;
    }
    .gallery-container-2 .image-4 {
        grid-column: 9 / 13;
        grid-row: 18 / 23;
    }
    .img-container-vid-carrousel{
        display: none !important;
    }   
    .semibold-font {
        font-size: 2.4em;
    }
    .thin-font {
        font-size: 2.2em;
    }

    .txt-right {
        font-size: 1.3em;
    }

    .copyright{
        margin-bottom: 100px;
    }

    .txt-footer-2 {
        font-size: 18px;
        font-weight: 300;
        margin-right: 15px;
        color: #d1d1d1;
        letter-spacing: 0.5px;
    }
}