/* =========================================
   GENEL AYARLAR
========================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    overflow-x: hidden;
    background-color: #fff;
}

/* =========================================
   HEADER & NAVBAR (Ortak)
========================================= */
.navbar { 
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); 
    padding: 15px 0; 
    z-index: 1050; 
    background-color: #fff; 
}
.navbar-nav .nav-link { 
    font-size: 0.85rem; 
    font-weight: 600; 
    color: #444; 
    text-transform: uppercase; 
    margin-left: 10px; 
    margin-right: 10px; 
    transition: color 0.3s ease; 
}
.navbar-nav .nav-link:hover { color: #60a5fa !important; }
.navbar-brand img { height: 50px; }

/* Dropdown Menüler */
.dropdown-menu { border: none; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); padding: 15px 0; margin-top: 0; }
.dropdown-item { padding: 10px 30px; font-size: 0.95rem; color: #444; font-weight: 500; transition: background-color 0.2s, color 0.2s; }
.dropdown-item:hover { background-color: transparent; color: #60a5fa; }
.dropdown-submenu { position: relative; }
.dropdown-submenu .dropdown-menu { top: 0; left: 100%; margin-top: -15px; margin-left: 0; border-radius: 8px; }

@media (min-width: 992px) {
    .navbar .dropdown:hover > .dropdown-menu { display: block; animation: fadeIn 0.3s ease; }
    .navbar .dropdown-submenu:hover > .dropdown-menu { display: block; }
}
@keyframes fadeIn { 
    from { opacity: 0; transform: translateY(10px); } 
    to { opacity: 1; transform: translateY(0); } 
}

/* Logo Üzerine Gelince Açılan İletişim Kartı */
.navbar-brand-wrapper { position: relative; padding-bottom: 20px; margin-bottom: -20px; }
.logo-hover-card {
    position: absolute; top: 100%; left: 0; width: 480px;
    background-color: #fff; border-radius: 40px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    visibility: hidden; opacity: 0; transform: translateY(15px);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden; display: flex; z-index: 1100;
}
.navbar-brand-wrapper:hover .logo-hover-card { visibility: visible; opacity: 1; transform: translateY(0); }
.card-content { padding: 40px; flex: 1; z-index: 2; }
.card-content h5 { font-weight: 700; font-size: 1.1rem; color: #333; margin-bottom: 25px; line-height: 1.4; }
.card-content .map-link { font-style: italic; color: #666; margin-bottom: 25px; font-size: 0.95rem; }
.card-content .address-text { font-size: 0.9rem; color: #444; line-height: 1.6; }
.card-content a { color: #0066cc; text-decoration: none; }
.card-graphics {
    position: absolute; right: -80px; top: 50%; transform: translateY(-50%);
    width: 250px; height: 250px; background: #e0e0e0; border-radius: 50%;
    z-index: 1; box-shadow: inset 30px 0 0 0 #777, inset 60px 0 0 0 #ccc;
}

/* =========================================
   ANA SAYFA (INDEX) BİLEŞENLERİ
========================================= */
/* Hero Slider */
.hero-section { width: 100%; height: 500px; position: relative; }
.carousel-item { height: 500px; }
.carousel-bg-1 { background: url('../img/hero-banner-1.jpg') no-repeat center center/cover; }
.carousel-bg-2 { background: url('../img/hero-banner-2.jpg') no-repeat center center/cover; }
.carousel-bg-3 { background: url('../img/hero-banner-3.jpg') no-repeat center center/cover; }

.custom-slider-btn { width: auto; padding: 0 30px; opacity: 0; transition: opacity 0.4s ease; }
#heroCarousel:hover .custom-slider-btn { opacity: 1; }
.preview-circle {
    width: 100px; height: 100px; border-radius: 50%;
    background-size: cover; background-position: center;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4); border: 2px solid rgba(255,255,255,0.2);
    position: relative;
}
.preview-circle::after {
    content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.3); border-radius: 50%;
}
.preview-circle i { font-size: 2rem; color: white; z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.prev-preview { background-image: url('../img/slide-prev-thumb.jpg'); }
.next-preview { background-image: url('../img/slide-next-thumb.jpg'); }

/* Seksiyon Başlıkları */
.section-title {
    text-align: center; font-weight: bold; font-size: 1.2rem;
    margin-bottom: 30px; position: relative; text-transform: uppercase; color: #333;
}
.section-title::before, .section-title::after {
    content: ""; position: absolute; top: 50%; width: 25%;
    height: 1px; border-top: 1px dotted #ccc;
}
.section-title::before { left: 0; } .section-title::after { right: 0; }

.section-title-center {
    text-align: center; font-weight: bold; font-size: 1.2rem;
    margin-bottom: 40px; text-transform: uppercase; color: #777;
}
.section-title-center::after {
    content: ""; display: block; width: 40px; height: 1px;
    border-bottom: 1px solid #ccc; margin: 10px auto 0;
}

/* Haber Kartları */
.news-item { transition: background-color 0.3s ease-in-out; padding: 15px; position: relative; border-bottom: none; }
.news-item:hover { background-color: #f8f9fa; }
.news-item + .news-item { border-top: 1px solid #eee; }
.news-item h6 { font-weight: bold; font-size: 0.95rem; margin-bottom: 5px; position: relative; }
.news-date {
    font-size: 0.7rem; background-color: #777; color: white;
    padding: 2px 6px; border-radius: 4px; float: right; transition: background-color 0.3s ease-in-out;
}
.news-item h6 a { text-decoration: none; color: #212529; }
.news-item:hover h6 a { text-decoration: underline; text-decoration-color: #ccc; text-decoration-thickness: 1px; }
.news-item:hover .news-date { background-color: #333; }
.news-item p { font-size: 0.8rem; color: #666; margin-bottom: 0; line-height: 1.4; }
.btn-outline-custom { border: 1px solid #ccc; color: #555; font-size: 0.8rem; padding: 5px 20px; border-radius: 0; text-transform: uppercase; font-weight: 500; }

/* Ana Sayfa Üyeler Logoları (Grid Layout) */
.members-section { 
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); /* Esnek Grid Yapısı */
    gap: 30px; 
    align-items: center; 
    justify-items: center;
}
.members-section img { max-height: 60px; filter: grayscale(100%); opacity: 0.7; transition: 0.3s; }
.members-section img:hover { filter: grayscale(0%); opacity: 1; }

/* İstatistik Alanı (Orijinal Tasarıma Geri Dönüş) */
.stats-wrapper { margin-top: 70px; width: 100%; }
.stats-header { text-align: center; margin-bottom: 30px; }
.stats-title { font-size: 1.6rem; color: #777; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; font-weight: 600; }
.stats-divider { width: 40px; margin: 0 auto; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; height: 3px; }

.stat-item {
    background: url('../img/fact_01.jpg') no-repeat center center;
    background-size: cover;
    padding: 90px 20px;
    color: #fff;
    transition: all 0.3s ease-in-out;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.stat-item:hover { background-color: #2196F3; background-image: none; }
.stat-number { font-size: 1.35rem; font-weight: 700; margin-bottom: 5px; }
.stat-text { font-size: 0.85rem; font-weight: 500; }


/* =========================================
   ALT SAYFA BİLEŞENLERİ (Ortak)
========================================= */
/* Sayfa Başlığı (Gri Alan) */
.page-header { background-color: #fcfcfc; padding: 40px 0; border-bottom: 1px solid #eaeaea; }
.page-title { font-size: 1.8rem; font-weight: 700; color: #555; display: inline-block; border-bottom: 2px solid #ccc; padding-bottom: 10px; margin-bottom: 0;}
.breadcrumb-text { font-size: 0.85rem; color: #888; margin-top: 15px; }

/* Sol Menü (Sidebar) */
.sidebar-menu { list-style: none; padding: 0; margin: 0; border-top: 1px solid #eee; }
.sidebar-menu li { border-bottom: 1px solid #eee; }
.sidebar-menu a { display: block; padding: 15px 10px; color: #666; text-decoration: none; font-size: 0.9rem; transition: color 0.3s ease; }
.sidebar-menu a i { font-size: 0.6rem; margin-right: 10px; color: #999; vertical-align: middle; }
.sidebar-menu a:hover, .sidebar-menu a.active { color: #60a5fa; }

/* Metin İçeriği */
.content-area h4 { font-size: 1.3rem; font-weight: 700; color: #333; margin-top: 40px; margin-bottom: 15px; }
.content-area h4:first-child { margin-top: 0; }
.content-area p { font-size: 0.9rem; line-height: 1.8; color: #444; text-align: justify; margin-bottom: 15px; }

/* Kurullar & Üyeler Grid Kartları (Resimli Alanlar) */
.members-container { max-width: 1400px; margin: 0 auto; padding-top: 50px; padding-bottom: 80px; }
.member-card { text-align: center; margin-bottom: 50px; padding: 0 15px; }
.member-photo-wrapper {
    background-color: #f4f4f4; width: 100%; aspect-ratio: 1 / 1; display: flex; align-items: center;
    justify-content: center; margin-bottom: 20px; overflow: hidden; border: 1px solid #eee;
}
.member-photo-wrapper svg { width: 35%; height: auto; opacity: 0.2; }
.member-photo-wrapper img { width: 100%; height: 100%; object-fit: cover; }
.member-name { font-weight: 400; font-size: 1.2rem; color: #555; margin-bottom: 4px; }
.member-role { font-size: 0.85rem; color: #60a5fa; margin-bottom: 6px; }
.member-company { font-size: 0.75rem; color: #999; text-transform: uppercase; line-height: 1.5; max-width: 280px; margin: 0 auto; }


/* =========================================
   FOOTER & SCROLL BAR (Tüm Sayfalar İçin)
========================================= */
/* Yukarı Çık Çubuğu */
.scroll-top-bar {
    background-color: #fff; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea;
    display: flex; justify-content: space-between; align-items: stretch;
    cursor: pointer; color: #aaa; transition: background-color 0.3s, color 0.3s;
    width: 100%; height: 80px;
}
.scroll-top-bar:hover { background-color: #fcfcfc; color: #777; }
.scroll-top-bar .icon-wrapper { display: flex; align-items: center; justify-content: center; padding: 0 40px; color: #888; transition: color 0.3s; }
.scroll-top-bar:hover .icon-wrapper { color: #333; }
.scroll-top-bar .center-icon { border-left: 1px solid #eaeaea; border-right: 1px solid #eaeaea; width: 120px; }
.scroll-top-bar svg { width: 24px; height: 24px; }

/* Footer Yapısı */
footer { background-color: #fff; padding-top: 60px; font-size: 0.85rem; width: 100%; }
.footer-top { padding-bottom: 40px; border-bottom: 1px solid #eaeaea; }
.footer-heading { font-weight: 800; margin-bottom: 25px; text-transform: uppercase; color: #333; font-size: 0.9rem; }
.footer-heading-border { border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 20px; display: inline-block; }
.footer-links a { color: #777; text-decoration: none; display: block; margin-bottom: 12px; transition: color 0.2s; }
.footer-links a:hover { color: #2196F3; }
.address-block p { color: #777; line-height: 1.6; margin-bottom: 5px; }
.address-block strong { color: #333; font-weight: 700; display: block; margin-bottom: 5px; }
.address-block .map-link { font-weight: 600; text-decoration: underline; color: #777; }
.social-icons { display: flex; flex-wrap: wrap; gap: 8px;} /* Sosyal medya butonları hizalaması */
.social-icons a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: white; font-size: 0.9rem; transition: opacity 0.2s; text-decoration: none; }
.social-icons a:hover { opacity: 0.8; }
.bg-fb { background-color: #3b5998; } .bg-tw { background-color: #00aced; }
.bg-in { background-color: #007bb6; } /* LinkedIn Rengi Düzeltildi */ .bg-yt { background-color: #cb2027; }

/* Footer Alt (Copyright) */
.footer-bottom { background-color: #f8f9fa; padding: 25px 0; }
.footer-bottom img { height: 40px; }
.copyright { color: #999; font-size: 0.8rem; }