/* ========================================
   MOUNT RANGERS - About Page Enhancement CSS
   Premium styling for the About Us page
   ======================================== */

/* General Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.8s ease forwards;
}

/* Enhanced About Section */
.about-enhanced-container {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.about-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
    align-items: center;
}

.about-img-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.4s ease;
}

.about-img-item:hover {
    transform: translateY(-10px);
}

.about-img-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.about-img-item:hover img {
    transform: scale(1.1);
}

.about-img-large {
    grid-column: span 2;
    height: 300px;
}

.about-text-enhanced {
    padding: 40px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    /* Soft shadow */
    border-left: 5px solid #F54912;
    position: relative;
    z-index: 1;
}

.about-text-enhanced h6 {
    font-weight: 700;
    letter-spacing: 3px;
    color: #F54912;
}

.about-text-enhanced h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #212121;
    margin-bottom: 25px;
    background: linear-gradient(to right, #212121, #444);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text-enhanced p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Modern Feature Cards */
.feature-section-enhanced {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.feature-card-modern {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
    text-align: center;
    border-bottom: 3px solid transparent;
}

.feature-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(245, 73, 18, 0.15);
    border-bottom: 3px solid #F54912;
}

.feature-icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #F54912, #ff7b4d);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 10px 20px rgba(245, 73, 18, 0.3);
    color: #fff;
    font-size: 2rem;
    transition: transform 0.4s ease;
}

.feature-card-modern:hover .feature-icon-box {
    transform: rotateY(360deg);
}

.feature-card-modern h5 {
    font-weight: 700;
    margin-bottom: 15px;
    color: #212121;
}

.feature-card-modern p {
    color: #666;
    font-size: 0.95rem;
}


/* Enhanced Team Section */
.team-item-enhanced {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    margin-bottom: 30px;
}

.team-item-enhanced:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.team-img-box {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.team-item-enhanced:hover .team-img-box img {
    transform: scale(1.1);
}

.team-info-box {
    padding: 20px;
    text-align: center;
    position: relative;
}

.team-info-box::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 3px;
    background: #F54912;
    transition: width 0.3s ease;
}

.team-item-enhanced:hover .team-info-box::after {
    width: 100%;
}

.team-info-box h5 {
    font-weight: 700;
    margin-bottom: 5px;
}

.team-info-box p {
    color: #F54912;
    font-weight: 500;
    font-size: 0.9rem;
    margin: 0;
}

/* Enhanced Gallery Section */
.gallery-section-enhanced {
    padding: 60px 0;
    background: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: 300px;
    gap: 15px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-text {
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    display: none;
}

.gallery-item:hover .gallery-text {
    transform: translateY(0);
}

/* Feature large items - Reset to uniform grid to prevent gaps */
.gallery-item.large,
.gallery-item.wide,
.gallery-item.tall {
    grid-column: span 1;
    grid-row: span 1;
}

@media (max-width: 991px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }

    .gallery-item.large,
    .gallery-item.wide {
        grid-column: span 1;
    }
}

@media (max-width: 576px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
    }

    .gallery-item.large,
    .gallery-item.wide,
    .gallery-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
}