/* ==========================================================================
   erayhocam.com ortak tema — ana sayfa ve bütün alt siteler (/veli, /sinav, …) bunu kullanır.
   Alt sitede: <link rel="stylesheet" href="/ortak/tema.css"> ve <body class="eh-zemin">
   Sınıf adları "eh-" ile başlar; alt sitelerin kendi stilleriyle çakışmaz.
   ========================================================================== */
:root {
  --eh-lacivert: #1c3563;
  --eh-lacivert-koyu: #14264a;
  --eh-petrol: #3d8aa6;
  --eh-petrol-koyu: #2b6f88;
  --eh-petrol-acik: #e3f1f5;
  --eh-bronz: #d39a55;
  --eh-bronz-koyu: #a8722f;
  --eh-bronz-acik: #fbf0e2;
  --eh-mor: #5a63b0;
  --eh-mor-acik: #eceefb;
  --eh-yazi: #2b3648;
  --eh-soluk: #5f6b7d;
  --eh-cizgi: rgba(28, 53, 99, .10);
  --eh-cam: rgba(255, 255, 255, .62);
  --eh-cam-kenar: rgba(255, 255, 255, .85);
  --eh-golge: 0 1px 2px rgba(20, 38, 74, .06), 0 8px 22px rgba(20, 38, 74, .08), 0 24px 48px -18px rgba(20, 38, 74, .18);
  --eh-golge-ust: 0 2px 4px rgba(20, 38, 74, .07), 0 14px 32px rgba(20, 38, 74, .12), 0 34px 64px -20px rgba(20, 38, 74, .28);
  --eh-yaricap: 22px;
  --eh-yazitipi: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Roboto, Arial, sans-serif;
}

/* Zemin: renkli yumuşak lekeler (buzlu cam kartların arkasında görünür) */
.eh-zemin {
  margin: 0;
  font-family: var(--eh-yazitipi);
  color: var(--eh-yazi);
  background-color: #f4f7fa;
  background-image:
    radial-gradient(42rem 30rem at 92% -8%, rgba(61, 138, 166, .30), transparent 62%),
    radial-gradient(36rem 28rem at -8% 22%, rgba(211, 154, 85, .24), transparent 60%),
    radial-gradient(40rem 30rem at 70% 78%, rgba(90, 99, 176, .16), transparent 62%),
    radial-gradient(30rem 24rem at 8% 98%, rgba(61, 138, 166, .18), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
  -webkit-text-size-adjust: 100%;
}

/* Buzlu cam kart */
.eh-cam {
  background: var(--eh-cam);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  backdrop-filter: blur(18px) saturate(1.5);
  border: 1px solid var(--eh-cam-kenar);
  border-radius: var(--eh-yaricap);
  box-shadow: var(--eh-golge);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .eh-cam { background: rgba(255, 255, 255, .94); }
}

/* Üst çubuk (bütün sitelerde aynı) */
.eh-ust {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: 1080px; margin: 12px auto 0; padding: 10px 14px 10px 12px;
}
.eh-ust-sar { position: sticky; top: 12px; z-index: 50; padding: 0 16px; }
.eh-marka { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--eh-lacivert); }
.eh-marka img { width: 40px; height: 40px; display: block; }
.eh-marka-ad { font-weight: 750; font-size: 18px; letter-spacing: -.01em; line-height: 1.1; }
.eh-marka-alt { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--eh-soluk); font-weight: 600; }
.eh-menu { display: flex; align-items: center; gap: 6px; }
.eh-menu a {
  font-size: 14px; font-weight: 650; text-decoration: none; color: var(--eh-lacivert);
  padding: 8px 13px; border-radius: 999px; transition: background .15s ease;
}
.eh-menu a:hover, .eh-menu a:focus-visible { background: rgba(28, 53, 99, .07); outline: none; }
.eh-menu a.eh-vurgu { background: var(--eh-lacivert); color: #fff; }
.eh-menu a.eh-vurgu:hover { background: var(--eh-lacivert-koyu); }
.eh-menu a[aria-current="page"] { background: var(--eh-petrol-acik); color: var(--eh-petrol-koyu); }

/* Alt bilgi */
.eh-alt { max-width: 1080px; margin: 48px auto 0; padding: 22px 20px 32px; border-top: 1px solid var(--eh-cizgi);
          display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--eh-soluk); }
.eh-alt a { color: inherit; }

@media (max-width: 640px) {
  .eh-ust-sar { top: 8px; padding: 0 10px; }
  .eh-ust { margin-top: 8px; padding: 8px 10px; }
  .eh-marka img { width: 34px; height: 34px; }
  .eh-marka-ad { font-size: 16px; }
  .eh-marka-alt { display: none; }
  .eh-menu a { padding: 7px 10px; font-size: 13px; }
  .eh-menu a.eh-gizle-dar { display: none; }
}
@media (prefers-reduced-motion: reduce) { .eh-zemin * { transition: none !important; } }
