.hero-collage {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Add gaps between images */
}

.main-image {
    flex: 1 1 calc(50% - 10px);
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image within the container */
    height: 400px;
    position: relative;
    border-radius: 10px; /* Add border-radius to main image */
}

.side-images {
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(25% - 10px);
    gap: 10px; /* Add gaps between side images */
}

.side-image {
    flex: 1 1 calc(50% - 5px);
    background-size: cover; /* Ensure the image covers the entire container */
    background-position: center; /* Center the image within the container */
    height: 200px;
    border-radius: 10px; /* Add border-radius to side images */
}

.gallery-buttons {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    flex-direction: row; /* Ensure buttons are inline */
    gap: 10px; /* Add gap between buttons */
}

.gallery-buttons .btn {
    border-radius: 5px; /* Add border-radius to buttons */
    display: flex;
    align-items: center;
    gap: 5px; /* Space between icon and text */
    padding: 8px 12px; /* Better button padding */
    font-size: 14px; /* Adjust font size for better appearance */
}

.gallery-buttons .btn i {
    font-size: 16px; /* Adjust icon size */
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-collage {
        display: block; /* Stack images vertically on mobile */
    }

    .main-image {
        width: 100%;
        height: 300px; /* Adjust height for mobile */
    }

    .side-images {
        display: none; /* Hide side images on mobile */
    }
}

@media (min-width: 769px) {
    .hero-collage {
        display: flex; /* Ensure collage layout on tablets and desktops */
    }

    .main-image {
        flex: 1 1 calc(50% - 10px);
    }

    .side-images {
        display: flex;
    }
}
