/* ESTILOS GLOBALES */


body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 80px; /* Ajusta este valor según la altura de tu navbar */
    padding-bottom: 60px; /* Deja espacio para el footer fijo */
    font-family: 'Lato', sans-serif;
}

main {
    flex: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Lato', sans-serif;
    font-weight: 700; /* Usar peso bold para los encabezados */
}

p, a, li {
    font-family: 'Lato', sans-serif;
    font-weight: 400; /* Peso normal para los párrafos y enlaces */
}

strong {
    font-weight: 700; /* Negrita */
}

.text-secondary {
    color: #6c6b6b !important;
}


/* ESTILOS DE NAVEGACIÓN */


.navbar {
    background-color: white !important; /* Color blanco */
    border-bottom: 1px solid #e5e5e5; /* Línea sutil en lugar de sombra */
    box-shadow: none !important; /* Retirar sombra del navbar */
}

.navbar .nav-link {
    color: #333 !important; /* Color de los enlaces en el menú */
}

.navbar-nav .nav-link.active {
    font-weight: bold;
    color: #244999; /* Color del enlace activo */
}

a.nav-link {
    text-decoration: none; /* Esto elimina el subrayado de los enlaces */
}

@media (max-width: 992px) {
    .navbar-nav {
        padding: 15px; /* Asegura un poco de espacio en pantallas pequeñas */
    }
}


/* ESTILOS DE IMÁGENES */


.card-img-top {
    width: 100%;
    height: 550px; /* Ajusta la altura */
    object-fit: cover; /* Llenar el área sin distorsión */
}

.card-img-top-construcciones,
.img-fluid {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.card-img-top-construcciones {
    height: 250px;
}

.card-img-top-construcciones-1 {
    height: 400px;
}

.card-img-top-construcciones-2 {
    height: 550px;
}

.project-image {
    width: 100%;
    height: auto;
}

/* Hover en las imágenes dentro de las tarjetas */
.hover-card {
    overflow: hidden; /* Evita que la imagen salga del contenedor al hacer zoom */
}

.hover-card img {
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Transición suave */
}

.hover-card:hover img {
    transform: scale(1.05); /* Efecto zoom suave */
    filter: brightness(1.1); /* Incrementa el brillo */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3); /* Sombra adicional */
}


/* ESTILOS DE TEXTO Y TITULARES */


.card-title {
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 10px;
    position: relative;
    transition: color 0.3s ease;
}

.card-title:hover {
    color: #244999;
}


/* ESTILOS DE FOOTER */


.footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #333; /* Fondo oscuro */
    color: #f5f5f5; /* Texto claro */
    text-align: center;
    padding: 10px 0;
    box-shadow: 0px -2px 5px rgba(0, 0, 0, 0.2); /* Sombra sutil */
    z-index: 1000; /* Mantener siempre encima */
    font-size: 0.9rem; /* Tamaño de fuente ligeramente reducido */
}

.footer a {
    color: #f5f5f5; /* Asegúrate de que los enlaces también sean claros */
    text-decoration: none; /* Sin subrayado */
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        display: none; /* Ajuste para pantallas pequeñas */
    }
}


/* ESTILOS PERSONALIZADOS DE CARRUSEL */


.light-slider .card {
    border: none;
}

.light-slider .card-body {
    text-align: center;
}

.slider-container {
    position: relative;
    margin: 0 auto;
    max-width: 1200px;
}

/* Estilos de los controles personalizados */
.custom-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.prev-btn,
.next-btn {
    background-color: #f0f0f0; /* Tono grisáceo */
    color: #333;
    border: none;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.prev-btn:hover,
.next-btn:hover {
    background-color: #d9d9d9; /* Gris más oscuro al pasar el ratón */
}

/* Estilo para los iconos de Font Awesome */
.prev-btn i,
.next-btn i {
    margin-right: 5px;
}

.no-slider {
    display: flex;
    justify-content: space-around;
}

.no-slider li {
    list-style: none;
}

/* Estilos del carrusel */
.lightSlider li {
    margin-right: 10px;
}

/* Controles de LightSlider */
.lSAction > a {
    font-size: 24px; /* Asegura el tamaño de los controles */
    color: #333; /* Color de los controles */
}

@media (max-width: 768px) {
    .lSAction > a {
        font-size: 20px; /* Ajusta los botones en pantallas pequeñas */
    }
}


/* ESTILOS SECCIÓN CONTACTO */

.contact-info {
    margin-top: 10%;
    margin-bottom: 30px;
}

.contact-info p {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.contact-info i {
    color: #007BFF;
    margin-right: 10px;
}

.map-container {
    width: 100%;
    height: 400px;
    margin-top: 10%;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Ajuste responsivo */
@media (max-width: 768px) {
    .contact-info p {
        font-size: 1rem;
    }
}


/* AJUSTES RESPONSIVOS */


/* Construcciones */
.section-content {
    margin-bottom: 50px;
}

/* Ajustes responsive adicionales */
@media (max-width: 768px) {
    .lSAction > a {
        font-size: 20px; /* Ajusta los botones del carrusel en pantallas pequeñas */
    }
}


/* ESTILOS DEL LOGO */


.logo {
    width: 200px;
    height: auto;
}
