/* Maasai Mara Images Layout */
.mara-images {
    position: relative;
}

.main-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    height: 400px;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image:hover img {
    transform: scale(1.05);
}

.image-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(191, 134, 63, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
}

.small-images-column {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.small-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 190px;
    flex: 1;
}

.small-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.small-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px 12px 12px;
    color: white;
}

.image-overlay span {
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Highlight items styling - FIXED */
.mara-highlights {
    margin: 30px 0 !important;
}

.highlight-item {
    display: flex !important;
    align-items: flex-start !important;
    margin-bottom: 25px !important;
    padding: 20px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
}

.highlight-icon {
    width: 50px !important;
    height: 50px !important;
    background: #BF863F !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 20px !important;
    flex-shrink: 0 !important;
}

.highlight-icon i {
    color: white !important;
    font-size: 20px !important;
}

.highlight-content h5 {
    font-size: 18px !important;
    font-weight: 700 !important;
    margin-bottom: 8px !important;
    color: #333 !important;
}

.highlight-content p {
    margin: 0 !important;
    color: #666 !important;
    line-height: 1.6 !important;
}

/* Stats section */
.mara-stats {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    padding: 25px 0;
    border-top: 2px solid #f0f0f0;
    border-bottom: 2px solid #f0f0f0;
}

.stat-item {
    text-align: center;
}

.stat-item h4 {
    font-size: 32px;
    font-weight: 800;
    color: #bf863f;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Facts bar */
.mara-facts-bar {
    background: #f8f9fa;
    padding: 30px 0;
    border-radius: 15px;
    margin-top: 50px;
}

.fact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px 15px;
}

.fact-item i {
    font-size: 30px;
    color: #bf863f;
    margin-bottom: 10px;
}

.fact-content h5 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.fact-content span {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive adjustments - UPDATED */
@media (max-width: 991px) {
    /* Main image takes full width on tablet */
    .mara-images .col-8,
    .mara-images .col-4 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    
    .main-image {
        height: 300px;
        margin-bottom: 20px;
    }
    
    /* Small images side by side on tablet - NEW */
    .small-images-column {
        flex-direction: row !important;
        gap: 15px;
        height: auto;
    }
    
    .small-image {
        height: 200px;
        flex: 1;
    }
    
    .small-image.mb-3 {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 767px) {
    .main-image {
        height: 250px;
        margin-bottom: 20px;
    }
    
    /* Small images side by side on mobile too - NEW */
    .small-images-column {
        flex-direction: row !important;
        gap: 10px;
        height: auto;
    }
    
    .small-image {
        height: 150px;
        flex: 1;
    }
    
    .small-image.mb-3 {
        margin-bottom: 0 !important;
    }
    
    .image-badge {
        top: 15px;
        left: 15px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .image-overlay {
        padding: 15px 10px 8px;
    }
    
    .image-overlay span {
        font-size: 11px;
    }
    
    .mara-stats {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .stat-item h4 {
        font-size: 24px;
    }
    
    .highlight-item {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
    }
    
    .highlight-icon {
        margin-right: 0 !important;
        margin-bottom: 15px !important;
    }
    
    .fact-item {
        flex-direction: column;
        padding: 15px 10px;
    }
}