/* Galeri Sayfası CSS */

/* Hero alanı inner-pages.css'den otomatik gelir - aynı stil kullanılır */

/* Galeri Başlık */
.gallery-header {
    text-align: center;
    margin-bottom: 40px;
}

.gallery-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #043366;
    margin-bottom: 10px;
}

.gallery-count {
    color: #6c757d;
    font-size: 16px;
    margin: 0;
}

.gallery-count strong {
    color: #0560c4;
    font-size: 20px;
    font-weight: 700;
}

/* Galeri Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #f8f9fa;
}

.gallery-item-image {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item-image a {
    display: block;
    position: relative;
}

.gallery-item-image a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(4, 51, 102, 0.7) 0%, rgba(5, 96, 196, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover .gallery-item-image a::before {
    opacity: 1;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.gallery-item-zoom {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 36px;
    color: #fff;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.gallery-item:hover .gallery-item-zoom {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.gallery-item img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* Galeri Yok */
.no-gallery {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.no-gallery p {
    font-size: 18px;
    color: #6c757d;
    margin-bottom: 10px;
}

.no-gallery .text-muted {
    font-size: 14px;
    color: #adb5bd;
}

.no-gallery strong {
    color: #043366;
}

/* FSLightbox özelleştirmeleri otomatik gelir */

/* Mobil Responsive */
@media (max-width: 768px) {
    .gallery-header h2 {
        font-size: 26px;
    }

    .gallery-count {
        font-size: 14px;
    }

    .gallery-count strong {
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .gallery-item {
        border-radius: 8px;
    }

    .gallery-item img {
        height: 180px;
    }

    .gallery-item-zoom {
        font-size: 28px;
    }
}

/* Çok Küçük Ekranlar */
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .gallery-item img {
        height: 150px;
    }
}

/* Pagination (Galeri için özel stil) */
.gallery-page .pagination {
    margin-top: 50px;
}

.gallery-page .pagination-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.gallery-page .pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    background: #fff;
    border: 2px solid #043366;
    color: #043366;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 45px;
}

.gallery-page .pagination-link:hover {
    background: #043366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(4, 51, 102, 0.3);
}

.gallery-page .pagination-link.active {
    background: linear-gradient(135deg, #043366 0%, #0560c4 100%);
    color: #fff;
    border-color: #0560c4;
    cursor: default;
}

.gallery-page .pagination-link i {
    font-size: 12px;
}

/* Print Media */
@media print {
    .gallery-item-zoom {
        display: none !important;
    }

    .gallery-item img {
        height: auto !important;
    }
}