/* Premium Arka Plan ve Tipografi */
body {
    font-family: 'Inter', sans-serif;
    background-color: #0b0f19; /* Çok derin, premium lacivert/siyah */
    color: #94a3b8; /* Yumuşak arduvaz grisi, göz yormaz */
}

h1, h2, h3, h4, h5, h6 {
    color: #f8fafc;
    letter-spacing: -0.5px;
}

/* Premium Gradient (Geçişli) Metin Efekti */
.text-gradient {
    background: linear-gradient(135deg, #38bdf8, #818cf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism - Buzlu Cam Efektli Kartlar */
.glass-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    transition: all 0.4s ease;
}

    .glass-card:hover {
        transform: translateY(-8px);
        border-color: rgba(56, 189, 248, 0.3);
        box-shadow: 0 10px 30px -10px rgba(56, 189, 248, 0.2);
    }

/* Ürün Görselleri İçin Zarif Zoom */
.product-img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.glass-card:hover .product-img {
    transform: scale(1.08);
}

/* --- TARİHÇE İÇİN PROFESYONEL TIMELINE --- */
.timeline-container {
    border-left: 2px solid rgba(56, 189, 248, 0.15);
    padding-left: 2rem;
    margin-left: 1rem;
    position: relative;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
}

    .timeline-item::before {
        content: '';
        position: absolute;
        left: -2.45rem;
        top: 5px;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: #38bdf8;
        border: 3px solid #0b0f19;
        box-shadow: 0 0 12px rgba(56, 189, 248, 0.6);
    }

    .timeline-item h5 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
        color: #e2e8f0;
    }
/* --- BUTON HOVER (Tepki) EFEKTLERİ --- */
.btn {
    transition: all 0.3s ease !important; /* Animasyonu yumuşatır */
}

/* Mavi butona neon parlama efekti */
.btn-info:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.5) !important;
    background-color: #7dd3fc !important;
    color: #000 !important;
}

/* Şeffaf butona hover efekti */
.btn-outline-light:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.15) !important;
}

/* --- ÜRÜN RESMİ TAM EKRAN EFEKTİ --- */
.product-img-wrapper {
    cursor: pointer;
}

/* Resmin üzerine gelince çıkacak siyah gölge ve ikon katmanı */
.img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    backdrop-filter: blur(2px);
}

.product-img-wrapper:hover .img-overlay {
    opacity: 1;
}

/* Tam ekran ikonunun animasyonu */
.img-overlay i {
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.product-img-wrapper:hover .img-overlay i {
    transform: scale(1);
}
/* --- PÜRÜZSÜZ KAYDIRMA VE NAVBAR BOŞLUĞU --- */
html {
    scroll-behavior: smooth; /* Sayfanın pat diye değil, kayarak gitmesini sağlar */
    scroll-padding-top: 85px; /* Sabit menünün (Navbar) başlıkların üstünü kapatmasını engeller */
}

/* --- AKTİF SEKMEYİ PARLATMA (SCROLLSPY) --- */
/* Ekranda o an açık olan bölümün menüdeki linkine Bootstrap otomatik olarak .active sınıfı ekler */
.navbar-nav .nav-link.active {
    color: #38bdf8 !important; /* Premium açık mavi renk */
    font-weight: 600;
    position: relative;
    opacity: 1 !important;
}

    /* Aktif olan sekmenin altına gelecek parlayan neon çizgi */
    .navbar-nav .nav-link.active::after {
        content: '';
        position: absolute;
        bottom: -2px;
        left: 15%;
        width: 70%;
        height: 2px;
        background: linear-gradient(90deg, #38bdf8, #818cf8);
        border-radius: 2px;
        box-shadow: 0 0 10px rgba(56, 189, 248, 0.8);
        animation: fadeInLine 0.3s ease-in-out;
    }

/* Çizginin sekmeler arası geçiş yaparken yumuşakça belirmesi için ufak bir animasyon */
@keyframes fadeInLine {
    from {
        opacity: 0;
        transform: scaleX(0);
    }

    to {
        opacity: 1;
        transform: scaleX(1);
    }
}
/* --- HERO ALANI GLOBAL AYARI (MASAÜSTÜ) --- */
.hero {
    min-height: 85vh !important;
    padding-top: 110px !important; /* Masaüstünde sabit menünün altında kalmayacak güvenli boşluk */
    display: flex;
    align-items: center;
}
/* --- TELEFON VE TABLET GÖRÜNÜMÜ İÇİN ÖZEL DÜZENLEME --- */
/* Ekran genişliği 991px ve altına düştüğünde (yani telefon/tablet boyutunda) bu kurallar devreye girer */
@media (max-width: 991.98px) {
    .hero {
        padding-top: 140px !important; /* Yazıların mobil barın altında kalmasını kesin olarak engeller */
        padding-bottom: 60px !important;
        min-height: auto !important; /* İçeriğin mobilde kutudan taşmasını önler, dikeyde rahatlatır */
    }

        /* Mobil ekranda devasa başlığın taşmasını önlemek için yazı boyutunu optimize ediyoruz */
        .hero h1 {
            font-size: 2.2rem !important;
            line-height: 1.3 !important;
        }

        .hero p {
            font-size: 1rem !important;
        }
}
/* --- HAKKIMIZDA (ABOUT) OKUNABİLİRLİK GÜNCELLEMESİ --- */
#about {
    background-color: #070a12 !important; /* Arka planı bir tık daha koyulaştırdık ki mavi parlamalar yazıyı boğmasın */
}

    /* Başlık altındaki açıklama metnini tamamen okunaklı yapma */
    #about .fs-5.text-secondary {
        color: #e2e8f0 !important; /* Sönük gri yerine parlak beyaz-gri tonu */
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); /* Yazının arkasına hafif gölge atarak iyice öne çıkardık */
    }

/* Zaman Çizelgesi (Timeline) Metinleri */
.timeline-item h5 {
    color: #ffffff !important; /* Başlıklar tam beyaz */
    font-size: 1.15rem;
}

.timeline-item p {
    color: #cbd5e1 !important; /* Açıklamalar yüksek kontrastlı açık gri */
    line-height: 1.6;
}

/* Zaman çizelgesi çizgisi parlamasını optimize etme */
.timeline-container {
    border-left: 2px solid rgba(56, 189, 248, 0.3) !important;
}
/* --- SABİT ÇARPI BUTONU DÜZENLEMESİ --- */
.lightbox-close-btn {
    position: fixed !important;
    top: 0 !important;
    end: 0 !important;
    background-color: rgba(15, 23, 42, 0.85) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    border-radius: 50% !important;
    padding: 15px !important;
    opacity: 0.9;
    /* Işınlanma hissini tamamen yok etmek için transition süresini optimize ettik */
    transition: background-color 0.2s ease, transform 0.2s ease !important;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.7) !important;
}
.lightbox-close-btn:hover {
    opacity: 1 !important;
    transform: scale(1.1);
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.6) !important;
}

/* Kapsayıcı kutunun taşmasını engelleme kuralı */
.zoom-container {
    position: relative;
    overflow: hidden;
    display: inline-block;
}

/* Büyük resmin arkasındaki siyah gölgeli alanı tam ekran kaplama */
.modal-backdrop.show {
    opacity: 0.85; /* Arkadaki siteyi biraz daha fazla kararttık ki resim öne çıksın */
    backdrop-filter: blur(8px); /* Arkada kalan siteyi bulanıklaştırır */
}
/* --- FOOTER HARİTA LİNKİ EFEKTİ --- */
.location-link span {
    transition: all 0.3s ease;
    display: inline-block;
}

.location-link:hover span.text-secondary {
    color: #38bdf8 !important; /* Üzerine gelince yazıyı parlak mavi yapar */
    transform: translateX(8px); /* Yazıyı sağa doğru hafifçe kaydırır */
}

.location-link:hover .badge {
    background-color: #fff !important; /* Rozeti öne çıkarır */
}
/* --- HARİTA İÇİN ULTRA PREMIUM GECE MODU AYARI --- */
.map-container iframe {
    /* Mat renk filtreleri uygulayarak haritayı koyu temaya kusursuzca uyduruyoruz */
    filter: grayscale(100%) invert(92%) contrast(85%) hue-rotate(180deg);
    opacity: 0.75;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

    /* Kullanıcı haritanın üzerine geldiğinde pürüzsüzce normal renklerine döner */
    .map-container iframe:hover {
        filter: none;
        opacity: 1;
    }