/* GENEL AYARLAR */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'DM Sans', sans-serif; background-color: #fdf8f4; color: #0c1a13; line-height: 1.6; }

/* HEADER */
.site-header { background-color: #000; padding: 20px 0; position: sticky; top: 0; z-index: 100; }
.header-container { max-width: 1450px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; }
.logo img { height: 40px; }
.main-nav a { color: #fff; text-decoration: none; margin-left: 25px; font-weight: 500; transition: color 0.3s; }
.main-nav a:hover { color: #e9c66d; }

/* GALER力 */
.gallery-wrapper { max-width: 1450px; margin: 50px auto; padding: 0 40px; min-height: 60vh; }
.gallery-header { text-align: center; margin-bottom: 40px; }
.gallery-header h1 { font-size: 2.5rem; margin-bottom: 10px; color: #0c1a13; }
.gallery-header p { color: #555; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; box-shadow: 0 4px 10px rgba(0,0,0,0.05); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; display: block; }
.gallery-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; flex-direction: column; justify-content: center; align-items: center; opacity: 0; transition: opacity 0.3s ease; color: #fff; padding: 15px; text-align: center; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.overlay-icon { font-size: 24px; margin-bottom: 10px; }
.overlay-title { font-size: 16px; font-weight: 500; }

/* FOOTER */
.site-footer { background-color: #272727; color: #fff; padding: 50px 0; margin-top: 50px; }
.footer-container { max-width: 1450px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 0 40px; flex-wrap: wrap; gap: 20px;}
.footer-logo { height: 30px; margin-bottom: 15px; }
.footer-col p { font-size: 14px; color: #ccc; margin-bottom: 5px; }
.text-right { text-align: right; }

/* L力GHTBOX (SLAYT) */
.lightbox { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.9); backdrop-filter: blur(5px); }
.lb-content { display: flex; flex-direction: column; justify-content: center; align-items: center; height: 100%; padding: 40px; }
.lb-content img { max-width: 90%; max-height: 85vh; object-fit: contain; border-radius: 4px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); animation: zoomIn 0.3s; }
#lb-caption { color: #fff; margin-top: 15px; font-size: 18px; font-weight: 500; letter-spacing: 1px; }

.lb-close { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 40px; font-weight: bold; cursor: pointer; transition: 0.2s; z-index: 10; }
.lb-close:hover { color: #e9c66d; }

.lb-prev, .lb-next { cursor: pointer; position: absolute; top: 50%; width: auto; padding: 20px; margin-top: -30px; color: white; font-weight: bold; font-size: 30px; transition: 0.3s; user-select: none; border-radius: 4px; background: rgba(0,0,0,0.3); }
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background-color: rgba(0,0,0,0.8); color: #e9c66d; }

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

/* MOB力L UYUMLULUK */
@media (max-width: 768px) {
    .header-container { flex-direction: column; padding: 15px; }
    .main-nav { margin-top: 15px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
    .main-nav a { margin-left: 0; font-size: 14px; }
    .gallery-wrapper { padding: 0 20px; margin: 30px auto; }
    .footer-container { flex-direction: column; text-align: center; }
    .text-right { text-align: center; }
    .lb-prev, .lb-next { padding: 10px; font-size: 20px; }
}
/* LİGHTBOX BUTONLARI (GÜNCEL) */
.lb-prev, .lb-next { 
    cursor: pointer; 
    position: absolute; 
    top: 50%; 
    width: auto; 
    padding: 20px; 
    margin-top: -30px; 
    color: white; 
    font-weight: bold; 
    font-size: 30px; 
    transition: 0.3s; 
    user-select: none; 
    border-radius: 4px; 
    background: rgba(0,0,0,0.5); 
    z-index: 999999; /* Butonların her zaman en üstte kalmasını sağlar */
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }
.lb-prev:hover, .lb-next:hover { background-color: rgba(0,0,0,0.9); color: #e9c66d; }