/* 
   CSS específico para la página About Us & Our Services
*/

/* Estilos para el banner de la página */
.page-banner {
    background-color: var(--texas-blue);
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0;
    text-align: center;
    margin-bottom: 60px;
}

.page-banner h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.page-banner p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Estilos para la sección About */
.about-detailed {
    padding: 0 0 50px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

/* Estilos para la línea de tiempo */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto;
    padding-left: 30px;
}

.timeline:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--texas-blue);
}

.timeline-item {
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: -34px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: var(--texas-red);
    border: 4px solid var(--texas-blue);
}

.timeline-date {
    font-weight: bold;
    color: var(--texas-blue);
    margin-bottom: 5px;
}

.timeline-content h3 {
    margin-bottom: 10px;
    color: var(--texas-blue);
}

/* Estilos para la sección de equipo */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.team-member {
    background-color: #f9f9f9;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.team-member img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.team-info {
    padding: 20px;
}

.team-info h3 {
    color: var(--texas-blue);
    margin-bottom: 5px;
}

.team-info p.position {
    color: var(--texas-red);
    font-weight: 500;
    margin-bottom: 15px;
}

.team-info p.att {
    color: rgb(224, 2, 2);
    font-size: 20px;
    font-weight: 1000;
    margin-bottom: 15px;
}

/* Estilos para la galería de imágenes */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 10px;
    font-size: 0.9rem;
}

/* Estilos para la sección de servicios detallados */
.services-detailed {
    padding: 0 0 80px;
}

.service-detail {
    margin-bottom: 50px;
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-detail:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.service-detail h3 {
    color: var(--texas-blue);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.service-detail h4 {
    color: var(--texas-blue);
    margin: 20px 0 10px;
    font-size: 1.3rem;
}

.service-detail-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 30px;
    align-items: start;
}

.service-detail-image {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.service-detail:hover .service-detail-image img {
    transform: scale(1.05);
}

.service-features {
    margin: 20px 0;
}

.service-features li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.service-features li:before {
    content: "✓";
    color: var(--texas-red);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.service-detail .btn {
    margin-top: 20px;
}

/* Estilos responsivos */
@media screen and (max-width: 992px) {
    .about-grid,
    .service-detail-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }
    
    .service-detail-image {
        margin-bottom: 20px;
    }
}

@media screen and (max-width: 768px) {
    .page-banner h1 {
        font-size: 2.5rem;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
    
    .service-detail {
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {
    .page-banner {
        padding: 70px 0;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .timeline {
        padding-left: 25px;
    }
    
    .timeline-item:before {
        left: -29px;
        width: 12px;
        height: 12px;
    }
    
    .image-gallery {
        grid-template-columns: 1fr;
    }
}