/* Dignified Association Theme - Blue, White & Gold */
/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

:root {
  /* Blue, White & Gold theme - Professional Association Style */
  --color-bg: #ffffff;          /* white base */
  --color-bg-alt: #faf8f5;      /* cream/white-tinted */
  --color-surface: #ffffff;     /* cards/panels */
  --color-text: #1a2332;        /* dark text */
  --color-muted: #666666;       /* muted text */
  --color-primary: #153aa1;     /* professional blue - similar to iskader.org.tr */
  --color-primary-contrast: #ffffff;
  --color-primary-dark: #0d2463; /* darker blue for hover states */
  --color-secondary: #d4af37;   /* gold */
  --color-accent: #d4af37;      /* gold accent */
  --color-primary-light: #1f50c9; /* lighter blue for variations */
  --max-width: 1120px;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(0,0,0,0.08);
  --font-serif: "Merriweather", ui-serif, Georgia, Cambria, "Times New Roman", serif;
  --font-sans: "Source Sans 3", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.25);
  }
  50% {
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* CSS Reset (minimal) */

* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; max-width: 100vw; width: 100%; scroll-padding-top: 80px; }
html, body { height: 100%; overflow-x: hidden; max-width: 100vw; position: relative; }
body { margin: 0; font-family: var(--font-sans); color: var(--color-text); background: var(--color-bg); line-height: 1.6; overflow-x: hidden; max-width: 100vw; width: 100%; }
img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: all 400ms cubic-bezier(0.4, 0, 0.2, 1); }
a:hover { text-decoration: underline; color: var(--color-primary); }
a:focus, button:focus, input:focus, select:focus, textarea:focus { outline: 2px solid var(--color-secondary); outline-offset: 2px; }
button { transition: all 350ms cubic-bezier(0.4, 0, 0.2, 1); }

.container { width: 100%; max-width: var(--max-width); padding: 0 16px; margin: 0 auto; box-sizing: border-box; overflow-x: hidden; }

/* Announcement bar container - allow button overflow */
.announcement-bar .container {
  overflow-x: visible !important;
}
.skip-link { position: absolute; left: -9999px; top: -9999px; background: var(--color-primary); color: var(--color-primary-contrast); padding: 8px 12px; border-radius: 6px; }
.skip-link:focus { left: 12px; top: 12px; z-index: 1000; }

/* Mobile Header Items - Hidden on Desktop */
.mobile-header-item { display: none; }
.mobile-header-logo { display: none; }
.desktop-only { display: block; }

/* Announcement Bar Base Styles */
.announcement-bar {
  position: sticky;
  top: 0;
  z-index: 2001;
  background: var(--color-primary);
  padding: 8px 0;
  min-height: 50px;
  overflow: visible !important;
  pointer-events: auto !important;
  will-change: transform;
}

/* Announcement Bar Layout */
.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 42px;
}

/* Header */
.site-header { position: sticky; top: 50px; z-index: 50; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,0.95); background-image: url('../img/ataturk.jpg'); background-size: cover; background-position: center; border-bottom: 2px solid transparent; box-shadow: 0 2px 8px rgba(0,0,0,0.05); animation: fadeInDown 600ms ease-out; transition: transform 350ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease-out, border-bottom 300ms ease-out; padding: 16px 0; will-change: transform; }
.site-header::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(255,255,255,0.92); z-index: -1; }
.site-header.is-top { background: rgba(255,255,255,0.92); background-image: url('../img/ataturk.jpg'); background-size: cover; background-position: center; border-bottom-color: rgba(212,175,55,0.3); box-shadow: 0 2px 8px rgba(0,0,0,0.05); padding: 24px 0; }
.site-header.is-top::before { background: rgba(255,255,255,0.88); }
.site-header.is-scrolled { background: rgba(255,255,255,0.98); border-bottom-color: var(--color-secondary); box-shadow: 0 4px 16px rgba(0,0,0,0.1); padding: 12px 0; }
.site-header.is-scrolled::before { background: rgba(255,255,255,0.96); }

/* Hide header on desktop — handled via JS inline transforms */

.site-header.is-scrolled { border-bottom: 2px solid var(--color-secondary); }

.site-header.is-top { border-bottom: 2px solid transparent; }
.nav-wrap { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 32px; min-height: 70px; }
.nav-left { display: flex; align-items: center; justify-self: start; }
/* nav-left'taki Duyurular dropdown'u sadece mobilede */
.nav-left .nav-dropdown:nth-last-child(3) { display: none; }
.nav-right { display: flex; align-items: center; gap: 16px; justify-self: end; }
.nav-title { color: var(--color-primary); font-weight: 700; font-size: 15px; text-decoration: none; transition: all 500ms cubic-bezier(0.34, 1.56, 0.64, 1); white-space: nowrap; padding: 8px 12px; border-radius: 6px; border-bottom: 2px solid transparent; }
.nav-title:hover { color: var(--color-secondary); border-bottom-color: var(--color-secondary); }

/* Floating Brand Logo */
.floating-brand { position: relative; display: inline-flex; align-items: center; justify-self: center; gap: 12px; color: var(--color-primary); font-weight: 700; transition: all 500ms cubic-bezier(0.34, 1.56, 0.64, 1); }
.floating-brand:hover { transform: translateY(-3px) scale(1.05); }
.floating-brand:focus { outline: none; box-shadow: none; }
.site-header.is-top .brand-logo { width: 120px; height: 120px; margin-top: auto; border-radius: 14px; transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 10px 28px rgba(30,64,175,0.28)); transform: translateY(25%); }
.site-header.is-scrolled .brand-logo { width: 50px; height: 50px; margin-top: auto; border-radius: 8px; transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 3px 10px rgba(30,64,175,0.18)); transform: translateY(0); }
.brand-logo { width: 80px; height: 80px; border-radius: 8px; transition: all 600ms cubic-bezier(0.34, 1.56, 0.64, 1); filter: drop-shadow(0 3px 10px rgba(30,64,175,0.18)); margin-top: auto; }
.floating-brand:hover .brand-logo { transform: scale(1.08) rotate(2deg); filter: drop-shadow(0 12px 32px rgba(30,64,175,0.35)); }

.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; padding: 0; margin: 0; }
.site-nav li { position: relative; }
.site-nav a { display: inline-block; padding: 6px 10px; border-radius: 4px; color: var(--color-text); transition: color 200ms ease; border-bottom: none; white-space: nowrap; font-size: 14px; font-weight: 500; }
.site-nav a:hover { background: transparent; text-decoration: none; color: var(--color-primary); }
.nav-dropdown > a { 
  display: inline-flex; 
  align-items: center; 
  gap: 5px; 
  pointer-events: auto; 
  cursor: pointer;
  position: relative;
  padding: 6px 10px;
  border-radius: 4px;
  transition: color 200ms ease;
}

.nav-dropdown > a::after { 
  content: ''; 
  width: 6px; 
  height: 6px; 
  border-right: 1.5px solid currentColor; 
  border-bottom: 1.5px solid currentColor; 
  transform: rotate(45deg); 
  display: inline-block; 
  transition: transform 200ms ease; 
  margin-left: 2px;
  opacity: 0.7;
}

.nav-dropdown.open > a { 
  color: var(--color-primary); 
  background: transparent;
}

.nav-dropdown.open > a::after { 
  transform: rotate(225deg); 
  opacity: 1;
}

.nav-dropdown > a:hover {
  background: transparent;
  color: var(--color-primary);
}

/* ==================== FLAT MINIMAL DROPDOWN - iOS Style ==================== */
.nav-submenu { 
  position: absolute; 
  top: 100%; 
  left: 0;
  min-width: 200px;
  max-width: 220px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  padding: 6px 0;
  opacity: 0; 
  visibility: hidden; 
  transform: translateY(-10px);
  transition: opacity 200ms ease, transform 200ms ease;
  z-index: 1000; 
  pointer-events: none;
}

.nav-submenu.mega-menu { 
  display: block;
}

.nav-submenu.submenu-2col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 360px;
  max-width: 420px;
}

.nav-left .nav-submenu { 
  left: 0;
}

.nav-left .nav-dropdown.open .nav-submenu,
.nav-left .nav-dropdown:hover .nav-submenu { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
  pointer-events: auto; 
}

.nav-right .nav-submenu { 
  left: auto;
  right: 0;
}

.nav-right .nav-dropdown.open .nav-submenu,
.nav-right .nav-dropdown:hover .nav-submenu { 
  opacity: 1; 
  visibility: visible; 
  transform: translateY(0);
  pointer-events: auto; 
}

/* Menu Items */
.nav-submenu a,
.nav-submenu .submenu-card { 
  display: block;
  padding: 10px 16px;
  background: #fff;
  font-weight: 400;
  font-size: 14px;
  color: #1d1d1f;
  transition: background 120ms ease;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
}

.nav-submenu a:last-child,
.nav-submenu .submenu-card:last-child { 
  border-bottom: none;
}

.nav-submenu a:hover,
.nav-submenu .submenu-card:hover { 
  background: #f5f5f7;
}

.nav-submenu .submenu-card .submenu-icon { 
  display: none;
}

.nav-submenu .submenu-card span:last-child { 
  font-size: 14px;
}

/* ============================================================
   CSS — TABLETte & MOBİL RESPONSIVE (≤ 1024px)
============================================================ */
@media (max-width: 1024px) {
  /* Hamburger görünür */
  .mobile-menu-toggle  { display: flex; }
  .mobile-nav-overlay  { display: block; }
  
  /* Overlay: Nav-left'in dışında kalan alan (sağ taraf) */
  .mobile-nav-overlay.active {
    left: 320px;
    right: 0;
    width: auto;
    pointer-events: auto;
  }

  /* Nav-wrap: hamburger | logo | sağ aksiyon */
  .nav-wrap {
    grid-template-columns: auto 1fr;
    gap: 16px;
  }

  /* Sol nav paneli → soldan kayar */
  .nav-left {
    display: flex !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, #fff 0%, #fafbff 100%);
    z-index: 2000;
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 0 32px;
    overflow-y: auto;
    overflow-x: hidden;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 4px 0 24px rgba(0,0,0,0.18);
    border-right: 1px solid rgba(21,58,161,0.1);
    pointer-events: auto;
  }
  .nav-left.mobile-active { left: 0 !important; }
  .nav-left.open { left: 0 !important; } /* yazılar sayfası ve diğer sayfalar için */

  /* nav-left'taki Duyurular dropdown'u mobilde göster */
  .nav-left .nav-dropdown:nth-last-child(3) { display: block !important; }

  /* Özel scrollbar */
  .nav-left::-webkit-scrollbar       { width: 5px; }
  .nav-left::-webkit-scrollbar-track { background: #f1f1f1; }
  .nav-left::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 3px; }

  /* Nav listesi dikey */
  .site-nav       { width: 100%; flex-direction: column; gap: 0; }
  .site-nav ul    { width: 100%; flex-direction: column; gap: 0; }
  .site-nav li    { width: 100%; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .site-nav a {
    width: 100%;
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 0;
    display: block;
    color: var(--color-text);
    transition: all 0.25s;
  }
  .site-nav a:hover {
    background: linear-gradient(90deg, rgba(21,58,161,0.08), rgba(21,58,161,0.04));
    color: var(--color-primary);
    padding-left: 30px;
  }

  /* Dropdown başlıkları */
  .nav-dropdown > a {
    width: 100%;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    font-size: 16px;
    color: var(--color-primary);
    background: linear-gradient(90deg, rgba(21,58,161,0.05), rgba(21,58,161,0.02));
    border-left: 3px solid transparent;
    cursor: pointer !important;
    pointer-events: auto !important;
    touch-action: manipulation !important;
    user-select: none;
    transition: all 0.25s;
  }
  
  .nav-dropdown > a:hover  {
    background: linear-gradient(90deg, rgba(21,58,161,0.12), rgba(21,58,161,0.06)) !important;
    border-left-color: var(--color-primary);
    padding-left: 30px;
  }
  /* Ok ikonu – mobilde ▼ */
  .nav-dropdown > a::after {
    content: '▼';
    font-size: 11px;
    color: var(--color-primary);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-dropdown.open > a::after { transform: rotate(180deg); }
  .nav-dropdown.open > a {
    background: linear-gradient(90deg, rgba(21,58,161,0.15), rgba(21,58,161,0.08)) !important;
    border-left-color: var(--color-secondary);
  }

  /* Dropdown paneli – accordion (max-height animasyon) */
  .nav-submenu {
    position: static;
    width: 100%;
    border: none;
    border-radius: 0;
    padding: 0;
    transform: none !important;
    opacity: 0;
    visibility: visible !important;
    display: grid;
    grid-template-columns: 1fr !important;
    background: linear-gradient(180deg, #f8f9ff, #f5f7ff);
    max-height: 0;
    overflow: hidden;
    box-shadow: none;
    border-left: 4px solid var(--color-primary);
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nav-dropdown.open .nav-submenu {
    max-height: 2000px !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
  .submenu-card {
    padding: 16px 32px;
    border-radius: 0;
    border-bottom: 1px solid rgba(21,58,161,0.06);
    font-size: 15px;
  }
  .submenu-card:hover {
    background: linear-gradient(90deg, rgba(21,58,161,0.1), rgba(21,58,161,0.05));
    padding-left: 40px;
  }

  /* Sağ nav küçülür */
  .nav-right { margin-left: auto; gap: 10px; }
  .nav-donation { font-size: 12px; padding: 7px 12px; }

  /* Mobile-only öğeler */
  .mobile-only, .mobile-only-divider { display: block !important; }
  .mobile-only a {
    font-weight: 600;
    background: linear-gradient(90deg, rgba(212,175,55,0.08), rgba(212,175,55,0.04));
    color: var(--color-primary);
    border-left: 3px solid transparent;
  }
  .mobile-only a:hover {
    background: linear-gradient(90deg, rgba(212,175,55,0.15), rgba(212,175,55,0.08));
    border-left-color: var(--color-secondary);
    padding-left: 30px;
  }
  .nav-mobile-donation {
    background: none;
    color: #ffffff;
    font-weight: 400;
    border-left: none;
  }
  .nav-mobile-donation:hover {
    background: none;
  }

  /* Logo boyutu */
  .brand-logo { width: 60px; height: 60px; }
}

/* ============================================================
   CSS — MOBİL/TABLET (≤ 1024px) ufak ayarlar
============================================================ */
@media (max-width: 1024px) {
  /* Hide site header visually - keep nav-left accessible */
  .site-header {
    display: block !important;
    position: fixed;
    top: -100%;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
  }

  .nav-right,
  .floating-brand,
  #mobile-menu-toggle {
    display: none !important;
  }
  
  /* Hide desktop-only items on mobile */
  .desktop-only { display: none !important; }
  
  /* Show mobile header items in announcement bar */
  .mobile-header-item { display: flex !important; }
  .mobile-header-logo { display: flex !important; }
  
  /* Hide long text on mobile, show only short */
  .announcement-text.mobile-header-item { display: none !important; }
  
  /* Mobile announcement bar sizing */
  .announcement-bar {
    padding: 18px 0 !important;
    min-height: 90px !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  
  /* Mobile announcement bar layout: left (text), center (logo), right (hamburger) */
  .announcement-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 8px !important;
    position: relative !important;
    padding: 0 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Remove container's padding to avoid double padding */
  .announcement-bar .container {
    padding: 0 !important;
    overflow-x: visible !important;
  }
  
  /* Left: Association name */
  .announcement-text-short.mobile-header-item {
    order: 1 !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
    font-size: 11px !important;
    white-space: nowrap !important;
  }
  
  /* Center: Logo - absolutely centered */
  .mobile-header-logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    order: 2 !important;
    width: 45px !important;
    height: 45px !important;
    align-items: center;
    justify-content: center;
    margin: 0 !important;
    z-index: 5 !important;
  }
  
  .mobile-header-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 6px;
  }
  
  /* Right: Hamburger menu */
  #mobile-menu-toggle-top {
    position: relative;
    order: 3 !important;
    width: 46px;
    height: 46px;
    background: rgba(255,255,255,0.25);
    border: 1.5px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    cursor: pointer;
    z-index: 2002;
    pointer-events: auto !important;
    padding: 0;
    margin: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, border-color 0.3s, transform 0.2s;
    flex-shrink: 0;
  }
  
  #mobile-menu-toggle-top:hover {
    background: rgba(255,255,255,0.35);
    border-color: rgba(255,255,255,0.7);
    transform: scale(1.05);
  }
  
  #mobile-menu-toggle-top:active {
    transform: scale(0.95);
  }
  
  #mobile-menu-toggle-top .hamburger-line {
    position: absolute;
    left: 50%;
    width: 22px;
    height: 2.5px;
    background: #ffffff;
    border-radius: 2px;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block !important;
    visibility: visible !important;
  }
  
  #mobile-menu-toggle-top .hamburger-line:nth-child(1) { top: 13px; transform: translateX(-50%); }
  #mobile-menu-toggle-top .hamburger-line:nth-child(2) { top: 21.5px; transform: translateX(-50%); }
  #mobile-menu-toggle-top .hamburger-line:nth-child(3) { top: 30px; transform: translateX(-50%); }
  
  #mobile-menu-toggle-top.active {
    background: rgba(255,255,255,0.4);
    border-color: rgba(255,255,255,0.8);
  }
  
  #mobile-menu-toggle-top.active .hamburger-line { background: #fff; }
  #mobile-menu-toggle-top.active .hamburger-line:nth-child(1) {
    top: 21.5px;
    transform: translateX(-50%) rotate(45deg);
  }
  #mobile-menu-toggle-top.active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-50%) scale(0.4);
  }
  #mobile-menu-toggle-top.active .hamburger-line:nth-child(3) {
    top: 21.5px;
    transform: translateX(-50%) rotate(-45deg);
  }
  
  /* Adjust announcement inner for mobile header */
  .announcement-inner {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-left           { width: 300px; }
  .mobile-nav-overlay.active { left: 300px; right: 0; width: auto; }
  .mobile-menu-toggle { width: 46px; height: 46px; }
  .hamburger-line     { width: 24px; }
  .hamburger-line:nth-child(1) { top: 13px; }
  .hamburger-line:nth-child(2) { top: 21.5px; }
  .hamburger-line:nth-child(3) { top: 30px; }
  .mobile-menu-toggle.active .hamburger-line:nth-child(1),
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) { top: 21.5px; }

  .site-nav a         { padding: 16px 20px; font-size: 15px; }
  .nav-dropdown > a   { padding: 16px 20px; min-height: 54px; }
  .submenu-card       { padding: 14px 28px; font-size: 14px; }
}

/* ============================================================
   CSS — EXTRA KÜÇÜK (≤ 480px) ufak ayarlar
============================================================ */
@media (max-width: 480px) {
  /* Mobile announcement bar sizing */
  .announcement-bar {
    padding: 14px 0 !important;
    min-height: 76px !important;
    overflow: visible !important;
    pointer-events: auto !important;
  }
  
  .announcement-inner {
    padding: 0 8px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  
  /* Left: Association name smaller text */
  .announcement-text-short.mobile-header-item {
    font-size: 10px !important;
  }
  
  /* Mobile header logo smaller */
  .mobile-header-logo {
    width: 38px !important;
    height: 38px !important;
  }
  
  /* Mobile hamburger in announcement bar smaller */
  #mobile-menu-toggle-top {
    width: 40px !important;
    height: 40px !important;
  }
  
  #mobile-menu-toggle-top .hamburger-line {
    width: 20px !important;
    height: 2.5px !important;
  }
  
  #mobile-menu-toggle-top .hamburger-line:nth-child(1) { top: 11px !important; }
  #mobile-menu-toggle-top .hamburger-line:nth-child(2) { top: 18.5px !important; }
  #mobile-menu-toggle-top .hamburger-line:nth-child(3) { top: 26px !important; }
  
  #mobile-menu-toggle-top.active .hamburger-line:nth-child(1) {
    top: 18.5px !important;
  }
  #mobile-menu-toggle-top.active .hamburger-line:nth-child(3) {
    top: 18.5px !important;
  }
  
  .nav-left           { width: 280px; }
  .mobile-nav-overlay.active { left: 280px; right: 0; width: auto; }
  .mobile-menu-toggle { width: 42px; height: 42px; margin-right: 6px; }
  .hamburger-line     { width: 20px; height: 2.5px; }
  .hamburger-line:nth-child(1) { top: 12.5px; }
  .hamburger-line:nth-child(2) { top: 20.5px; }
  .hamburger-line:nth-child(3) { top: 28.5px; }
  .mobile-menu-toggle.active .hamburger-line:nth-child(1),
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) { top: 20.5px; }

  .site-nav a       { padding: 14px 18px; font-size: 14px; }
  .nav-dropdown > a { padding: 14px 18px; }
  .submenu-card     { padding: 12px 26px; font-size: 13px; }
  .brand-logo       { width: 50px; height: 50px; }
}

/* Masaüstünde mobile-only gizle */
@media (min-width: 1025px) {
  .mobile-only, .mobile-only-divider { display: none !important; }
}
.announcement-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.announcement-text { margin: 0; font-size: 14px; white-space: nowrap; }
.announcement-text-short { display: none; margin: 0; font-size: 13px; }
.announcement-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.announcement-link { display: inline-flex; align-items: center; gap: 6px; color: #ffffff; font-weight: 600; font-size: 13px; text-decoration: none; padding: 6px 16px; border-radius: 20px; background: rgba(255,255,255,0.15); transition: all 300ms ease; border: 1px solid rgba(255,255,255,0.3); white-space: nowrap; }
.announcement-link:hover { background: rgba(255,255,255,0.25); transform: scale(1.05); border-color: rgba(255,255,255,0.5); }
.announcement-social { display: flex; gap: 8px; }
.social-icon { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: rgba(255,255,255,0.15); border-radius: 50%; color: #ffffff; font-weight: 700; font-size: 12px; transition: all 300ms ease; text-decoration: none; border: 1px solid rgba(255,255,255,0.2); }
.social-icon:hover { background: rgba(255,255,255,0.3); transform: scale(1.1); border-color: rgba(255,255,255,0.4); }

/* Hide mobile-only items on desktop */
.mobile-only,
.mobile-only-divider {
  display: none;
}

/* Buttons */
.btn { display: inline-block; padding: 12px 24px; border-radius: 8px; font-weight: 600; letter-spacing: 0.4px; transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); border: 2px solid transparent; cursor: pointer; }
.btn:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(0,0,0,0.18); text-decoration: none; }
.btn.primary { background: var(--color-primary); color: #ffffff; box-shadow: 0 4px 12px rgba(30,64,175,0.25); border: 2px solid transparent; }
.btn.primary:hover { background: var(--color-primary); color: #ffffff; border-color: var(--color-secondary); filter: brightness(1.06); }
.btn.secondary { background: linear-gradient(135deg, var(--color-secondary) 0%, #e5c158 100%); color: #0a1420; box-shadow: 0 4px 12px rgba(212,175,55,0.25); font-weight: 700; letter-spacing: 0.3px; }
.btn.secondary:hover { background: linear-gradient(135deg, #e5c158 0%, #f0cd6b 100%); box-shadow: 0 8px 20px rgba(212,175,55,0.35); transform: translateY(-2px); }
.btn.ghost { border: 2px solid var(--color-secondary); color: var(--color-primary); background: transparent; transition: all 300ms ease; }
.btn.ghost:hover { background: linear-gradient(135deg, rgba(212,175,55,0.12), rgba(212,175,55,0.08)); border-color: #e5c158; transform: translateY(-2px); }

.nav-donation { 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: linear-gradient(135deg, var(--color-secondary) 0%, #e5c158 100%);
  color: #0a1420; 
  font-weight: 700; 
  padding: 12px 24px; 
  border-radius: 25px; 
  transition: all 350ms ease; 
  position: relative;
  z-index: 1;
  box-sizing: border-box;
  min-height: 48px;
  box-shadow: 0 4px 15px rgba(212,175,55,0.4), inset 0 1px 0 rgba(255,255,255,0.3);
  overflow: visible;
  text-shadow: none;
  white-space: nowrap;
}

.nav-donation:hover { 
  transform: translateY(-3px) scale(1.05);
  background: linear-gradient(135deg, #e5c158 0%, #f0cd6b 100%);
  box-shadow: 0 10px 28px rgba(212,175,55,0.7), inset 0 1px 0 rgba(255,255,255,0.6);
  text-decoration: none;
  color: #0a1420;
}

.nav-donation:active {
  transform: translateY(-1px) scale(1.02);
  color: #0a1420;
}

/* Info Button */
.info-btn { width: 44px; height: 44px; border: 2px solid rgba(30,64,175,0.25); background: transparent; border-radius: 10px; color: var(--color-primary); cursor: pointer; transition: all 300ms ease; font-size: 20px; display: flex; align-items: center; justify-content: center; padding: 0; }
.info-btn:hover { background: rgba(30,64,175,0.06); border-color: var(--color-primary); transform: scale(1.05); }

/* ============================================================
   CSS — HAMBURGERBUTOn (Modern)
============================================================ */
.mobile-menu-toggle {
  display: none;               /* Masaüstünde gizli */
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.95);
  border: 2px solid rgba(21,58,161,0.3);
  border-radius: 10px;
  cursor: pointer;
  z-index: 60;
  padding: 0;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s, transform 0.15s;
  align-items: center;
  justify-content: center;
}
.mobile-menu-toggle:hover {
  background: rgba(21,58,161,0.06);
  border-color: var(--color-primary);
  box-shadow: 0 3px 12px rgba(21,58,161,0.2);
}
.mobile-menu-toggle:active { transform: scale(0.93); }

/* Hamburger çizgileri */
.hamburger-line {
  position: absolute;
  left: 50%;
  width: 26px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 3px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center;
}
.hamburger-line:nth-child(1) { top: 14px;   transform: translateX(-50%); }
.hamburger-line:nth-child(2) { top: 22.5px; transform: translateX(-50%); }
.hamburger-line:nth-child(3) { top: 31px;   transform: translateX(-50%); }

/* X animasyonu (active) */
.mobile-menu-toggle.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
}
.mobile-menu-toggle.active .hamburger-line        { background: #fff; }
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
  top: 22.5px;
  transform: translateX(-50%) rotate(45deg);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(-50%) scale(0.4);
}
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
  top: 22.5px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ============================================================
   CSS — KARARTMA OVERLAY
============================================================ */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  top: 90px;  /* Announcement-bar'ın altından başla (mobil: 90px) */
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 1998;               /* Nav-left'in altında */
  opacity: 0;
  pointer-events: none;
  transition: none;
}
.mobile-nav-overlay.active {
  opacity: 0;
  pointer-events: auto;
}

/* Hero */
.hero { position: relative; color: var(--color-text); background: linear-gradient(135deg, rgba(21, 58, 161, 0.95) 0%, rgba(30, 80, 201, 0.9) 100%), url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 800"><defs><pattern id="hero-pattern" x="0" y="0" width="120" height="120" patternUnits="userSpaceOnUse"><circle cx="60" cy="60" r="50" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect width="1440" height="800" fill="rgba(21,58,161,0.95)"/><rect width="1440" height="800" fill="url(%23hero-pattern)"/></svg>'); background-position: center; background-size: cover; padding: 0; border-bottom: 2px solid var(--color-secondary); overflow: hidden; min-height: 100vh; min-height: 100svh; width: 100%; max-width: 100vw; box-sizing: border-box; display: flex; flex-direction: column; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.05) 75%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr; align-items: center; justify-items: center; flex: 1; min-height: 100vh; min-height: 100svh; padding: 80px 0; }
.hero-text h1 { font-family: var(--font-serif); font-size: clamp(28px, 4.2vw, 44px); line-height: 1.2; margin: 0 0 12px; color: #ffffff; animation: slideInLeft 700ms ease-out 200ms both; }
.lead { font-size: 18px; color: #ffffff; margin: 0 0 20px; line-height: 1.6; animation: slideInLeft 700ms ease-out 300ms both; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; animation: slideInLeft 700ms ease-out 400ms both; }

.hero-text { background: transparent; border: 2px solid var(--color-secondary); box-shadow: 0 12px 32px rgba(0,0,0,0.15); border-radius: 16px; padding: 32px; backdrop-filter: none; max-width: 860px; width: 100%; margin: 0 auto; }

/* Hero Brand Name (Typewriter) */
.hero-brand-name { margin-bottom: 14px; min-height: 2em; animation: slideInLeft 600ms ease-out 100ms both; }
.hero-brand-text { font-family: var(--font-serif); font-size: clamp(14px, 2.2vw, 22px); color: var(--color-secondary); font-weight: 700; letter-spacing: 0.04em; text-shadow: 1px 1px 3px rgba(0,0,0,0.4); }
.hero-brand-cursor { font-family: var(--font-serif); font-size: clamp(14px, 2.2vw, 22px); color: var(--color-secondary); font-weight: 300; animation: cursor-blink 750ms step-end infinite; margin-left: 1px; }
@keyframes cursor-blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* Hero Animated Cycling Phrases */
.hero-animated-title { position: relative; min-height: 2.6em; font-family: var(--font-serif); font-size: clamp(26px, 4vw, 44px); line-height: 1.25; margin: 0 0 14px; color: #ffffff; }
.animated-phrase { position: absolute; top: 0; left: 0; width: 100%; opacity: 0; transform: translateY(18px); transition: opacity 600ms ease, transform 600ms ease; pointer-events: none; }
.animated-phrase.active { opacity: 1; transform: translateY(0); pointer-events: auto; }
.animated-phrase.leaving { opacity: 0; transform: translateY(-18px); transition: opacity 500ms ease, transform 500ms ease; }
.hero-slider { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.01); transition: opacity 800ms ease, transform 800ms ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: contrast(1) brightness(0.8); }
.hero-controls { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 18px; pointer-events: none; z-index: 40; }
.hero-btn { pointer-events: auto; width: 48px; height: 48px; border: 2px solid var(--color-secondary); border-radius: 50%; background: rgba(255,255,255,0.95); color: var(--color-primary); font-size: 24px; font-weight: 600; display: grid; place-items: center; box-shadow: 0 6px 20px rgba(0,0,0,0.1); transition: all 200ms ease; z-index: 50; }
.hero-btn:hover { transform: scale(1.1); background: var(--color-secondary); color: #000000; }
.hero-dots { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 10px; }
.hero-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--color-secondary); background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.1); transition: all 200ms ease; }
.hero-dot.active { background: var(--color-secondary); border-color: var(--color-primary); transform: scale(1.2); }

/* Announcement/Duyuru Carousel Styles */
.announcement-carousel { background: linear-gradient(90deg, var(--color-primary) 0%, var(--color-primary-light) 100%); color: #ffffff; padding: 0; border-bottom: 3px solid var(--color-secondary); position: relative; }
.announcement-carousel-inner { padding: 16px 0; }
.announcement-carousel-title { font-weight: 700; font-size: 14px; letter-spacing: 0.6px; text-transform: uppercase; color: var(--color-secondary); padding: 0 20px; margin: 0; display: flex; align-items: center; gap: 12px; }
.announcement-carousel-content { position: relative; overflow: hidden; height: 40px; }
.announcement-carousel-scroll { display: flex; flex-direction: column; animation: scroll-up 20s linear infinite; }
.announcement-carousel-scroll:hover { animation-play-state: paused; }
.announcement-carousel-item { height: 40px; display: flex; align-items: center; padding: 0 20px; font-size: 14px; line-height: 1.4; white-space: nowrap; flex-shrink: 0; }
@keyframes scroll-up { 0% { transform: translateY(0); } 100% { transform: translateY(-100%); } }

/* Sub-page hero */
.page-hero { position: relative; background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%); padding: 96px 0 64px; border-bottom: 1px solid rgba(30,64,175,0.12); }
.page-hero h1 { font-family: var(--font-serif); margin: 0 0 10px; font-size: clamp(28px, 4vw, 40px); color: var(--color-primary); border-bottom: 3px solid var(--color-secondary); padding-bottom: 12px; display: inline-block; animation: slideInLeft 700ms ease-out; }
.page-hero p { margin: 0; color: var(--color-muted); font-size: 18px; max-width: 760px; }

/* Sections */
.section { padding: 80px 0; background: var(--color-bg); width: 100%; max-width: 100vw; overflow-x: hidden; box-sizing: border-box; }

/* Ensure all sections and major containers don't overflow */
.hero,
.site-header,
.site-footer,
main,
article,
section {
  overflow-x: hidden;
  max-width: 100vw;
  box-sizing: border-box;
}
.section.alt { background: var(--color-bg-alt); }
.section-header { position: relative; margin-bottom: 32px; }
.section-header h2 { font-family: var(--font-serif); font-size: clamp(22px, 3.2vw, 32px); margin: 0 0 4px; color: var(--color-primary); padding-bottom: 12px; border-bottom: 3px solid var(--color-secondary); display: inline-block; animation: slideInLeft 600ms ease-out; }
.section-header h2::after { content: ""; display: block; position: absolute; bottom: -2px; left: 0; width: 40px; height: 2px; background: var(--color-secondary); }
.section-header p { color: var(--color-muted); margin: 0 0 24px; }

.grid { display: grid; gap: 18px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.card { background: var(--color-surface); border: 2px solid var(--color-secondary); border-radius: var(--radius); padding: 0; box-shadow: var(--shadow); transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); animation: fadeInUp 600ms ease-out; overflow: hidden; }
.card:hover { transform: translateY(-8px); box-shadow: 0 16px 32px rgba(0,0,0,0.15); }
.card h3 { font-family: var(--font-serif); margin: 0 0 8px; font-size: 20px; color: var(--color-secondary); padding: 0 18px; }
.card p { margin: 0; color: var(--color-text); padding: 0 18px 18px 18px; }

.list { display: grid; gap: 12px; }
.list-item { padding: 18px; border-radius: var(--radius); background: var(--color-surface); border-left: 4px solid var(--color-secondary); box-shadow: var(--shadow); animation: slideInRight 600ms ease-out; transition: all 300ms ease; }
.list-item:hover { transform: translateX(8px); box-shadow: 0 12px 28px rgba(0,0,0,0.12); }
.list-item h3 { margin: 0 0 6px; font-family: var(--font-serif); color: var(--color-secondary); }

/* Footer */
.site-footer { 
  border-top: 3px solid var(--color-secondary); 
  background: #ffffff url('../img/footer.png') center bottom/cover no-repeat;
  color: var(--color-text);
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(240,248,255,0.92) 0%, rgba(225,240,255,0.88) 60%, rgba(210,235,255,0.82) 100%);
  pointer-events: none;
}

.footer-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 60px;
  padding: 60px 0 40px;
}

.footer-column h3.footer-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 24px;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--color-secondary);
  padding-bottom: 12px;
}

/* Banka Hesapları */
.footer-bank-account {
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(30, 64, 175, 0.04);
  border-radius: 8px;
  border-left: 3px solid var(--color-secondary);
  transition: all 0.3s ease;
}

.footer-bank-account:hover {
  background: rgba(30, 64, 175, 0.08);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.1);
}

.footer-bank-account h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--color-secondary);
}

.footer-bank-account p {
  margin: 4px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text);
}

.bank-name {
  color: var(--color-muted) !important;
  font-style: italic;
}

.bank-iban {
  font-family: 'Courier New', monospace;
  font-size: 12px !important;
  background: var(--color-primary);
  color: #ffffff;
  padding: 8px 10px;
  border-radius: 4px;
  margin-top: 8px !important;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Site Haritası */
.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  column-count: 2;
  column-gap: 20px;
}

.footer-menu li {
  margin-bottom: 12px;
  break-inside: avoid;
}

.footer-menu a {
  color: var(--color-text);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-menu a::before {
  content: '▸';
  color: var(--color-secondary);
  font-size: 10px;
  transition: transform 0.3s ease;
}

.footer-menu a:hover {
  color: var(--color-primary);
  transform: translateX(5px);
}

.footer-menu a:hover::before {
  transform: translateX(3px);
}

/* İletişim */
.footer-contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all 0.3s ease;
}

.footer-contact-item:hover .contact-icon {
  background: var(--color-secondary);
  color: #ffffff;
  transform: rotate(360deg) scale(1.1);
}

.footer-contact-item p {
  margin: 2px 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--color-text);
}

.footer-contact-item a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.footer-contact-item a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* Footer Bottom */
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-top: 1px solid rgba(30, 64, 175, 0.15);
  margin-top: 20px;
}

.footer-copyright p {
  margin: 0;
  font-size: 14px;
  color: var(--color-muted);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.social-btn {
  width: 40px;
  height: 40px;
  background: rgba(30, 64, 175, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-primary);
  transform: scale(0);
  border-radius: 50%;
  transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-btn:hover::before {
  transform: scale(1);
}

.social-btn svg {
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-btn:hover svg {
  transform: scale(1.2) rotate(5deg);
  color: #ffffff;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

@media (max-width: 900px) {
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-column:first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 40px 0 20px;
  }
  .footer-menu {
    column-count: 1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* Content with Image Layout */
.content-with-image { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.image-side img { border-radius: 12px; width: 100%; height: auto; box-shadow: 0 12px 32px rgba(0,0,0,0.12); animation: slideInRight 700ms ease-out; transition: all 300ms ease; }
.image-side img:hover { box-shadow: 0 16px 40px rgba(0,0,0,0.16); }
.content-side h2 { font-family: var(--font-serif); font-size: clamp(26px, 3.5vw, 36px); margin: 0 0 18px; color: var(--color-primary); border-bottom: 3px solid var(--color-secondary); padding-bottom: 12px; display: inline-block; animation: slideInLeft 700ms ease-out; }
.content-side p { color: var(--color-text); line-height: 1.8; margin: 0 0 24px; font-size: 16px; animation: slideInLeft 700ms ease-out 100ms both; transition: color 300ms ease; }
.content-side .btn { margin-top: 8px; }

/* Responsive */
@media (max-width: 900px) {
  .grid.three { grid-template-columns: 1fr 1fr; }
  .content-with-image { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .grid.two, .grid.three { grid-template-columns: 1fr; }
  .nav-wrap { grid-template-columns: 1fr auto 1fr; }
  .nav-left { width: 100%; }
  .nav-toggle { display: inline-block; }
  .site-nav { display: flex !important; flex-direction: column; position: static; background: transparent; border: none; padding: 0; box-shadow: none; }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .nav-submenu { position: static; opacity: 1; visibility: visible; transform: none; pointer-events: auto; min-width: 100%; max-width: none; padding: 8px 0 0; box-shadow: none; border: none; display: none; background: transparent; }
  .nav-submenu.mega-menu { grid-template-columns: 1fr; gap: 8px; }
  .nav-dropdown.open .nav-submenu { display: grid; }
  .nav-submenu .submenu-card { padding: 14px 12px; font-size: 14px; border-radius: 10px; }
  .nav-submenu .submenu-card .submenu-icon { font-size: 24px; }
  .site-nav .btn { width: 100%; text-align: center; }
}

/* Utility */
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

/* Scroll Reveal */
.reveal { opacity: 0; transform: translateY(30px) scale(0.98); filter: blur(0.5px); transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1), transform 700ms cubic-bezier(0.4, 0, 0.2, 1), filter 700ms ease; will-change: opacity, transform, filter; }
.reveal.in-view { opacity: 1; transform: translateY(0) scale(1); filter: none; }

/* Membership Form Styles */
.form-wrapper { 
  background: var(--color-surface); 
  border-radius: var(--radius); 
  padding: 32px; 
  box-shadow: var(--shadow); 
  border-top: 4px solid var(--color-secondary); 
  animation: slideUpFade 700ms cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center top;
}
.form-header { text-align: center; margin-bottom: 32px; border-bottom: 3px solid var(--color-secondary); padding-bottom: 16px; }
.form-header h2 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; margin: 0 0 8px; letter-spacing: 0.5px; color: var(--color-primary); }
.form-header h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 700; margin: 0; color: var(--color-secondary); }

.membership-form { display: flex; flex-direction: column; gap: 24px; }

.form-layout { display: grid; grid-template-columns: 1fr 200px; gap: 32px; margin-bottom: 24px; }
.form-left { display: flex; flex-direction: column; gap: 24px; }
.form-right { display: flex; flex-direction: column; gap: 24px; }

.form-section { border: 1px solid var(--color-secondary); border-radius: 8px; padding: 16px; margin: 0; animation: slideInUp 600ms ease-out; transition: all 300ms ease; }
.form-section:hover { box-shadow: 0 8px 20px rgba(212,175,55,0.15); }
.form-section legend { font-weight: 600; font-size: 14px; padding: 0 8px; color: var(--color-secondary); text-transform: uppercase; letter-spacing: 0.3px; }
.form-section.table-section { border-top: 2px solid var(--color-secondary); padding-top: 24px; }

.form-row { display: flex; gap: 16px; margin-bottom: 12px; }
.form-row.two-cols { grid-template-columns: 1fr 1fr; }
.form-row.four-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }

.form-group { flex: 1; display: flex; flex-direction: column; }
.form-group label { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: var(--color-secondary); }
.form-control { padding: 8px 10px; border: 1px solid #ccc; border-radius: 4px; font-family: var(--font-sans); font-size: 14px; color: var(--color-text); background: #ffffff; }
.form-control:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30,64,175,0.12); transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); }

textarea.form-control { resize: vertical; }

.photo-section { text-align: center; }
.photo-placeholder { width: 100%; aspect-ratio: 1; border: 2px dashed #ccc; border-radius: 6px; display: flex; align-items: center; justify-content: center; background: #f9f9f9; color: var(--color-muted); font-weight: 600; font-size: 14px; }

.signature-section { margin-top: 24px; }
.signature-section label { font-weight: 600; font-size: 13px; margin-bottom: 8px; display: block; }
.signature-box { width: 100%; height: 80px; border: 1px solid #ccc; border-radius: 4px; background: #fafafa; }

.form-table { width: 100%; border-collapse: collapse; margin-top: 12px; }
.form-table thead { background: #f5f3f0; }
.form-table th { border: 1px solid #ddd; padding: 10px; text-align: left; font-weight: 600; font-size: 13px; }
.form-table td { border: 1px solid #ddd; padding: 10px; }
.form-table input[type="text"], .form-table input[type="date"] { width: 100%; padding: 6px 8px; border: 1px solid #ccc; border-radius: 3px; font-size: 13px; }
.signature-cell { text-align: center; }
.small-signature { height: 50px; border: 1px solid #ccc; border-radius: 3px; background: #fafafa; }

.form-actions { display: flex; gap: 12px; justify-content: center; margin-top: 24px; padding-top: 24px; border-top: 1px solid rgba(30,64,175,0.12); }
.form-actions .btn { min-width: 150px; }

.form-info { background: #f0f4fa; border-left: 4px solid var(--color-primary); padding: 16px; border-radius: 4px; margin-top: 24px; }
.form-info p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--color-text); }

/* Responsive Form */
@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; gap: 24px; }
  .form-right { flex-direction: row; align-items: flex-start; }
  .photo-section { flex: 1; }
  .signature-section { flex: 1; }
  .form-row.four-cols { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .form-wrapper { padding: 16px; }
  .form-header h2 { font-size: 16px; }
  .form-header h3 { font-size: 20px; }
  .form-layout { display: flex; flex-direction: column; }
  .form-row, .form-row.two-cols, .form-row.four-cols { flex-direction: column; }
  .form-table { font-size: 12px; }
  .form-table th, .form-table td { padding: 6px; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
}

/* Gallery Styles */
figure { margin: 0; height: 100%; display: flex; flex-direction: column; }
figcaption { padding: 12px 16px; font-size: 14px; color: var(--color-secondary); font-weight: 600; text-align: center; background: rgba(212, 175, 55, 0.05); border-top: 2px solid var(--color-secondary); }
.card figure { display: flex; flex-direction: column; height: 100%; }
.card img { width: 100%; height: 280px; object-fit: cover; border-radius: 8px 8px 0 0; cursor: pointer; transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1); display: block; }
.card img:hover { transform: scale(1.05); }
.card figcaption { border-radius: 0 0 8px 8px; margin-top: -2px; }

/* Lightbox Modal */
.lightbox { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 300ms ease, visibility 300ms ease; }
.lightbox.active { opacity: 1; visibility: visible; pointer-events: auto; }
.lightbox-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.1); backdrop-filter: blur(2px); }
.lightbox-container { position: relative; z-index: 10; max-width: 90vw; max-height: 90vh; display: flex; flex-direction: column; align-items: center; }
.lightbox-img { max-width: 100%; max-height: 75vh; object-fit: contain; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5); animation: fadeInUp 400ms cubic-bezier(0.4, 0, 0.2, 1); }
.lightbox-caption { color: #f2f5fa; font-size: 16px; text-align: center; margin-top: 16px; max-width: 100%; animation: fadeInUp 400ms cubic-bezier(0.4, 0, 0.2, 1) 100ms backwards; }
.lightbox-counter { color: rgba(242, 245, 250, 0.7); font-size: 13px; margin-top: 8px; animation: fadeInUp 400ms cubic-bezier(0.4, 0, 0.2, 1) 200ms backwards; }
.lightbox-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border: none; background: rgba(255, 255, 255, 0.15); color: var(--color-secondary); font-size: 28px; cursor: pointer; border-radius: 4px; transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 11; display: flex; align-items: center; justify-content: center; }
.lightbox-btn:hover { background: rgba(255, 255, 255, 0.25); transform: translateY(-50%) scale(1.1); }
.lightbox-btn.prev { left: 16px; }
.lightbox-btn.next { right: 16px; }
.lightbox-close { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border: none; background: rgba(255, 255, 255, 0.15); color: #f2f5fa; font-size: 24px; cursor: pointer; border-radius: 4px; transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 11; display: flex; align-items: center; justify-content: center; }
.lightbox-close:hover { background: rgba(255, 255, 255, 0.25); transform: scale(1.1); }

@media (max-width: 900px) {
  .lightbox-btn { width: 40px; height: 40px; font-size: 20px; }
  .lightbox-btn.prev { left: 8px; }
  .lightbox-btn.next { right: 8px; }
  .lightbox-close { width: 36px; height: 36px; font-size: 20px; top: 8px; right: 8px; }
}

@media (max-width: 640px) {
  .lightbox-img { max-height: 60vh; }
  .lightbox-btn { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-btn.prev { left: 4px; }
  .lightbox-btn.next { right: 4px; }
  .lightbox-close { width: 32px; height: 32px; font-size: 16px; top: 4px; right: 4px; }
  .lightbox-caption { font-size: 14px; }
  .lightbox-counter { font-size: 12px; }
}

/* Auth UI compact dropdown */
.auth-ui { display: flex; align-items: center; gap: 12px; margin-left: 16px; }
.auth-warn-pill { background: rgba(212,175,55,0.15); color: var(--color-secondary); border: 1px solid var(--color-secondary); padding: 6px 10px; border-radius: 999px; font-size: 12px; }
.auth-dropdown { position: relative; }
.auth-trigger { display: inline-flex; align-items: center; gap: 8px; }
.auth-trigger::after { content: "▾"; font-size: 12px; opacity: 0.7; }
.auth-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 180px; background: #fff; border: 1px solid rgba(30,64,175,0.12); border-radius: 8px; box-shadow: 0 16px 32px rgba(0,0,0,0.12); padding: 8px; opacity: 0; visibility: hidden; transform: translateY(-6px); transition: all 200ms cubic-bezier(0.4, 0, 0.2, 1); z-index: 999; }
.auth-dropdown.open .auth-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.auth-menu a { display: block; padding: 10px 12px; border-radius: 6px; color: var(--color-text); text-decoration: none; }
.auth-menu a:hover { background: rgba(30,64,175,0.06); color: var(--color-primary); }
.auth-menu-note { padding: 8px 10px; font-size: 12px; color: var(--color-muted); border-bottom: 1px dashed rgba(30,64,175,0.15); margin-bottom: 6px; }
.auth-menu a.disabled { pointer-events: none; opacity: 0.6; cursor: not-allowed; }

@media (max-width: 900px) {
  .auth-ui { margin-left: 0; }
}

/* Tüzük Page Styles */
.tuzuk-content { max-width: 900px; margin: 0 auto; padding: 40px; }
.tuzuk-content h2 { font-family: var(--font-serif); font-size: 28px; color: var(--color-primary); margin: 48px 0 24px; padding-bottom: 12px; border-bottom: 2px solid var(--color-secondary); }
.tuzuk-content h3 { font-family: var(--font-serif); font-size: 20px; color: var(--color-primary); margin: 32px 0 16px; }
.tuzuk-content p, .tuzuk-content li { line-height: 1.8; margin-bottom: 12px; }
.tuzuk-content ul, .tuzuk-content ol { margin: 16px 0 24px 24px; }
.tuzuk-content li { margin-bottom: 8px; }
.tuzuk-content strong { color: var(--color-secondary); font-weight: 600; }

@media (max-width: 640px) {
  .tuzuk-content { padding: 24px 16px; }
  .tuzuk-content h2 { font-size: 22px; }
  .tuzuk-content h3 { font-size: 18px; }
}
/* === Payment Form Styles === */
.payment-form-container {
  max-width: 600px;
  margin: 0 auto;
}

.payment-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.payment-step {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transition: all 0.2s ease;
}

.payment-step .step-number {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #fff;
  background: var(--color-primary);
}

.payment-step .step-label {
  font-weight: 600;
  font-size: 14px;
}

.payment-step .step-desc {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
}

.payment-step.current {
  border-color: var(--color-secondary);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.payment-step.current .step-number {
  background: var(--color-secondary);
  color: #1a2332;
}

.payment-step.active:not(.current) .step-number {
  background: #0ea5e9;
}

.inline-hint {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--color-muted);
}

.payment-form {
  background: var(--color-surface);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 2px solid #e5e7eb;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.form-group textarea {
  resize: vertical;
}

.form-group input[readonly] {
  background-color: #f3f4f6;
  cursor: not-allowed;
}

.amount-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 12px;
}

.amount-options.wide {
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.amount-btn {
  padding: 12px;
  border: 2px solid #e5e7eb;
  background: white;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s;
  font-size: 14px;
}

.amount-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.amount-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(30,64,175,0.08);
  color: var(--color-primary);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
}

.pill-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.pill {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 10px 14px;
  background: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pill:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pill.active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  box-shadow: 0 10px 18px rgba(30,64,175,0.18);
}

.form-note {
  margin-top: 6px;
  font-size: 13px;
  color: var(--color-muted);
}

.form-row.dual {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.subtle-card {
  border: 1px dashed rgba(30,64,175,0.2);
  padding: 12px;
  border-radius: var(--radius);
  background: #f8fafc;
  font-size: 13px;
  color: var(--color-text);
}

/* Payment Summary */
.payment-summary {
  background: #f9fafb;
  padding: 24px;
  border-radius: var(--radius);
  border-left: 4px solid var(--color-secondary);
  margin-bottom: 24px;
}

.payment-summary h3 {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--color-text);
}

.summary-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #e5e7eb;
}

.summary-item:last-child {
  border-bottom: none;
  padding-top: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px solid #e5e7eb;
  font-size: 16px;
}

.summary-item strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* IBAN Section */
.iban-section {
  background: #f0fdf4;
  padding: 32px;
  border-radius: var(--radius);
  border: 2px solid var(--color-secondary);
  text-align: center;
}

.iban-section h3 {
  color: var(--color-primary);
  margin-bottom: 16px;
}

.iban-label {
  color: var(--color-muted);
  margin-bottom: 16px;
}

.iban-display {
  background: white;
  padding: 16px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.iban-input {
  flex: 1;
  padding: 12px;
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  font-family: 'Courier New', monospace;
  text-align: center;
  background: #fffbf0;
  cursor: text;
}

#copy-iban-btn {
  padding: 12px 16px;
  white-space: nowrap;
}

.iban-details {
  background: white;
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 24px;
  text-align: left;
}

.iban-details p {
  margin: 8px 0;
  font-size: 14px;
  color: var(--color-text);
}

.iban-details strong {
  color: var(--color-primary);
}

.iban-note {
  font-size: 13px;
  color: var(--color-muted);
  font-style: italic;
  padding: 12px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: var(--radius);
}

.iban-note a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.iban-note a:hover {
  text-decoration: underline;
}

/* Checkbox Styling */
.checkbox-container input[type="checkbox"] {
  accent-color: var(--color-primary);
}

.checkbox-container:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {

  .payment-form {
    padding: 20px;
  }

  .amount-options {
    grid-template-columns: 1fr;
  }

  .iban-display {
    flex-direction: column;
  }

  #copy-iban-btn {
    width: 100%;
  }
}

/* === MODERN LOADING SPINNER === */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.spinner-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.modern-spinner {
  position: relative;
  width: 80px;
  height: 80px;
}

.spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid transparent;
  border-top-color: var(--color-primary);
  border-right-color: var(--color-secondary);
  border-radius: 50%;
  animation: spinRotate 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) {
  animation-delay: -0.45s;
}

.spinner-ring:nth-child(2) {
  animation-delay: -0.3s;
  border-top-color: var(--color-secondary);
  border-right-color: var(--color-primary);
}

.spinner-ring:nth-child(3) {
  animation-delay: -0.15s;
  border-top-color: var(--color-primary);
  border-right-color: var(--color-secondary);
}

@keyframes spinRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.spinner-text {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.5px;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

/* === CONFETTI ANIMATION === */
.confetti-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--color-secondary);
  opacity: 0;
  animation: confettiFall 3s ease-out forwards;
}

.confetti:nth-child(2n) {
  width: 12px;
  height: 6px;
  background: var(--color-primary);
}

.confetti:nth-child(3n) {
  width: 8px;
  height: 8px;
  background: #ff6b6b;
  border-radius: 50%;
}

.confetti:nth-child(4n) {
  width: 6px;
  height: 12px;
  background: #4ecdc4;
}

.confetti:nth-child(5n) {
  width: 10px;
  height: 10px;
  background: #ffe66d;
  transform: rotate(45deg);
}

@keyframes confettiFall {
  0% {
    opacity: 1;
    transform: translateY(-100vh) rotate(0deg);
  }
  100% {
    opacity: 0;
    transform: translateY(100vh) rotate(720deg);
  }
}

/* Success Message Animation */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  background: white;
  padding: 40px 60px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  z-index: 10001;
  text-align: center;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message.show {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

.success-message h2 {
  font-family: var(--font-serif);
  color: var(--color-primary);
  margin: 0 0 12px;
  font-size: 32px;
}

.success-message p {
  color: var(--color-muted);
  margin: 0;
  font-size: 18px;
}

.success-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--color-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes scaleIn {
  0% {
    transform: scale(0) rotate(-180deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

/* Bank Modal */
.bank-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all 300ms ease;
}

.bank-modal.open {
  opacity: 1;
  visibility: visible;
}

.bank-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  transition: all 300ms ease;
}

.bank-modal.open .bank-modal-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.bank-modal-container {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  overflow-y: auto;
  padding: 32px 24px;
  transform: translateX(100%);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2001;
}

.bank-modal.open .bank-modal-container {
  transform: translateX(0);
}

.bank-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  color: var(--color-primary);
  transition: all 300ms ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bank-modal-close:hover {
  background: rgba(30, 64, 175, 0.1);
  transform: rotate(90deg);
}

.bank-modal-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  margin: 0 0 32px;
  padding-top: 8px;
  border-top: 3px solid var(--color-secondary);
  padding-top: 16px;
}

.bank-section {
  margin-bottom: 28px;
}

.bank-section-title {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-secondary);
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid rgba(212, 175, 55, 0.3);
  padding-bottom: 8px;
}

.bank-info {
  background: rgba(30, 64, 175, 0.06);
  padding: 16px;
  border-radius: 10px;
  border-left: 4px solid var(--color-primary);
}

.bank-info p {
  margin: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--color-text);
}

.bank-info p:first-child {
  margin-top: 0;
}

.bank-info p:last-child {
  margin-bottom: 0;
}

.bank-name {
  font-weight: 600;
  color: var(--color-primary);
}

.bank-iban {
  font-family: 'Courier New', monospace;
  background: var(--color-primary) !important;
  color: #ffffff !important;
  padding: 8px 10px;
  border-radius: 6px;
  margin-top: 8px !important;
  letter-spacing: 1px;
  font-weight: 600;
}

.bank-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 2px solid rgba(30, 64, 175, 0.12);
}

.bank-btn {
  padding: 14px 16px;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 300ms ease;
  font-size: 14px;
  letter-spacing: 0.5px;
}

.donate-btn {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #e5c158 100%);
  color: #0a1420;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

.donate-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
  background: linear-gradient(135deg, #e5c158 0%, #f0cd6b 100%);
}

.membership-btn {
  background: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

.membership-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(30, 64, 175, 0.4);
  background: #1a2f7f;
}

/* Announcement Carousel Responsive */
@media (max-width: 640px) {
  .bank-modal-container {
    max-width: 100%;
    padding: 24px 16px;
  }

  .bank-actions {
    grid-template-columns: 1fr;
  }

  .announcement-carousel-title {
    font-size: 11px;
  }

  .announcement-carousel-item {
    font-size: 11px;
    padding: 0 10px;
  }
}

/* ==================== SCROLL PROGRESS INDICATOR & SCROLL TO TOP ==================== */
.scroll-progress-container {
  display: none; /* Şu an kullanılmıyor, scroll-to-top butonunu engellemesi için gizle */
  position: fixed;
  bottom: 95px;
  right: 30px;
  width: 56px;
  height: 56px;
  z-index: 9999;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 300ms ease, visibility 300ms ease, transform 200ms ease;
  transform: scale(1);
}

.scroll-progress-container.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: scale(1);
}

.scroll-progress-container:hover {
  transform: scale(1.1);
}

.scroll-progress-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  display: none;
}

.scroll-progress-ring circle {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dashoffset 100ms ease;
}

.scroll-progress-bg {
  stroke: #e5e7eb;
}

.scroll-progress-bar {
  stroke: var(--color-primary);
  stroke-dasharray: 164;
  stroke-dashoffset: 164;
}

/* ==================== EXTRA SMALL MOBILE (max 480px) ==================== */
@media (max-width: 480px) {
  .nav-left {
    width: 280px;
  }

  .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    margin-right: 8px;
  }

  .hamburger-line {
    width: 22px;
    height: 2.5px;
  }

  .hamburger-line:nth-child(1) {
    top: 12.5px;
  }

  .hamburger-line:nth-child(2) {
    top: 20.75px;
  }

  .hamburger-line:nth-child(3) {
    top: 29px;
  }

  .mobile-menu-toggle.active .hamburger-line:nth-child(1),
  .mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    top: 20.75px;
  }

  /* Even larger touch targets for small screens */
  .site-nav a {
    padding: 16px 18px;
    font-size: 14px;
  }

  .nav-dropdown > a {
    padding: 16px 18px;
    min-height: 52px;
  }

  .nav-submenu a,
  .nav-submenu .submenu-card {
    padding: 14px 26px;
    font-size: 13px;
  }

  /* Overlay 480px için ayarla */
  .mobile-nav-overlay {
    top: 76px !important;
  }

  /* 480px: Reduce padding for smaller screens */
  .announcement-bar .container {
    padding: 0 !important;
    overflow-x: visible !important;
  }

  .announcement-inner {
    padding: 0 8px;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .announcement-text-short {
    font-size: 11px;
  }

  .announcement-link {
    font-size: 11px;
    padding: 5px 10px;
  }

  .login-image {
    width: 14px !important;
    height: 14px !important;
  }

  .container {
    padding: 0 8px;
  }

  .nav-wrap {
    gap: 12px;
    min-height: 50px;
  }

  .mobile-menu-toggle {
    width: 38px;
    height: 38px;
    margin-right: 8px;
  }

  .hamburger-line {
    width: 20px;
  }

  .site-header.is-top .brand-logo {
    width: 60px;
    height: 60px;
  }

  .site-header.is-scrolled .brand-logo {
    width: 35px;
    height: 35px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .site-nav a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .nav-dropdown > a {
    padding: 14px 20px;
  }

  .nav-submenu a,
  .nav-submenu .submenu-card {
    padding: 12px 28px;
    font-size: 14px;
  }

  .site-nav a {
    padding: 14px 20px;
    font-size: 15px;
  }

  .nav-dropdown > a {
    padding: 14px 20px;
  }

  .nav-submenu a,
  .nav-submenu .submenu-card {
    padding: 12px 28px;
    font-size: 14px;
  }

  .section {
    padding: 40px 0;
  }

  .btn {
    padding: 9px 16px;
    font-size: 13px;
  }

  .nav-donation {
    padding: 7px 10px;
    font-size: 11px;
    min-height: 32px;
  }

  .nav-donation-icon {
    width: 16px !important;
    height: 16px !important;
  }

  .scroll-progress-container {
    bottom: 15px;
    right: 15px;
    width: 44px;
    height: 44px;
  }
}

