* {
    font-family: 'montserrat', sans-serif;
    font-size: 18px;
}


li {
    margin-right: 10px;
}

nav {
    text-align: center;
    color: white;
}

.navbar a {
    color: white;
    text-decoration: none;
}

.navbar a:hover {
    color: #ddd;
}

body,
html {
    height: 100%;
    margin: 0;
}

body {
    margin: 0;
    padding-top: 70px;
    background-color: #f8f9fa;
}

.footer {
    background-color: #1c1c1c;
    color: #ffffff;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-text {
    color: #b5b5b5;
}

.footer a {
    color: #b5b5b5;
    text-decoration: none;
}

.footer a:hover {
    color: #ffffff;
}

.footer ul li {
    margin-bottom: 8px;
}

.social-icons a {
    font-size: 1.4rem;
    margin-right: 15px;
    color: #b5b5b5;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #0e489e;
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
}

.contenedor h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    margin-right: 0;
}

.footer img {
    width: 300px;
    height: 85px;

}



#mainNavbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    /* Sombra para dar profundidad */
}

/* Mejora la visibilidad de los links */
#mainNavbar .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
    font-weight: 500;
}

#mainNavbar .nav-link:hover {
    color: #fff !important;
}


/* Estilos para la sección de galería */
.galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    padding: 20px;
    max-width: 1200px;
    margin: auto;
    background-color: #f8f9fa;
}

#galeria h3 {
    text-align: center;
    margin-bottom: 20px;
}

#galeria {
    min-width: 100%;
    background-color: #f8f9fa;
}

.galeria img {
    width: 100%;
    height: auto;
    max-height: 320px;
    min-height: 310px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.galeria img:hover {
    transform: scale(1.05);
}

h1 {
    text-align: center;
    padding: 20px;
}

@media (min-width: 992px) {
    .galeria {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* estilos nuevos seccion obras */
.container-obras {
    background-color: #f8f9fa;
    /* Fondo claro para contraste */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    padding: 30px;
    margin: 40px auto;
    max-width: 1200px;
}

.container-obras h6 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.4;
}

.container-obras .galeria {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.container-obras .galeria img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.container-obras .galeria img:hover {
    transform: scale(1.05);
}

.footer-obras {
    margin-top: 20px;
    text-align: center;
    font-size: 1rem;
    color: #555;
}

.footer-obras i {
    color: #0d6efd;
    /* Azul Bootstrap */
    font-weight: 500;
}


.titulo-obras {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    margin: 60px 0 30px;
    position: relative;
    color: #0d6efd;
    /* Azul Bootstrap */
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Línea decorativa debajo del título */
.titulo-obras::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #0d6efd;
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Variante para 2024 */
.titulo-2024 {
    color: #333;
    /* Verde Bootstrap */
}

.titulo-2024::after {
    background-color: #dc3545;
}

/* Variante para 2025 */
.titulo-2025 {
    color: #333;
    /* Rojo Bootstrap */
}

.titulo-2025::after {
    background-color: #dc3545;
}


/* estilos para la seccion de asesoria tecnica a municipios */
.portfolio-img {
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s;
}

.portfolio-img:hover {
    transform: scale(1.05);
}

.modal-img {
    width: 100%;
    height: auto;
}

.portfolio-item {
    text-align: center;
}

.portfolio-title {
    font-weight: bold;
    margin-bottom: 10px;
}

.hero {
  position: relative;
  height: 40vh; /* altura del header */
  background-size: cover;
}

#construccion {
    background: url('../images/close-up-construction-engineer-holding-plans-hands.webp') no-repeat center center;
    background-size: cover;
}
#asesoria {
    background: url('../images/asesoria.jpg') no-repeat center center;
    background-size: cover;
}
#contacto {
    background: url('../images/contact.jpg') no-repeat center center;
    background-size: cover;
}
#servicios {
    background: url('../images/servicios/LEVANTAMIENTOS/IMG-20241114-WA0044.jpg') no-repeat center center;
    background-size: cover;
}
.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); /* oscurece la imagen */
}

.hero .content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.3rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.informacionContacto{
    padding: 30px;
}

.contactoInfo{
    padding: 30px;
}

@media (max-width: 576px) {
    .informacionContacto, .contactoInfo {
        padding: 15px;
    }
}

.icono-grande {
  font-size: 1.5rem;
}

#imgfirma{
    max-width: 600px;
    height: auto;

}