/* ============================================================
   v3 — Profesyonel Anasayfa Zenginleştirme
   Topbar, Hero full-width arkaplan, Quick Actions, Stats,
   Mission/Vision, Galeri preview, Başkan mesajı, Newsletter
   ============================================================ */

/* ---------- Top Info Bar ---------- */
.site-topbar {
    background: linear-gradient(90deg, #5a1a1f 0%, #6E2025 50%, #5a1a1f 100%);
    color: #f5e8d6;
    font-size: 0.82rem;
    padding: 8px 0;
    border-bottom: 2px solid #DDA027;
    position: relative;
    z-index: 1030;
}
.site-topbar a {
    color: #f5e8d6;
    text-decoration: none;
    margin-right: 4px;
    transition: color .2s ease;
}
.site-topbar a:hover {
    color: #DDA027;
}
.site-topbar .topbar-left i {
    color: #DDA027;
    margin-right: 4px;
}
.site-topbar .topbar-sep {
    margin: 0 12px;
    color: rgba(255, 255, 255, .25);
}
.site-topbar .topbar-right a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    margin-left: 6px;
    font-size: 0.85rem;
}
.site-topbar .topbar-right a:hover {
    background: #DDA027;
    color: #6E2025;
    transform: translateY(-2px);
}

/* ---------- Navbar Polish (üst topbar ile uyumlu) ---------- */
.navbar.sticky-top {
    box-shadow: 0 2px 16px rgba(110, 32, 37, 0.08) !important;
    padding-top: 8px;
    padding-bottom: 8px;
}
.navbar .nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: #2a2a2a !important;
    padding: 8px 14px !important;
    border-radius: 6px;
    transition: all .2s ease;
    position: relative;
}
.navbar .nav-link:hover {
    color: #6E2025 !important;
    background: rgba(110, 32, 37, .06);
}
.navbar .nav-link.active::after,
.navbar .nav-item.active > .nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 2px;
    height: 2px;
    background: #DDA027;
    border-radius: 2px;
}
.navbar .brand-text {
    line-height: 1.1;
    font-size: 0.95rem;
    color: #6E2025;
}
.navbar .brand-text small {
    color: #8a6a2a;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

/* ---------- Hero v3 — Full-Width Background ---------- */
.hero-v2 {
    position: relative;
    padding: 60px 0 70px;
    background:
        radial-gradient(circle at 15% 30%, rgba(221, 160, 39, 0.12) 0%, transparent 55%),
        radial-gradient(circle at 85% 70%, rgba(110, 32, 37, 0.10) 0%, transparent 55%),
        linear-gradient(135deg, #fffaf2 0%, #f9efe0 100%);
    overflow: hidden;
}
.hero-v2::before {
    /* Köşe süs deseni - sol */
    content: "";
    position: absolute;
    top: -80px;
    left: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(110, 32, 37, .07) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-v2::after {
    /* Köşe süs deseni - sağ */
    content: "";
    position: absolute;
    bottom: -80px;
    right: -80px;
    width: 360px;
    height: 360px;
    background: radial-gradient(circle, rgba(221, 160, 39, .12) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}
.hero-v2 .container { position: relative; z-index: 1; }

.hero-v2-grid {
    display: grid;
    grid-template-columns: 200px 1fr 200px;
    gap: 32px;
    align-items: center;
}
.hero-side-logo {
    text-align: center;
    animation: heroLogoFloat 6s ease-in-out infinite;
    position: relative;
}
.hero-side-logo::before {
    /* Logoları altın çerçeve içine al */
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(221, 160, 39, .18) 0%, transparent 70%);
    z-index: -1;
}
.hero-side-logo img {
    max-width: 180px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 8px 24px rgba(110, 32, 37, .25));
}
.hero-side-logo.flipped img { transform: scaleX(-1); }

/* Yumuşak yüzme animasyonu */
@keyframes heroLogoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Carousel daha sade */
.hero-carousel-wrap {
    aspect-ratio: 16/8;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(110, 32, 37, .25), 0 8px 20px rgba(0, 0, 0, .08);
    border: 4px solid #fff;
}
.hero-placeholder {
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 60%, #DDA027 140%);
    color: #fff;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}
.hero-placeholder h2 {
    font-size: 2.3rem;
    font-weight: 800;
    text-shadow: 0 4px 12px rgba(0, 0, 0, .25);
    margin-bottom: .5rem;
}

/* Hero alt bilgi şeridi */
.hero-info-strip {
    margin-top: 36px;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(110, 32, 37, .1);
    border-radius: 14px;
    padding: 18px 24px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    box-shadow: 0 8px 28px rgba(110, 32, 37, .08);
}
.hero-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid rgba(110, 32, 37, .08);
    padding-right: 12px;
}
.hero-info-item:last-child { border-right: none; }
.hero-info-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%);
    color: #DDA027;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}
.hero-info-text strong {
    display: block;
    color: #6E2025;
    font-size: 0.95rem;
    line-height: 1.1;
}
.hero-info-text small {
    color: #6b6b6b;
    font-size: 0.78rem;
}

/* ---------- Hızlı Erişim Kartları ---------- */
.quick-actions {
    padding: 40px 0 20px;
}
.quick-action-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 12px;
    color: #fff;
    text-decoration: none;
    overflow: hidden;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.quick-action-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(110, 32, 37, .22);
    color: #fff;
}
.quick-action-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: inherit;
    z-index: 0;
}
.quick-action-card .qa-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.quick-action-card .qa-icon {
    position: relative;
    z-index: 1;
    font-size: 1.4rem;
    margin-bottom: 0;
    display: inline-flex;
    width: 46px;
    height: 46px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .18);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.quick-action-card .qa-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
    line-height: 1.2;
}
.quick-action-card .qa-desc {
    font-size: 0.78rem;
    opacity: .88;
    margin-bottom: 4px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.quick-action-card .qa-arrow {
    font-size: 0.82rem;
    font-weight: 600;
    opacity: .85;
    transition: transform .3s ease;
}
.quick-action-card:hover .qa-arrow { transform: translateX(4px); opacity: 1; }

/* Hızlı Erişim başlığını kompakt/resmi yap */
.quick-actions .section-title { margin-bottom: 24px; }
.quick-actions .section-title h2 { font-size: 1.6rem; }

.qa-burgundy { background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%); }
.qa-gold     { background: linear-gradient(135deg, #DDA027 0%, #b8801a 100%); }
.qa-teal     { background: linear-gradient(135deg, #0f766e 0%, #134e4a 100%); }
.qa-navy     { background: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%); }

/* ---------- İstatistik Sayaç ---------- */
.stats-section {
    padding: 60px 0;
    background:
        linear-gradient(135deg, rgba(110, 32, 37, .92) 0%, rgba(58, 18, 22, .95) 100%),
        url('/images/AnaSayfa/El_Foto.jpg') center/cover no-repeat fixed;
    color: #fff;
    position: relative;
}
.stat-item {
    text-align: center;
    padding: 20px 12px;
    border-right: 1px solid rgba(255, 255, 255, .12);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    font-size: 2.4rem;
    color: #DDA027;
    margin-bottom: 12px;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: -1px;
}
.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Misyon / Vizyon / Değerler ---------- */
.mvv-section { padding: 70px 0; }
.mvv-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
    border-top: 4px solid #DDA027;
    transition: transform .3s ease, box-shadow .3s ease;
    position: relative;
    overflow: hidden;
}
.mvv-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(110, 32, 37, .15);
}
.mvv-card .mvv-icon {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%);
    color: #DDA027;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 18px;
}
.mvv-card h4 {
    color: #6E2025;
    font-weight: 800;
    margin-bottom: 12px;
}
.mvv-card p { color: #555; line-height: 1.7; margin: 0; }

/* ---------- Başkan Mesajı ---------- */
.president-section {
    padding: 70px 0;
    background: linear-gradient(135deg, #fefaf3 0%, #f5e8d2 100%);
    position: relative;
    overflow: hidden;
}
.president-section::before {
    content: "\201C";
    position: absolute;
    top: -40px;
    right: 40px;
    font-size: 18rem;
    color: rgba(110, 32, 37, .06);
    font-family: Georgia, serif;
    line-height: 1;
    z-index: 0;
}
.president-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 16px 40px rgba(110, 32, 37, .12);
    position: relative;
    z-index: 1;
}
.president-photo {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #DDA027;
    box-shadow: 0 8px 24px rgba(110, 32, 37, .25);
}
.president-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    border-left: 4px solid #DDA027;
    padding-left: 22px;
    margin-bottom: 18px;
}
.president-name {
    font-weight: 800;
    color: #6E2025;
    font-size: 1.2rem;
    margin: 0;
}
.president-title {
    color: #8a6a2a;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ---------- Galeri Önizleme ---------- */
.gallery-preview-section { padding: 70px 0; background: #fff; }
.gallery-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 200px 200px;
    gap: 12px;
}
.gallery-preview-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
}
.gallery-preview-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.gallery-preview-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}
.gallery-preview-item:hover img { transform: scale(1.08); }
.gallery-preview-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(110, 32, 37, .85) 100%);
    display: flex;
    align-items: flex-end;
    padding: 16px;
    color: #fff;
    font-weight: 600;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-preview-item:hover .gallery-preview-overlay { opacity: 1; }

/* ---------- Newsletter / Bülten Bandı ---------- */
.newsletter-band {
    padding: 50px 0;
    background: linear-gradient(135deg, #DDA027 0%, #c89020 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.newsletter-band::before {
    content: "";
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, .12) 0%, transparent 70%);
    border-radius: 50%;
}
.newsletter-band h3 { font-weight: 800; margin: 0; }
.newsletter-band .form-control {
    border-radius: 30px 0 0 30px;
    border: none;
    padding: 14px 22px;
    font-size: 1rem;
}
.newsletter-band .btn-subscribe {
    background: #6E2025;
    color: #fff;
    border: none;
    border-radius: 0 30px 30px 0;
    padding: 14px 30px;
    font-weight: 700;
    transition: background .2s ease;
}
.newsletter-band .btn-subscribe:hover { background: #5a1a1f; color: #DDA027; }

/* ---------- Section Title (paylaşılan) ---------- */
.section-title {
    text-align: center;
    margin-bottom: 50px;
}
.section-title .pre-title {
    display: inline-block;
    color: #DDA027;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.85rem;
    margin-bottom: 10px;
    position: relative;
    padding: 0 30px;
}
.section-title .pre-title::before,
.section-title .pre-title::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 20px;
    height: 2px;
    background: #DDA027;
}
.section-title .pre-title::before { left: 0; }
.section-title .pre-title::after { right: 0; }
.section-title h2 {
    color: #6E2025;
    font-weight: 800;
    margin: 0;
}

/* ---------- Responsive v3 ---------- */
@media (max-width: 991px) {
    .hero-info-strip { grid-template-columns: repeat(2, 1fr); }
    .hero-info-item:nth-child(2) { border-right: none; }
    .stats-section { padding: 40px 0; }
    .stat-item:nth-child(even) { border-right: none; }
    .gallery-preview-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: 180px 180px 180px; }
    .gallery-preview-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
    .site-topbar { font-size: 0.78rem; }
}
@media (max-width: 575px) {
    .hero-info-strip { grid-template-columns: 1fr; gap: 8px; padding: 14px; }
    .hero-info-item { border-right: none; border-bottom: 1px solid rgba(110, 32, 37, .08); padding-bottom: 10px; }
    .hero-info-item:last-child { border-bottom: none; padding-bottom: 0; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, .12); padding: 16px; }
    .stat-item:last-child { border-bottom: none; }
    .stat-number { font-size: 2.2rem; }
    .president-photo { width: 140px; height: 140px; }
    .gallery-preview-grid { grid-template-columns: 1fr; }
    .gallery-preview-item:nth-child(1) { grid-column: span 1; }
    .newsletter-band .form-control,
    .newsletter-band .btn-subscribe { border-radius: 30px !important; }
    .newsletter-band .btn-subscribe { margin-top: 10px; }
}


/* ============================================================
   v3.1 — PARTİ/FEDERASYON TARZI EK ÖZELLİKLER
   Brand Band, Hero TÜSF Split, Thumbs, News Ticker,
   Floating Quick Rail, DateTime Bar
   ============================================================ */

/* ---------- Topbar üzerinde tarih-saat (Sutopu tarzı) ---------- */
.site-topbar .topbar-datetime {
    color: #DDA027;
    font-weight: 600;
    font-size: 0.82rem;
    margin-right: 16px;
}
.site-topbar .topbar-datetime i { margin-right: 4px; }

/* ---------- BRAND BAND (Büyük kırmızı header — TÜSF/Sutopu) ---------- */
.brand-band {
    background:
        linear-gradient(90deg, rgba(110, 32, 37, .98) 0%, rgba(138, 42, 48, .95) 50%, rgba(110, 32, 37, .98) 100%),
        url('/images/AnaSayfa/El_Foto.jpg') center/cover no-repeat;
    background-blend-mode: multiply;
    color: #fff;
    padding: 22px 0;
    border-bottom: 3px solid #DDA027;
    position: relative;
    overflow: hidden;
}
.brand-band::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(221, 160, 39, .08) 50%, transparent 100%);
    pointer-events: none;
}
.brand-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    position: relative;
    z-index: 1;
}
.brand-band-logo {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: #fff;
}
.brand-band-logo:hover { color: #DDA027; }
.brand-band-logo img {
    width: 92px;
    height: 92px;
    border-radius: 50%;
    background: #fff;
    padding: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,.3);
    border: 3px solid #DDA027;
    object-fit: contain;
}
.brand-band-title h1 {
    font-size: 1.85rem;
    font-weight: 800;
    margin: 0;
    line-height: 1.1;
    letter-spacing: .5px;
    text-shadow: 0 2px 8px rgba(0,0,0,.35);
}
.brand-band-title .brand-subtitle {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: #f5e8d6;
    margin-top: 4px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    opacity: .9;
}
.brand-band-extras {
    display: flex;
    align-items: center;
    gap: 16px;
}
.brand-band-badge {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(221, 160, 39, .4);
    border-radius: 50px;
    padding: 10px 22px;
    color: #fff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: .9rem;
    transition: all .25s ease;
    backdrop-filter: blur(6px);
}
.brand-band-badge i { color: #DDA027; font-size: 1.1rem; }
.brand-band-badge:hover {
    background: #DDA027;
    color: #6E2025;
    border-color: #DDA027;
    transform: translateY(-2px);
}
.brand-band-badge.donate {
    background: linear-gradient(135deg, #DDA027 0%, #b8801a 100%);
    border-color: #DDA027;
}
.brand-band-badge.donate i { color: #fff; }
.brand-band-badge.donate:hover {
    background: #fff;
    color: #6E2025;
}

/* ---------- NEWS TICKER (MMA tarzı önemli haberler bandı) ---------- */
.news-ticker {
    background: #fff;
    border-bottom: 1px solid rgba(110, 32, 37, .1);
    box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
    display: flex;
    align-items: stretch;
    overflow: hidden;
    height: 44px;
}
.news-ticker-label {
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%);
    color: #fff;
    padding: 0 22px;
    font-weight: 800;
    font-size: 0.88rem;
    letter-spacing: 1.5px;
    display: flex;
    align-items: center;
    text-transform: uppercase;
    flex-shrink: 0;
    position: relative;
}
.news-ticker-label::after {
    content: "";
    position: absolute;
    right: -16px;
    top: 0;
    bottom: 0;
    width: 16px;
    background: inherit;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    z-index: 1;
}
.news-ticker-label i { color: #DDA027; margin-right: 8px; animation: tickerPulse 1.5s infinite; }
@keyframes tickerPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.18); }
}
.news-ticker-track {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
}
.news-ticker-content {
    display: inline-flex;
    gap: 50px;
    padding-left: 30px;
    white-space: nowrap;
    animation: tickerSlide 40s linear infinite;
    color: #2a2a2a;
    font-size: .92rem;
    font-weight: 500;
}
.news-ticker-content a {
    color: #2a2a2a;
    text-decoration: none;
    transition: color .2s;
}
.news-ticker-content a:hover { color: #6E2025; }
.news-ticker-content .ticker-tag {
    background: #DDA027;
    color: #6E2025;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 4px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: .5px;
}
@keyframes tickerSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.news-ticker:hover .news-ticker-content { animation-play-state: paused; }

/* ---------- HERO TÜSF Split (solda slider + sağda duyurular) ---------- */
.hero-tusf {
    padding: 28px 0 0;
    background: linear-gradient(180deg, #f8f4ec 0%, #ffffff 100%);
}
.hero-tusf-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 22px;
}
.hero-tusf-slider {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(110, 32, 37, .18);
    aspect-ratio: 16/10;
    min-height: 540px;
    background: #1a1a1a;
}
.hero-tusf-slider .carousel,
.hero-tusf-slider .carousel-inner,
.hero-tusf-slider .carousel-item { height: 100%; }
.hero-tusf-slider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-tusf-slider .carousel-caption {
    left: 0; right: 0; bottom: 0;
    padding: 26px 32px 22px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .85) 70%);
    text-align: left;
}
.hero-tusf-slider .carousel-caption h3 {
    font-size: 1.6rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .6);
    margin-bottom: 6px;
}
.hero-tusf-slider .carousel-caption p {
    font-size: .95rem;
    opacity: .95;
    margin-bottom: 10px;
    max-width: 720px;
}
.hero-tusf-slider .carousel-caption .btn {
    background: #DDA027;
    color: #6E2025;
    border: none;
    font-weight: 700;
    padding: 7px 18px;
    border-radius: 50px;
    font-size: .85rem;
}
.hero-tusf-slider .carousel-caption .btn:hover { background: #fff; }

.hero-tusf-slider .carousel-indicators {
    bottom: 8px;
    margin-bottom: 0;
}
.hero-tusf-slider .carousel-indicators button {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .6);
    border: none;
    margin: 0 4px;
}
.hero-tusf-slider .carousel-indicators button.active { background: #DDA027; width: 24px; border-radius: 6px; }

/* Sağdaki Duyurular sidebar (TÜSF tarzı) */
.hero-side-news {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 36px rgba(110, 32, 37, .12);
    border: 1px solid rgba(110, 32, 37, .08);
    display: flex;
    flex-direction: column;
}
.hero-side-news-head {
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%);
    color: #fff;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid #DDA027;
}
.hero-side-news-head h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    letter-spacing: 1.5px;
}
.hero-side-news-head .all-btn {
    background: #DDA027;
    color: #6E2025;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: .72rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .5px;
}
.hero-side-news-head .all-btn:hover { background: #fff; color: #6E2025; }
.hero-side-news-list { flex: 1; overflow-y: auto; max-height: 405px; }
.hero-side-news-list::-webkit-scrollbar { width: 6px; }
.hero-side-news-list::-webkit-scrollbar-thumb { background: rgba(110, 32, 37, .3); border-radius: 3px; }
.hero-side-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(110, 32, 37, .06);
    color: inherit;
    text-decoration: none;
    transition: background .2s;
    align-items: center;
}
.hero-side-news-item:hover {
    background: rgba(221, 160, 39, .08);
    color: inherit;
}
.hero-side-news-item:last-child { border-bottom: none; }
.hero-side-news-thumb {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    background: linear-gradient(135deg, #6E2025, #8a2a30);
    color: #DDA027;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
    overflow: hidden;
}
.hero-side-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-side-news-body { flex: 1; min-width: 0; }
.hero-side-news-body .hsn-title {
    font-size: .9rem;
    font-weight: 700;
    color: #2a2a2a;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}
.hero-side-news-body .hsn-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .72rem;
    color: #888;
    flex-wrap: wrap;
}
.hero-side-news-body .hsn-source {
    background: #6E2025;
    color: #fff;
    font-weight: 700;
    font-size: .65rem;
    padding: 2px 7px;
    border-radius: 3px;
    letter-spacing: .3px;
    text-transform: uppercase;
}
.hero-side-news-body .hsn-date {
    font-size: .72rem;
    color: #888;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hero-side-news-body .hsn-date i { color: #DDA027; }

/* Hero thumbnail satırı (TÜSF tarzı slider altı küçük kareler) */
.hero-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
    margin-top: 14px;
}
.hero-thumb {
    aspect-ratio: 16/9;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .12);
    transition: transform .25s ease, box-shadow .25s ease;
    padding: 0;
    border: 0;
    background: #1a1a1a;
    display: block;
    width: 100%;
}
.hero-thumb img { width: 100%; height: 100%; object-fit: cover; }
.hero-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(110, 32, 37, .3);
    opacity: 0;
    transition: opacity .25s ease;
}
.hero-thumb:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(110, 32, 37, .25);
}
.hero-thumb:hover::after { opacity: 0; }
.hero-thumb.active { outline: 3px solid #DDA027; outline-offset: 2px; }

/* ---------- FLOATING QUICK RAIL (Devre dışı — hero-action-rail kullanılıyor) ---------- */
.floating-quick-rail { display: none !important; }

/* ---------- HERO ACTION RAIL (Hero'nun sağ kenarında dikey kolon) ---------- */
.hero-action-rail {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hero-action-rail .har-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #DDA027 0%, #c89020 100%);
    color: #6E2025;
    text-decoration: none;
    padding: 14px 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: .92rem;
    letter-spacing: .3px;
    box-shadow: 0 6px 14px rgba(110, 32, 37, .12);
    transition: all .25s ease;
    border-left: 4px solid transparent;
    position: relative;
    overflow: hidden;
}
.hero-action-rail .har-item i {
    width: 36px;
    height: 36px;
    background: rgba(110, 32, 37, .12);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
    transition: all .25s ease;
}
.hero-action-rail .har-item:hover {
    background: linear-gradient(135deg, #6E2025 0%, #8a2a30 100%);
    color: #DDA027;
    transform: translateX(-4px);
    border-left-color: #DDA027;
    box-shadow: 0 10px 22px rgba(110, 32, 37, .25);
}
.hero-action-rail .har-item:hover i {
    background: rgba(221, 160, 39, .2);
    color: #DDA027;
}
.hero-action-rail .har-item .har-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    opacity: .5;
    transition: all .25s ease;
}
.hero-action-rail .har-item:hover .har-arrow {
    opacity: 1;
    transform: translateX(4px);
}

/* ---------- Hero TÜSF: 2 kolonlu grid (slider | güncel haberler) ---------- */
.hero-tusf-grid {
    grid-template-columns: 1fr 380px;
}

/* ---------- Hero placeholder büyük resim arka planı ---------- */
.hero-placeholder {
    background:
        linear-gradient(135deg, rgba(110, 32, 37, .78) 0%, rgba(138, 42, 48, .65) 100%),
        url('/images/AnaSayfa/El_Foto.jpg') center/cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 80px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 540px;
}
.hero-placeholder h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 14px;
    text-shadow: 0 3px 12px rgba(0, 0, 0, .55);
}
.hero-placeholder p { font-size: 1.1rem; opacity: .95; }

/* ---------- Navbar dropdown: ticker'ın üstünde tam görünsün ---------- */
header[role="banner"] { position: relative; z-index: 1040; }
header[role="banner"] .navbar { z-index: 1045; }
header[role="banner"] .navbar .dropdown-menu {
    z-index: 1090;
    margin-top: .35rem;
    min-width: 230px;
    border-top: 3px solid #DDA027;
    animation: navDropIn .22s ease;
}
@@keyframes navDropIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* News-ticker dropdown'ın altında kalsın */
.news-ticker { position: relative; z-index: 1; }
/* Masaüstünde hover ile de açılsın (daha akıcı) */
@@media (min-width: 992px) {
    header[role="banner"] .navbar .nav-item.dropdown:hover > .dropdown-menu {
        display: block;
    }
}
/* Mobil hamburger menüde dropdown inline ve sade açılsın */
@@media (max-width: 991px) {
    header[role="banner"] .navbar .dropdown-menu {
        border: none;
        border-top: none;
        box-shadow: none;
        background: rgba(110, 32, 37, .04);
        margin: 4px 0 6px;
        padding-left: 12px;
        animation: none;
    }
    header[role="banner"] .navbar .navbar-nav { text-align: center; }
    header[role="banner"] .navbar .nav-link { padding: 10px 12px; }
}
.hero-placeholder .btn {
    background: #DDA027;
    color: #6E2025;
    border: none;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 50px;
}

/* ---------- En üst beyaz boşluğu kaldır ---------- */
html, body {
    margin: 0 !important;
    padding: 0 !important;
}
body > .skip-to-main { position: fixed !important; }
header[role="banner"] { margin-top: 0 !important; }
.site-topbar {
    margin-top: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
.brand-band { margin-top: 0 !important; }

/* ---------- Siteyi ortada daralt (TÜSF tarzı sabit kolon + yan gradient) ---------- */
html {
    background: linear-gradient(180deg, #4a1519 0%, #2c0c10 60%, #1c0709 100%) !important;
    background-attachment: fixed !important;
}
body {
    max-width: 1320px;
    margin-left: auto !important;
    margin-right: auto !important;
    background: #ffffff;
    box-shadow: 0 0 50px rgba(0, 0, 0, .5);
    position: relative;
}
.page-watermark {
    position: absolute !important;
    background-size: min(85vw, 1000px) auto !important;
    background-attachment: fixed !important;
    opacity: 0.07 !important;
    filter: grayscale(10%) !important;
}

/* ---------- Navbar ortalama (sayfaya göre) ---------- */
header[role="banner"] .navbar .navbar-collapse {
    justify-content: center;
}
header[role="banner"] .navbar .navbar-nav {
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 4px;
}
header[role="banner"] .navbar .nav-link {
    padding-left: 16px;
    padding-right: 16px;
}

/* ---------- Navbar sağ CTA butonları (Üye Ol / Bağış Yap) ---------- */
.navbar-cta { flex-shrink: 0; }
.navbar-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    border: 2px solid #6E2025;
    color: #6E2025;
    background: transparent;
    transition: all .25s ease;
}
.navbar-cta-btn:hover {
    background: #6E2025;
    color: #fff;
}
.navbar-cta-btn.donate {
    background: #DDA027;
    border-color: #DDA027;
    color: #6E2025;
}
.navbar-cta-btn.donate:hover {
    background: #c98e1a;
    border-color: #c98e1a;
    color: #fff;
}
@media (max-width: 991px) {
    .navbar-cta {
        margin-top: 10px;
        justify-content: center;
        width: 100%;
    }
}

/* ---------- Responsive: hero 2 kolon ---------- */
@media (max-width: 1199px) {
    .hero-tusf-grid { grid-template-columns: 1fr 320px; }
}
@media (max-width: 991px) {
    .hero-tusf-grid { grid-template-columns: 1fr; }
    .hero-action-rail { flex-direction: row; flex-wrap: wrap; }
    .hero-action-rail .har-item { flex: 1 1 calc(50% - 5px); min-width: 0; }
    .hero-action-rail .har-item .har-arrow { display: none; }
}

/* ---------- Responsive v3.1 ---------- */
@media (max-width: 1199px) {
    .hero-tusf-grid { grid-template-columns: 1fr 320px; }
    .hero-thumbs { grid-template-columns: repeat(5, 1fr); }
    .hero-thumb:nth-child(n+6) { display: none; }
}
@media (max-width: 991px) {
    .brand-band { padding: 16px 0; }
    .brand-band-logo img { width: 70px; height: 70px; }
    .brand-band-title h1 { font-size: 1.35rem; }
    .brand-band-title .brand-subtitle { font-size: .8rem; }
    .brand-band-extras { display: none; }
    .hero-tusf-grid { grid-template-columns: 1fr; }
    .hero-side-news-list { max-height: 280px; }
    .hero-thumbs { grid-template-columns: repeat(4, 1fr); }
    .hero-thumb:nth-child(n+5) { display: none; }
    .floating-quick-rail { display: none; }
    .news-ticker-label { padding: 0 14px; font-size: .78rem; letter-spacing: 1px; }
    /* Mobilde dev slider/placeholder yüksekliğini makul boyuta indir */
    .hero-tusf-slider { min-height: 320px; }
    .hero-placeholder { min-height: 320px; padding: 48px 24px; }
    .hero-placeholder h2 { font-size: 2rem; }
    .hero-placeholder p { font-size: 1rem; }
    .hero-tusf { padding-top: 18px; }
}
@media (max-width: 575px) {
    .brand-band-logo { gap: 12px; }
    .brand-band-logo img { width: 56px; height: 56px; }
    .brand-band-title h1 { font-size: 1.1rem; }
    .brand-band-title .brand-subtitle { font-size: .7rem; letter-spacing: .8px; }
    .hero-tusf-slider .carousel-caption { padding: 16px 18px 14px; }
    .hero-tusf-slider .carousel-caption h3 { font-size: 1.1rem; }
    .hero-tusf-slider .carousel-caption p { font-size: .82rem; }
    /* Mobilde slider altı küçük thumbnail satırı gizlensin */
    .hero-thumbs { display: none; }
    .news-ticker { height: 38px; }
    .news-ticker-content { font-size: .8rem; }
    /* Küçük telefonlarda slider/başlık daha da küçülsün */
    .hero-tusf-slider { min-height: 240px; }
    .hero-placeholder { min-height: 240px; padding: 36px 18px; }
    .hero-placeholder h2 { font-size: 1.6rem; margin-bottom: 8px; }
    .hero-placeholder p { font-size: .9rem; }
    .hero-placeholder .btn { padding: 8px 18px; font-size: .85rem; }
}

/* ---------- Mobil: kolon daraltma & yatay taşma düzeltmeleri ---------- */
@media (max-width: 991px) {
    /* Sayfayı ortalayan beyaz kolon mobilde tüm genişliği kaplasın, gölge kalksın */
    body {
        max-width: 100% !important;
        box-shadow: none !important;
    }
    html { background: #fff !important; }
    /* Yatay kaymayı engelle (sticky navbar'ı bozmamak için sadece body) */
    body { overflow-x: hidden; }
}

/* ---------- Mobil: hızlı erişim & istatistik düzeni ---------- */
@media (max-width: 767px) {
    .quick-actions { padding-top: 26px; }
    .quick-action-card { padding: 14px 14px; }
    /* İstatistikler 2'şerli sıralanınca alt boşluk dursun */
    .stat-item { margin-bottom: 18px; }
    /* Section başlıkları mobilde biraz küçülsün */
    .section-title h2 { font-size: 1.5rem; }
    .section-title .pre-title { font-size: .8rem; }
}

/* ============================================================
   SITE FOOTER (yeni, sade & modern)
   ============================================================ */
.site-footer {
    background: linear-gradient(160deg, #5a1a1f 0%, #3a1115 55%, #2a0c10 100%);
    color: rgba(255, 255, 255, .85);
    margin-top: 60px;
    padding: 0;
    border-top: 4px solid #DDA027;
}
.site-footer .footer-main {
    padding: 48px 0 32px;
}
.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}
.footer-brand img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    padding: 5px;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.footer-brand h5 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    margin: 0 0 2px;
    line-height: 1.25;
}
.footer-brand span {
    color: #DDA027;
    font-size: .78rem;
    font-style: italic;
}
.footer-about {
    font-size: .9rem;
    line-height: 1.65;
    opacity: .82;
    margin-bottom: 18px;
    max-width: 340px;
}
.footer-social {
    display: flex;
    gap: 10px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 1.1rem;
    transition: all .25s ease;
}
.footer-social a:hover {
    background: #DDA027;
    color: #6E2025;
    transform: translateY(-3px);
}
.footer-title {
    color: #DDA027;
    font-size: .95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}
.footer-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 2px;
    background: #DDA027;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255, 255, 255, .8);
    text-decoration: none;
    font-size: .9rem;
    transition: all .2s ease;
    display: inline-flex;
    align-items: center;
}
.footer-links a::before {
    content: "\F285"; /* bi-chevron-right */
    font-family: "bootstrap-icons", sans-serif;
    font-size: .7rem;
    color: #DDA027;
    margin-right: 7px;
    transition: transform .2s ease;
}
.footer-links a:hover {
    color: #DDA027;
    padding-left: 4px;
}
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}
.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-bottom: 13px;
    font-size: .9rem;
    line-height: 1.5;
}
.footer-contact li i {
    color: #DDA027;
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}
.footer-contact li a {
    color: rgba(255, 255, 255, .85);
    text-decoration: none;
    transition: color .2s ease;
}
.footer-contact li a:hover { color: #DDA027; }
.footer-cta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: 50px;
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, .35);
    color: #fff;
    transition: all .25s ease;
}
.footer-btn:hover {
    background: #fff;
    color: #6E2025;
    border-color: #fff;
}
.footer-btn.donate {
    background: #DDA027;
    border-color: #DDA027;
    color: #6E2025;
}
.footer-btn.donate:hover {
    background: #fff;
    border-color: #fff;
    color: #6E2025;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    font-size: .85rem;
    color: rgba(255, 255, 255, .65);
}
.footer-legal { display: flex; align-items: center; gap: 10px; }
.footer-legal a {
    color: rgba(255, 255, 255, .65);
    text-decoration: none;
    transition: color .2s ease;
}
.footer-legal a:hover { color: #DDA027; }
.footer-legal span { opacity: .4; }

@media (max-width: 767px) {
    .site-footer .footer-main { padding: 36px 0 24px; }
    .footer-about { max-width: 100%; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
