/* Genel Ayarlar */
.gallery-section {
    /* overflow-x: hidden; */
    background: #fff;
    min-height: 80vh;
}
h1, .title {
    color: #333;
    margin: auto;
    margin-bottom: 35px;
    font-weight: 700;
    font-size: 40;
    text-align: center;
    padding: 30px auto;
}
/* Isotope Grid Ayarı (Önemli: Row sınıfı yerine bunu kullanıyoruz) */
.gallery-grid {
    margin-right: -10px;
    margin-left: -10px;
}

.grid-item {
    padding: 10px; /* Görseller arası boşluk */
    float: left;
}

/* Filtre Butonları */
.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.btn-filter {
    border: 2px solid #e0b440;
    background: transparent;
    color: #333;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn-filter.active, .btn-filter:hover {
    background: #e0b440;
    color: #fff;
    box-shadow: 0 4px 15px rgba(224, 180, 64, 0.3);
}

/* Galeri Kartı Tasarımı */
.gallery-card {
    position: relative;
    width: 100%;
    height: 250px; /* Masaüstü yükseklik */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-card img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Resmin ezilmesini engeller */
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(224, 180, 64, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: 0.4s;
}

.gallery-overlay i { color: #fff; font-size: 24px; }

.gallery-card:hover img { transform: scale(1.1); }
.gallery-card:hover .gallery-overlay { opacity: 1; }

/* --- RESPONSIVE AYARLAR --- */

@media (max-width: 991.98px) {
    .gallery-card { height: 220px; } /* Tablet yüksekliği */
}

@media (max-width: 767.98px) {
    .gallery-card { height: 180px; } /* Mobil yükseklik */
    .btn-filter {
        padding: 6px 15px;
        font-size: 13px;
    }
    .grid-item {
        padding: 5px; /* Mobilde daha dar boşluk */
    }
}   