/* =========================================================
   ESTILOS DE LA PÁGINA TRANSPORTATIONS
   ========================================================= */

/* HERO SECTION */
.transport-hero {
    /*margin-top: 125px;*/
    position: relative;
    width: 100%;
    height: 225px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 1;
}

.transport-hero .hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(28, 32, 17, 0.4), rgba(28, 32, 17, 0.4)),
                rgba(123, 122, 122, 0.3);
    z-index: 2;
}

.transport-hero .hero-content {
    position: relative;
    z-index: 3;
    padding-left: 10%;
}

.transport-hero h1 {
    font-family: "Baumans", sans-serif;
    font-size: 3rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* GRUPOS DE TRANSPORTE */
.transport-main-section {
    padding: 60px 0;
}

.transport-group {
    margin-bottom: 80px;
}

.transport-title {
    font-family: "Baumans", sans-serif;
    font-size: 2rem;
    color: #333;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 3px solid #F48534;
    display: inline-block;
}

/* GRID DE FOTOS */
.transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.transport-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: #fff;
    transition: transform 0.3s ease;
}

.transport-card:hover {
    transform: translateY(-5px);
}

.transport-image {
    position: relative;
    height: 250px;
}

.vehicle-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Aquí usamos cover para que la galería se vea uniforme */
}

/* EFECTO LUPA NARANJA */
.image-overlay-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(244, 133, 52, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-overlay-icon i {
    color: #fff;
    font-size: 2rem;
}

.transport-card:hover .image-overlay-icon {
    opacity: 1;
}

/* RESPONSIVE */
@media (max-width: 991px) {
    .transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .transport-grid {
        grid-template-columns: 1fr;
    }
    .transport-hero h1 {
        font-size: 2.2rem;
    }
}