/* General Styles */
html{
    min-height:100vh;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    padding: 0;
    background-color: #fff;
    min-height: 100vh;
}
.container-fluid {

}

@media (max-width: 768px) {
    .table thead {
        display: none;
    }
    .table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        padding: 10px;
    }
    .table td {
        display: flex;
        justify-content: space-between;
        padding: 8px;
    }
    .table td::before {
        content: attr(data-label);
        font-weight: bold;
    }
}

.container.my-5 {
    padding: 0;
    background-color: #fff;
    min-height: 80vh;
}

#mainSect {
    /* Orange background */
    align-items: center;
    padding: 50px 20px;
    text-align: center;
    justify-content: space-between;
    /* Add this line */
}

/*index*/
#indexSect {
    align-items: center;
    margin: 0 auto;
    justify-items: auto;
    display: flex;
    justify-content: center;
}

.indexLogo {
    max-height: 30vh;
}

#logoDiv {
    margin-top: 1em;
    padding: 50px 20px;
    text-align: center;
    justify-content: space-between;
}

#welcome {
    font-size: 2.5rem;
    font-weight: bold;
    color: #292929;
    margin: 0;
    padding: 20px;
    font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    width: 90%;
}

.image-section {
    position: relative;
    height: 300px;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.image-section .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Ajusta la opacidad según prefieras */
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-section h2 {
    font-size: 1.75rem;
    /* Ajusta el tamaño del texto */
    margin: 0;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6);
    /* Opcional: Caja para resaltar el texto */
    border-radius: 10px;
}

#titulo {
    color: #292929;
}

.section-full {
    position: relative;
    width: 100%;
    height: 100vh;
    /* Ocupa toda la altura de la ventana */
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    /* Oscurece la imagen de fondo para que el texto resalte */
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-white {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
}

#socials img {
    vertical-align: middle;
}

#socials p,
#socials div {
    display: inline-block;
    margin: 0;
}

/*Contacto*/
#titleSection {
    padding: 30px 0;
    text-align: center;
}

#contSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 50px 20px;
}

#mapCont {
    justify-content: center;
}

#gmaps {
    width: 100%;
}

.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

#login {
    height: 100vh;
}

/* Responsive Styles */
@media (max-width: 768px) {
    #gmaps {
        display: flex;
        justify-content: center;
        padding: 2em;
        width: 95vw;
    }

    .main-section {
        padding: 30px 15px;
    }

    .main-section h2 {
        font-size: 28px;
    }

    .main-section p {
        font-size: 16px;
    }

    .table thead {
        display: none;
        /* Opcional: ocultar el encabezado en móviles para tablas largas */
    }

    .table td {
        display: block;
        width: 100%;
        text-align: right;
        position: relative;
        padding-left: 50%;
    }

    .table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 50%;
        padding-left: 15px;
        font-weight: bold;
        text-align: left;
    }

    /* Aseguramos que el botón hamburguesa esté visible y alineado */
}

/* Responsive Styles */
@media (max-width: 480px) {
    #gmaps {
        display: flex;
        justify-content: center;
        padding: 2em;
        width: 95vw;
    }

    /* Aseguramos que el botón hamburguesa esté visible */
    .social-icons {
        margin: 15px 0;
    }
}

/* dashboard */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Navbar responsive adjustments */
@media (max-width: 992px) {
    .navbar-collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.show {
        display: block !important;
    }
}
