* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body {
    background: #ffffff;
    color: #333;
    padding-top: 180px;
    /* sabit header boşluğu */
}

/* =========================
   HEADER (SABİT)
========================= */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
}

/* ÜST BAR */
.top-bar {
    background: #050c1f;
    padding: 8px 25px;
    text-align: right;
}

.top-bar a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

/* NAVBAR */
.navbar {
    background: #f1f1f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    border-bottom: 2px solid #ac4f4f;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* LOGO */
.logo-area {
    background: #ffffff;
    padding: 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 2px solid #e4b255;
    
}

.logo-area img {
    height: 90px;
}

.logo-text {
    font-size: 18px;
    font-weight: bold;
}

/* =========================
   MENÜ
========================= */
.menu a {
    margin-right: 30px;
    text-decoration: none;
    font-weight: bold;
    color: #b32929;
}

.menu a:hover {
    color: #2f8f83;
}

/* DROPDOWN */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    z-index: 999;
}

.dropdown-content a {
    display: block;
    padding: 12px 15px;
    color: #333;
    font-weight: bold;
}

.dropdown-content a:hover {
    background: #cfc7c7;
}

.dropdown:hover .dropdown-content {
    display: block;
}

/* Aidat Öde Butonu */
.aidat-btn {
    background-color: #e74c3c;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 20px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 20px;
    transition: 0.3s ease;
}

.aidat-btn:hover {
    background-color: #c0392b;
}

.aidat-sorgu {
    max-width: 400px;
    margin: 50px auto;
    padding: 25px;
    background: #fff;
    border-radius: 10px;
    text-align: center;
}

.aidat-sorgu input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
}

.aidat-sorgu button {
    padding: 12px 25px;
    background: #758fe6;
    color: #131212;
    border: none;
    cursor: pointer;
    border-radius: 10px;
}

/* =========================
   SLIDER (ANASAYFA)
========================= */
.slider {
    min-height: 100vh;
    background-image: url("resimler/baskaya.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
}

.slider h1 {
    font-size: 40px;
    margin-top: -300px;
}

/* =========================
   SAYFA BAŞLIĞI
========================= */
.page-header {
    background: linear-gradient(135deg, #2f8f83, #1f6f65);
    color: #ffffff;
    padding: 60px 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 42px;
}

.page-header p {
    margin-top: 10px;
    font-size: 18px;
    opacity: 0.9;
}

/* =========================
   SAYFA İÇERİĞİ
========================= */
.page-content {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 20px;
}

.content-box {
    background: #ffffff;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-box h2 {
    color: #2f8f83;
    border-bottom: 2px solid #2f8f83;
    padding-bottom: 10px;
}

.content-box p {
    margin-top: 15px;
    line-height: 1.7;
    font-size: 17px;
}

/* =========================
   HABERLER
========================= */
.section {
    padding: 60px 40px;
    text-align: center;
    background: #eeebcf;
}

.new-box {
    overflow: hidden;
    width: 100%;
}

.news-box-inner {
    display: flex;
    gap: 30px;
    width: max-content;
    flex-wrap: nowrap;
    animation: slideNews 18s linear infinite;
}

.news-card {
    width: 800px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    backface-visibility: hidden;
}


.news-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.news-box-inner:hover {
    animation-play-state: paused;
}

.news-card {
    cursor: pointer;
}

/* Hover'da slider dursun */
.news-box-inner:hover {
    animation-play-state: paused;
}

/* Kart hover efekti */
.news-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
}

.news-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
    z-index: 10;
}

.news-card img {
    transition: transform 0.4s ease;
}

.news-card:hover img {
    transform: scale(1.08);
}

@keyframes slideNews {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* =========================
   GALERİ
========================= */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.photo-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.photo-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.photo-card p {
    padding: 10px;
    font-weight: bold;
    background: #f4f4f4;
}

/* =========================
   FORM (GİRİŞ / KAYIT)
========================= */
.form-box {
    width: 350px;
    margin: 80px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.form-box input,
.form-box button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
}

.form-box button {
    background: #ff8800;
    color: #ffffff;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* =========================
   İLETİŞİM
========================= */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 15px;
}

.card {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.card-header {
    background: #e4b255;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.card-body {
    padding: 20px;
}

.card-body p {
    margin-bottom: 10px;
    font-size: 15px;
}

.map-area iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 8px;
}

.iletisim-container {
    max-width: 600px;
    margin: 50px auto;
    background: #ffffff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.iletisim-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #1f3c88;
}

.iletisim-container label {
    font-weight: bold;
    display: block;
    margin-top: 15px;
}

.iletisim-container input,
.iletisim-container textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 6px;
}

.iletisim-container textarea {
    height: 120px;
}

.iletisim-container button {
    margin-top: 20px;
    width: 100%;
    background: #1f3c88;
    color: #ffffff;
    border: none;
    padding: 12px;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
}

.iletisim-container button:hover {
    background: #486fc4;
}

/* =========================
   FOOTER
========================= */
.footer {
    background: #1c1c1c;
    color: #ffffff;
    padding: 40px 20px;
    text-align: center;
}

.footer p {
    font-size: 14px;
}

.footer-social a {
    color: white;
    font-size: 28px;
    margin: 0 10px;
}

.footer .copyright {
    margin-top: 20px;
    font-size: 13px;
    color: #aaaaaa;
}

/* ===== YÖNETİM KURULU ===== */
.yonetim-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.yonetim-card {
    background: #ffffff;
    border-radius: 15px;
    text-align: center;
    padding: 25px 20px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.yonetim-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.yonetim-card img {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 4px solid #4dd1c4;
}

.yonetim-card h3 {
    margin: 10px 0 5px;
    font-size: 20px;
    color: #333;
}

.yonetim-card span {
    font-size: 15px;
    color: #2f8f83;
    font-weight: bold;
}

/* ===== BAŞKAN MESAJI ===== */
.baskan-mesaj {
    display: flex;
    gap: 30px;
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 50px;
}

.baskan-mesaj img {
    width: 180px;
    border-radius: 15px;
    object-fit: cover;
}

.mesaj-icerik h2 {
    color: #131204;
    margin-bottom: 10px;
}

/* ===== BAŞLIK ===== */
.section-title {
    margin: 50px 0 20px;
    color: #0e060b;
}

/* ===== POPUP ===== */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
}

.popup-content {
    background: white;
    max-width: 450px;
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    position: relative;
}

.popup-content h2 {
    color: #30bbad;
}

.popup-content h4 {
    margin-bottom: 15px;
    color: #555;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

.card ul {
    padding-left: 20px;
    line-height: 1, 7;
}

ul li {
    margin-bottom: 15px;
}

.uyelik-header {
    font-size: 36px;
    font-weight: bold;
}

.uyelik-wrapper {
    max-width: 900px;
    margin: 120px auto;
    padding: 20px;
}

.taahhut {
    background: #c7e76e;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-size: 14px;
}

.uyelik-box {
    background: #e6a543;
    border-radius: 8px;
    padding: 20px;
}

.uyelik-box h2 {
    background: #5fa8da;
    padding: 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 18px;
}

.uyelik-box input,
.uyelik-box select {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: 1px solid #8f3c3c;
}


.uyelik-box small {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    color: #171817;
}

.uyelik-box button {
    width: 100%;
    padding: 12px;
    background: #1f3c88;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    cursor: pointer;
}

.uyelik-box button:hover {
    background: #162f6b;
}

textarea {
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border-radius: 6px;
    border: 1px solid #ccc;
    margin-bottom: 12px;
    resize: vertical;
}

.captcha {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.captcha strong {
    background: #000;
    color: #fff;
    padding: 8px 14px;
    font-size: 18px;
    letter-spacing: 3px;
    border-radius: 4px;
}

.kvkk {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
}

.kvkk input[type="checkbox"] {
    float: none;
    margin: 0;
}

.kvkk a {
    display: inline;
    float: none;
}


.mali-container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
}

.mali-header {
    font-size: 36px;
    font-weight: bold;
}

.mali-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}

.mali-table th,
.mali-table td {
    padding: 14px;
    border: 1px solid #ddd;
    text-align: center;
}

.mali-table th {
    background-color: #007b5e;
    color: #fff;
    font-weight: bold;
}

.mali-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.news-title {
    font-size: 38px;
    /* Büyüklük */
    font-weight: bold;
    color: var(--ana-yesil);
    margin-bottom: 25px;

    position: relative;
    animation: slideRightToLeft 1.2s ease-out forwards;
}

/* Sağdan sola animasyon */
@keyframes slideRightToLeft {
    from {
        transform: translateX(120px);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.news {
    overflow: hidden;
    /* Taşmayı engeller */
}

.news-title.moving {
    font-size: 38px;
    font-weight: bold;
    color: var(--ana-yesil);
    white-space: nowrap;

    display: inline-block;
    animation: moveLeft 8s linear infinite;
}

/* Sürekli sağdan sola */
@keyframes moveLeft {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(-100%);
    }
}





.sponsor-alani h2 {
    text-align: center;
    position: relative;
    font-size: 30px;
    margin-bottom: 10px;
    background: #8ad8c6;
}



/* dış alan */
.sponsor-slider {
    overflow: hidden;
    background: #f9f9f9;
    padding: 15px 0;
}

/* kayan bant */
.sponsor-track {
    display: flex;
    width: max-content;
    animation: sponsorKaydir 20s linear infinite;
}

/* mouse gelince dursun */
.sponsor-slider:hover .sponsor-track {
    animation-play-state: paused;
}

/* sponsor */
.sponsor-item {
    margin: 0 25px;
    display: flex;
    align-items: center;
}

.sponsor-item img {
    height: 200px;
    object-fit: contain;
    transition: 0.3s;
}

.sponsor-item img:hover {
    transform: scale(1.1);
}

/* animasyon */
@keyframes sponsorKaydir {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}


