.gallery {
    display: flex;
    padding: 60px 20px;
    background-color: var(--white);
}

.gallery-sidebar {
    flex: 1;
}

.gallery-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    padding-top: 15px;
    margin-bottom: 50px;
    background: linear-gradient(135deg, #f8e7e0 0%, #fff6f0 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px rgba(180, 140, 100, 0.12), 0 1.5px 0 #e7c9b6 inset;
    border: 1.5px solid #e7c9b6;
}

.gallery-sidebar ul li {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: var(--dark-text);
    margin-bottom: 15px;
    cursor: pointer;
    transition: color 0.3s ease;

}

.gallery-sidebar ul .active {
    color: var(--primary-pink);
    font-weight: bold;
}

.gallery-sidebar ul li:hover {
    color: var(--primary-pink);
}

.gallery-grid {
    flex: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 40px; /* Increase spacing between images */
}

.gallery-item {
    width: 12.5vw;
    height: 35vh;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.gallery-item img {
    object-fit: cover;
    border-radius: 8px;
}

.gallery-item:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); /* More prominent shadow */
}

/* For responsiveness */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 columns for medium screens */
        gap: 30px;
    }

    .gallery-item {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 column for smaller screens */
        gap: 30px; /* Adjust spacing for smaller screens */
        width: 300px;
    }

    .gallery-item {
        width: 300px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr; /* 1 column for very small screens */
    }
}