/* General Styling */
body {
    margin: 0;
    padding: 0;
    background-color: #ffff;
}

.gallery-container {
    width: 90%;
    max-width: 1200px;
    margin: 50px auto;
    text-align: center;
}

.gallery-title {
    font-size: 36px;
    color: hsl(186, 72%, 24%);
    margin-bottom: 50px;
}

/* Section Styling */
.gallery-section {
    margin-bottom: 60px;
}

.section-title {
    font-size: 28px;
    margin-bottom: 20px;
    color: hsl(236, 14%, 39%);
    display: inline-block;
    padding-bottom: 10px;
}

/* Gallery Grid Styling */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px hsl(186, 72%, 24%);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px hsl(222, 44%, 8%);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.gallery-item img:hover {
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 480px) {
    .gallery-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 24px;
    }
}
