* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;   
    list-style-type: none; 
}

body {
    max-width: 1200px; /* Puedes ajustar este valor */
    margin: 0 auto;
    overflow-x: hidden;
}

header .LaPortada {
    display: flex;
    background-color: rgb(255, 255, 255);
    justify-content: center;
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
    align-items: center;
    margin-left: 100px;

}

.Capa-Portada {
    background-color: #f4f4f4;
}

.menu-icono {
    height: 240px;
    width: auto;
    margin: 20px 0;
    transition: transform 0.3s ease; 
    margin-left: -60px;
}

.menu-icono:hover {
    transform: scale(1.1); 
}

.Navegadores {
    display: flex;
    justify-content: center; /* Centra horizontalmente */
    align-items: center;
    padding: 20px;
    margin-left: 0; /* Elimina el margen izquierdo */
    width: 100%;    /* Ocupa todo el ancho disponible */
}

.Navegadores a {
    color: white;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 25px;
    background: linear-gradient( 1deg, rgb(105, 105, 126), rgb(255, 255, 255));
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    width: 120px;
    height: 50px;
    margin: 0 10px;
    font-size: 18px;
    font-weight: bold;
    text-align: center;
}

.Navegadores a:hover {
    background: linear-gradient( 1deg, rgb(105, 105, 126), rgb(255, 255, 255));
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.Navegadores a:active {
    transform: translateY(1px);
    box-shadow: none;
}


a {
    color: black;
    text-decoration: none;
    margin-right: 30px;   
}

.Titular-del-Precierre {
    padding-top: 20px;
    display: flex;
    position: absolute; 
    font-size: 75px;
    color: rgb(255, 255, 255);
    margin-left: 380px;
    margin-top: 120px;
    z-index: 2;
}

video {
    margin-left: -350px;
    width: 1990px;   
}

.Capa {
    position: relative;
    background-color: rgb(17, 54, 82);
    width: 1990px;
    height: 383px;
    opacity: 0.4;
    mix-blend-mode:multiply;
    margin-top: -388px;
    margin-left: -300px;
    display: flex;
}

.Texto-Servicios {
    height: 567px;
    width: 1505px;
    margin-left: -150px;
    margin-top: 203px;
    font-size: 20px;
    text-align: justify;
    font-family: A1;
}

.Carruseles-container {
    display: flex;
    flex-direction: column; /* Coloca los carruseles uno debajo del otro */
    align-items: center; /* Centra los carruseles */
    width: 1500px;
    height: 100%px;
}



.Carrusel-titulo {
    font-size: 74px; /* Aumenta el tamaño si es necesario */
    color: #3fa9b1; /* Color del título */
    margin-bottom: 10px; /* Espacio debajo del título */
    text-align: center; /* Asegúrate de que el texto esté centrado */
    font-weight: bold; /* Puedes hacer el texto más grueso */
    width: 100%;        /* Ocupa todo el ancho disponible */
    margin-left: 0;     /* Elimina margen izquierdo */
}


.Slider-div {
    width: 100%; 
    height: 850px; 
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    margin-top: 300px; /* Espacio entre los carruseles */
    
}

.Slider-div input[type="radio"] {
    display: none; 
}

.slide {
    display: flex;
    width: 400%; 
    transition: margin-left 0.5s ease-in-out; 
}

.st {
    width: 100%; 
    height: 7000px; 
    overflow: hidden; 
    margin-left: 0 auto;
}

.st img {
    width: 1920px; 
    height: 10%; 
    object-fit: cover; 
    margin-left: 0 auto;
}

#radio1-1:checked ~ .slide { margin-left: 0; }
#radio1-2:checked ~ .slide { margin-left: -100%; }
#radio1-3:checked ~ .slide { margin-left: -200%; }
#radio1-4:checked ~ .slide { margin-left: -300%; }

#radio2-1:checked ~ .slide { margin-left: 0; }
#radio2-2:checked ~ .slide { margin-left: -100%; }
#radio2-3:checked ~ .slide { margin-left: -200%; }
#radio2-4:checked ~ .slide { margin-left: -300%; }

/* Repite para radio-btn3, radio-btn4, radio-btn5 y radio-btn6 */
#radio3-1:checked ~ .slide { margin-left: 0; }
#radio3-2:checked ~ .slide { margin-left: -100%; }
#radio3-3:checked ~ .slide { margin-left: -200%; }
#radio3-4:checked ~ .slide { margin-left: -300%; }

#radio4-1:checked ~ .slide { margin-left: 0; }
#radio4-2:checked ~ .slide { margin-left: -100%; }
#radio4-3:checked ~ .slide { margin-left: -200%; }
#radio4-4:checked ~ .slide { margin-left: -300%; }

#radio5-1:checked ~ .slide { margin-left: 0; }
#radio5-2:checked ~ .slide { margin-left: -100%; }
#radio5-3:checked ~ .slide { margin-left: -200%; }
#radio5-4:checked ~ .slide { margin-left: -300%; }

#radio6-1:checked ~ .slide { margin-left: 0; }
#radio6-2:checked ~ .slide { margin-left: -100%; }
#radio6-3:checked ~ .slide { margin-left: -200%; }
#radio6-4:checked ~ .slide { margin-left: -300%; }

#radio7-1:checked ~ .slide { margin-left: 0; }
#radio7-2:checked ~ .slide { margin-left: -100%; }
#radio7-3:checked ~ .slide { margin-left: -200%; }
#radio7-4:checked ~ .slide { margin-left: -300%; }


#radio1:checked ~ .slide {
    margin-left: 0;
}

#radio2:checked ~ .slide {
    margin-left: -100%;
}

#radio3:checked ~ .slide {
    margin-left: -200%;
}

#radio4:checked ~ .slide {
    margin-left: -300%;
}

.nav-m {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px; 
}

.m-btn {
    width: 15px; 
    height: 15px; 
    border: 6px solid #23e3c2;
    border-radius: 50%; 
    background-color: transparent; 
    cursor: pointer;
    transition: background-color 0.3s;
}

.m-btn:hover {
    background-color: #23e3c2;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
    padding: 0;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90vw;
    max-height: 70vh;
    width: auto;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 32px rgba(0,0,0,0.5);
    background: #fff;
    object-fit: contain;
}

@media (max-width: 600px) {
    .modal {
        padding: 0 !important;
    }
    .modal-content {
        max-width: 96vw;
        max-height: 50vh;
        width: auto;
        height: auto;
        margin: 0 auto;
        border-radius: 8px;
    }
}


.close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 48px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1100;
    transition: color 0.2s;
}
.close:hover {
    color: #23e3c2;
}





.Contactanos {
    height: 314px;
    display: flex;
    margin-left: 95px;
    margin-top: 8200px;
    z-index: 2;
}

.H3-Sueños {
    position: absolute;
    height: 314px;
    display: flex;
    margin-left: 525px;
}

.Contacto-boton {
    position: absolute;
    height: 314px;
    display: flex;
    margin-left: 605px;
    margin-top: 30px;
    z-index: 2;
}

.Capa-Centro {
    position: absolute;
    background-color: #f4f4f4;
    width: 2100px;
    height: 450px;
    opacity: 4.0;
    mix-blend-mode: soft-light;
    margin-top: 8150px;
    margin-left: -420px;
}

.rotate-warning {
    display: none; /* Oculto por defecto */
    position: fixed; 
    top: 50%; 
    left: 50%; 
    transform: translate(-50%, -50%); 
    background-color: rgba(0, 0, 0, 0.8); 
    color: white; 
    padding: 20px; 
    border-radius: 10px; 
    text-align: center; 
    z-index: 9999; /* Asegúrate de que esté por encima de otros elementos */
}

.Cierre {
    height: 352px;
    width: 600px;
    justify-content: center;
    display: flex;
    position: absolute;
    margin-top: -810px;
    margin-left: 350px;
}

.Footer {
    position: absolute;
    height: 352px;
    width: 600px;
    justify-content: center;
    display: flex;
    position: absolute;
    margin-top: -425px;
    margin-left: 350px;
}

.Final-Final {
    margin-top: 950px;
    margin-left: -60px;
    text-align: center;
    position: relative;
    z-index: 10;
}

@font-face {
    font-family: "A1";
    src: url("./Fonts/BarlowCondensed-Light.ttf");
}



@media (max-width: 768px) {
    .Navegadores {
        flex-direction: column;
        align-items: stretch;
        margin-left: -1px;
        width: 100%;
    }

    .Navegadores a {
        width: 100%;
        padding: 40px;
        text-align: left;
        margin: 10px 0;
        background-color: #3fa9b1;
        border-radius: 25px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    }

}

.menu-icono {
    content: url(Imagenes/Taller_Centroderestauracion_Largo.png);
}

@media (max-width: 768px) {
    .menu-icono {
        content: url(Imagenes/Imagenes-V-Mobile/Titulo-Mobile.png);
        width: 125%;
        height: auto; 
        margin-left: -80px;;
    }
}



@media (max-width: 768px) {
    .Titular-del-Precierre {
        font-size: 30px; 
        margin-left: 120px; 
        margin-top: -5px; 
    }

    .Capa {
        width: 100%; 
        height: auto; 
        margin-top: 10px; 
    }

    .Capa-Centro {
        width: 100%; 
        height: auto; 
        margin-top: 10px; 
    }

    .Texto-Servicios {
        max-width: 95%; 
        padding: 15px; 
        font-size: 16px; 
        line-height: 1.4; 
        margin: 20px auto; 
        text-align: justify;
    }

    video {
        width: 100%; 
        height: auto; 
        margin: 0; 
    }

}

@media (max-width: 768px) {
    .Slider-div {
        width: 100vw !important;
        height: 240px !important;
        border-radius: 10px !important;
        overflow: hidden !important;
    }
    .slide {
        width: 400vw !important;
        height: 240px !important;
        display: flex !important;
    }
    .st {
        width: 100vw !important;
        min-width: 100vw !important;
        height: 240px !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        overflow: hidden !important;
    }
    .st img {
        width: 100vw !important;
        height: 240px !important;
        object-fit: cover !important;
        display: block !important;
    }
    .Carruseles-container {
        width: 100vw !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .Carrusel-titulo {
        font-size: 28px !important;
        margin: 10px 0 10px 0 !important;
        text-align: center !important;
    }
    .nav-m {
        position: absolute !important;
        bottom: 10px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 12px !important;
        width: auto !important;
        margin: 0 !important;
        z-index: 10 !important;
    }
    .m-btn {
        width: 22px !important;
        height: 22px !important;
        border: 4px solid #23e3c2 !important;
        border-radius: 50% !important;
        background-color: transparent !important;
        cursor: pointer !important;
        margin: 0 4px !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 768px) {
    .Slider-div,
    .slide,
    .st,
    .st img {
        height: 440px !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 768px) {
    .Carruseles-container {
        width: 100vw !important;
        margin-left: 0 !important;
        padding-left: 0 !important;
        align-items: flex-start !important; /* Esto alinea los carruseles a la izquierda */
    }
    .Slider-div {
        margin-left: -25px !important;
        width: 100vw !important;
    }
    .st,
    .st img {
        margin-left: 0 !important;
    }
}

@media (max-width: 768px) {
    .m-btn {
        width: 22px !important;
        height: 22px !important;
        border: 3px solid #23e3c2 !important;   /* Contorno visible */
        border-radius: 50% !important;          /* Redondo */
        background-color: #fff !important;      /* Relleno sólido */
        box-shadow: 0 2px 6px rgba(0,0,0,0.08); /* Sombra suave opcional */
        cursor: pointer !important;
        margin: 0 4px !important;
        box-sizing: border-box !important;
        transition: background 0.3s, border 0.3s;
        display: inline-block !important;
    }
    .m-btn:hover,
    .m-btn.active {
        background-color: #23e3c2 !important;   /* Color de fondo al pasar el mouse o activo */
        border-color: #23e3c2 !important;
    }
}
