/* projects.css */

#hero {
    position: relative;
    width: 100%;
    height: 300px !important; /* Ajusta la altura según sea necesario */
    overflow: hidden;
    padding: 0 5% !important; /* Añadido para más espacio a los lados */
    background: url('/images/projects-hero.png') no-repeat center center/cover !important; /* Imagen específica para about */
}

#hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5) !important;
}

#hero h1 {
    color: #fff;
    padding-left: 50px; /* Ajusta el valor según la cantidad de sangría deseada */
    padding-right: 10px; /* Ajusta el valor según la cantidad de sangría deseada */
    z-index: 2; /* Asegúrate de que el texto esté por encima del overlay */
    font-size: 2.5rem; /* Agranda la letra central */
}

#intro {
    padding: 3rem 0;
}

#intro h2 {
    font-size: 2.5rem;
}

#intro .short-line {
    width: 50px;
    height: 4px;
    background: #000;
    margin: 0.5rem 0 2rem 0;
}

#projects-list {
    counter-reset: section;
    padding-bottom: 2rem;
}

.project-item {
    counter-increment: section;
    padding: 2rem 0;
    border-bottom: 1px solid #ddd;
}

.project-title::before {
    content: counter(section) ". ";
    font-size: 2rem;
    color: #333;
    margin-right: 0.5rem;
}

.project-item.bg-light {
    background-color: #f9f9f9;
}

.project-item h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.project-item h4 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #666;
}

.project-item p {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #444;
}

.project-item p strong {
    font-weight: 600;
}

.project-item img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.5rem;
    color: #555;
    margin-bottom: 1rem;
}

p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.bg-light {
    background-color: #f8f9fa !important;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-center {
    justify-content: center;
}

@media (min-width: 768px) {
    .order-md-1 {
        order: 1;
    }

    .order-md-2 {
        order: 2;
    }
}


.img-fluid {
    border-radius: 15px; /* Redondea las esquinas */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Agrega sombra */
    transition: transform 0.3s ease-in-out; /* Animación suave al hacer hover */
}

.img-fluid:hover {
    transform: scale(1.05); /* Efecto de zoom al hacer hover */
}

 