* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================
   HEADER (SABİT)
========================= */
header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
}


/* ÜST BAR */
.top-bar {
   background: #69c4d4;
    padding: 8px 25px;
    text-align: right;
}

.top-bar a {
    color: #f5f5f5;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
}

/* NAVBAR */
.navbar {
   background: #eeeee5;
    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/slider1.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;
}


/* =========================
   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;
}

/* =========================
   HABERLER
========================= */

.news-section h2 {
    text-align: center;
    font-size: 36px;
    margin: 50px 0 30px;
    padding: 15px 0;
    background: linear-gradient(135deg, #8ad8c6, #2f8f83);
    color: #fff;
    letter-spacing: 1px;
}

/* GENEL ALAN */
.section.news {
    padding: 60px 40px;
    background: #eeebcf;
    overflow: hidden;
}

/* KAYAN ALAN */
.news-box {
    width: 100%;
    overflow: hidden;
}

.news-box-inner {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: slideNews 18s linear infinite;
}

.news-box-inner:hover {
    animation-play-state: paused;
}

/* =========================
   HABER KARTI (A ETİKETİ)
========================= */

.news-card {
    width: 800px;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    transition: transform .4s ease, box-shadow .4s ease;
    text-align: center;
    text-decoration: none;
    color: #333;
    display: block;
}

/* ALT ÇİZGİYİ KÖKTEN KAPAT */
.news-card,
.news-card * {
    text-decoration: none !important;
}

/* HOVER */
.news-card:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    z-index: 10;
}

/* =========================
   RESİM
========================= */

.news-card img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform .4s ease;
}

.news-card:hover img {
    transform: scale(1.08);
}

/* =========================
   METİN
========================= */

.news-card h3 {
    margin: 15px 0 10px;
    font-size: 22px;
    font-weight: bold;
    color: #222;
}

.news-card p {
    font-size: 16px;
    line-height: 1.6;
    padding: 0 20px 20px;
    color: #444;
}

/* =========================
   ANİMASYON
========================= */

@keyframes slideNews {
    from { transform: translateX(100%); }
    to   { transform: translateX(-100%); }
}

.sponsor-alani {
    width: 100%;
    padding: 40px 0;
    background: #fff;
    overflow: hidden;
}

.sponsor-alani h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 40px;
     padding: 20px 0;
     background: linear-gradient(135deg, #2f8f83, #1f6f65); /* 🎨 arka plan */
    color: #ffffff;           /* yazı rengi */
    letter-spacing: 1px;
}

.sponsor-slider {
    width: 100%;
    overflow: hidden;
}

.sponsor-track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: sponsorKaydir 20s linear infinite;
}

.sponsor-item {
    flex: 0 0 auto;
}

.sponsor-item img {
    height: 300px; /* 🔼 büyüttük */
    width: auto;
    display: block;
    margin: 0 auto;
    transition: transform 0.3s;
}

/* animasyon */
@keyframes sponsorKaydir {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

table {
    border-collapse: collapse;
    width: 100%;
}

table, th, td {
    border: 1px solid #333;
}

th, td {
    padding: 8px;
    text-align: center;
}

form input, form select {
    margin-bottom: 10px;
    padding: 5px;
}


/* =========================
   AİDAT ÖDEME SAYFASI
========================= */

body {
    margin: 0;
    padding-top: 180px;
    font-family: Arial, Helvetica, sans-serif;
    background: #ffffff;
    color: #333;
}

/* Sayfayı ortalama */
.aidat-container {
    min-height: calc(100vh - 160px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 15px;
}

/* Kart tasarımı */
.aidat-card {
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    padding: 30px 28px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    text-align: center;
    animation: fadeIn 0.5s ease-in-out;
}

/* Başlık */
.aidat-card h2 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-size: 24px;
}

/* Açıklama */
.aidat-card .welcome {
    font-size: 15px;
    color: #555;
    margin-bottom: 25px;
}

/* Form */
.aidat-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Label */
.aidat-form label {
    text-align: left;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Input */
.aidat-form input {
    padding: 12px 14px;
    font-size: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    transition: 0.3s;
}

.aidat-form input:focus {
    border-color: #2ecc71;
    outline: none;
    box-shadow: 0 0 0 3px rgba(46,204,113,0.2);
}

/* Buton */
.aidat-form button {
    margin-top: 10px;
    padding: 13px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #fff;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    transition: 0.3s;
}

.aidat-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46,204,113,0.4);
}

/* Mobil uyum */
@media (max-width: 480px) {
    .aidat-card {
        padding: 22px 18px;
    }

    .aidat-card h2 {
        font-size: 20px;
    }
}

/* Animasyon */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   RESPONSIVE – TABLET & MOBİL
============================== */

/* 1024px ve altı: Tabletler */
@media (max-width: 1024px) {

  /* Navbar */
  .navbar {
    flex-wrap: wrap;
    padding: 15px 20px;
  }

  .menu {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
  }

  .menu a {
    margin: 8px 0;
  }

  /* Dropdown mobil uyum */
  .dropdown-content {
    position: static;
    width: 100%;
    box-shadow: none;
    border-radius: 0;
  }

  .dropdown:hover .dropdown-content {
    display: block;
  }
}


/* 768px ve altı: Telefonlar */
@media (max-width: 768px) {

  /* ===== NAVBAR ===== */
  .navbar {
    padding: 12px 18px;
    flex-direction: column;
    align-items: center;
  }

  .menu {
    width: 100%;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
  }

  .menu a {
    margin: 6px 0;
    font-size: 16px;
  }

  /* ===== BAŞLIKLAR ===== */
  .slider h1,
  .page-header h1 {
    font-size: 26px;
  }

  .page-header p {
    font-size: 15px;
  }

  .section-title {
    font-size: 20px;
  }

  /* ===== GENEL İÇERİK ===== */
  .page-content {
    padding: 0 12px;
  }

  .content-box,
  .form-box,
  .uyelik-box,
  .iletisim-container,
  .aidat-sorgu,
  .popup-content {
    width: 92%;
    margin: 20px auto;
    padding: 18px;
  }

  /* ===== YÖNETİM ===== */
  .yonetim-grid {
    grid-template-columns: 1fr;
  }

  .yonetim-card img {
    width: 100px;
    height: 100px;
  }

  .baskan-mesaj {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .baskan-mesaj img {
    width: 140px;
    margin-bottom: 15px;
  }

  /* ===== GALERİ ===== */
  .photo-gallery {
    grid-template-columns: 1fr;
  }

  .photo-card img {
    height: 200px;
  }

  /* ===== HABERLER ===== */
  .news-section {
    padding: 25px 15px;
  }

  .news-box-inner {
    display: flex;
    flex-direction: column;
    gap: 25px;
    width: 100%;
    animation: none !important;
  }

  .news-card {
    width: 100%;
    margin: 0 auto;
    transform: none !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
    border-radius: 10px;
  }

  .news-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    background: #000;
  }

  .news-card h3 {
    font-size: 17px;
    line-height: 1.4;
    margin: 15px 12px 10px;
    text-align: center;
  }

  .news-card p {
    font-size: 14px;
    line-height: 1.6;
    padding: 0 14px 18px;
    text-align: center;
  }

  /* ===== SPONSOR ===== */
  .sponsor-item img {
    height: 140px;
  }

  /* ===== FOOTER ===== */
  .footer-social a {
    font-size: 20px;
    margin: 0 6px;
  }

  /* ===== ÜYELİK ===== */
  .uyelik-wrapper {
    margin: 60px auto;
    padding: 15px;
  }

  .uyelik-box h2 {
    font-size: 15px;
  }

  /* ===== TABLO ===== */
  .mali-table th,
  .mali-table td {
    padding: 8px 6px;
    font-size: 12px;
  }

  /* ===== CAPTCHA & KVKK ===== */
  .captcha {
    flex-direction: column;
    gap: 10px;
  }

  .kvkk {
    flex-direction: column;
    align-items: flex-start;
  }
}