/* ഗാലറി സെക്ഷൻ മൊത്തത്തിൽ */
.gallery-section {
    padding: 50px 10%;
    text-align: center;
}

.section-title {
    margin-bottom: 40px;
    font-size: 2rem;
}

/* ഫിൽട്ടർ ബട്ടണുകൾ */
.gallery-filters {
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    margin: 5px;
    border: 1px solid #FF0000;
    background: transparent;
    color: #FF0000;
    cursor: pointer;
    border-radius: 25px;
    transition: 0.3s;
}

.filter-btn:hover, .filter-btn.active {
    background: #FF0000;
    color: #fff;
}

/* Pinterest Style Masonry Grid */
.pinterest-grid {
    column-count: 4;
    column-gap: 20px;
    padding: 10px;
}

.gallery-item {
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
    transition: 0.3s;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* മൊബൈൽ വ്യൂവിനായി മാറ്റങ്ങൾ */
@media (max-width: 900px) {
    .pinterest-grid { column-count: 3; }
}

@media (max-width: 600px) {
    .pinterest-grid { column-count: 2; }
    .gallery-section { padding: 20px 5%; }
}
.gallery-item iframe {
    width: 100%;
    height: 200px; /* ആവശ്യാനുസരണം മാറ്റാം */
    border-radius: 12px;
    display: block;
}
/* Pinterest Grid Styling */
.pinterest-grid {
    column-count: 4;
    column-gap: 15px;
    padding: 20px;
}

.gallery-item {
    margin-bottom: 15px;
    break-inside: avoid;
    border-radius: 12px;
    overflow: hidden;
}