/* ============================================================
   HALDIZOĞULLARI YARDIMLAŞMA VE DAYANIŞMA DERNEĞİ
   Ana Stil Dosyası (style.css)
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.65;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

ul {
    list-style: none;
}

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

.container {
    max-width: 1220px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   ÜST BİLGİ ÇUBUĞU (TOPBAR)
   ============================================================ */
.topbar {
    background-color: var(--primary-dark);
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 7px;
}

.topbar-item i {
    color: #ffdada;
}

.topbar-donation-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff !important;
    padding: 3px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
    margin-left: 3px;
    letter-spacing: 0.2px;
}

.topbar-donation-pill:hover {
    background: #ffffff;
    color: var(--primary-color) !important;
    border-color: #ffffff;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transform: translateY(-1px);
}

.topbar-donation-pill i {
    color: #fecaca !important;
    transition: color 0.2s;
    font-size: 12.5px;
}

.topbar-donation-pill:hover i {
    color: var(--primary-color) !important;
}

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

.topbar-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar-socials a {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.topbar-socials a:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* ============================================================
   HEADER & NAVİGASYON
   ============================================================ */
header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    gap: 16px;
    position: relative;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-img-wrap {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background-color: var(--white);
    box-shadow: 0 4px 14px rgba(139, 0, 0, 0.2);
    border: 2px solid rgba(139, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.logo-area:hover .logo-img-wrap {
    transform: scale(1.05);
}

.logo-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.logo-text {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text h1 {
    font-size: 19px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.15;
    letter-spacing: -0.3px;
    white-space: nowrap;
    margin: 0;
}

.logo-text .logo-sub {
    font-size: 11px;
    color: var(--text-light);
    font-weight: 600;
    display: block;
    white-space: nowrap;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-top: 1px;
}

.logo-text .logo-families {
    font-family: 'Caveat', cursive, var(--font-main);
    font-size: 15px;
    font-weight: 700;
    color: #991b1b;
    display: block;
    white-space: nowrap;
    line-height: 1.2;
    margin-top: 2px;
    letter-spacing: 0.2px;
}

.nav-links {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-shrink: 0;
}

.nav-links li {
    white-space: nowrap;
}

.nav-links a {
    font-weight: 600;
    font-size: 14.5px;
    color: var(--text-dark);
    padding: 8px 4px;
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Masaüstü yatay menüde link içi ikonları düzenle (sadece CTA butonunda, açılır menü okunda ve alt menüde görünsün) */
.nav-links > li > a:not(.nav-cta-btn) > i:not(.nav-arrow) {
    display: none;
}

.nav-arrow {
    display: inline-block !important;
    font-size: 11px;
    margin-left: 4px;
    transition: transform 0.25s ease;
}

/* Dropdown Konteyner (Masaüstü) */
.nav-dropdown {
    position: relative;
}

.nav-dropdown:hover > .nav-dropdown-toggle .nav-arrow,
.nav-dropdown.open > .nav-dropdown-toggle .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 235px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.24s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1050;
    list-style: none;
}

.nav-dropdown-menu::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 24px;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-left: 1px solid #e2e8f0;
    transform: rotate(45deg);
}

.nav-dropdown:hover > .nav-dropdown-menu,
.nav-dropdown:focus-within > .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-menu li {
    width: 100%;
}

.nav-dropdown-menu li a {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 10px 18px !important;
    font-size: 14px !important;
    font-weight: 600;
    color: var(--text-dark) !important;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.nav-dropdown-menu li a::after {
    display: none !important;
}

.nav-dropdown-menu li a i {
    display: inline-block !important;
    width: 18px;
    color: var(--primary-color);
    font-size: 14px;
    text-align: center;
    transition: transform 0.2s ease;
}

.nav-dropdown-menu li a:hover {
    background: #fdf2f2;
    color: var(--primary-color) !important;
    padding-left: 22px !important;
}

.nav-dropdown-menu li a.active {
    background: #fdf2f2;
    color: var(--primary-color) !important;
    font-weight: 700;
}

.nav-dropdown-menu li a:hover i {
    transform: scale(1.15);
}

.nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2.5px;
    background-color: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-cta-btn {
    background-color: var(--primary-color);
    color: var(--white) !important;
    padding: 9px 18px !important;
    border-radius: 8px;
    font-size: 13.5px !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.nav-cta-btn i {
    display: inline-block !important;
}

.nav-cta-btn::after {
    display: none !important;
}

.nav-cta-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.mobile-menu-btn {
    display: none;
    font-size: 22px;
    cursor: pointer;
    color: var(--primary-color);
    background: rgba(139, 0, 0, 0.08);
    width: 42px;
    height: 42px;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    border: none;
    flex-shrink: 0;
}

/* ============================================================
   HERO (KARŞILAMA) BÖLÜMÜ VE ALT SAYFA BANNERLARI
   ============================================================ */
.hero {
    color: var(--white);
    padding: 110px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: #1a0404;
}

.hero-slides-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.hero-slide-item {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    transition: opacity 1.3s ease-in-out;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 0, 0, 0.28) 0%, rgba(60, 0, 0, 0.38) 45%, rgba(15, 0, 0, 0.62) 100%);
    z-index: 2;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
}

.hero-logo-badge {
    width: 92px;
    height: 92px;
    margin: 0 auto 20px;
    background: var(--white);
    border-radius: 50%;
    padding: 4px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.hero-logo-badge img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: contain;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 7px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.8px;
}

.hero h2 {
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.25;
    text-shadow: 0 3px 16px rgba(0, 0, 0, 0.80), 0 1px 4px rgba(0, 0, 0, 0.95);
}

.hero p {
    font-size: 18px;
    margin-bottom: 35px;
    opacity: 0.98;
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    background-color: var(--white);
    color: var(--primary-color);
    padding: 13px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border-color: var(--white);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: none;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

/* Alt Sayfa Başlık Alanı (Page Header) */
.page-banner {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 55px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1), transparent 50%);
    pointer-events: none;
}

.page-banner .section-badge {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white);
}

.page-banner h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 650px;
    margin: 0 auto 18px;
}

.breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    background: rgba(0, 0, 0, 0.2);
    padding: 6px 16px;
    border-radius: 30px;
}

.breadcrumb a {
    opacity: 0.85;
}

.breadcrumb a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* ============================================================
   GENEL BÖLÜM (SECTION) YAPISI
   ============================================================ */
.section {
    padding: 85px 0;
}

.section-white {
    background-color: var(--white);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 12px;
}

.section-title h2 {
    font-size: 34px;
    color: var(--primary-color);
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.4px;
}

.section-title p {
    color: var(--text-light);
    font-size: 16px;
    max-width: 640px;
    margin: 0 auto;
}

.section-footer-action {
    text-align: center;
    margin-top: 42px;
}

/* ============================================================
   HAKKIMIZDA BÖLÜMÜ VE İSTATİSTİKLER
   ============================================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 50px;
    align-items: center;
}

.about-text h3 {
    font-size: 26px;
    color: var(--text-dark);
    margin-bottom: 18px;
    line-height: 1.35;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 15.5px;
}

.features-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 28px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-dark);
    background: var(--white);
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #eee;
}

.feature-item i {
    color: var(--primary-color);
    font-size: 18px;
}

.about-card {
    background-color: var(--white);
    padding: 40px;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.06);
    border-left: 5px solid var(--primary-color);
    position: relative;
}

.about-card-quote-icon {
    font-size: 36px;
    color: rgba(139, 0, 0, 0.12);
    margin-bottom: 10px;
}

.about-card h4 {
    font-size: 21px;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-card p {
    color: var(--text-dark);
    line-height: 1.75;
}

.about-card[style*="linear-gradient"] p,
.about-card[style*="var(--primary-color)"] p,
.about-card[style*="#ffffff"] p {
    color: #ffffff !important;
    font-style: normal !important;
}

.about-card-sign {
    margin-top: 18px;
    font-weight: 700;
    color: var(--primary-color);
    font-style: normal !important;
}

/* İstatistik Kutuları */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 55px;
}

.stat-box {
    background: var(--white);
    padding: 28px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border-bottom: 4px solid var(--primary-color);
    transition: var(--transition);
}

.stat-box:hover {
    transform: translateY(-4px);
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
}

/* Vizyon & Misyon Kartları */
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.vm-card {
    background: var(--white);
    padding: 35px;
    border-radius: 14px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-color);
}

.vm-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.vm-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.vm-card h3 {
    font-size: 21px;
    color: var(--text-dark);
}

.vm-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* ============================================================
   YÖNETİCİLERİMİZ (BAŞKAN VE YÖNETİM KURULU)
   ============================================================ */
.president-showcase {
    max-width: 860px;
    margin: 0 auto 55px;
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 14px 40px rgba(139, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.14);
    display: grid;
    grid-template-columns: 290px 1fr;
    align-items: stretch;
}

.president-photo-area {
    background: linear-gradient(145deg, var(--primary-color), var(--primary-dark));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 25px;
    position: relative;
    text-align: center;
    color: var(--white);
}

.president-avatar-wrap {
    width: 175px;
    height: 175px;
    border-radius: 50%;
    border: 4px solid var(--white);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff5f5, #ffe3e3);
    color: var(--primary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 46px;
    letter-spacing: 1px;
}

.avatar-placeholder i {
    font-size: 52px;
    margin-bottom: 4px;
}

.president-info-area {
    padding: 38px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.president-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 30px;
    width: fit-content;
    margin-bottom: 12px;
}

.president-info-area h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.president-info-area .president-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 18px;
}

.president-info-area .president-bio {
    color: var(--text-light);
    font-size: 15.5px;
    line-height: 1.7;
    margin-bottom: 20px;
}

.member-contacts {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: auto;
}

.member-contact-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13.5px;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 6px 13px;
    border-radius: 6px;
}

.member-contact-pill i {
    color: var(--primary-color);
}

.board-group-heading {
    text-align: center;
    font-size: 23px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 20px 0 32px;
    position: relative;
}

.board-group-heading::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.managers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.manager-card {
    background: var(--white);
    border-radius: 14px;
    padding: 32px 24px;
    text-align: center;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    border-top: 4px solid var(--primary-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.manager-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(139, 0, 0, 0.12);
}

.manager-avatar {
    width: 118px;
    height: 118px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 18px;
    border: 3px solid rgba(139, 0, 0, 0.2);
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.1);
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.manager-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.manager-avatar .avatar-initials {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
}

.manager-card h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.manager-role {
    display: inline-block;
    background: rgba(139, 0, 0, 0.08);
    color: var(--primary-color);
    font-size: 13px;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.manager-bio {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
}

/* ============================================================
   FAALİYETLERİMİZ (HİZMET ALANLARI & ÇOKLU MEDYA SLIDER)
   ============================================================ */
.activities-pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 65px;
}

.activity-card {
    background-color: var(--bg-light);
    border-radius: 12px;
    padding: 32px;
    transition: var(--transition);
    border: 1px solid #eaeaea;
}

.activity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(139, 0, 0, 0.1);
    border-color: var(--primary-color);
    background-color: var(--white);
}

.activity-icon {
    width: 62px;
    height: 62px;
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    margin-bottom: 20px;
}

.activity-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.activity-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Faaliyet Slider Kartları */
.activity-showcase-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 32px;
}

.activity-media-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.06);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.activity-media-card:hover {
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px);
}

/* Medya Slider Yapısı */
.media-slider {
    position: relative;
    width: 100%;
    height: 260px;
    background: #1a1a1a;
    overflow: hidden;
}

.media-slides-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.media-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #111;
}

.media-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.media-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.media-slide video,
.media-slide iframe {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: cover;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-btn.prev {
    left: 12px;
}

.slider-btn.next {
    right: 12px;
}

.slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    gap: 6px;
    background: rgba(0, 0, 0, 0.45);
    padding: 5px 10px;
    border-radius: 20px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--white);
    width: 20px;
    border-radius: 10px;
}

.media-count-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(4px);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.activity-category-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 5;
    background: var(--primary-color);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

.activity-media-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.activity-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.activity-meta span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.activity-meta i {
    color: var(--primary-color);
}

.activity-media-body h3 {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.35;
}

.activity-media-body p {
    color: var(--text-light);
    font-size: 14.5px;
    margin-bottom: 18px;
    flex: 1;
}

.card-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 14px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: auto;
}

.card-detail-btn:hover {
    gap: 11px;
}

/* ============================================================
   DUYURULAR (CENAZE, DÜĞÜN, GENEL FİLTRELİ & RESİMLİ)
   ============================================================ */
.announcement-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 600;
    background: var(--white);
    color: var(--text-dark);
    border: 1.5px solid #e0e0e0;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.tab-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.tab-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    box-shadow: 0 6px 16px rgba(139, 0, 0, 0.25);
}

.tab-btn.tab-cenaze.active {
    background: #2C3E50;
    border-color: #2C3E50;
    box-shadow: 0 6px 16px rgba(44, 62, 80, 0.25);
}

.tab-btn.tab-dugun.active {
    background: #B8860B;
    border-color: #B8860B;
    box-shadow: 0 6px 16px rgba(184, 134, 11, 0.25);
}

.announcements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.announcement-card {
    background-color: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.announcement-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.announcement-thumb {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: #f0f2f5;
}

.announcement-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.announcement-card:hover .announcement-thumb img {
    transform: scale(1.05);
}

.announcement-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    padding: 20px;
    text-align: center;
}

.announcement-no-thumb.bg-cenaze {
    background: linear-gradient(135deg, #2C3E50, #1a252f);
}

.announcement-no-thumb.bg-dugun {
    background: linear-gradient(135deg, #B8860B, #8B6508);
}

.announcement-no-thumb.bg-genel {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.announcement-no-thumb i {
    font-size: 44px;
    margin-bottom: 10px;
    opacity: 0.9;
}

.announcement-cat-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 3;
    padding: 5px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.badge-cenaze,
.badge-rahmet {
    background-color: #2C3E50 !important;
    color: #ffffff !important;
}

.badge-dugun {
    background-color: #B8860B !important;
    color: #ffffff !important;
}

.badge-genel {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.badge-burs,
.badge-onursal {
    background: linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    color: #ffffff !important;
}

.announcement-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.announcement-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.announcement-date {
    font-size: 13px;
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.announcement-location {
    font-size: 12.5px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 5px;
}

.announcement-card h3 {
    font-size: 18.5px;
    margin-bottom: 10px;
    color: var(--text-dark);
    line-height: 1.35;
}

.announcement-card p {
    color: var(--text-light);
    font-size: 14.5px;
    margin-bottom: 18px;
    flex: 1;
}

/* ============================================================
   İLETİŞİM BÖLÜMÜ (BANKA, HARİTA, DETAYLI BİLGİLER & FORM)
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 45px;
    align-items: start;
}

.contact-info-box {
    background: var(--white);
    padding: 36px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-info-box h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.contact-info-box > p {
    color: var(--text-light);
    font-size: 14.5px;
    margin-bottom: 28px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    width: 46px;
    height: 46px;
    background-color: rgba(139, 0, 0, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-size: 15.5px;
    color: var(--text-dark);
    margin-bottom: 3px;
    font-weight: 700;
}

.contact-text p,
.contact-text a {
    color: var(--text-light);
    font-size: 14.5px;
    display: block;
}

.contact-text a:hover {
    color: var(--primary-color);
}

.bank-info-card {
    margin-top: 28px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05), rgba(139, 0, 0, 0.1));
    border: 1px dashed rgba(139, 0, 0, 0.35);
    border-radius: 10px;
}

.bank-info-card h4 {
    color: var(--primary-color);
    font-size: 15px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bank-info-card p {
    font-size: 13.5px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.iban-box {
    font-family: monospace;
    font-size: 14.5px;
    font-weight: 700;
    background: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    margin-top: 6px;
    color: var(--primary-color);
    border: 1px solid rgba(139, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.copy-iban-btn {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
}

.contact-form-box {
    background: var(--white);
    padding: 38px;
    border-radius: 14px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
}

.contact-form-box h3 {
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.contact-form-box > p {
    color: var(--text-light);
    font-size: 14.5px;
    margin-bottom: 24px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 14.5px;
    outline: none;
    transition: var(--transition);
    background: #fcfcfc;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(139, 0, 0, 0.08);
}

.form-group textarea {
    height: 140px;
    resize: vertical;
}

.submit-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}

.alert-box {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14.5px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.map-container {
    margin-top: 50px;
    background: var(--white);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.map-container h3 {
    font-size: 19px;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.map-container h3 i {
    color: var(--primary-color);
}

.map-container iframe {
    width: 100%;
    height: 380px;
    border: 0;
    border-radius: 10px;
}

/* ============================================================
   DETAY MODAL (DUYURU VE FAALİYET DETAY PENCERESİ)
   ============================================================ */
.detail-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.detail-modal-backdrop.open {
    display: flex;
}

.detail-modal {
    background: var(--white);
    width: 100%;
    max-width: 780px;
    max-height: 90vh;
    border-radius: 16px;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close-btn {
    position: sticky;
    top: 15px;
    float: right;
    margin: 15px 15px 0 0;
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: var(--primary-color);
}

.modal-body-content {
    padding: 32px;
    clear: both;
}

/* ============================================================
   FOOTER (ALT BİLGİ ALANI)
   ============================================================ */
footer {
    background-color: #161616;
    color: var(--white);
    padding: 65px 0 25px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 1fr;
    gap: 45px;
    margin-bottom: 45px;
}

.footer-brand .logo-area {
    margin-bottom: 18px;
}

.footer-brand p {
    color: #aaa;
    font-size: 14.5px;
    max-width: 380px;
    margin-bottom: 22px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 35px;
    height: 2.5px;
    background: var(--primary-color);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #b0b0b0;
    font-size: 14.5px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #b0b0b0;
    font-size: 14.5px;
    margin-bottom: 14px;
}

.footer-contact-list i {
    color: var(--primary-color);
    margin-top: 4px;
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    color: #888;
    font-size: 13.5px;
}

.admin-footer-link {
    color: #666;
    font-size: 12.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.admin-footer-link:hover {
    color: #bbb;
}

/* ============================================================
   MOBİL VE TABLET UYUMLULUK (RESPONSIVE)
   ============================================================ */
@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: inline-flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 20px;
        gap: 6px;
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
        border-top: 1px solid #f0f0f0;
        z-index: 1001;
    }
    .nav-links.mobile-open {
        display: flex;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 11px 14px;
        border-radius: 8px;
        font-size: 15px;
    }
    .nav-links a:hover,
    .nav-links a.active {
        background: #fdf2f2;
    }
    .nav-links a::after {
        display: none;
    }
    .nav-links a i {
        display: inline-block !important;
        width: 20px;
        text-align: center;
        color: var(--primary-color);
        font-size: 16px;
    }
    .nav-dropdown {
        position: static;
        width: 100%;
    }
    .nav-dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
    .nav-dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 8px;
        margin: 4px 0 6px 10px;
        padding: 4px 0;
        border-left: 3px solid var(--primary-color);
        display: none;
    }
    .nav-dropdown-menu::before {
        display: none;
    }
    .nav-dropdown.mobile-dropdown-open > .nav-dropdown-menu {
        display: block;
    }
    .nav-dropdown.mobile-dropdown-open > .nav-dropdown-toggle .nav-arrow {
        transform: rotate(180deg);
    }
    .nav-dropdown-menu li a {
        padding: 9px 14px !important;
        font-size: 14px !important;
    }
    .nav-cta-btn {
        width: 100%;
        justify-content: center;
        margin-top: 6px;
        padding: 12px 18px !important;
    }
    .activities-pillars-grid,
    .announcements-grid,
    .managers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-grid,
    .contact-grid,
    .vision-mission-grid,
    .footer-grid,
    .donation-grid-wrap {
        grid-template-columns: 1fr !important;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .president-showcase {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .topbar-left {
        justify-content: center;
    }
    .topbar-inner {
        justify-content: center;
    }
    .logo-img-wrap {
        width: 52px;
        height: 52px;
    }
    .logo-text h1 {
        font-size: 16px;
    }
    .logo-text .logo-sub {
        font-size: 10px;
    }
    .logo-text .logo-families {
        font-size: 13px;
        white-space: normal;
        max-width: 220px;
        line-height: 1.15;
    }
    .hero {
        padding: 70px 0;
    }
    .hero h2 {
        font-size: 28px;
    }
    .activities-pillars-grid,
    .announcements-grid,
    .managers-grid,
    .features-list,
    .form-row-2,
    .activity-showcase-list {
        grid-template-columns: 1fr;
    }
    .president-info-area {
        padding: 25px;
        text-align: center;
    }
    .president-role-badge {
        margin-left: auto;
        margin-right: auto;
    }
    .member-contacts {
        justify-content: center;
    }
}
