/* Bebek Rotary Kulübü - Ana Stil */

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

html {
    scroll-behavior: smooth;
}

/* Hareket azaltma tercihi olan kullanıcılar için anında geçiş */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}

:root {
    --primary-blue: #17458f;
    --primary-gold: #f7a81b;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-light);
}

/* ============================================================
   🔒 KİLİTLİ BÖLÜM — MENU-BAR · MENU-ITEM · HERO
   ------------------------------------------------------------
   Bu bölümdeki ölçüler ve konum HER sayfada sabittir.
   Menü markup'ı partials.js'ten tek kaynaktan gelir.
   Buradaki değerleri DEĞİŞTİRMEDEN ÖNCE ONAY ALIN.
   (Yalnızca .hero içindeki METİN sayfaya göre değişebilir.)

   Sürüm 2 — 15.07.2026: Ayrı beyaz header kaldırıldı; logo ve
   üye girişi tek satır beyaz menü barına taşındı (oylama: "B").
   Gradyan kimliği alt çizgide korunur. Üye girişi DÜZ LACİVERT.
   ============================================================ */

/* MENÜ BARI — tek satır: logo | menü | üye girişi */
.menu-bar {
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 0 30px;
    min-height: 68px;
    position: relative;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--primary-blue), var(--primary-gold)) 1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.logo-section {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo-image {
    height: 44px;
    width: auto;
    display: block;
}

/* Dönen Rotary çarkı: logo-text.png üstüne, çarkın orijinal konumuna hizalı.
   Yüzdeler 874×352 logodaki çark merkezinden (732,187) hesaplandı → her ölçekte hizalı.
   (Ali'nin isteğiyle eklendi 16.07.2026 — logo kilitli bölüm.) */
.logo-wrap {
    position: relative;
    display: inline-block;
    line-height: 0;
}

.logo-gear {
    position: absolute;
    left: 67.7%;
    top: 13.3%;
    width: 32%;
    height: auto;
    transform-origin: 50% 50%;
    animation: rotarySpin 9s linear infinite;
    pointer-events: none;
}

@keyframes rotarySpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* Hareket azaltma tercihi olan kullanıcılar için çark dönmez */
@media (prefers-reduced-motion: reduce) {
    .logo-gear { animation: none; }
}

/* ÜYE GİRİŞİ — düz lacivert (gradyan değil) */
.login-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.login-btn:hover {
    background: #0d2d5f;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--primary-blue);
    transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

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

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.menu-container {
    list-style: none;
    display: flex;
    gap: 0.25rem;
    justify-content: center;
    flex: 1;
    margin: 0;
    padding: 0;
}

.menu-item {
    position: relative;
    display: flex;
}

.menu-item > a {
    display: block;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    padding: 10px 14px;
    border-radius: 6px;
    white-space: nowrap;
    transition: background 0.3s;
}

.menu-item > a:hover {
    background: var(--bg-light);
}

.menu-item.open > a {
    background: var(--bg-light);
}

/* Aktif sayfanın menü linki */
.menu-container a.active-page {
    background: var(--bg-light);
    font-weight: 700;
    box-shadow: inset 0 -2px 0 var(--primary-gold);
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    list-style: none;
    min-width: 240px;
    display: none;
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.15);
    overflow: hidden;
    z-index: 10;
}

.menu-item.open .dropdown {
    display: block !important;
}

.dropdown li {
    border-bottom: 1px solid var(--border-color);
}

.dropdown li:last-child {
    border-bottom: none;
}

.dropdown a {
    color: var(--primary-blue);
    font-size: 13.5px;
    text-decoration: none;
    display: block;
    padding: 12px 20px;
    transition: background 0.3s;
}

.dropdown a:hover {
    background: var(--primary-gold);
    color: var(--primary-blue);
}


/* HERO */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d2d5f 100%);
    color: white;
    padding: 80px 30px;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* ==================== 🔒 KİLİTLİ BÖLÜM SONU ==================== */

/* ============================================================
   ALT SAYFA İÇERİĞİ (anasayfa hariç) — DÜZ / TAM GENİŞLİK
   Her sayfa hero'nun altında bu sarmalayıcıyı kullanır;
   içindeki tasarım sayfaya göre serbesttir.
   ============================================================ */
.page-content {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-content .content-section {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 2rem;
    margin-bottom: 2rem;
}

.page-content .section-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    border-bottom: 3px solid var(--primary-gold);
    padding-bottom: 1rem;
    margin: 0 0 1.5rem;
}

.page-content .content-section p {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin: 0 0 1rem;
}

.page-content .content-section p:last-child {
    margin-bottom: 0;
}

.page-content .content-section .sub-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 1.75rem 0 0.75rem;
}

.page-content .content-section ul {
    margin: 0 0 1rem 1.25rem;
}

.page-content .content-section li {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 0.4rem;
}

@media (max-width: 768px) {
    .page-content {
        padding: 0 15px;
    }
    .page-content .content-section {
        padding: 1.5rem;
    }
    .page-content .section-title {
        font-size: 18px;
    }
}

/* ============================================================
   KİŞİ KARTLARI (Başkanlar / Yönetim / Üyeler için ortak)
   ============================================================ */
.person-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2.5rem 2rem;
}

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

.person-photo,
.person-initials {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid var(--primary-gold);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
}

.person-photo {
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

/* Orijinal renkleriyle kalması gereken portreler (ör. UR liderleri) */
.person-photo.natural {
    filter: none;
}

.person-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 44px;
    font-weight: 600;
}

.person-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.5rem;
}

.person-terms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
}

.person-term {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-blue);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
}

/* Güncel (görevdeki) başkan vurgusu */
.person-card.current .person-photo,
.person-card.current .person-initials {
    border-color: var(--primary-blue);
    border-width: 4px;
}

.person-card.current .person-term {
    background: var(--primary-blue);
    color: #fff;
}

.person-current-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.35rem;
}

.person-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-top: 0.85rem;
    border-radius: 8px;
    background: #0A66C2;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.person-linkedin svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.person-linkedin:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(10,102,194,0.4);
}

@media (max-width: 768px) {
    .person-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.75rem 1rem;
    }
    .person-photo,
    .person-initials {
        width: 110px;
        height: 110px;
    }
    .person-initials {
        font-size: 36px;
    }
}

/* ============================================================
   BÖLGE YÖNETİMİ KARTLARI (yatay fotoğraf — çiftler için uygun)
   ============================================================ */
.leader-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.5rem;
}

.leader-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.leader-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Fotoğraflar 3:2 — kart da 3:2, dolayısıyla kırpma olmaz; çiftler bütün kalır */
.leader-photo {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    display: block;
    background: var(--bg-light);
}

.leader-body {
    padding: 1.15rem 1.25rem 1.35rem;
    text-align: center;
}

.leader-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.35rem;
    line-height: 1.35;
}

.leader-title {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.45;
    margin: 0 0 0.7rem;
}

.leader-term {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 20px;
}

/* ---- 3. Grup Kulüpleri ---- */
.club-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.club-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem 1.15rem;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.club-list li::before {
    content: "⚙";
    color: var(--primary-gold);
    font-size: 16px;
}

/* Kendi kulübümüz */
.club-list li.ours {
    background: linear-gradient(135deg, rgba(23,69,143,0.06), rgba(247,168,27,0.1));
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
}

.club-list li.ours::before {
    color: var(--primary-blue);
}

/* ============================================================
   PROJELER SAYFASI
   ============================================================ */

/* Solda dönem menüsü + sağda projeler.
   .page-content.wide → menü için ekstra genişlik (normalde 1000px) */
.page-content.wide {
    max-width: 1180px;
}

.projects-layout {
    display: grid;
    grid-template-columns: 190px 1fr;
    gap: 2rem;
    align-items: start;
}

.period-nav {
    position: sticky;
    top: 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.25rem 1rem;
}

.period-nav-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-light);
    margin: 0 0 0.75rem 10px;
}

.period-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.period-nav li {
    margin: 0;
}

.period-nav a {
    display: block;
    padding: 9px 10px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    text-decoration: none;
    transition: background 0.2s;
}

.period-nav a:hover {
    background: var(--bg-light);
}

/* Görüntülenen dönem — script.js işaretler */
.period-nav a.current {
    background: var(--bg-light);
    box-shadow: inset 3px 0 0 var(--primary-gold);
}

.projects-main .content-section {
    scroll-margin-top: 20px;
}

/* Dar ekran: menü yana değil, üste yatay şerit olarak geçer */
@media (max-width: 900px) {
    .projects-layout {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .period-nav {
        position: static;
        padding: 1rem;
    }

    .period-nav-title {
        margin-left: 0;
    }

    .period-nav ul {
        display: flex;
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .period-nav a {
        padding: 7px 12px;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        font-size: 13px;
    }

    .period-nav a.current {
        box-shadow: none;
        background: var(--primary-blue);
        border-color: var(--primary-blue);
        color: #fff;
    }
}

.project-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.75rem;
    margin-bottom: 1.5rem;
}

.project-card:last-child {
    margin-bottom: 0;
}

/* Görselli kart: fotoğraf solda, metin sağda (fotoğrafsız kartlar da çalışır) */
.project-head {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.project-photo {
    width: 280px;
    flex-shrink: 0;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--bg-light);
}

.project-body {
    flex: 1;
    min-width: 0;
}

.project-head .project-desc {
    margin-bottom: 0;
}

.project-tag {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-blue);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 0.85rem;
}

.project-tag.blue {
    background: var(--primary-blue);
    color: #fff;
}

.project-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.75rem;
    line-height: 1.35;
}

.project-desc {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}

.project-details {
    list-style: none;
    margin: 0;
    padding: 1.15rem 0 0;
    border-top: 1px dashed var(--border-color);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 0.85rem 1.5rem;
}

.project-details li {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.5;
    margin: 0;
}

.project-details .pd-icon {
    font-size: 16px;
    line-height: 1.3;
}

.project-details .pd-label {
    font-weight: 600;
    color: var(--primary-blue);
}

/* ============================================================
   ROTARY AYLARI SAYFASI
   ============================================================ */
.months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.25rem;
}

.month-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    text-align: center;
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.month-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.month-icon {
    font-size: 34px;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.month-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 0.4rem;
}

.month-theme {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-blue);
    line-height: 1.4;
    margin: 0;
}

/* İçinde bulunulan ay */
.month-card.current {
    border: 2px solid var(--primary-blue);
    background: linear-gradient(135deg, rgba(23,69,143,0.04), rgba(247,168,27,0.08));
}

.month-card.current .current-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-blue);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    padding: 3px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

/* ============================================================
   KOMİTELER SAYFASI
   ============================================================ */
.committee-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.committee {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    padding: 1.5rem;
}

.committee-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-gold);
}

.members {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 1.5rem;
}

.member {
    text-align: center;
    min-width: 108px;
}

/* Kişi görseli — başkanlar sayfasıyla aynı dil */
.cm-photo,
.cm-initials {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    border: 3px solid var(--primary-gold);
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-gold));
    margin: 0 auto 0.6rem;
}

.cm-photo {
    object-fit: cover;
    display: block;
    filter: grayscale(100%);
}

.cm-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    font-weight: 600;
}

.cm-photo.sm,
.cm-initials.sm {
    width: 68px;
    height: 68px;
}

.cm-initials.sm {
    font-size: 22px;
}

.member-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 0.4rem;
}

.member-li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: #0A66C2;
    color: #fff;
    transition: transform 0.2s, box-shadow 0.2s;
}

.member-li svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
}

.member-li:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(10,102,194,0.4);
}

/* Alt komiteler */
.subcommittees {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.sub-label {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.sub {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
}

.sub:last-child {
    margin-bottom: 0;
}

.sub-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0 0 0.75rem;
}

@media (max-width: 768px) {
    .committee-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   İLETİŞİM SAYFASI
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.contact-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 1.25rem;
}

.contact-row .ci-icon {
    font-size: 20px;
    line-height: 1.4;
    min-width: 28px;
    text-align: center;
}

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

.contact-social {
    display: flex;
    gap: 12px;
    margin-top: 0.5rem;
}

/* FORM */
.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.contact-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 6px;
}

.contact-form .field {
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
}

.contact-form textarea {
    min-height: 130px;
    resize: vertical;
}

.contact-form .submit-btn {
    background: linear-gradient(90deg, var(--primary-blue) 0%, var(--primary-gold) 100%);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.contact-form .submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.cta-box {
    background: linear-gradient(135deg, var(--primary-blue) 0%, #0d2d5f 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.cta-box h3 {
    font-size: 20px;
    margin-bottom: 0.5rem;
}

.cta-box p {
    opacity: 0.9;
    margin-bottom: 1.25rem;
    color: #fff !important;
}

.cta-box .cta-btn {
    display: inline-block;
    background: var(--primary-gold);
    color: var(--primary-blue);
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-box .cta-btn:hover {
    transform: translateY(-2px);
}

/* buton olarak kullanıldığında da aynı görünsün (iletisim: Başvuru Formunu Aç) */
button.cta-btn {
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
}

/* Takvimde Rotary ay teması — ay başlığının altında, tüm ayı kapsar (index.html) */
.calendar-rotary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(90deg, rgba(23, 69, 143, 0.08), rgba(247, 168, 27, 0.14));
    border: 1px solid rgba(23, 69, 143, 0.12);
    border-radius: 20px;
    padding: 6px 12px;
    margin-bottom: 0.85rem;
    text-align: center;
}

.cal-rotary-ikon {
    font-size: 14px;
    line-height: 1;
}

.cal-rotary-metin {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ===== ETKİNLİKLER SAYFASI (etkinlikler.html) =====
   Not: Düzenli kulüp toplantıları bu sayfada GÖSTERİLMEZ (bilerek) —
   yalnızca etkinlikler.json'daki özel etkinlikler listelenir. */
.etk-kart {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-left: 4px solid var(--primary-gold);
    border-radius: 10px;
    padding: 1.25rem;
    margin-bottom: 1rem;
    transition: box-shadow 0.2s, transform 0.2s;
}

.etk-kart:hover {
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.etk-kart.gecmis {
    border-left-color: #c9ced6;
    background: #fcfcfd;
}

.etk-tarih {
    flex-shrink: 0;
    width: 68px;
    text-align: center;
    background: var(--primary-blue);
    color: #fff;
    border-radius: 8px;
    padding: 10px 4px 8px;
    line-height: 1.1;
}

.etk-kart.gecmis .etk-tarih {
    background: #7a8290;
}

.etk-gun {
    display: block;
    font-size: 26px;
    font-weight: 700;
}

.etk-ay {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.etk-yil {
    display: block;
    font-size: 11px;
    opacity: 0.75;
    margin-top: 3px;
}

.etk-govde {
    flex: 1;
    min-width: 0;
}

.etk-baslik {
    color: var(--primary-blue);
    font-size: 18px;
    margin: 0 0 0.5rem;
}

.etk-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    margin-bottom: 0.6rem;
}

.etk-meta-oge {
    font-size: 13px;
    color: var(--text-light);
}

.etk-aciklama {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.etk-gorsel {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.etk-bos {
    text-align: center;
    color: var(--text-light);
    padding: 1.5rem 1rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 15px;
}

@media (max-width: 640px) {
    .etk-kart { flex-wrap: wrap; gap: 0.9rem; }
    .etk-gorsel { width: 100%; height: 180px; order: 3; }
}

/* ===== DESTEKÇİLERİMİZ KARUSELİ (index.html) =====
   Otomatik kayar (CSS animasyon), üzerine gelince durur.
   Liste boşsa bölüm JS tarafından hiç gösterilmez. */
.partners-section {
    max-width: 1200px;
    margin: 2.5rem auto 1.5rem;
    padding: 0 20px;
}

.partners-title {
    color: var(--primary-blue);
    font-size: 22px;
    text-align: center;
    margin-bottom: 1.25rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-gold);
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.partners-marquee {
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 1.1rem 0;
    /* kenarlarda yumuşak solma */
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}

.partners-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: partnersScroll 30s linear infinite;
}

.partners-marquee:hover .partners-track {
    animation-play-state: paused; /* logo üstüne gelince durur */
}

@keyframes partnersScroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); } /* içerik 2 kopya → yarısı = tam tur */
}

.partner-logo {
    display: block;
    margin-right: 4rem;
    flex-shrink: 0;
}

.partner-logo img {
    height: 64px;
    max-width: 190px;
    object-fit: contain;
    display: block;
    filter: grayscale(100%);
    opacity: 0.75;
    transition: filter 0.25s, opacity 0.25s, transform 0.25s;
}

.partner-logo:hover img {
    filter: none;
    opacity: 1;
    transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
    .partners-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

@media (max-width: 768px) {
    .partner-logo { margin-right: 2.2rem; }
    .partner-logo img { height: 48px; max-width: 140px; }
}

/* İletişim formu sonuç mesajı (AJAX — sayfada kalır) */
.form-sonuc {
    margin-top: 1rem;
    padding: 12px 14px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
}

.form-sonuc.ok {
    background: #e8f5e9;
    color: #2e7d32;
    border-left: 4px solid #4caf50;
}

.form-sonuc.hata {
    background: #ffebee;
    color: #c62828;
    border-left: 4px solid #d32f2f;
}

/* ===== ADAY ÜYELİK — ADIM ADIM FORM (iletisim.html) ===== */
.wizard-panel {
    margin-top: 1.25rem;
}

.wizard-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 2rem;
    max-width: 640px;
    margin: 0 auto;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.wizard-progress {
    height: 6px;
    background: #eef1f6;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.wizard-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-gold));
    transition: width 0.3s;
}

.wizard-count {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 0.4rem;
}

.wizard-question {
    font-size: 19px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.wizard-step input[type="text"],
.wizard-step input[type="email"],
.wizard-step input[type="tel"],
.wizard-step input[type="date"],
.wizard-step select,
.wizard-step textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #d5dbe5;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.wizard-step input:focus,
.wizard-step select:focus,
.wizard-step textarea:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(23, 69, 143, 0.1);
}

.wizard-sublabel {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin: 1rem 0 0.4rem;
    font-size: 14px;
}

.wizard-sublabel:first-of-type {
    margin-top: 0;
}

.wizard-not {
    font-size: 13px;
    color: var(--text-light);
    background: var(--bg-light);
    border-radius: 6px;
    padding: 9px 12px;
    margin-bottom: 0.8rem;
}

.wizard-secilen {
    font-size: 13px;
    color: #2e7d32;
    margin-top: 0.5rem;
}

.wizard-kvkk {
    background: var(--bg-light);
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px;
    font-size: 14px;
    color: var(--text-dark);
    line-height: 1.55;
    margin-bottom: 0.9rem;
}

.wizard-check,
.wizard-radio {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    cursor: pointer;
    padding: 10px 12px;
    border: 1px solid #d5dbe5;
    border-radius: 6px;
}

.wizard-izin {
    display: grid;
    gap: 10px;
}

.wizard-check input,
.wizard-radio input {
    margin-top: 3px;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 1.4rem;
}

.wizard-nav .wizard-btn:only-child {
    margin-left: auto;
}

.wizard-btn {
    background: var(--primary-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.wizard-btn:hover {
    background: #0d2d5f;
}

.wizard-btn:disabled {
    opacity: 0.6;
    cursor: default;
}

.wizard-btn.ghost {
    background: none;
    color: var(--primary-blue);
    border: 1px solid #d5dbe5;
}

.wizard-btn.ghost:hover {
    background: var(--bg-light);
}

.wizard-hata {
    color: #c62828;
    background: #ffebee;
    border-left: 3px solid #c62828;
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 14px;
    margin-top: 0.9rem;
}

.wizard-result {
    text-align: center;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 8px;
    padding: 1.5rem;
    font-size: 16px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-grid,
    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .wizard-card {
        padding: 1.25rem;
    }
}

/* CONTAINER */
.container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
}

.card-header {
    background: linear-gradient(90deg, var(--primary-gold) 0%, #e89a0f 100%);
    color: var(--primary-blue);
    padding: 20px;
    font-size: 18px;
    font-weight: 600;
}


.card-body {
    padding: 20px;
}

/* NEWS ITEMS */
/* Haberler proje sayfalarından türetilir; her haber ilgili proje kartına linktir.
   Mobilde (tek sütun) liste olduğu gibi akar, kaydırma yok. */
.news-column > .card {
    display: flex;
    flex-direction: column;
}

/* Çok sütunlu düzende: kart, komşu sütunun sonuna kadar uzar ve orada kaydırmaya başlar.
   Kart 'absolute' — böylece satır yüksekliğini KENDİSİ belirlemez; yükseklik soldaki
   sütunun (son kart: Dönem Projelerimiz) boyundan gelir. Statik yaparsan 18 haber
   satırı uzatır ve hizalama bozulur. */
@media (min-width: 769px) {
    .news-column {
        position: relative;
    }

    .news-column > .card {
        position: absolute;
        inset: 0;
    }

    #news-container {
        flex: 1;
        min-height: 0;
        overflow-y: auto;
    }
}

.news-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    padding: 4px;
    border-radius: 8px;
    transition: background 0.2s;
}

.news-item:hover {
    background: var(--bg-light);
}

.news-ayirac {
    border-bottom: 1px solid #e8e8e8;
    margin: 0.9rem 0;
}

.news-thumb {
    width: 72px;
    height: 72px;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background: var(--bg-light);
}

.news-image {
    font-size: 40px;
    min-width: 72px;
    text-align: center;
    flex-shrink: 0;
}

.news-content {
    flex: 1;
}

.news-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.news-date {
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 10px;
}

.news-text {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* PROJECTS */
.project-list {
    list-style: none;
}

.project-list li {
    padding: 10px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);
}

.project-list li:last-child {
    border-bottom: none;
}

.project-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-gold);
    font-weight: 700;
}

/* "Tümünü gör" satırı — madde imi ve çizgi olmasın */
.project-list li.more {
    border-bottom: none;
    padding-left: 0;
}

.project-list li.more:before {
    content: none;
}

/* INFO SECTIONS */
.info-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.info-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.info-section {
    margin-bottom: 20px;
}

/* CALENDAR */
.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 15px;
}

.calendar-header,
.calendar-date {
    text-align: center;
    padding: 8px;
    font-size: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
}

.calendar-header {
    background: var(--primary-blue);
    color: white;
    font-weight: 600;
}

.calendar-date {
    cursor: pointer;
    transition: background 0.3s;
}

.calendar-date:hover {
    background: var(--bg-light);
}

.calendar-date.today {
    background: var(--primary-gold);
    color: var(--primary-blue);
    font-weight: 600;
}

/* Ayın dışındaki boş hücreler */
.calendar-date.empty {
    border: none;
    cursor: default;
}

.calendar-date.empty:hover {
    background: transparent;
}

/* Toplantı / etkinlik olan gün */
.calendar-date.has-event {
    background: var(--primary-blue);
    color: #fff;
    font-weight: 600;
    position: relative;
}

.calendar-date.has-event:hover {
    background: #0d2d5f;
}

/* Hem bugün hem etkinlik günüyse */
.calendar-date.today.has-event {
    background: var(--primary-gold);
    color: var(--primary-blue);
    box-shadow: inset 0 0 0 2px var(--primary-blue);
}

.calendar-date.has-event::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary-gold);
}

.calendar-date.today.has-event::after {
    background: var(--primary-blue);
}

/* Ay gezinme */
.calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.calendar-nav button {
    background: none;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--primary-blue);
    width: 28px;
    height: 28px;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s;
}

.calendar-nav button:hover {
    background: var(--bg-light);
}

.calendar-nav .calendar-month {
    margin-bottom: 0;
}

/* Yaklaşan etkinlik satırı */
.event-item .event-date {
    display: block;
    font-size: 12px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-left: 1.35rem;
}

.event-item .event-desc {
    display: block;
    font-size: 12.5px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 3px 0 0 1.35rem;
}

/* Takvime abone ol butonları (Google / Apple) */
.cal-subscribe {
    border-top: 1px solid #e0e0e0;
    margin-top: 1rem;
    padding-top: 1rem;
    text-align: center;
}

.cal-sub-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 0 0 0.6rem;
}

.cal-sub-btns {
    display: flex;
    gap: 0.5rem;
}

.cal-sub-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 8px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.cal-sub-btn.google {
    background: var(--primary-blue);
    color: #fff;
}

.cal-sub-btn.apple {
    background: #000;
    color: #fff;
}

.cal-sub-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
    opacity: 0.95;
}

.cal-sub-ico {
    font-size: 14px;
    line-height: 1;
}

.cal-sub-note {
    font-size: 11px;
    color: var(--text-light);
    margin: 0.6rem 0 0;
    line-height: 1.45;
}

/* Toplantı kutusu — uluslararası ziyaretçi notları */
.meeting-notes {
    border-top: 1px solid var(--border-color);
    margin-top: 1rem;
    padding-top: 0.85rem;
}

.meeting-notes p {
    font-size: 11px;
    line-height: 1.5;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.meeting-notes p:last-child {
    margin-bottom: 0;
}

.calendar-month {
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

/* EVENTS */
.event-item {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dark);
}

/* SOCIAL ICONS */
.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

/* Marka logoları — SVG beyaz, rozet platformun kendi rengi */
.social-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
    display: block;
}

.social-icon.instagram {
    /* Instagram'ın resmi degradesi */
    background: radial-gradient(circle at 30% 107%,
        #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-icon.facebook { background: #1877f2; }
.social-icon.x        { background: #000; }
.social-icon.linkedin { background: #0a66c2; }
.social-icon.youtube  { background: #ff0000; }

/* PRESIDENT */
.president-photo {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.president-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.president-title {
    font-size: 14px;
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 15px;
}

.president-message {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
}

.president-message p + p {
    margin-top: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Proje kartı: fotoğraf metnin üstüne geçer */
    .project-head {
        flex-direction: column;
        gap: 1.15rem;
    }

    .project-photo {
        width: 100%;
    }

    /* Menü barı: logo solda, hamburger + üye girişi sağda */
    .menu-bar {
        padding: 0 15px;
        min-height: 60px;
        gap: 0.75rem;
    }

    .logo-section {
        margin-right: auto;
    }

    .logo-image {
        height: 36px;
    }

    .login-btn {
        padding: 8px 14px;
        font-size: 12px;
    }

    .menu-toggle {
        display: flex;
    }

    /* Açılır panel: beyaz zemin (yazılar lacivert olduğu için) */
    .menu-container {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s;
        justify-content: flex-start;
        gap: 0;
        box-shadow: 0 8px 16px rgba(0,0,0,0.15);
        z-index: 20;
    }

    .menu-container.active {
        max-height: 600px;
        overflow-y: auto;
    }

    .menu-item {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }

    .menu-item > a {
        width: 100%;
        border-radius: 0;
        padding: 14px 20px;
    }

    .dropdown {
        position: static;
        transform: none;
        background: var(--bg-light);
        min-width: 100%;
        display: none;
        box-shadow: none;
    }

    .menu-item.open .dropdown {
        display: block;
    }

    .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 24px;
    }

    .card-header {
        font-size: 16px;
    }

    .news-item {
        flex-direction: column;
    }

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