/* --- RESPONSIVE SLIDER YAPISI --- */
#slider-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

#slider-visual {
    position: relative;
    width: 100%;
    height: 50vh; 
    overflow: hidden;
    background: black;
}

.slide {
    opacity: 0;
    transition: opacity 1s ease-in-out;
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none; 
}
.slide.active { opacity: 1; z-index: 1; }

.slide-content { 
    width: 100%; height: 100%; object-fit: cover; 
}

/* Mobil slider ayarı: Sağ tarafa yasla */
@media (max-width: 768px) {
    .slide-content {
        object-position: right;
    }
}

.hero-text-container {
    position: relative;
    width: 100%;
    background: #000;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease-out;
    min-height: 40vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hero-text-container.show { 
    opacity: 1; 
    transform: translateY(0); 
}

.slider-nav {
    position: absolute; 
    z-index: 10; 
    background: rgba(255,255,255,0.15); 
    color: white;
    width: 45px; height: 45px; 
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all 0.3s;
    backdrop-filter: blur(5px); 
    border: 1px solid rgba(255,255,255,0.3);
    pointer-events: auto;
    top: 25vh; 
    transform: translateY(-50%);
}
.slider-nav:hover { background: rgba(212, 175, 55, 0.9); border-color: transparent; } 
.prev-btn { left: 15px; }
.next-btn { right: 15px; }

.hero-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 60%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    pointer-events: none;
}

@media (min-width: 768px) {
    #slider-wrapper {
        display: block;
        height: 100vh;
    }

    #slider-visual {
        position: absolute;
        top: 0; left: 0;
        width: 100%; height: 100%;
    }

    .hero-text-container {
        position: absolute;
        top: 50%; left: 10%;
        min-height: auto; 
        width: auto; max-width: 600px;
        background: transparent;
        text-align: left;
        padding: 0;
        align-items: flex-start;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(-40%) !important;
    }
    .hero-text-container.show {
        transform: translateY(-50%) !important;
        opacity: 1;
    }

    .slider-nav {
        top: 50%;
    }
    .prev-btn { left: 40px; }
    .next-btn { right: 40px; }
    
    .hero-overlay {
        background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
    }
}

#mobile-menu { transition: transform 0.3s ease-in-out; }

#hakkimizda {
    /* PATH GÜNCELLENDİ */
    background-image: url('images/hakkimizdabg.jpg');
    background-attachment: fixed; background-position: center; background-size: cover;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-radius: 10px; box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s, color 0.3s;
}
/* Dark Mode: Tamamen siyah/koyu gri panel */
html.dark .glass-panel {
    background: rgba(10, 10, 10, 0.95); /* Neredeyse siyah */
    color: white;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.8);
    border: 1px solid #333;
}

/* Lightbox */
.lightbox-overlay {
    position: fixed; inset: 0; z-index: 60;
    background: rgba(0,0,0,0.98); /* Daha koyu arka plan */
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox-overlay.active { opacity: 1; pointer-events: auto; }
.lightbox-img {
    max-height: 90vh; max-width: 90vw;
    object-fit: contain;
    transform: scale(0.9); transition: transform 0.3s ease;
}
.lightbox-overlay.active .lightbox-img { transform: scale(1); }
.lb-btn {
    position: absolute; color: white; font-size: 2rem;
    cursor: pointer; padding: 20px; transition: color 0.3s;
    z-index: 70;
}
.lb-btn:hover { color: #d4af37; } 
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.gallery-img { cursor: zoom-in; transition: transform 0.3s; }
.gallery-img:hover { transform: scale(1.02); }

/* AI Modal Stilleri */
.ai-modal-overlay {
    position: fixed; inset: 0; z-index: 80;
    background: rgba(0,0,0,0.8); /* Daha koyu overlay */
    backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.ai-modal-overlay.active { opacity: 1; pointer-events: auto; }
.ai-modal-content {
    background: white; 
    width: 90%; max-width: 500px;
    padding: 2rem; border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.95); transition: transform 0.3s ease;
}
html.dark .ai-modal-content { 
    background: #111; /* Çok koyu gri */
    color: white; 
    border: 1px solid #333;
}
.ai-modal-overlay.active .ai-modal-content { transform: scale(1); }
.loading-dots:after {
    content: '.';
    animation: dots 1.5s steps(5, end) infinite;
}
@keyframes dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60% { content: '...'; }
    80%, 100% { content: ''; }
}