
/* Genel Ayarlar ve Font */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

/* Sayfa Başlığı */
.page-header {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.gallery-title {
    font-size: 2.5em;
    font-weight: 300;
    margin: 0;
}

/* Galeri Ana Bölümü */
.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    aspect-ratio: 3 / 4;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

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

/* Sayfalama Bölümü */
.pagination {
    text-align: center;
    margin: 40px 0;
    font-size: 1.1em;
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 20px;
    margin: 0 6px;
    text-decoration: none;
    color: #555;
    border: 1px solid #ccc;
    border-radius: 25px;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
}

.pagination .current-page {
    background-color: #007bff;
    color: #fff;
    border: 1px solid #007bff;
    cursor: default;
}

.top-pagination {
    margin-bottom: 0;
}

.bottom-pagination {
    margin-top: 0;
}

/* Lightbox */
.lightbox {
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.95);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95vh;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease-out;
}

@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Kapatma ve Navigasyon Butonları */
.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 50px;
    font-weight: lighter;
    transition: 0.3s;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.close-btn:hover,
.close-btn:focus {
    color: #fff;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 40px;
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
    transform: translateY(-50%);
}

.next {
    right: 20px;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 20px;
    border-radius: 0 3px 3px 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}
