/* ---------------------------------------------------------
   ROOT DEĞİŞKENLERİ (Renk Değiştirmek Çok Kolay)
   --------------------------------------------------------- */
:root {
 
    --kirmizi-koyu: #7f1d1d;
    --kirmizi-soft: #fee2e2; 
    --gri-acik: #f8fafc;
    --gri-border: #e2e8f0;
    --text-dark: #1e293b;
    --text-gray: #64748b;
    --beyaz: #ffffff;
    --footer-bg: #071826;
    --gradient-red: linear-gradient(135deg, var(--kirmizi), var(--kirmizi-koyu));
}

/* ---------------------------------------------------------
   GENEL RESET & TYPOGRAPHY
   --------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', sans-serif;
    background: #f5f7fb;
    color: var(--text-dark);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

img {
    max-width: 100%;
    display: block;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 14px;
}

.section-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 4px;
    background: var(--kirmizi);
    border-radius: 50px;
}

/* ---------------------------------------------------------
   TOPBAR (detay.html'deki yapı kullanıldı)
   --------------------------------------------------------- */
.topbar {
    background: #f5f5f5;
    padding: 10px 0;
    font-size: 14px;
    color: #475569;
    border-bottom: 1px solid var(--gri-border);
    font-weight: 600;
}

.topbar-right-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-right-links a {
    color: #475569;
    transition: 0.3s;
}

.topbar-right-links a:hover {
    color: var(--kirmizi);
}

.lang-switcher {
    display: flex;
    gap: 6px;
}

/* İletişim Alanı Genel Kapsayıcı */
.contact-box {
    display: flex;
    gap: 15px; /* Yan yana dururken aralarındaki boşluk */
    align-items: center;
}

/* Butonların Ortak Yapısı */
.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* İkon ile yazı arasındaki boşluk */
    padding: 6px 14px;
    border-radius: 30px; /* Oval modern buton yapısı */
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.3s ease-in-out; /* Geçiş efekti süresi */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Telefon Butonu Özel Renkleri */
.contact-link.tel-link {
    background-color: #f1f5f9; /* Hafif gri arka plan */
    color: #1e293b !important; /* Koyu lacivert/siyah yazı */
    border: 1px solid #e2e8f0;
}

/* Telefon Hover (Üzerine Gelince) Effect */
.contact-link.tel-link:hover {
    background-color: #1e293b; /* Arka plan koyulaşır */
    color: #ffffff !important; /* Yazı beyaza döner */
    transform: translateY(-2px); /* Hafif yukarı zıplama efekti */
}

/* WhatsApp Butonu Özel Renkleri */
.contact-link.wp-link {
    background-color: #25d366; /* WhatsApp Yeşili */
    color: #ffffff !important; /* Beyaz Yazı */
    border: 1px solid #25d366;
}

/* WhatsApp Hover Effect */
.contact-link.wp-link:hover {
    background-color: #128c7e; /* Daha koyu WhatsApp yeşili */
    border-color: #128c7e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3); /* Yeşil gölge */
}

/* İkonların hafifçe büyük durması için */
.contact-link i {
    font-size: 15px;
}

/* Mobil Ekranlar İçin Uyum (Responsive) */
@media (max-width: 576px) {
    .contact-box {
        flex-direction: column; /* Mobilde butonları alt alta al */
        align-items: flex-start;
        gap: 8px;
    }
    .contact-link {
        width: 100%; /* Mobilde tam genişlik kaplasınlar */
        justify-content: center; /* İçeriği ortala */
    }
}

.lang-btn {
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.lang-btn.tr {
    background: var(--kirmizi);
    color: white !important;
}

.lang-btn.en {
    background: #94a3b8;
    color: white !important;
}


/* TR Aktifken Kırmızı Yap */
.lang-btn.tr.active {
    background: var(--kirmizi);
    font-weight: bold;
}

/* EN Aktifken (Kırmızı veya istediğin başka bir aktif rengi yapabilirsin) */
.lang-btn.en.active {
   background: var(--kirmizi);
    font-weight: bold;
}

.topbar-donate-btn {
    background: var(--kirmizi);
    color: white !important;
    padding: 6px 18px;
    border-radius: 30px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(153, 27, 27, 0.2);
    position: relative;
    overflow: hidden;
}

.topbar-donate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(153, 27, 27, 0.3);
}

.topbar-social {
    display: flex;
    gap: 10px;
}

.topbar-social a {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--koyu-mavi);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.topbar-social a:hover {
    background: var(--kirmizi);
    color: white;
    transform: translateY(-2px);
}

.topbar-search-btn {
    background: var(--kirmizi);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.topbar-search-btn:hover {
    background: var(--kirmizi-koyu);
    transform: scale(1.05);
}

/* ---------------------------------------------------------
   SEARCH MODAL (ortak)
   --------------------------------------------------------- */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(7, 24, 38, 0.95);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    transition: 0.3s;
}

.search-modal-close:hover {
    transform: rotate(90deg);
    color: var(--kirmizi);
}

.search-form-wrapper {
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.search-form-wrapper h4 {
    color: white;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.search-input-group {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-group input {
    width: 100%;
    padding: 18px 24px;
    padding-right: 60px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    color: white;
    font-size: 18px;
    outline: none;
    transition: 0.3s;
}

.search-input-group input:focus {
    border-color: var(--kirmizi);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(153, 27, 27, 0.2);
}

.search-input-group button {
    position: absolute;
    right: 14px;
    background: var(--kirmizi);
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer;
    transition: 0.3s;
}

.search-input-group button:hover {
    background: var(--kirmizi-koyu);
}

/* ---------------------------------------------------------
   MAIN HEADER (detay.html'deki ortada logo + hover dropdown)
   --------------------------------------------------------- */
.main-header {
    background: var(--beyaz);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease-in-out;
}

.main-header.scrolled {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.logo-center-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1010;
    height: 70px;
}

.navbar-brand-centered {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.navbar-brand-centered img {
    
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: white;
    transition: all 0.3s ease-in-out;
}

.navbar-brand-centered:hover {
    transform: translateX(-50%) scale(1.05) translateY(2px);
}

.main-header.scrolled .navbar-brand-centered {
    top: 50%;
    transform: translate(-50%, -50%);
}

.main-header.scrolled .navbar-brand-centered img {
    height: 90px;
    width: 90px;
    border-width: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-link {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark) !important;
    padding: 24px 18px !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: 0.3s;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 18px;
    bottom: 16px;
    width: 0;
    height: 3px;
    background: var(--kirmizi);
    transition: 0.3s;
}

.nav-link:hover {
    color: var(--kirmizi) !important;
}

.nav-link:hover:after {
    width: calc(100% - 36px);
}

@media (min-width: 992px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) translateY(0) !important;
    }
}

.navbar-nav .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(10px) !important;
    display: block;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease-in-out;
    border: none;
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    margin: 0;
    z-index: 1000;
    background: white;
}

.dropdown-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #334155;
    transition: 0.2s;
}

.dropdown-item:hover {
    background: var(--gri-acik);
    color: var(--kirmizi);
    transform: translateX(4px);
}

/* ---------------------------------------------------------
   BUTTONS & SHIMMER EFFECT (Harmanlanmış)
   --------------------------------------------------------- */
.main-btn {
    padding: 14px 30px;
    background: var(--gradient-red);
    border-radius: 14px;
    color: white;
    font-weight: 700;
    display: inline-block;
    box-shadow: 0 12px 25px rgba(153, 27, 27, 0.18);
    border: none;
    position: relative;
    overflow: hidden;
}

.main-btn:hover {
    transform: translateY(-4px);
    color: white;
}

.outline-btn {
    padding: 14px 30px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: 14px;
    color: white;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}

.outline-btn:hover {
    background: white;
    color: #111827;
}

/* Shimmer efekti - tüm buton ve kartlarda */
/* Tüm hover edilebilir elementlere ortak efekt */
.hover-shimmer, 
.main-btn, .outline-btn, .tab-btn, .tab-news, .img-wrapper, 
.about-image, .news-card, .gallery-item, .share-btn, 
.category-link, .recent-post-item, .detail-img-holder, 
.tag-btn-item, .topbar-donate-btn {
    position: relative;
    overflow: hidden;
}

.hover-shimmer::after,
.main-btn::after, .outline-btn::after, .tab-btn::after, 
.tab-news::after, .img-wrapper::after, .about-image::after, 
.news-card::after, .gallery-item::after, .share-btn::after, 
.category-link::after, .recent-post-item::after, 
.detail-img-holder::after, .reference-logo-box::after, .tag-btn-item::after, 
.topbar-donate-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
    z-index: 2;
    pointer-events: none;
}

.hover-shimmer:hover::after, 
.main-btn:hover::after, .outline-btn:hover::after, 
.tab-btn:hover::after, .tab-news:hover::after, 
.img-wrapper:hover::after, .about-image:hover::after, 
.news-card:hover::after, .gallery-item:hover::after, 
.share-btn:hover::after, .category-link:hover::after, 
.recent-post-item:hover::after, .detail-img-holder:hover::after, 
.tag-btn-item:hover::after, .reference-logo-box:hover::after, .topbar-donate-btn:hover::after {
    left: 150%;
}
/* --- REFERANSLAR ALANI STYLES --- */
.references-wrapper {
    background: white;
    padding: 60px 0;
    margin-top: 30px;
    margin-bottom: 60px;
    border-radius: 24px;
    box-shadow: 0 10px 35px rgba(0,0,0,.03);
}

.reference-logo-box {
    padding: 15px;
    background: #f8fafc;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.reference-logo-box img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(100%); /* Logolar ilk başta asil ve tek renk durur */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.reference-logo-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.05);
    background: white;
    border-color: #991b1b; /* Üzerine gelince dernek kırmızısı border */
}

.reference-logo-box:hover img {
    filter: grayscale(0%); /* Üzerine gelince orijinal rengine döner */
    opacity: 1;
}

/* Swiper Nokta Rengi Özelleştirme */
.references-swiper .swiper-pagination-bullet-active {
    display:none!important;
}
/* SLIDER */
.heroSwiper{
height:760px;
}

.hero-slide{
background-size:cover;
background-position:center;
position:relative;
}

.hero-overlay{
position:absolute;
inset:0;
background:linear-gradient(to right, rgba(0,0,0,.78), rgba(0,0,0,.18));
}

.hero-content{
position:relative;
z-index:5;
height:760px;
display:flex;
align-items:center;
color:white;
}

.hero-badge{
display:inline-block;
padding:10px 18px;
border-radius:50px;
background:rgba(255,255,255,.12);
backdrop-filter:blur(10px);
margin-bottom:22px;
font-size:15px;
}

.hero-content h1{
font-size:64px;
font-weight:700;
line-height:1.1;
max-width:720px;
margin-bottom:20px;
}

.hero-content p{
font-size:22px;
line-height:1.8;
max-width:650px;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
gap:15px;
flex-wrap:wrap;
}

.outline-btn{
padding:14px 30px;
border:2px solid rgba(255,255,255,.35);
border-radius:14px;
color:white;
font-weight:700;
}

.outline-btn:hover{
background:white;
color:#111827;
}

.swiper-pagination{
bottom:40px !important;
}

.swiper-pagination-bullet{
width:14px;
height:14px;
background:rgba(255,255,255,.4);
opacity:1;
transition:.3s;
}

.swiper-pagination-bullet-active{
width:42px;
border-radius:40px;
background:white;
}

/* ---------------------------------------------------------
   ABOUT
   --------------------------------------------------------- */
.about-home {
    padding: 100px 0;
    background: white;
}

.about-image {
    position: relative;
}

.about-image img {
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.experience-box {
    position: absolute;
    right: -20px;
    bottom: 40px;
    background: var(--kirmizi);
    padding: 28px;
    border-radius: 24px;
    text-align: center;
    color: white;
    width: 180px;
    z-index: 3;
}

.experience-box strong {
    display: block;
    font-size: 54px;
    line-height: 1;
}

.about-content .mini-title {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 50px;
    background: var(--kirmizi-soft);
    color: var(--kirmizi);
    font-weight: 700;
    margin-bottom: 18px;
}

.about-content h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-gray);
    margin-bottom: 18px;
}

/* ---------------------------------------------------------
   TABS AREA (index.html yapısı)
   --------------------------------------------------------- */
.tabs-area {
    padding: 60px 0;
    background: var(--gri-acik);
}

.president-card{
background:white;
border-radius:14px;
overflow:hidden;
box-shadow:0 4px 20px rgba(0,0,0,.04);
height:100%;
display: flex;
flex-direction: column;
}

.president-card .img-wrapper{
height: 420px;
overflow: hidden;
}

.president-card img{
width: 100%;
height:100%;
object-fit:cover;
}

.president-content{
padding:24px;
background:#032b43;
color:white;
flex-grow: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}

.president-content h3{
font-size:26px;
font-weight:700;
margin-bottom:4px;
}

.president-content span{
display:block;
opacity:.7;
font-size: 14px;
margin-bottom:16px;
}

.president-content p{
font-size: 15px;
line-height:1.6;
opacity: 0.9;
margin-bottom:24px;
}

.president-content .detail-btn-link {
color: white;
font-weight: 600;
display: flex;
align-items: center;
justify-content: flex-end;
gap: 8px;
margin-left: auto;
}

.tab-buttons {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start;
    gap: 10px;
}

.tab-btn {
    background: #d9e2ec;
    border: none;
    border-radius: 12px;
    padding: 16px 20px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #486581;
    text-align: left;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn i {
    font-size: 22px;
    color: #627d98;
    width: 26px;
    text-align: center;
}

.tab-btn:hover {
    background: #bcccdc;
    color: #102a43;
}

.tab-btn.active[data-tab="tab1"] {
    background: var(--koyu-mavi);
    color: white;
    width: 335px;
}

.tab-btn.active[data-tab="tab1"] i {
    color: white;
}

.tab-btn.active[data-tab="tab2"] {
    background: #bcccdc;
    color: #102a43;
    width: 335px;
}

.tab-btn.active[data-tab="tab2"] i {
    color: #102a43;
}

.tab-btn.active[data-tab="tab3"] {
    background: #ff9800;
    color: white;
    width: 335px;
}

.tab-btn.active[data-tab="tab3"] i {
    color: white;
}

.tab-btn.active[data-tab="tab4"] {
    background: var(--koyu-mavi);
    color: white;
    width: 335px;
}

.tab-btn.active[data-tab="tab4"] i {
    color: white;
}

.tab-content-box {
    background: #f0f4f8;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 3px solid var(--koyu-mavi);
    display: flex;
    flex-direction: column;
}

.tab-content-box.border-tab1 {
    border-color: var(--koyu-mavi);
}

.tab-content-box.border-tab2 {
    border-color: #bcccdc;
}

.tab-content-box.border-tab3 {
    border-color: #ff9800;
}

.tab-content-box.border-tab4 {
    border-color: var(--koyu-mavi);
}

.tab-pane-custom {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
    padding: 20px 20px 80px 20px;
    flex-grow: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.tab-pane-custom.active {
    display: block;
}

.tab-news {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: var(--beyaz);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e4e7eb;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-news:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
    border-color: rgba(3, 43, 67, 0.2);
    background: var(--beyaz);
}

.tab-news img {
    width: 110px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.tab-news-body {
    flex-grow: 1;
}

.tab-news-title {
    font-size: 17px;
    font-weight: 700;
    color: #102a43;
    margin-bottom: 6px;
    line-height: 1.3;
    transition: 0.3s;
}

.tab-news:hover .tab-news-title {
    color: var(--kirmizi);
}

.tab-news small {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #627d98;
}

.tab-footer-link {
    position: absolute;
    right: -3px;
    bottom: -3px;
    padding: 14px 35px;
    background: var(--koyu-mavi);
    font-size: 16px;
    font-weight: 700;
    color: white;
    text-align: center;
    border-top-left-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 3px solid var(--koyu-mavi);
    z-index: 4;
}

.tab-content-box.border-tab1 .tab-footer-link {
    background: var(--koyu-mavi);
    border-color: var(--koyu-mavi);
}

.tab-content-box.border-tab2 .tab-footer-link {
    background: var(--koyu-mavi);
    border-color: var(--koyu-mavi);
}

.tab-content-box.border-tab3 .tab-footer-link {
    background: #ff9800;
    border-color: #ff9800;
}

.tab-content-box.border-tab4 .tab-footer-link {
    background: var(--koyu-mavi);
    border-color: var(--koyu-mavi);
}

.tab-footer-link:hover {
    opacity: 0.9;
    color: white;
}

/* ---------------------------------------------------------
   QUICK LINKS
   --------------------------------------------------------- */
.quick-links {
    padding: 60px 0 100px;
    background: #f1f5f9;
}

.quick-wrapper {
    background: var(--gradient-red);
    padding: 40px;
    border-radius: 28px;
}

.quick-box {
    background: white;
    padding: 24px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    transition: 0.3s;
}

.quick-box:hover {
    transform: translateY(-8px);
    background: #fff5f5;
}

.quick-box i {
    font-size: 28px;
    color: var(--kirmizi);
}

/* ---------------------------------------------------------
   NEWS (index.html)
   --------------------------------------------------------- */
.news-area {
    padding: 100px 0;
    background: white;
}

.news-card {
    background: var(--gri-acik);
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.news-card:hover {
    transform: translateY(-10px);
}

.news-card img {
    height: 240px;
    width: 100%;
    object-fit: cover;
}

.news-content {
    padding: 24px;
}

.news-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.news-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-gray);
}

/* ---------------------------------------------------------
   GALLERY (index.html)
   --------------------------------------------------------- */
.gallery-area {
    padding: 100px 0;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    display: block;
}

.gallery-item img {
    height: 280px;
    width: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    display: flex;
    align-items: flex-end;
    padding: 24px;
    color: white;
    font-size: 24px;
    font-weight: 700;
    z-index: 3;
}

/* ---------------------------------------------------------
   PAGE TITLE BAR (detay.html)
   --------------------------------------------------------- */
.page-title-bar {
    background: linear-gradient(135deg, #071826, var(--koyu-mavi));
    padding: 60px 0;
    color: white;
    margin-bottom: 60px;
}

.page-title-bar h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 10px;
}

.breadcrumb-custom {
    display: flex;
    gap: 10px;
    font-size: 16px;
    opacity: 0.8;
}

.breadcrumb-custom a {
    color: white;
}

.breadcrumb-custom a:hover {
    color: var(--kirmizi);
}

.breadcrumb-custom span::before {
    content: '/';
    margin-right: 10px;
    color: rgba(255, 255, 255, 0.4);
}

/* ---------------------------------------------------------
   DETAY SAYFASI ANA ALAN (detay.html)
   --------------------------------------------------------- */
.detail-wrapper {
    padding-bottom: 100px;
}

.content-detail-card {
    background: white;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
}

.detail-img-holder {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    height: 480px;
    position: relative;
    overflow: hidden;
}

.detail-img-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 15px;
    color: var(--text-gray);
    border-bottom: 1px solid var(--gri-border);
    padding-bottom: 15px;
    flex-wrap: wrap;
}

.detail-meta span i {
    color: var(--kirmizi);
    margin-right: 6px;
}

.content-detail-card h2 {
    font-size: 34px;
    font-weight: 700;
    color: var(--koyu-mavi);
    margin-bottom: 24px;
    line-height: 1.3;
}

.detail-text-area p {
    font-size: 15px;
    line-height: 1.9;
    color: #475569;
    margin-bottom: 20px;
}

.detail-text-area blockquote {
    border-left: 5px solid var(--kirmizi);
    padding: 20px 25px;
    background: var(--gri-acik);
    border-radius: 0 16px 16px 0;
    font-size: 19px;
    font-style: italic;
    color: var(--koyu-mavi);
    margin: 30px 0;
    font-weight: 600;
}

.detail-share-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
    padding-top: 25px;
    border-top: 1px solid var(--gri-border);
    flex-wrap: wrap;
    gap: 15px;
}

.detail-share-box h5 {
    font-size: 18px;
    font-weight: 700;
    color: var(--koyu-mavi);
    margin: 0;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.share-btn:hover {
    color: white;
    transform: translateY(-3px);
}

.share-btn.fb:hover {
    background: #3b5998;
}

.share-btn.tw:hover {
    background: #1da1f2;
}

.share-btn.ins:hover {
    background: #e1306c;
}

.share-btn.wp:hover {
    background: #25d366;
}

/* ---------------------------------------------------------
   SIDEBAR WIDGETS (detay.html)
   --------------------------------------------------------- */
.sidebar-widget {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
}

.widget-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--koyu-mavi);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background: var(--kirmizi);
    border-radius: 10px;
}

.sidebar-search-form {
    position: relative;
}

.sidebar-search-form input {
    width: 100%;
    padding: 14px 20px;
    padding-right: 50px;
    border: 1px solid var(--gri-border);
    border-radius: 12px;
    outline: none;
    background: var(--gri-acik);
    transition: 0.3s;
    font-size: 15px;
}

.sidebar-search-form input:focus {
    border-color: var(--kirmizi);
    background: white;
}

.sidebar-search-form button {
    position: absolute;
    right: 5px;
    top: 5px;
    width: 38px;
    height: 38px;
    background: var(--koyu-mavi);
    border: none;
    border-radius: 8px;
    color: white;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar-search-form button:hover {
    background: var(--kirmizi);
}

.widget-categories {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--gri-acik);
    border-radius: 10px;
    color: #475569;
    font-weight: 600;
    font-size: 15px;
    position: relative;
    overflow: hidden;
}

.category-link span {
    background: var(--gri-border);
    color: var(--koyu-mavi);
    padding: 2px 10px;
    border-radius: 50px;
    font-size: 12px;
    transition: 0.3s;
}

.category-link:hover {
    background: var(--koyu-mavi);
    color: white;
    transform: translateX(4px);
}

.category-link:hover span {
    background: var(--kirmizi);
    color: white;
}

.widget-recent-posts {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.recent-post-item {
    display: flex;
    gap: 12px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.recent-post-item img {
    width: 75px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
}

.recent-post-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--koyu-mavi);
    margin-bottom: 4px;
    line-height: 1.3;
}

.recent-post-item:hover h5 {
    color: var(--kirmizi);
}

.recent-post-info span {
    font-size: 12px;
    color: var(--text-gray);
}

.widget-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-btn-item {
    padding: 8px 14px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.tag-btn-item:hover {
    background: var(--kirmizi);
    color: white;
}

/* ---------------------------------------------------------
   FOOTER
   --------------------------------------------------------- */
footer {
    background: var(--footer-bg);
    padding: 90px 0 30px;
    color: #cbd5e1;
}

.footer-logo {
    height: 58px;
    margin-bottom: 20px;
}

.footer-about {
    line-height: 1.9;
    font-size: 17px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.footer-social a:hover {
    background: var(--kirmizi);
    transform: translateY(-4px);
}

.footer-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: white;
}

.footer-links a {
    display: block;
    margin-bottom: 14px;
    font-size: 17px;
    color: #cbd5e1;
}

.footer-links a:hover {
    transform: translateX(5px);
    color: white;
}

.footer-links a:before {
    content: '→ ';
    color: var(--kirmizi);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.newsletter-form input {
    height: 58px;
    border: none;
    border-radius: 16px;
    padding: 0 20px;
    background: #0f2536;
    color: white;
    outline: none;
}

.newsletter-form button {
    height: 58px;
    border: none;
    border-radius: 16px;
    background: var(--kirmizi);
    color: white;
    font-size: 18px;
    font-weight: 700;
}

.copy {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 40px;
    padding-top: 20px;
    text-align: center;
    font-size: 16px;
}

/* ---------------------------------------------------------
   BACK TO TOP BUTTON
   --------------------------------------------------------- */
#backToTop {
    position: fixed;
    bottom: 50px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-red);
    color: white;
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(153, 27, 27, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
}

#backToTop:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(153, 27, 27, 0.5);
}

/* ---------------------------------------------------------
   RESPONSIVE (MOBILE)
   --------------------------------------------------------- */
@media(max-width:991px) {
    .navbar {
        padding: 15px 0;
    }

    .logo-center-wrapper {
        height: auto;
        justify-content: flex-start;
    }

    .navbar-brand-centered {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin: 0;
    }

    .navbar-brand-centered img {
        height: 110px;
        width: 110px;
        border-width: 3px;
    }

    .navbar-collapse {
        background: white;
        padding: 20px;
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
        margin-top: 15px;
    }

    .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        background: var(--gri-acik);
        padding-left: 15px;
        display: none;
    }

    .navbar-nav .dropdown.show .dropdown-menu {
        display: block !important;
    }

    .nav-link {
        padding: 12px 16px !important;
    }

    .nav-link:after {
        display: none;
    }

    .heroSwiper,
    .hero-content {
        height: 650px;
    }

    .hero-content h1 {
        font-size: 42px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .about-content h2 {
        font-size: 36px;
    }

    .tabs-area .row>div {
        margin-bottom: 24px;
    }

    .section-title {
        font-size: 30px;
    }

    .tab-buttons {
        gap: 10px;
        height: auto;
    }

    .tab-btn {
        padding: 15px;
    }

    .topbar .container {
        flex-direction: column;
        gap: 12px;
        align-items: center;
        text-align: center;
    }

    .detail-img-holder {
        height: 300px;
    }

    .content-detail-card {
        padding: 20px;
    }

    .content-detail-card h2 {
        font-size: 26px;
    }

    .page-title-bar {
        padding: 40px 0;
        text-align: center;
    }

    .breadcrumb-custom {
        justify-content: center;
    }
}

/* ==========================================================================
   Hakkımızda Sayfası Özel Stilleri (hakkimizda.php)
   ========================================================================== */

/* Genel Bölüm Ayarları */
.about-page-section {
    background-color: #ffffff;
    overflow: hidden;
}

/* Görsel Kapsayıcı ve Arkasındaki Dekoratif Kutu */
.about-img-wrapper {
    position: relative;
    z-index: 1;
    padding: 15px;
}

/* Resmin arkasına şık bir geometrik kutu koyarak tasarımı zenginleştiriyoruz */
.about-img-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 85%;
    height: 85%;
    background-color: #f8fafc; /* Hafif modern gri */
    border-radius: 24px;
    z-index: -1;
    transition: all 0.4s ease;
}

/* Sayfa yüklendiğinde resmin hafifçe parlaması ve oturması için */
.about-img-wrapper img {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    object-fit: cover;
    width: 100%;
    border: 4px solid #ffffff; /* Resme beyaz çerçeve efekti */
}

/* Fareyle görselin üzerine gelindiğinde tatlı bir etkileşim */
.about-img-wrapper:hover img {
    transform: scale(1.02) rotate(1deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12) !important;
}

/* Başlık Altındaki Çizgi Efekti */
.about-content h2 {
    position: relative;
    padding-bottom: 15px;
    color: #1e293b; /* Koyu lacivert/siyah */
}

/* Vizyon & Misyon Kutuları */
.about-page-section .bg-light {
    background-color: #f8fafc !important; /* Standart Bootstrap grisinden daha soft bir ton */
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Kutuların ikonları için hafif büyüme efekti */
.about-page-section .bg-light i {
    transition: transform 0.3s ease;
    display: inline-block;
}

/* Vizyon/Misyon kutularına hover efekti */
.about-page-section .bg-light:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.05) !important;
    background-color: #ffffff !important; /* Üzerine gelince beyazlasın */
}

.about-page-section .bg-light:hover i {
    transform: scale(1.2);
}

/* Metin Alanı Düzenlemeleri (Editörden gelen p etiketleri için) */
.about-content .text-muted p {
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.8;
    color: #475569 !important; /* Gözü yormayan kurumsal füme rengi */
}

/* Mobil Ekranlar İçin İnce Ayar */
@media (max-width: 991.98px) {
    .about-img-wrapper {
        margin-bottom: 30px;
        text-align: center;
    }
    .about-img-wrapper::before {
        width: 90%;
        height: 90%;
        left: 5%;
        top: 5%;
    }
    .about-content ps-lg-4 {
        padding-left: 0 !important;
    }
}

/* ==========================================================================
   Proje Detay Sayfası Özel Stilleri (proje-detay.php)
   ========================================================================== */

/* Ana Görsel Alanı */
.project-main-img-wrapper {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.project-main-img-wrapper img {
    transition: transform 0.6s ease;
}
.project-main-img-wrapper:hover img {
    transform: scale(1.03); /* Üzerine gelince resmi hafifçe büyüt */
}

/* Detay Açıklama Alanı */
.project-description p {
    color: #475569 !important;
    font-size: 15.5px;
    line-height: 1.8;
}

/* Sağ Blok: Detay Kartı (Sticky Yapısı) */
.project-meta-card {
    background-color: #f8fafc !important;
    border-color: #e2e8f0 !important;
}

/* Kartın içindeki ikonlar */
.project-meta-card .meta-icon {
    color: #ef4444; /* İkonların ana rengi */
    font-size: 16px;
}

/* Proje Alt Galerisi Görselleri */
.project-gallery-card {
    cursor: pointer;
    border: 3px solid #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-gallery-card img {
    transition: transform 0.4s ease;
}

.project-gallery-overlay {
    transition: opacity 0.3s ease;
}

/* Alt galeri hover durumları */
.project-gallery-link:hover .project-gallery-card {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15) !important;
}

.project-gallery-link:hover .project-gallery-card img {
    transform: scale(1.1);
}

.project-gallery-link:hover .project-gallery-overlay {
    opacity: 1 !important;
}

/* Responsive Düzenlemeler */
@media (max-width: 991.98px) {
    .project-meta-card {
        position: static !important; /* Mobilde yapışkan özelliği devre dışı */
        margin-top: 20px;
    }
}

  @media (max-width: 991px) {
    /* ==========================================================================
       1. SAĞA DOĞRU BOŞLUK VE TAŞMALARI %100 BİTİREN KİLİT KODLAR
       ========================================================================== */
    html, body {
        max-width: 100% !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body {
        padding-top: 75px !important; /* Header fixed olduğu için üst boşluk */
    }

    /* Bootstrap row'larının dışarı taşan -15px margin belasını sıfırlıyoruz */
    .row {
        margin-right: 0 !important;
        margin-left: 0 !important;
        display: flex !important;
        flex-wrap: wrap !important;
    }

    /* Kartların ve içeriklerin sağa sola daha güzel yayılması için kenar boşluğunu 8px'e çektik */
    .container, .container-fluid, [class*="col-"] {
        padding-right: 8px !important;
        padding-left: 8px !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Sabit alt barın ekrana tam oturması */
    .fixed-bottom-bar, .footer-fixed-menu, [style*="position: fixed"] {
        max-width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        box-sizing: border-box !important;
    }

    /* ==========================================================================
       2. HEADER VE LOGO KİLİTLEME SİSTEMİ (KAYDIRINCA ASLA OYNAMAZ)
       ========================================================================== */
    .topbar {
        display: none !important;
    }

    header.main-header, .main-header, .sticky, .fixed-top, .header-scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        z-index: 99999 !important;
        background-color: #ffffff !important;
        transform: none !important;
        transition: none !important;
    }

    .logo-center-wrapper {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important; /* Logoyu sola, menüyü sağa yaslar */
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        padding: 0 15px !important;
    }

    .navbar-brand-centered, 
    .navbar-brand-centered img,
    .main-header.scrolled .navbar-brand-centered,
    .main-header.scrolled .navbar-brand-centered img {
        transform: none !important;
        transition: none !important;
        margin: 0 !important;
        padding: 0 !important;
        max-height: 75px !important; 
        width: auto !important;
    }

    /* ==========================================================================
       3. SLIDER TAM GENİŞLİK AYARI (KIRPILMA KÖKTEN ÇÖZÜLDÜ)
       ========================================================================== */
    .slider-area, .main-slider, .carousel, .owl-carousel, .slider-wrapper {
        height: auto !important;
        min-height: auto !important;
        max-height: none !important;
        background-color: #1a1a1a !important; /* Resim arkası boşluk kalırsa diye */
    }

    .slider-area img, 
    .owl-carousel .owl-item img, 
    .main-slider img, 
    .carousel-item img,
    .slider-area .single-slider {
        width: 100% !important;
        height: auto !important; /* Yüksekliği serbest bıraktık ki kırpılmasın */
        max-height: none !important;
        object-fit: fill !important; /* Resmin tamamını ekrana tam basar */
        display: block !important;
    }

    /* ==========================================================================
       4. MOBİL CARD (KART) TASARIMLARININ GENİŞLETİLMESİ
       ========================================================================== */
    .card, .blog-card, .news-item, .service-box {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        margin-bottom: 20px !important;
        padding: 15px !important; /* İç boşluk yazıların yapışmasını önler */
        box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
        border-radius: 12px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    /* Kart içindeki görseller */
    .card img, .blog-card img, .news-item img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    /* Kartların yan yana gelip ekranı patlatmasını engeller */
    .blog-section .row, .news-section .row {
        flex-direction: column !important;
    }

    /* Alt kısım boşluk ayarı */
    .copy {
        margin-bottom: 30px;
    }
}