/* ===================================================================
 *  construccion.css
 *  Estilos específicos para la página de Construcción.
 * =================================================================== */

/* --- Estilos Generales de Sección --- */
.section-padding {
    padding-top: 100px;
    padding-bottom: 100px;
}
.section-title {
    font-size: 2.8rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.subtitle {
    display: block;
    color: #011954; /* Color de tu marca */
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

/* --- Cabecera de Página --- */
#page-header {
    position: relative;
    height: 50vh;
    min-height: 350px;
    background-image: url('../imagenes/cabecera.jpg');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
#page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}
#page-header .page-title {
    position: relative;
    color: white;
    font-weight: 500;
    font-size: 3.5rem;
}

/* --- Sección Capacidades --- */
.capability-box {
    text-align: center;
    padding: 30px;
    height: 100%;
}
.capability-icon {
    font-size: 3rem;
    color: #011954;
    margin-bottom: 20px;
}
.capability-box h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

/* --- Galería de Proyectos --- */
.project-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.project-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}
.project-item:hover img {
    transform: scale(1.1);
}
.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    padding: 40px 20px 20px 20px;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.project-overlay h5 {
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
}
.project-overlay span {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}