/*===============Propiedades Globales================*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');


body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}


/*===================MENU==========================*/

 #menu a, button{
     font-size: 18px !important;
     font-weight: 600;
    
 }

 #menu a{
     color:#3f3f3f;
     
 }
/*===================SLIDER DE IMAGENES==========================*/

.carousel-inner {
    max-height:39rem !important;
}

/*===================SECCION NUESTRO EQUIPO IMAGEN==========================*/



#img-equipo{
    max-height:30rem !important;
    width:50%;
}


/*===================SECCION CDMX==========================*/
#local {
    margin-top:50px;
    background-color: #f3f3f3;
    display:flex;
    justify-content: center; 
    padding-bottom: 300px; 
}


.wrapper-local {
    width: 90%; 
    margin: auto;
    text-align: justify; 
}

.wrapper-local h2 {
    text-align: center; 
}


/*===========================SECCION CDMX LETRAS==================================*/
#numeros-local{
    margin:0 !important;
    padding:0 !important;
}
#numeros-local div {
    padding: 0 20px 0 0;   
    text-align:left;
    height:48px;
}

#numeros-local div:not(:last-child) {
    border-right: 2px solid #3f3f3f;
  }
#numeros-local div:not(:first-child) {
    padding-left:20px;
  }

#numeros-local p{
    margin:0;
}

/*=========================CONTACTOS BACKGROUND================================*/

#bg-contactos{
    position:relative;
    top: -130px;
} 

 #seccion-contacto{
    background-color: #1b2a4e;
    min-height:500px;
    position:relative;
}

/*=========================CONTACTOS FORMULARIO================================*/

#contenedor-formulario{
    position:absolute;
    top:30%;
    left:50%;
    transform: translate(-50%, -50%);
    background: #fbfafa;
    border-radius:5px;
    
}

#titulo-formulario {
    color: #3f3f3f;
}

/* ================= FOOTER ZARMEX COMPLETO ================= */

.test-footer {
    background-color: #3f6b70;
    color: #ffffff;
    padding: 30px 25px 20px;
    width: 100%;
}

.test-footer-container {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.test-col {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.test-col h4 {
    font-size: 18px;
    margin-bottom: 10px;
    border-bottom: 2px solid #ffe6a7;
    padding-bottom: 6px;
}

.test-col a,
.test-col p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    margin: 4px 0;
    color: #ffe6a7;
    text-decoration: none;
}

.test-col i {
    font-size: 15px;
    color: #ffffff;
}

.test-col a:hover {
    color: #ffffff;
}

/* ===== SÍGUENOS ===== */
.social-links{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a{
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
}

.social-links a i{
    font-size: 18px;
}

.social-links a:hover{
    color: #fedc97;
}

/* ===== CONTACTO EN HILERA (1 SOLA LÍNEA) ===== 
.contact-grid{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 25px;
}

.contact-grid p{
    margin: 0;
    white-space: nowrap;
}
*/
/* CONTACTO COMO SÍGUENOS (EN LISTA VERTICAL) */
.contact-grid{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-grid p{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

/* ===== UBICACIÓN ===== */
.location-text{
    margin-bottom: 10px;
    font-size: 14px;
}

.map-container{
    border-radius: 10px;
    overflow: hidden;
}

/* ===== FOOTER BOTTOM ===== */
.test-footer-bottom {
    margin-top: 25px;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
}

/* ===== RESPONSIVE (para que no se rompa en celular) ===== */
@media (max-width: 900px){
    .test-footer-container{
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact-grid{
        flex-wrap: wrap; /* en móvil baja si no cabe */
        gap: 12px 18px;
    }

    .contact-grid p{
        white-space: normal;
    }
}

/* ===== FIX: CONTACTO COMO LISTA (NO COLUMNAS) ===== */
.test-footer .contact-col .contact-grid{
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 10px !important;

    /* por si en algún lado quedó grid */
    grid-template-columns: none !important;
}

.test-footer .contact-col .contact-grid p{
    width: 100% !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 10px !important;
    white-space: normal !important;
}


/*=========================MEDIA PANTALLA SM================================*/


@media (max-width:768px) {

    #intro, #equipo{
        width:90% !important;
        margin:auto;
    }

    
    #img-equipo{
        max-height:20rem !important;
        width:90%;
    }
    .wrapper-local {
        width:90%;
        margin:auto;
        padding-top:50px;    
    }
    #local {
        flex-wrap: wrap;
    }
    .mapa img {
        width:100%;
        height:auto;
    }
    #bg-contactos{
        top: -120px;
    }


}
/*=========================MEDIA ANTALLA EXTRA-SM================================*/

@media (max-width: 576px) {
    #servicios-fila-2 {
        width:100% !important;
    }
    #servicios-fila-1 {
        width:100% !important;
    }

    .icono-wrap{
        flex-wrap:wrap !important;
        justify-content: center !important;
        text-align: center;
    }
}

.iframe-container {
    position: relative;
    width: 100%;
    padding-top: 75%; /* Ratio de aspecto 4:3 (ancho / altura) */
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*=========================MUSEOS.HTML================================*/


.iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; 
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/*Login Estilos*/

body {
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

form {
    max-width: 400px;
    margin: auto;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

form h2 {
    text-align: center;
    color: #1b2a4e;
    margin-bottom: 20px;
}

form input[type="email"],
form input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

form input[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #1b2a4e;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #0d1741;
}
/* Estilos para la tabla de usuarios */

h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.table-container {
    max-width: 100%;
    margin: auto;
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow-x: auto; /* Hacer que la tabla sea desplazable horizontalmente */
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

table th, table td {
    padding: 10px;
    text-align: center;
}

table th {
    background-color: #1b2a4e;
    color: #fff;
}

table td {
    background-color: #f9f9f9;
}

table td a {
    display: inline-block;
    margin-right: 5px;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    background-color: #1b2a4e;
    border-radius: 3px;
}

table td a:hover {
    background-color: #0d1741;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .enlace {
    color: #ff6347; /* Cambio de color al pasar el mouse por encima */
}

/*=========================MEDIA PANTALLA SM================================*/

@media (max-width:768px) {

    /* Hacer que las celdas de la tabla se ajusten mejor en pantallas pequeñas */
    table th, table td {
        padding: 8px; /* Reducir el padding para mayor espacio */
        font-size: 14px; /* Reducir el tamaño de fuente */
    }
    
    .table-container {
        padding: 15px; /* Ajustar el padding en dispositivos más pequeños */
    }

    /* Hacer que las tablas se desplacen horizontalmente en pantallas pequeñas */
    .table-container {
        overflow-x: auto;
    }

    /* Ajustar el tamaño del texto en los encabezados */
    h2 {
        font-size: 20px;
    }
}

/*=========================MEDIA ANTALLA EXTRA-SM================================*/

@media (max-width: 576px) {
    table th, table td {
        padding: 8px 5px; /* Ajustar el padding para pantallas más pequeñas */
        font-size: 12px; /* Reducir el tamaño de fuente */
    }

    .table-container {
        padding: 10px; /* Ajustar el padding en pantallas extra pequeñas */
    }

    h2 {
        font-size: 18px; /* Ajustar el tamaño de fuente del título */
    }
}

/*Boton de whatsapp*/
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: rgb(214, 17, 17);
    border-radius: 50%;
    font-size: 2em;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2000;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}
/* Botón logout en panel admin */
.admin-top-logout{
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 9999;
}

.admin-logout-btn{
    all: unset;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.admin-logout-btn i{
    font-size: 28px;
    color: #28666e;
    transition: transform .2s ease, color .2s ease;
}

.admin-logout-btn:hover i{
    transform: scale(1.1);
    color: #1f5158;
}
/* ===== BOTÓN LOGOUT ADMIN ===== */
.admin-top-logout{
    position: fixed;
    top: 20px;
    right: 25px;
    z-index: 9999;
}

.admin-logout-btn{
    all: unset;
    cursor: pointer;
    width: 45px;
    height: 45px;
    display:flex;
    align-items:center;
    justify-content:center;
}

.admin-logout-btn i{
    font-size: 28px;
    color: #28666e;
    transition: transform .2s ease, color .2s ease;
}

.admin-logout-btn:hover i{
    transform: scale(1.1);
    color: #1f5158;
}
