/* Sayfa başlığı için stil */

.gallery-page .page-hero {
    background-image: linear-gradient(rgba(34, 40, 49, 0.8), rgba(34, 40, 49, 0.8)), url('../images/gallery-bg.jpg');
    background-size: cover;
    background-position: center;
}

.page-hero {
    background-color: var(--color-dark);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.page-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    margin-top: 20px;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #ccc;
    margin-top: 10px;
}

.gallery-section {
    padding: 50px 0;
}


/* Filtre Butonları */

.filter-buttons {
    text-align: center;
    margin-bottom: 40px;
}

.filter-buttons button {
    background-color: #f1f1f1;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    cursor: pointer;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.filter-buttons button:hover {
    background-color: #ddd;
}

.filter-buttons button.active {
    background-color: var(--color-accent);
    color: var(--color-dark);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/*
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.gallery a:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery a:hover img {
    transform: scale(1.1);
} */


/* Hover üzerine gelecek bilgi katmanı */


/* .gallery a::after {
    content: attr(data-title);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 30px 15px 15px 15px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.gallery a:hover::after {
    opacity: 1;
} */


/* Galeri Bölümü */

.gallery-section {
    padding: 60px 0;
}

.gallery-grid {
    width: 100%;
}

.gallery-row {
    display: grid;
    gap: 30px;
    margin-bottom: 30px;
}


/* 4 fotoğraflı üst sıra */

.gallery-row-4 {
    grid-template-columns: repeat(4, 1fr);
}


/* 3 fotoğraflı alt sıra */

.gallery-row-3 {
    grid-template-columns: repeat(3, 1fr);
}


/* Resimlerin kendisi için stiller*/

.gallery-row a {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    aspect-ratio: 3 / 4;
}

.gallery-row a:hover {
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.gallery-row img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-row a:hover img {
    transform: scale(1.1);
}


/* ---- RESPONSIVE AYARLAR ---- */

@media (max-width: 992px) {
    .gallery-row-4,
    .gallery-row-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Telefonlar için */

@media (max-width: 576px) {
    .gallery-row-4,
    .gallery-row-3 {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.main-footer {
    background-color: var(--color-dark);
    color: var(--color-light);
    padding: 30px 0;
    text-align: center;
}