/* ===== GENEL STILLER ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2d5016;
    --secondary-color: #6b8e23;
    --accent-color: #8fbc3f;
    --dark-color: #1a1a1a;
    --light-color: #f5f5f5;
    --white: #ffffff;
    --text-color: #333333;
    --text-light: #666666;
    --shadow: 0 5px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s ease;
    /* Spacing */
    --spacing-xs: 4px;
    --spacing-sm: 8px;
    --spacing-md: 16px;
    --spacing-lg: 24px;
    --spacing-xl: 40px;
    --spacing-2xl: 60px;
    /* Transitions */
    --transition-fast: all 0.15s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    /* Radius */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --radius-full: 50px;
    /* Font families */
    --font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
    --light-color: #1a1f16;
    --white: #222822;
    --text-color: #e8e8e8;
    --text-light: #a8b0a0;
    --dark-color: #f5f5f5;
    --shadow: 0 5px 20px rgba(0,0,0,0.3);
}
[data-theme="dark"] body { background: #161a12; color: var(--text-color); }
[data-theme="dark"] /* ── YATAY KAYMA KORUMASI ─────────────────────────────────────
   AOS'un fade-left/fade-right animasyonları elemanları animasyon
   başlayana kadar 100px yana ötelediği için mobilde sayfa sağa
   kayıyordu (hero parçacıkları da taşıyordu). Kök elemanda
   overflow-x görünüm alanına aktarılır; bu yüzden position:sticky
   çalışmaya devam eder — body'ye yazmak sticky'yi bozardı. */
html {
    overflow-x: hidden;
}

.navbar { background: rgba(22, 26, 18, 0.97); }
[data-theme="dark"] .navbar.scrolled { background: rgba(22, 26, 18, 0.99); }
[data-theme="dark"] .footer { background: #111510; }
[data-theme="dark"] .footer-bottom { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .nav-menu a { color: var(--text-color); }
[data-theme="dark"] .btn-login { border-color: var(--accent-color); }
[data-theme="dark"] .member-card, [data-theme="dark"] .stat-card,
[data-theme="dark"] .dual-column, [data-theme="dark"] .dual-card { background: var(--white); border-color: rgba(255,255,255,0.06); }
[data-theme="dark"] .section-title { color: var(--text-color); }
[data-theme="dark"] .section-subtitle { color: var(--text-light); }

/* ===== SKIP NAVIGATION ===== */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 10000;
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    text-decoration: none;
    transition: top 0.2s ease;
}
.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== FOCUS MANAGEMENT ===== */
*:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ===== READING PROGRESS BAR ===== */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
    z-index: 10001;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ===== PAGE TRANSITION ===== */
.page-transition-overlay {
    position: fixed;
    inset: 0;
    background: var(--primary-color);
    z-index: 99999;
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}
.page-transition-overlay.active {
    animation: pageSlide 0.5s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}
@keyframes pageSlide {
    0%   { transform: scaleX(0); transform-origin: left; }
    50%  { transform: scaleX(1); transform-origin: left; }
    50.1%{ transform: scaleX(1); transform-origin: right; }
    100% { transform: scaleX(0); transform-origin: right; }
}

/* ===== ENHANCED SCROLL TOP BUTTON ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #fff;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 900;
    box-shadow: 0 6px 20px rgba(45,80,22,0.3);
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(20px);
}
.scroll-top-btn.visible {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 10px 30px rgba(45,80,22,0.4);
}
.scroll-top-btn .progress-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
}
.scroll-top-btn .progress-ring circle {
    fill: none;
    stroke: var(--accent-color);
    stroke-width: 2;
    stroke-dasharray: 157;
    stroke-dashoffset: 157;
    transform: rotate(-90deg);
    transform-origin: center;
    transition: stroke-dashoffset 0.15s linear;
}

/* ===== DARK MODE TOGGLE ===== */
.dark-mode-toggle {
    position: fixed;
    bottom: 90px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid rgba(0,0,0,0.08);
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    z-index: 900;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: var(--transition-medium);
}
.dark-mode-toggle:hover {
    transform: translateY(-3px) rotate(15deg);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}
[data-theme="dark"] .dark-mode-toggle {
    background: #333;
    border-color: rgba(255,255,255,0.1);
    color: #f9d423;
}

/* ===== SKELETON LOADING ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-md);
}
[data-theme="dark"] .skeleton {
    background: linear-gradient(90deg, #2a2a2a 25%, #333 50%, #2a2a2a 75%);
    background-size: 200% 100%;
}
@keyframes skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.skeleton-text { height: 14px; margin-bottom: 10px; width: 80%; }
.skeleton-text:last-child { width: 60%; }
.skeleton-title { height: 22px; margin-bottom: 16px; width: 70%; }
.skeleton-image { width: 100%; aspect-ratio: 16/9; }
.skeleton-avatar { width: 60px; height: 60px; border-radius: 50%; }

/* ===== TOAST NOTIFICATION ENHANCED ===== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 0.92rem;
    font-weight: 600;
    font-family: var(--font-primary);
    z-index: 10000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    max-width: 90vw;
}
.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}
.toast-success { background: #1a7a1a; color: #fff; }
.toast-error { background: #b91c1c; color: #fff; }
.toast-info { background: var(--primary-color); color: #fff; }

/* ===== BREADCRUMB ===== */
.breadcrumb-nav {
    background: linear-gradient(180deg, rgba(45,80,22,0.04), transparent);
    padding: 14px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-light);
    flex-wrap: wrap;
}
.breadcrumb-list a {
    color: var(--secondary-color);
    font-weight: 500;
    transition: color 0.2s;
}
.breadcrumb-list a:hover { color: var(--primary-color); }
.breadcrumb-list .separator { color: #ccc; font-size: 10px; }
.breadcrumb-list .current { font-weight: 600; color: var(--text-color); }
[data-theme="dark"] .breadcrumb-nav { background: linear-gradient(180deg, rgba(255,255,255,0.02), transparent); border-color: rgba(255,255,255,0.04); }

/* ===== MOBILE BOTTOM NAVIGATION ===== */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid rgba(0,0,0,0.08);
    z-index: 999;
    padding: 6px 0 env(safe-area-inset-bottom, 6px);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    justify-content: space-around;
    align-items: center;
    max-width: 100%;
}
.bottom-nav-inner {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
}
.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 6px 12px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.68rem;
    font-weight: 600;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
    position: relative;
}
.bottom-nav-item i { font-size: 20px; transition: transform 0.2s; }
.bottom-nav-item.active { color: var(--primary-color); }
.bottom-nav-item.active i { transform: scale(1.15); }
.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--accent-color);
    border-radius: 0 0 3px 3px;
}
[data-theme="dark"] .bottom-nav { background: #1a1f16; border-color: rgba(255,255,255,0.06); }
@media (max-width: 768px) {
    .bottom-nav { display: flex; }
    body { padding-bottom: 70px; }
    .scroll-top-btn { bottom: 85px; }
    .dark-mode-toggle { bottom: 140px; }
    .footer { padding-bottom: 20px; }
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

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

img {
    max-width: 100%;
    height: auto;
}

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

/* ===== NAVIGATION ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
    z-index: 1000;
    padding: 10px 0;
    transition: background 0.3s, box-shadow 0.3s, padding 0.3s;
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0,0,0,0.12);
    padding: 6px 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 40px;
}

.logo img {
    height: 50px;
    width: auto;
    max-width: 50px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 6px;
}

.logo span {
    line-height: 1.3;
}

.logo i {
    font-size: 32px;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.92rem;
    color: var(--text-color);
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

.btn-login {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
}

.btn-login::after {
    display: none;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: var(--transition);
}

/* Hamburger X Animasyonu */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* Scroll Top Butonu */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent-color);
    color: white;
    border: none;
    font-size: 18px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(143,188,63,0.4);
    transition: var(--transition);
    z-index: 99;
}

.scroll-top-btn:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(45,80,22,0.4);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #2d5016 0%, #6b8e23 100%);
    background-image: url('../images/brand/olive-hero.svg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45,80,22,0.9) 0%, rgba(107,142,35,0.8) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 900px;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    font-weight: 300;
}

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

.btn {
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

/* .btn-primary eskiden BEYAZ idi; koyu hero için doğru ama açık zeminli
   bölümlerde (Tüm Üyeleri Görüntüle, Tüm Duyurular, Tüm Etkinlikler,
   Bilgi Merkezi CTA) buton beyaz üstüne beyaz düşüp görünmez oluyordu.
   Varsayılan artık marka yeşili; hero'da beyaz hâli korunuyor. */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: var(--white);
    box-shadow: 0 6px 20px rgba(45, 80, 22, 0.18);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(45, 80, 22, 0.28);
}

/* Koyu zeminli hero: beyaz buton */
.hero-buttons .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

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

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ===== WEATHER BAR ===== */
.weather-bar {
    background: linear-gradient(135deg, #1a3409 0%, #2d5016 50%, #1e3f0e 100%);
    padding: 0;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid rgba(143,188,63,.2);
}

.weather-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M20 20c0-5.5 4.5-10 10-10s10 4.5 10 10-4.5 10-10 10S20 25.5 20 20zM0 0c0 5.5 4.5 10 10 10S20 5.5 20 0'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.weather-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 0;
    gap: 24px;
}

/* Mevcut Durum */
.weather-current {
    display: flex;
    align-items: center;
    gap: 18px;
}

.weather-icon-wrap {
    font-size: 42px;
    line-height: 1;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.2));
    animation: weatherPulse 3s ease-in-out infinite;
}

@keyframes weatherPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

.weather-main {
    display: flex;
    flex-direction: column;
}

.weather-temp {
    font-size: 2.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    letter-spacing: -1px;
}

.weather-temp span {
    font-size: 1.2rem;
    font-weight: 400;
    opacity: .7;
}

.weather-desc {
    font-size: .85rem;
    color: rgba(255,255,255,.7);
    font-weight: 500;
    margin-top: 2px;
}

.weather-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 18px;
    border-left: 1px solid rgba(255,255,255,.1);
}

.weather-details span {
    font-size: .78rem;
    color: rgba(255,255,255,.6);
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.weather-details i {
    color: var(--accent-color);
    width: 14px;
    text-align: center;
    font-size: 11px;
}

/* Konum */
.weather-location {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 50px;
    backdrop-filter: blur(4px);
}

.weather-location i {
    color: var(--accent-color);
    font-size: 14px;
}

.weather-location span {
    font-size: .82rem;
    color: rgba(255,255,255,.8);
    font-weight: 600;
    white-space: nowrap;
}

/* 3 Günlük Tahmin */
.weather-forecast {
    display: flex;
    gap: 6px;
}

.forecast-day {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255,255,255,.05);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.06);
    min-width: 72px;
    transition: background .2s;
}

.forecast-day:hover {
    background: rgba(255,255,255,.1);
}

.forecast-name {
    font-size: .7rem;
    font-weight: 700;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.forecast-day > i {
    font-size: 18px;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.2));
}

.forecast-temps {
    display: flex;
    gap: 6px;
    align-items: baseline;
}

.forecast-temps strong {
    font-size: .88rem;
    font-weight: 700;
    color: #fff;
}

.forecast-temps small {
    font-size: .75rem;
    color: rgba(255,255,255,.45);
}

/* Weather Responsive */
@media (max-width: 1024px) {
    .weather-inner {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 16px 0;
    }
    .weather-location {
        order: -1;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .weather-current {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }
    .weather-details {
        border-left: none;
        padding-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,.08);
    }
    .weather-icon-wrap {
        font-size: 36px;
    }
    .weather-temp {
        font-size: 2rem;
    }
    .weather-forecast {
        gap: 4px;
    }
    .forecast-day {
        padding: 8px 12px;
        min-width: 62px;
    }
}

@media (max-width: 480px) {
    .weather-forecast {
        width: 100%;
        justify-content: center;
    }
    .forecast-day {
        flex: 1;
        min-width: 0;
        padding: 8px 6px;
    }
}

/* ===== STATS SECTION ===== */
.stats {
    padding: 50px 0;
    background: var(--white);
}

.stat-card {
    position: relative;
}

.stat-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4caf50;
    border-radius: 50%;
    position: absolute;
    top: 16px;
    right: 16px;
    box-shadow: 0 0 6px rgba(76,175,80,.5);
    animation: livePulse 2s ease-in-out infinite;
}

.stat-live-dot::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(76,175,80,.3);
    animation: livePulseRing 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

@keyframes livePulseRing {
    0%, 100% { transform: scale(1); opacity: .6; }
    50% { transform: scale(1.5); opacity: 0; }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 20px;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow);
}

.stat-card i {
    font-size: 48px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.stat-card p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 50px 0;
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.lead {
    font-size: 1.2rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 500;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    margin-top: 20px;
}

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

.about-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow);
}

.about-badge i {
    color: var(--accent-color);
    font-size: 24px;
}

/* ===== FEATURED MEMBERS ===== */
.featured-members {
    padding: 50px 0 30px;
    background: var(--white);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* Members Slider */
.members-slider-wrap {
    margin-top: 20px;
    padding: 0 50px;
}
.members-slider-wrap .swiper {
    overflow: hidden;
    padding-bottom: 50px;
}
.members-slider-wrap .swiper-slide {
    height: auto;
}
.members-slider-wrap .swiper-slide .member-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}
.members-slider-wrap .swiper-button-prev,
.members-slider-wrap .swiper-button-next {
    width: 44px;
    height: 44px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
    top: 45%;
}
.members-slider-wrap .swiper-button-prev:hover,
.members-slider-wrap .swiper-button-next:hover {
    background: var(--primary-color);
    box-shadow: 0 6px 20px rgba(45,80,22,0.3);
}
.members-slider-wrap .swiper-button-prev::after {
    content: '❮';
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    transition: color 0.3s;
    font-family: inherit;
}
.members-slider-wrap .swiper-button-next::after {
    content: '❯';
    font-size: 18px;
    font-weight: 900;
    color: var(--primary-color);
    transition: color 0.3s;
    font-family: inherit;
}
.members-slider-wrap .swiper-button-prev:hover::after,
.members-slider-wrap .swiper-button-next:hover::after {
    color: #fff;
}
.members-slider-wrap .swiper-button-prev {
    left: 0;
}
.members-slider-wrap .swiper-button-next {
    right: 0;
}
.members-slider-wrap .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 10px;
    height: 10px;
    transition: all 0.3s;
}
.members-slider-wrap .swiper-pagination-bullet-active {
    opacity: 1;
    width: 28px;
    border-radius: 5px;
    background: var(--accent-color);
}
@media (max-width: 768px) {
    .members-slider-wrap {
        padding: 0 10px;
    }
    .members-slider-wrap .swiper-button-prev,
    .members-slider-wrap .swiper-button-next {
        display: none;
    }
}

.member-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.member-image {
    position: relative;
    height: 320px;
    overflow: hidden;
}

/* Yalnızca gerçek kapak fotoğrafı kırpılarak yerleştirilir.
   Bu kural eskiden kapağın içindeki küçük dernek logosunu da yakalıyor,
   logoyu kartın eninde bulanık bir şerite dönüştürüyordu. */
.member-image .cover-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: var(--transition);
}

.member-card:hover .member-image .cover-photo {
    transform: scale(1.1);
}

/* Kendi görseli olmayan üye: markalı zemin + dernek logosu rozeti */
.member-image .cover-plate {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(140deg, #1f3d0d 0%, #3f6b18 48%, #6b8e23 100%);
}

.member-image .cover-plate::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 24% 20%, rgba(255,255,255,.16), transparent 46%),
        radial-gradient(circle at 80% 82%, rgba(249,212,35,.13), transparent 52%);
}

.member-image .cover-logo {
    position: relative;
    width: 148px;
    height: 128px;
    object-fit: contain;
    padding: 11px;
    background: rgba(255,255,255,.96);
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,.30);
    transition: transform .45s;
}

.member-card:hover .member-image .cover-logo {
    transform: scale(1.06);
}

.member-image .cover-initials {
    position: relative;
    font-family: 'Playfair Display', serif;
    font-size: 3.4rem;
    font-weight: 800;
    color: rgba(255,255,255,.92);
    letter-spacing: 3px;
}

.member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45,80,22,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.member-card:hover .member-overlay {
    opacity: 1;
}

.btn-view {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: var(--transition);
}

.btn-view:hover {
    transform: scale(1.1);
}

.member-info {
    padding: 25px;
}

.member-info h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.member-info p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.member-link {
    color: var(--accent-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.member-link:hover {
    color: var(--primary-color);
}

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 50px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
}

.cta-content {
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.footer-logo {
    height: 55px;
    width: 55px;
    object-fit: contain;
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    padding: 4px;
}

.footer-logo-icon {
    font-size: 36px;
    color: var(--accent-color);
}

.footer-brand-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
}

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

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

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

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-info i {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
}

.text-center {
    text-align: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    /* Uzun dernek adı 'white-space:nowrap' + 'flex-shrink:0' yüzünden
       hamburger butonunu ekranın dışına itiyor, mobilde menüye
       ulaşılamıyor ve sayfa yatay kayıyordu. */
    .nav-wrapper { gap: 10px; }

    .logo {
        margin-right: 0;
        min-width: 0;
        flex: 1 1 auto;
        white-space: normal;
        gap: 8px;
    }

    .logo img { height: 40px; max-width: 40px; }

    .logo span {
        font-size: 0.92rem;
        line-height: 1.25;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        min-width: 0;
    }

    .logo i { font-size: 26px; }

    .hamburger {
        flex: 0 0 auto;
        display: flex;
        min-width: 44px;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 8px;
        -webkit-tap-highlight-color: transparent;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
        gap: 8px;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-menu li {
        width: 80%;
        text-align: center;
    }
    
    .nav-menu a {
        display: block;
        padding: 14px 20px;
        min-height: 44px;
        font-size: 1rem;
        border-radius: 12px;
    }
    
    .nav-menu a:hover,
    .nav-menu a.active {
        background: rgba(143,188,63,0.08);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .btn-login {
        margin-top: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-image {
        max-width: 100%;
        overflow: hidden;
    }
    
    .about-image img {
        height: 280px;
        width: 100%;
    }
    
    .about-badge {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .about-badge i {
        font-size: 18px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 25px 15px;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-card i {
        font-size: 36px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-col ul li {
        margin-bottom: 4px;
    }
    
    .footer-col ul li a {
        display: inline-block;
        padding: 8px 0;
        min-height: 44px;
        line-height: 28px;
    }
    
    .social-links a {
        width: 44px;
        height: 44px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-title-main {
        font-size: 2rem;
    }
    
    .section-subtitle,
    .section-subtitle-main {
        font-size: 1rem;
    }
    
    .announcement-image,
    .event-image {
        height: 200px;
    }
    
    .announcement-title,
    .event-title {
        font-size: 1.2rem;
    }
    
    .announcement-content,
    .event-content {
        padding: 20px;
    }
    
    .hero {
        background-attachment: scroll;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
    
    .members-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .member-image {
        height: 260px;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* AOS Animation */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* ========== DUYURULAR & ETKİNLİKLER (Ana Sayfa) ========== */

.section-header-main {
    text-align: center;
    margin-bottom: 35px;
}

.section-icon-main {
    font-size: 55px;
    color: var(--accent-color);
    margin-bottom: 15px;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.section-title-main {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title-main::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color) 0%, #f9d423 100%);
    border-radius: 2px;
}

.section-subtitle-main {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-top: 18px;
}

.announcements-section {
    padding: 40px 0 50px;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
}

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

.announcement-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.announcement-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.2);
}

.announcement-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.announcement-card:hover .announcement-image img {
    transform: scale(1.1);
}

.announcement-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.announcement-badge-genel {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.announcement-badge-toplanti {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.announcement-badge-onemli {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.announcement-badge-etkinlik {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.featured-star {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #f9d423 0%, #e8b91f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 5px 20px rgba(249,212,35,0.4);
    animation: rotate-star 3s linear infinite;
}

@keyframes rotate-star {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.announcement-content {
    padding: 30px;
}

.announcement-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.announcement-date {
    font-size: 0.9rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-date i {
    color: var(--accent-color);
}

.announcement-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.announcement-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.announcement-title a:hover {
    color: var(--accent-color);
}

.announcement-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.announcement-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.announcement-link:hover {
    gap: 15px;
}

.announcement-link i {
    transition: transform 0.3s ease;
}

.announcement-link:hover i {
    transform: translateX(5px);
}

.events-section {
    padding: 40px 0 50px;
    background: white;
}

/* GEÇMİŞ ETKİNLİKLER */
.past-events-section {
    padding: 40px 0 50px;
    background: linear-gradient(180deg, #fff 0%, #f8f9fa 100%);
}

.past-event-card .event-image {
    position: relative;
    overflow: hidden;
}

.event-overlay-past {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, transparent 40%);
    pointer-events: none;
}

.event-date-past {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    padding: 12px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.event-date-past i {
    color: var(--accent-color);
}

.past-event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f9d423, #e8b91f);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(249,212,35,0.4);
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta-past {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 15px;
    border-top: 2px solid #f0f0f0;
}

.event-meta-past span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-meta-past i {
    color: var(--accent-color);
}

.event-link-past {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, #8e44ad, #9b59b6);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(142,68,173,0.3);
}

.event-link-past:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(142,68,173,0.5);
    gap: 15px;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 100%;
}

.event-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.event-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.event-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 10;
    background: white;
    width: 70px;
    height: 80px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.event-day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-color);
    line-height: 1;
}

.event-month {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-transform: uppercase;
    margin-top: 5px;
}

.event-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

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

.event-card:hover .event-image img {
    transform: scale(1.15) rotate(2deg);
}

.event-category {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.event-category-egitim {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.event-category-seminer {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.event-category-tarim {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.event-category-sosyal {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

.event-category-yarismalar {
    background: linear-gradient(135deg, #f39c12 0%, #e74c3c 100%);
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: linear-gradient(135deg, #f9d423 0%, #e8b91f 100%);
    color: var(--text-color);
    padding: 8px 45px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 5px 20px rgba(249,212,35,0.4);
}

.event-content {
    padding: 30px;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.event-title a {
    color: var(--text-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.event-title a:hover {
    color: var(--accent-color);
}

.event-summary {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 20px;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
    padding-top: 20px;
    border-top: 2px solid #f0f0f0;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.event-meta i {
    color: var(--accent-color);
    font-size: 1rem;
}

.event-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, var(--primary-color) 100%);
    color: white;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(143,188,63,0.3);
}

.event-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(143,188,63,0.5);
    gap: 15px;
}

.no-content {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-light);
}

.no-content i {
    font-size: 100px;
    color: #ddd;
    margin-bottom: 20px;
}

.no-content p {
    font-size: 1.2rem;
}

/* Tablet */
@media (max-width: 1024px) {
    .announcements-grid,
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

/* Mobil */
@media (max-width: 768px) {
    .section-title-main {
        font-size: 2rem;
    }
    
    .announcements-grid,
    .events-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .event-date-badge {
        width: 60px;
        height: 70px;
    }
    
    .event-day {
        font-size: 1.5rem;
    }
    
    .event-month {
        font-size: 0.8rem;
    }
}

/* Küçük Telefon */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 1.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .stat-number {
        font-size: 1.6rem;
    }
    
    .stat-card {
        padding: 20px 10px;
    }
    
    .stat-card i {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .about-section,
    .featured-members,
    .announcements-section,
    .past-events-section,
    .cta-section {
        padding: 35px 0;
    }
    
    .section-header-main {
        margin-bottom: 30px;
    }
    
    .section-icon-main {
        font-size: 40px;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .member-info {
        padding: 18px;
    }
    
    .member-info h3 {
        font-size: 1.1rem;
    }
}

/* ═══════════════════════════════════════════════════ */
/* DUAL SECTION — Duyurular & Etkinlikler Yan Yana    */
/* ═══════════════════════════════════════════════════ */

.dual-section {
    padding: 50px 0;
    background: linear-gradient(180deg, #f8faf5 0%, #fff 100%);
}

.dual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px;
    align-items: stretch;
}

.dual-column {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
}

/* Dual Header */
.dual-header {
    text-align: center;
    margin-bottom: 25px;
}

.dual-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    box-shadow: 0 4px 12px rgba(45,80,22,.2);
}

.dual-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 6px;
}

.dual-subtitle {
    font-size: .88rem;
    color: #888;
    font-weight: 400;
}

/* Dual Cards */
.dual-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.dual-card {
    display: flex;
    gap: 15px;
    background: #fafbfc;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #eee;
    transition: all .3s ease;
    flex: 1;
    min-height: 130px;
}

.dual-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,.08);
    border-color: var(--accent-color);
}

.dual-card-image {
    position: relative;
    width: 130px;
    min-height: 130px;
    flex-shrink: 0;
    overflow: hidden;
}

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

.dual-card-body {
    padding: 14px 14px 14px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
    min-width: 0;
}

.dual-card-date {
    font-size: .75rem;
    color: #999;
    margin-bottom: 5px;
    display: block;
}

.dual-card-date i {
    margin-right: 4px;
    color: var(--accent-color);
}

.dual-card-title {
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}

.dual-card-title a {
    color: var(--dark-color);
    text-decoration: none;
    transition: color .2s;
}

.dual-card-title a:hover {
    color: var(--primary-color);
}

.dual-card-summary {
    font-size: .82rem;
    color: #777;
    line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.dual-card-meta {
    font-size: .78rem;
    color: #999;
    margin-bottom: 6px;
}

.dual-card-meta i {
    color: var(--accent-color);
    margin-right: 3px;
}

.dual-card-link {
    font-size: .82rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    transition: all .2s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dual-card-link:hover {
    color: var(--secondary-color);
    gap: 8px;
}

.dual-card-link.event-link-color {
    color: var(--secondary-color);
}

.dual-card-link.event-link-color:hover {
    color: var(--primary-color);
}

/* Badge pozisyonları dual-card-image içinde */
.dual-card-image .announcement-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: .65rem;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
}

.dual-card-image .featured-star {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.dual-card-image .event-overlay-past {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 10px;
    background: linear-gradient(transparent, rgba(0,0,0,.7));
}

.dual-card-image .event-date-past {
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
}

.dual-card-image .event-date-past i {
    margin-right: 4px;
}

/* Temel .event-category kuralı 'bottom:20px; right:20px' veriyor.
   Burada yalnızca top/left ezildiği için dört kenar da tanımlı kalıyor ve
   rozet, küçük kartın neredeyse tamamını kaplayan renkli bir bloğa
   dönüşüyordu. bottom/right sıfırlandı. */
.dual-card-image .event-category {
    position: absolute;
    top: 8px;
    left: 8px;
    right: auto;
    bottom: auto;
    width: auto;
    max-width: calc(100% - 16px);
    font-size: .65rem;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.4;
    white-space: nowrap;
    z-index: 2;
}

.dual-card-image .past-event-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: .6rem;
    padding: 3px 8px;
    border-radius: 6px;
    z-index: 2;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    font-weight: 700;
}

/* ═══ DUAL SECTION RESPONSIVE ═══ */

@media (max-width: 1024px) {
    .dual-grid {
        gap: 25px;
    }
    .dual-column {
        padding: 22px;
    }
    .dual-card-image {
        width: 110px;
        min-height: 110px;
    }
    .dual-card-title {
        font-size: .88rem;
    }
}

@media (max-width: 768px) {
    .dual-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    .dual-section {
        padding: 35px 0;
    }
    .dual-column {
        padding: 20px;
    }
    .dual-card-image {
        width: 120px;
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .dual-card {
        flex-direction: column;
    }
    .dual-card-image {
        width: 100%;
        min-height: 160px;
        max-height: 180px;
    }
    .dual-card-body {
        padding: 14px;
    }
    .dual-column {
        padding: 16px;
    }
}

/* ===== PARALLAX HERO ===== */
.hero-parallax {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    will-change: transform;
}
@supports (-webkit-touch-callout: none) {
    .hero-parallax { background-attachment: scroll; }
}

/* ===== 3D CARD HOVER ===== */
.card-3d {
    perspective: 1200px;
}
.card-3d-inner {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
    will-change: transform;
}
.card-3d:hover .card-3d-inner {
    transform: rotateY(3deg) rotateX(2deg) translateZ(10px);
    box-shadow: -8px 12px 40px rgba(0,0,0,0.12);
}

/* 3D hover on existing card types */
.member-card,
.ann-card,
.ev-card,
.bilgi-card,
.dual-card {
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    transform-style: preserve-3d;
}
.member-card:hover,
.ann-card:hover,
.ev-card:hover,
.bilgi-card:hover,
.dual-card:hover {
    transform: translateY(-8px) rotateX(1deg) rotateY(-1deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.12), 0 4px 16px rgba(0,0,0,0.06);
}

/* ===== TYPOGRAPHY ENHANCEMENTS ===== */
body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.section-title {
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    letter-spacing: 0.01em;
    line-height: 1.6;
}

p, .about-text, .bio-text, .ann-card p, .ev-card p, .bilgi-card p {
    line-height: 1.8;
    letter-spacing: 0.005em;
}

/* Better heading hierarchy */
h1 { line-height: 1.15; letter-spacing: -0.025em; }
h2 { line-height: 1.2; letter-spacing: -0.02em; }
h3 { line-height: 1.3; letter-spacing: -0.015em; }
h4 { line-height: 1.35; letter-spacing: -0.01em; }

/* Selection color */
::selection {
    background: rgba(143, 188, 63, 0.25);
    color: var(--primary-color);
}

/* ===== SMOOTH SCROLL ===== */
html {
    scroll-behavior: smooth;
}

/* ===== IMAGE RENDERING ===== */
img {
    image-rendering: auto;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ===== LINK UNDERLINE ANIMATION ===== */
.nav-menu a {
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease, left 0.3s ease;
    border-radius: 2px;
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
    left: 0;
}

/* ===== FOCUS RING ON INTERACTIVE ELEMENTS ===== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
    .member-card:hover,
    .ann-card:hover,
    .ev-card:hover,
    .bilgi-card:hover,
    .dual-card:hover {
        transform: none;
    }
    .card-3d:hover .card-3d-inner {
        transform: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== DİL DEĞİŞTİRME ===== */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-light);
    background: transparent;
    border: 1.5px solid transparent;
    transition: all 0.3s;
}

.lang-btn:hover {
    background: rgba(143, 188, 63, 0.1);
    border-color: var(--accent-color);
    color: var(--primary-color);
}

.lang-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.lang-flag {
    font-size: 1rem;
    line-height: 1;
}

.lang-label {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    /* Navbar'da hamburger ile yan yana duruyor; kompakt olmalı.
       'margin-top' flex satırında hizayı bozuyordu. */
    .lang-switcher {
        margin-left: 0;
        flex: 0 0 auto;
    }

    .lang-btn { padding: 6px 8px; }
    .lang-label { display: none; }
}

@media (max-width: 380px) {
    .logo span { font-size: 0.82rem; }
    .logo img { height: 34px; max-width: 34px; }
}
