/* Ana sayfa yapısı */
.gallery-page {
    padding-top: 120px;
    padding-bottom: 60px; /* Footer ile arasında boşluk oluşturmak için */
}

/* Header ve navigasyon stilleri */
.page-header .hamburger span {
    background-color: var(--primary-color);
}

.menu-open .hamburger span {
    background-color: white;
}

/* Menü ve dil seçenekleri */
.menu-toggle {
    position: fixed !important;
    top: 30px;
    right: 100px !important;
    z-index: 999;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.menu-toggle:hover {
    background-color: #fff;
}

.menu-toggle.active {
    background-color: #f8f8f8;
}

.language-switch {
    position: fixed;
    top: 35px;
    right: 20px;
    z-index: 999;
    cursor: pointer;
}

.current-lang {
    display: flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px 15px;
    border-radius: 50px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lang-flag {
    width: 20px;
    height: 20px;
    margin-right: 5px;
}

/* Filtre butonları */
.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.filter-btn {
    background: none;
    border: 1px solid var(--border-color);
    padding: 8px 20px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Poppins', sans-serif;
}

.filter-btn.active, .filter-btn:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Galeri ızgara yapısı */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    width: 100%;
    margin: 0 auto 40px auto;
}

.gallery-item {
    height: 300px;
    width: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Galeri overlay efektleri */
.gallery-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-overlay h3 {
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-item-overlay p {
    font-size: 14px;
    opacity: 0.8;
}

/* Lightbox stil ayarları */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80%;
    position: relative;
}

.lightbox-image {
    max-width: 100%;
    max-height: 80vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.lightbox-nav button {
    background: rgba(255,255,255,0.1);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.lightbox-nav button:hover {
    background: rgba(255,255,255,0.3);
}

.lightbox-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    max-width: 700px;
    margin: 0 auto;
}

/* Responsive düzenlemeler */
@media (max-width: 992px) {
    .gallery-filters {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
        margin-bottom: 30px;
    }
    
    .filter-btn {
        margin: 0 5px 10px;
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .gallery-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        right: 90px !important;
        top: 20px;
        width: 45px;
        height: 45px;
    }
    
    .language-switch {
        top: 25px;
    }
    
    .current-lang {
        padding: 6px 12px;
    }
    
    .lang-flag {
        width: 16px;
        height: 16px;
    }
    
    .gallery-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        padding: 0;
        margin: 0 0 30px 0;
    }
    
    .gallery-item {
        height: 250px;
    }
    
    .gallery-filters {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
        -webkit-overflow-scrolling: touch;
    }
    
    .filter-btn {
        flex: 0 0 auto;
        margin-bottom: 0;
    }
    
    .lightbox-content {
        width: 90%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .lightbox-nav button {
        padding: 10px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .gallery-page .container {
        padding: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .gallery-page {
        padding-bottom: 30px;
    }
    
    .section-title h2 {
        font-size: 26px;
    }
    
    .section-title p {
        font-size: 14px;
    }
    
    .gallery-item-overlay h3 {
        font-size: 18px;
    }
    
    .gallery-item-overlay p {
        font-size: 14px;
    }
    
    .lightbox-caption {
        font-size: 14px;
        padding: 10px;
    }
    
    .gallery-container {
        margin: 0 0 20px 0;
        padding: 0;
        width: 100%;
    }
    
    .gallery-item {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
    }
}
/* Logo-container'ın z-index'i menüden düşük olmalı */
.logo-container {
    position: relative;
    z-index: 1;
}

