/* ---------- Reset + Tokens ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --fb-yellow: #f6c700;
  --fb-blue: #00205b;
  --ink: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --radius: 16px;
  --shadow: 0 6px 18px rgba(0, 0, 0, .08);
  --maxw: 1100px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Open Sans', Arial, sans-serif;
  /* Gövde */
  color: var(--ink);
  background: var(--bg);
}

h1,
h2,
h3,
.section-title {
  font-family: 'Lora', serif;
  /* Başlıklar */
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 16px;
}

.section {
  padding: 56px 0;
  position: relative;
  /* Efektler için */
}

/* Bölümler arası yatay ince mavi ışık / neon çizgisi efekti */
.section+.section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(14, 58, 106, 0.5), transparent);
  box-shadow: 0 0 20px rgba(14, 58, 106, 0.7), 0 0 40px rgba(14, 58, 106, 0.4);
  pointer-events: none;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  color: #00205b;
  margin-bottom: 16px;
  position: relative;
  display: block;
}

.section-sub {
  color: var(--muted);
  margin: 0 0 24px;
}

.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}

.btn-primary {
  background: var(--fb-yellow);
  color: #111827;
}

.btn-outline {
  border: 2px solid var(--fb-yellow);
  color: var(--fb-blue);
}

/* ---------- Header / Navbar ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #00205b;
  /* koyu mavi bar */
  box-shadow: 0 2px 0 rgba(0, 0, 0, .04);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 700;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}

.nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav>ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.nav>ul>li {
  position: relative;
}

.nav a {
  color: #e5e7eb;
  padding: 10px 12px;
  border-radius: 10px;
  display: block;
  font-size: 14px;
  /* menü yazıları küçüldü */
}

.nav a:hover {
  background: rgba(255, 255, 255, .12);
}

.cta {
  margin-left: 8px;
}

.cta .btn {
  background: #fff;
  color: #0e3a6a;
}

.cta .btn:hover {
  filter: brightness(.95);
}

/* Dropdown */
.nav li:hover>.dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px 6px;
}

.dropdown a {
  color: var(--ink);
}

.dropdown a:hover {
  background: #f3f4f6;
}

/* Mobile */
#nav-toggle {
  display: none;
}

.close-menu {
  display: none;
}

.hamburger {
  display: none;
  color: #fff;
  cursor: pointer;
  padding: 8px;
  border-radius: 12px;
}

.hamburger:hover {
  background: rgba(255, 255, 255, .12);
}

@media (max-width:900px) {
  .nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: -320px;
    bottom: 0;
    width: 280px;
    background: #00205b;
    /* Derneğin kurumsal rengi olan çok şık bir lacivert */
    padding: 60px 24px 30px;
    z-index: 9999;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.5);
    margin: 0;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  #nav-toggle:checked~.nav {
    left: 0;
  }

  .nav>ul {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0;
  }

  .nav a {
    color: #ffffff;
    padding: 16px 0;
    font-size: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: block;
    border-radius: 0;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    z-index: 10000;
  }

  .close-menu {
    display: block;
    position: absolute;
    top: 16px;
    right: 20px;
    font-size: 32px;
    color: #ffffff;
    cursor: pointer;
    line-height: 1;
  }

  .cta {
    margin-left: 0;
    margin-top: 16px;
  }

  /* Üyelik işlemleri butonu menü tasarımına uyum sağlasın */
  .cta .btn {
    background: transparent;
    color: #ffd500;
    border: 1px solid #ffd500;
    text-align: center;
    width: auto;
    margin-top: 10px;
    padding: 12px;
  }

  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    padding: 0;
    margin-left: 0;
    border-left: none;
  }

  .dropdown a {
    padding-left: 20px;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    border-bottom: none;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav>ul>li>a[href*="biz-kimiz"]::after {
    content: " ⌄";
    float: right;
    font-weight: bold;
    opacity: 0.8;
  }
}

/* Mobile topbar adjustments to prevent cramping */
@media (max-width: 650px) {
  .brand span {
    display: none;
    /* İhtiyaca binaen mobilde isim metnini tamamen kaldırdık */
  }

  .cta .btn {
    padding: 8px 12px;
    font-size: 13px;
    /* Yazı gittiği için yer açıldığından CTA butonu büyütüldü */
  }

  .brand img {
    width: 44px;
    height: 44px;
    margin-left: 6px;
  }

  .topbar {
    gap: 12px;
  }
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, #fff, var(--bg-alt));
  padding: 48px 0 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(28px, 4.5vw, 44px);
  line-height: 1.1;
  color: var(--fb-blue);
  margin: 0 0 12px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 18px;
}

.hero-card {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card .cap {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--fb-blue);
}

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

/* ---------- Common Grids ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

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

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

.card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  /* Kartların etrafında mavi ışık süzmesi (neon) efekti */
  box-shadow: 0 12px 30px rgba(14, 58, 106, 0.3);
}

.card .body {
  padding: 16px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
  color: var(--fb-blue);
}

.meta {
  color: var(--muted);
  font-size: 14px;
}

/* ---------- About / Content ---------- */
.page-header {
  background: var(--bg-alt);
  border-bottom: 1px solid #eef2f7;
  padding: 28px 0;
}

.breadcrumbs {
  font-size: 14px;
  color: var(--muted);
}

.content {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 28px;
}

.sidebar {
  position: sticky;
  top: 84px;
  height: fit-content;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.sidebar h4 {
  margin: 0 0 8px;
  color: var(--fb-blue);
}

.sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.sidebar a {
  color: var(--ink);
  padding: 8px 10px;
  border-radius: 8px;
  display: block;
}

.sidebar a:hover {
  background: #f3f4f6;
}

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

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery img {
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  background: #e5e7eb;
}

@media (max-width:900px) {
  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width:600px) {
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.contact .box {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 18px;
}

.contact .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 6px;
}

.contact input,
.contact textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  font: inherit;
}

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

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

  .contact .row {
    grid-template-columns: 1fr;
  }
}

/* ---------- Footer (yeni düzen) ---------- */
footer {
  border-top: 4px solid var(--fb-yellow);
  background: #0e3a6a;
  /* koyu saks mavisi */
  color: #fff;
}

.footer-cols {
  display: grid;
  grid-template-columns: auto 1fr;
  /* logo | iletişim */
  align-items: center;
  gap: 36px;
  padding: 36px 0;
}

.footer h4 {
  margin: 0 0 10px;
  color: var(--fb-yellow);
}

.footer p,
.footer a {
  color: #fff;
  font-size: 14px;
}

.footer a:hover {
  text-decoration: underline;
}

/* Sol logo kutusu */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-logo-round {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
  /* dosya gecikirse gri dursun */
  box-shadow: 0 6px 18px rgba(0, 0, 0, .15);
}

/* Link listesi */
.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

/* Tel & mail linkleri mobilde daha rahat tıklansın */
.footer-contact a {
  word-break: break-word;
}

/* Alt telif satırı */
.copyright {
  font-size: 14px;
  color: #e5e7eb;
  text-align: center;
  padding: 12px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, .12);
}

/* Alt Bilgi Responsive Düzenlemeleri */
@media (max-width: 1024px) {
  .footer-cols {
    grid-template-columns: auto 1fr;
  }

  .footer-brand {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .footer-cols {
    grid-template-columns: 1fr;
    gap: 12px;
    text-align: left;
    padding: 30px 15px 120px;
    /* Alttan devasa boşluk bırakıldı (Instagram'ın rahat durması için) */
  }

  .footer-brand {
    justify-content: center;
    margin-top: 10px;
    /* Logoyu sarı çizgiden uzaklaştırıp aşağı kaydırdık */
    margin-bottom: 0;
  }

  .footer-logo-round {
    width: 90px;
    /* Logoyu küçülttük */
    height: 90px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .25);
  }

  .footer-contact h4 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .footer-contact p {
    margin: 8px 0;
    line-height: 1.5;
  }
}

/* Tüm sitelerde (Web & Mobil) Instagram ikonunu biraz küçültme */
a[href*="instagram.com"] svg {
  width: 20px !important;
  height: 20px !important;
}

/* Yönetim kurulu kartları için görsel alanı */
.member .photo {
  height: 260px;
  /* sabit yükseklik: hepsi aynı dursun */
  width: 100%;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
  background: #e5e7eb;
  /* yüklenene kadar gri görünsün */
}

.member .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* ortadan kırp, oranı koru */
  display: block;
}

.home-hero {
  background-image: url("../images/anasayfa.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 63vh;
  /* sayfa açıldığında ekranın %80 yüksekliği kadar */
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #e5e7eb;
}

.home-hero .hero-caption {
  color: #fff;
  font-size: clamp(20px, 3.2vw, 34px);
  font-weight: 700;
  padding: 22px 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  /* yazı okunur olsun diye */
}

/* ---------- Home: Duyurular öne çıkan ---------- */
.announce-hero {
  display: flex;
  flex-direction: column;
  /* resim + yazı + buton alt alta gelsin */
  align-items: center;
  /* ortala */
  justify-content: center;
  text-align: center;
  gap: 16px;
  /* aralarında boşluk */
  margin: 40px 0;
  /* üst-alt boşluk */
}

.announce-hero img {
  width: 100%;
  max-width: 760px;
  /* buradan boyutu oynatabilirsin */
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow);
  background: #e5e7eb;
}

.announce-lead {
  max-width: 900px;
  margin: 16px auto 0;
  text-align: center;
  color: var(--muted);
}

.announce-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.values-grid {
  display: grid;
  /* Kart genişliği kontrollü: mobilde küçülür, masaüstünde 240–280px arası */
  grid-template-columns: repeat(2, minmax(220px, 260px));
  column-gap: 72px;
  /* YATAY boşluk (sağ-sol arasını açar) */
  row-gap: 28px;
  /* Dikey boşluk */
  justify-content: center;
  /* Gridi ortala */
  margin-top: 24px;
}

.value-item {
  padding: 32px 24px;
  border-radius: 16px;
  background: #ffffff;
  border: 2px solid #dbeafe;
  /* Daha açık tatlı bir mavi çerçeve */
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.03);
  /* Daimi hafif bir gölge ve hacim kazandırır */
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
  text-align: center;
  /* Yazıyı ve içindekileri resmin altına ortalar */
}

.value-item:hover {
  transform: translateY(-8px);
  border-color: #93c5fd;
  /* Fare üzerine gelince çerçeve biraz daha canlı mavi olur */
  box-shadow: 0 15px 35px rgba(14, 58, 106, 0.15);
}

.value-item p {
  color: #4b5563;
  /* grimsi ton */
  font-size: 15px;
  /* biraz küçülttüm, daha zarif */
  line-height: 1.4;
  margin-top: 14px;
}

.value-item img {
  width: 125px;
  /* daha ufak ikon */
  height: 125px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
  /* yazıya daha yakın */
}

/* values grid mobilde de 2x2 kalır */

.section .container>p {
  text-align: center;
  /* ortada kalsın */
  margin-bottom: 40px;
  /* görsellerden uzaklaştırır */
  color: #6b7280;
  /* yazıyı grimsi yapar */
}

/* ---------- Vizyon & Misyon Kapak ---------- */
:root {
  --vision-padding-top: 95px;
  /* yukarıdan boşluk (0 → 200px dene) */
  --vision-padding-left: 180px;
  /* soldan boşluk (0 → 200px dene) */
  --vision-title-color: #ffd500;
}

/* Kapak başlıkları ortak */
.vision-hero,
.principle-hero {
  --pt: 75px;
  /* yukarı boşluk */
  --pl: 180px;
  /* soldan boşluk */
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: var(--pt);
  padding-left: var(--pl);
  border-bottom: 1px solid #e5e7eb;
}

.vision-hero h1,
.principle-hero h1 {
  margin: 0;
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}


.mission-list p {
  margin: 6px 0;
  /* satırlar arası boşluk */
  color: var(--ink);
  /* yazı rengi */
  line-height: 1.5;
  /* okunabilirlik */
}

/* ---------- Yönetim Kurulu Kapak ---------- */
.board-hero {
  position: relative;
  background-image: url("../images/vizyon2.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 75px;
  padding-left: 180px;
  border-bottom: 1px solid #e5e7eb;
}

.board-hero h1 {
  margin: 0;
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}



/* ---------- İletişim Kapak ---------- */
.contact-hero {
  position: relative;
  background-image: url("assets/images/vizyon2.jpeg");
  /* buraya kendi görsel yolunu koy */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  border-bottom: 1px solid #e5e7eb;
}

.contact-hero h1 {
  margin: 0;
  padding-top: 95px;
  /* yukarıdan boşluk */
  padding-left: 180px;
  /* soldan boşluk */
  color: #ffd500;
  /* sarı başlık */
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ---------- Üyelik Kapak ---------- */
.membership-hero {
  position: relative;
  background-image: url("assets/images/vizyon2.jpeg");
  /* kendi görselin */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  border-bottom: 1px solid #e5e7eb;
}

.membership-hero h1 {
  margin: 0;
  padding-top: 95px;
  /* yukarıdan boşluk - kendine göre değiştir */
  padding-left: 180px;
  /* soldan boşluk - kendine göre değiştir */
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* ---------- Üyelik İçerik ---------- */
.download-links {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}

.download-links .dl {
  display: inline-block;
  color: #0e3a6a;
  /* koyu mavi link */
  text-decoration: underline;
  font-weight: 600;
}

.membership-body .lead {
  margin: 12px 0 8px;
  font-weight: 700;
  color: #374151;
  /* koyu gri */
}

.membership-body .steps {
  margin: 0 0 14px 20px;
  color: #4b5563;
  /* “soluk ama okunur” gri */
  line-height: 1.6;
}

.membership-body .steps li {
  margin: 4px 0;
}

.membership-body .note {
  color: #4b5563;
  background: #f8fafc;
  /* çok hafif arka plan */
  border-left: 4px solid var(--fb-yellow);
  padding: 10px 12px;
  border-radius: 10px;
  margin: 12px 0;
}

/* ---------- Duyurular Kapak ---------- */
.news-hero {
  position: relative;
  background-image: url("../images/vizyon2.jpeg");
  /* kendi görsel yolun */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  display: flex;
  align-items: flex-start;
  /* yazıyı yukarı alır */
  justify-content: flex-start;
  /* sola yaslar */
  padding-top: 75px;
  /* yukarıdan boşluk */
  padding-left: 180px;
  /* soldan boşluk */
  border-bottom: 1px solid #e5e7eb;
}

.news-hero h1 {
  margin: 0;
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

/* ---------- Yönetim Kapak ---------- */
.vision-hero {
  --pt: 75px;
  --pl: 180px;
  position: relative;
  background-image: var(--hero-bg, url("../images/vizyon2.jpeg"));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: var(--pt);
  padding-left: var(--pl);
  border-bottom: 1px solid #e5e7eb;
}

.vision-hero h1 {
  margin: 0;
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

/* ----- Basit Lightbox :target ----- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.lightbox:target {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  /* ekranda taşmasın */
  max-height: 90vh;
  display: block;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  border-radius: 10px;
}

.lightbox .close {
  position: fixed;
  top: 18px;
  right: 22px;
  font-size: 28px;
  color: #fff;
  text-decoration: none;
}

/* ---------- Kuruluş Amacımız Kapak ---------- */
.principle-hero {
  position: relative;
  background-image: url("../images/vizyon2.jpeg");
  /* kendi görsel yolunu koy */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 36vh;
  /* yüksekliği buradan ayarla */
  display: flex;
  align-items: flex-start;
  /* yazıyı yukarı alır */
  justify-content: flex-start;
  /* sola hizalar */
  padding-top: 75px;
  /* yukarı boşluk */
  padding-left: 180px;
  /* soldan boşluk */
  border-bottom: 1px solid #e5e7eb;
}

.principle-hero h1 {
  margin: 0;
  color: #ffd500;
  font-size: clamp(28px, 4.4vw, 48px);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.slogan {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  margin-top: 24px;
}

.slogan .yellow {
  color: #e6b800;
  /* altın sarısı */
}

.slogan .blue {
  color: #003399;
  /* daha canlı saks mavisi */
}

/* ==== TABLET (<=900px) ==== */
@media (max-width: 900px) {

  /* (Eski mükerrer navbar kuralları silinerek menü çakışması önlendi) */

  /* HERO genel */
  .home-hero {
    min-height: 35vh;
    background-position: 60% center;
  }

  /* Tüm hero kapak bölümleri */
  .vision-hero,
  .principle-hero,
  .news-hero,
  .board-hero,
  .contact-hero,
  .membership-hero,
  .bylaw-hero {
    min-height: 25vh;
    padding-top: 50px !important;
    padding-left: 40px !important;
  }

  .vision-hero {
    --pt: 50px !important;
    --pl: 40px !important;
  }

  .vision-hero h1,
  .principle-hero h1,
  .news-hero h1,
  .board-hero h1,
  .contact-hero h1,
  .membership-hero h1,
  .bylaw-hero h1 {
    font-size: clamp(22px, 5vw, 34px);
    padding-top: 50px;
    padding-left: 40px;
  }

  /* TİPO ve boşluklar */
  .section {
    padding: 32px 0;
  }

  .section-title {
    font-size: 26px;
  }

  .container {
    padding: 0 14px;
  }

  /* DEĞERLER grid */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 24px;
    row-gap: 18px;
  }

  .value-item img {
    width: 100px;
    height: 100px;
  }

  /* Duyurular görseli */
  .announce-hero img {
    max-width: 100%;
    border-radius: 12px;
  }

  /* Zeki Rıza Sporel bölümü */
  .zrs-section {
    flex-direction: column !important;
    align-items: center !important;
  }

  .zrs-photo {
    margin-top: 0 !important;
    max-width: 100% !important;
    text-align: center;
  }

  .zrs-photo img {
    max-width: 240px;
    margin: 0 auto;
  }

  .zrs-text {
    min-width: 100% !important;
  }

  /* (Mükerrer tablet footer kuralları kaldırıldı) */

  /* İletişim kutusu */
  .contact {
    grid-template-columns: 1fr;
  }

  /* Üyelik */
  .membership-body .note {
    font-size: 14px;
  }
}

/* ==== MOBILE (<=640px) ==== */
@media (max-width: 640px) {

  /* Navbar yazı küçülsün */
  .brand span {
    font-size: 13px;
  }

  /* Hero bölümleri daha kompakt */
  .home-hero {
    min-height: 28vh;
  }

  .vision-hero,
  .principle-hero,
  .news-hero,
  .board-hero,
  .contact-hero,
  .membership-hero,
  .bylaw-hero {
    min-height: 20vh;
    padding-top: 32px !important;
    padding-left: 20px !important;
  }

  .vision-hero {
    --pt: 32px !important;
    --pl: 20px !important;
  }

  .vision-hero h1,
  .principle-hero h1,
  .news-hero h1,
  .board-hero h1,
  .contact-hero h1,
  .membership-hero h1,
  .bylaw-hero h1 {
    font-size: clamp(20px, 5.5vw, 28px);
    padding-top: 32px;
    padding-left: 20px;
  }

  /* Başlıklar */
  .section-title {
    font-size: 22px;
  }

  /* Değerler 2x2 kalır */
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 16px;
    row-gap: 14px;
  }

  .value-item img {
    width: 80px;
    height: 80px;
  }

  /* Galeri tek sütun */
  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Duyurular fotoğrafları tek sütun */
  .announce-photos {
    grid-template-columns: 1fr !important;
  }

  /* (Mükerrer mobil footer kuralları kaldırıldı) */

  /* Modal mobil */
  .modal .dialog {
    width: 95%;
    padding: 16px;
  }

  /* Lightbox */
  .lightbox img {
    max-width: 95vw;
    max-height: 85vh;
  }

  /* Tüzük metni */
  .bylaw {
    padding: 20px 12px 36px;
  }

  .bylaw h2 {
    font-size: 18px;
  }

  .bylaw p {
    font-size: 14px;
  }

  /* Üyelik */
  .download-links .dl {
    font-size: 14px;
  }

  .membership-body .steps {
    margin-left: 16px;
    font-size: 14px;
  }

  .membership-body .note {
    font-size: 13px;
    padding: 8px 10px;
  }

  /* Grid genel */
  .grid {
    grid-template-columns: 1fr;
  }

  /* Content layout */
  .content {
    grid-template-columns: 1fr;
  }

  /* Zeki Rıza fotoğraf daha küçük */
  .zrs-photo img {
    max-width: 180px;
  }
}

/* ==== VERY SMALL PHONES (<=380px) ==== */
@media (max-width: 380px) {
  .brand span {
    font-size: 12px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .section-title {
    font-size: 20px;
  }

  .home-hero {
    min-height: 22vh;
  }

  .footer-logo-round {
    width: 64px;
    height: 64px;
  }
}