/* assets/css/style.css */

/* --- Temel Ayarlar ve Scrollbar --- */
body { 
    font-family: 'Poppins', sans-serif; 
    overflow-x: hidden; 
    background-color: #000; /* Sizin belirlediğiniz siyah arkaplan */
    color: #fff; 
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #111; }
::-webkit-scrollbar-thumb { background: #E4001B; }


.prose a {
    color: #E4001B; /* Başkent Kırmızı */
    text-decoration: none;
    border-bottom: 1px solid rgba(228, 0, 27, 0.4); /* Şeffaf kırmızı alt çizgi */
    transition: all 0.3s ease;
    font-weight: 500;
}

.prose a:hover {
    color: #ffffff; /* Üzerine gelince beyaz olsun */
    border-bottom-color: #E4001B; /* Alt çizgisi belirginleşsin */
}

/* --- İçerik Alanı (Metin İçi) Başlık Stilleri --- */

/* Tüm başlıklar için ortak boşluk ve renk ayarları */
.prose h1, .prose h2, .prose h3, .prose h4, .prose h5, .prose h6 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem; /* Üstteki paragrafla arasına nefes payı bırakır */
    margin-bottom: 1rem; /* Alttaki paragrafa olan uzaklık */
}

/* İlk paragrafa bitişik olan başlığın üst boşluğunu sıfırlarız */
.prose *:first-child {
    margin-top: 0;
}

/* H1: En büyük başlık */
.prose h1 {
    font-size: 2.5rem;
    color: #E4001B; /* Kurumsal Kırmızı */
}

/* H2: Alt Başlık (Altında hafif bir çizgi ile şık durur) */
.prose h2 {
    font-size: 2rem;
    border-bottom: 1px solid #1f2937; /* border-baskent-border */
    padding-bottom: 0.5rem;
}

/* H3: Standart Bölüm Başlığı */
.prose h3 {
    font-size: 1.75rem;
}

/* H4: Orta Boy Başlık */
.prose h4 {
    font-size: 1.5rem;
}

/* H5: Küçük ve Vurgulu Başlık */
.prose h5 {
    font-size: 1.25rem;
    color: #E4001B;
}

/* H6: En Küçük, Geniş Harf Aralıklı Başlık */
.prose h6 {
    font-size: 1rem;
    color: #9ca3af; /* text-baskent-text */
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Eğer başlıkların içinde link varsa renklerinin bozulmaması için */
.prose h1 a, .prose h2 a, .prose h3 a, .prose h4 a, .prose h5 a, .prose h6 a {
    color: inherit;
    text-decoration: none;
}
.prose h1 a:hover, .prose h2 a:hover, .prose h3 a:hover, .prose h4 a:hover, .prose h5 a:hover, .prose h6 a:hover {
    color: #E4001B;
}

.prose p{margin-bottom:20px}

/* Tailwind Özel Border Override */
.border-gray-800 {
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255 / var(--tw-border-opacity, 1));
}

/* --- Bileşenler (Components) --- */

/* Sol Bar Dikey Metin */
.vertical-text { 
    writing-mode: vertical-rl; 
    text-orientation: mixed; 
    transform: rotate(180deg); 
    white-space: nowrap; 
}

/* Buton Shine (Parlama) Animasyonu */
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { 
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -60%; 
    width: 20%; 
    height: 200%; 
    background: rgba(255,255,255,0.3); 
    transform: rotate(30deg); 
    transition: all 0.6s ease; 
}
.btn-shine:hover::after { left: 120%; }

/* Başlık Altı Kırmızı Çizgi */
.section-title { 
    position: relative; 
    display: inline-block; 
    margin-bottom: 2rem; 
    padding-bottom: 0.75rem; 
}
.section-title::after { 
    content: ''; 
    position: absolute; 
    bottom: 0; 
    left: 0; 
    width: 60px; 
    height: 3px; 
    background-color: #E4001B; 
}

/* Açılır Menü Köprüsü (Fare ile geçerken menünün kapanmasını önler) */
.dropdown-content::before { 
    content: ''; 
    position: absolute; 
    top: -20px; 
    left: 0; 
    width: 100%; 
    height: 20px; 
}


/* --- Ana Sayfa Özel (Slider) --- */
.hero-slider { position: relative; width: 100%; height: 100vh; overflow: hidden; }

/* 1. Sadece banner içindeki slaytlar şeffaf başlasın */
.hero-slider .slide { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    opacity: 0; transition: opacity 1s ease-in-out; 
    background-size: cover; background-position: center; z-index: 1; 
}

/* 2. Banner içindeki slayt aktif olduğunda görünür olsun */
.hero-slider .slide.active { opacity: 1; z-index: 2; }

.slide-overlay { 
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; 
    background: linear-gradient(to right, rgba(17,17,17,0.6) 0%, rgba(17,17,17,0.3) 50%, rgba(17,17,17,0.1) 100%); 
    z-index: 3; 
}

.hero-content { 
    position: absolute; top: 50%; left: 5%; 
    transform: translateY(-50%); z-index: 10; max-width: 800px; 
    opacity: 0; transition: opacity 1s ease 0.3s; 
}

@media (min-width: 1024px) { .hero-content { left: 10%; } }

/* 3. Banner içindeki aktif slaytın içeriği görünür olsun */
.hero-slider .slide.active .hero-content { opacity: 1; }

/* Slider İçindeki Yarı Saydam Kutu */
.glass-box { 
    background: rgba(26, 26, 26, 0.5); 
    backdrop-filter: blur(8px); 
    padding: 20px; 
    border-left: 4px solid #E4001B; 
    margin-bottom: 24px; 
}
@media (max-width: 1024px) {
.glass-box { 
    background:none;
    backdrop-filter:unset; 
}

}

/* Slider Yön Okları */
.slider-nav { 
    position: absolute; right: 3%; top: 50%; 
    transform: translateY(-50%); z-index: 10; 
    display: flex; flex-direction: column; gap: 15px; 
}
@media (min-width: 1024px) { .slider-nav { right: 5%; } }
.nav-btn { 
    width: 50px; height: 50px; border-radius: 50%; border: 1px solid white; 
    background: transparent; color: white; display: flex; align-items: center; 
    justify-content: center; cursor: pointer; transition: all 0.3s ease; 
}
.nav-btn:hover { background: rgba(255, 255, 255, 0.2); }


/* --- Alt Sayfalar Özel (Kurumsal, İletişim, Projeler vs.) --- */
.page-header-bg { 
    background-image: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1)), url('../images/headerbg.webp'); 
    background-size: cover; 
    background-position:left center;
}

/* Google Maps InfoWindow Siyah Tema ve Kutu Ayarları */
.gm-style-iw.gm-style-iw-c {
    background-color: #1e1e1d !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 12px !important;
    padding: 16px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5) !important;
}
/* Alttaki ok işaretinin rengini koyu yapma */
.gm-style-iw-tc::after {
    background-color: #1e1e1d !important;
}
/* İçeriğin taşmasını engelleme ve kaydırma çubuğunu kaldırma */
.gm-style-iw-d {
    overflow: hidden !important;
    max-height: none !important;
}
/* Çarpı (Kapatma) butonunu beyaz ve görünür yapma */
.gm-style .gm-ui-hover-effect {
    filter: invert(1) !important;
    outline: none !important;
    top: 2px !important;
    right: 2px !important;
}