/* ==========================================================================
   SANATEKIBI — Ana sayfa
   Tamamen semantik tokenlara dayali; acik/koyu/set temada calisir.
   (Onceki surum sabit acik-tema hex'leri kullaniyordu ve koyu temada
   basliklar okunmuyordu.)
   ========================================================================== */
.home-page .app-header .container,
.home-page .app-main.container {
  width: min(94vw, 1360px);
  max-width: none;
}

.home-page .app-main { padding-top: clamp(20px, 3vw, 44px); }

/* --- Hero yerlesimi --- */
.home-page .hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(300px, 0.7fr);
  gap: clamp(16px, 2vw, 28px);
  margin-bottom: clamp(20px, 3vw, 40px);
}

.home-page .card {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* --- Hero: markali "spotlight" blok (her iki temada koyu yesil zemin) --- */
.home-page .home-hero {
  position: relative;
  overflow: hidden;
  min-height: 320px;
  padding: clamp(28px, 5vw, 68px);
  border: 0;
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, #1c5b52 0%, transparent 60%),
    linear-gradient(135deg, #123c31 0%, #0f4a40 100%);
}

/* Sakin, cok yavas hareket eden ambiyans (yalniz transform anime edilir) */
.home-page .home-hero::before,
.home-page .home-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(8px);
  will-change: transform;
}
.home-page .home-hero::before {
  width: 460px; height: 460px;
  top: -160px; right: -120px;
  background: radial-gradient(circle, rgba(95, 216, 201, 0.28), transparent 70%);
  animation: sanatekibi-blob 26s var(--ease-in-out) infinite;
}
.home-page .home-hero::after {
  width: 360px; height: 360px;
  bottom: -160px; left: -80px;
  background: radial-gradient(circle, rgba(36, 87, 214, 0.22), transparent 70%);
  animation: sanatekibi-blob 32s var(--ease-in-out) infinite reverse;
}

.home-page .home-hero .card-body { position: relative; z-index: 1; max-width: 820px; }

.home-page .home-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  color: #bfe7d3;
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.home-page .home-hero h1 {
  max-width: 760px;
  margin-bottom: 16px;
  color: #fff;
  font-size: clamp(32px, 4.6vw, 60px);
  line-height: 1.04;
}
.home-page .home-hero p {
  max-width: 640px;
  margin-bottom: 24px;
  color: #d8e9e1;
  font-size: clamp(15px, 1.3vw, 20px);
  line-height: 1.6;
}
.home-page .home-hero .inline { gap: 10px; }
.home-page .home-hero .btn { min-height: 46px; border-radius: var(--radius-md); font-weight: 700; }
.home-page .home-hero .btn-primary { background: #fff; border-color: #fff; color: #123c31; }
.home-page .home-hero .btn-primary:hover { background: #dff3e8; border-color: #dff3e8; color: #123c31; }
.home-page .home-hero .btn.ok { background: #e85d3f; border-color: #e85d3f; color: #fff; }
.home-page .home-hero .btn.ok:hover { filter: brightness(1.06); }
.home-page .home-hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.45); color: #fff; }
.home-page .home-hero .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; color: #fff; }
.home-page .home-hero-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: #a9c7b9;
  font-size: var(--text-xs);
}

/* --- Hizli erisim karti --- */
.home-page .home-access { align-self: stretch; }
.home-page .home-access-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--color-text-main);
  font-size: var(--text-lg);
  font-weight: 700;
}

/* --- Istatistik seridi --- */
.home-page .app-main > .grid:not(.home-modules) {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

/* --- Bolum basligi --- */
.home-page .home-section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin: clamp(28px, 4vw, 44px) 0 16px;
}
.home-page .home-section-heading span {
  color: var(--color-brand);
  font-size: var(--text-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.home-page .home-section-heading h2 { margin: 3px 0 0; color: var(--color-text-main); font-size: clamp(22px, 3vw, 32px); }
.home-page .home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-brand);
  font-weight: 700;
  white-space: nowrap;
}

/* --- Modul kartlari --- */
.home-page .home-modules { align-items: start; }
.home-page .home-module { min-width: 0; padding: clamp(20px, 2vw, 26px); }
.home-page .home-module h3 { color: var(--color-text-main); }
.home-page .home-module--jobs,
.home-page .home-module--assistant { grid-column: span 2; }

.home-page .assistant-grid { display: grid; grid-template-columns: 1.1fr 0.8fr 1.4fr auto; gap: 8px; }
.home-page .assistant-grid > * { min-width: 0; }

/* --- Duyarli --- */
@media (max-width: 1100px) {
  .home-page .hero-layout { grid-template-columns: minmax(0, 1fr); }
  .home-page .home-hero { min-height: 280px; }
  .home-page .app-main > .grid:not(.home-modules) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .home-page .app-header .container,
  .home-page .app-main.container { width: 100%; padding-inline: 14px; }
  .home-page .app-header nav,
  .home-page .app-header .badge { display: none; }
  .home-page .home-hero { min-height: 0; padding: 26px 22px; }
  .home-page .home-hero::before,
  .home-page .home-hero::after { display: none; }
  .home-page .home-hero h1 { font-size: 34px; }
  .home-page .home-hero .btn { width: 100%; }
  .home-page .app-main > .grid:not(.home-modules),
  .home-page .home-modules { grid-template-columns: minmax(0, 1fr) !important; }
  .home-page .home-module--jobs,
  .home-page .home-module--assistant { grid-column: auto; }
  .home-page .home-section-heading { align-items: flex-start; flex-direction: column; }
  .home-page .assistant-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (min-width: 2200px) {
  .home-page .hero-layout { grid-template-columns: minmax(0, 2.2fr) minmax(420px, 0.8fr); }
  .home-page .home-modules { grid-template-columns: repeat(4, minmax(320px, 1fr)) !important; }
}

/* ==========================================================================
   Odakli giris/kayit ekrani (index.php ?action=login|register|forgot)
   ========================================================================== */
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: var(--color-text-faint); font-size: var(--text-xs); }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--color-border); }

.home-page .auth-screen {
  display: flex;
  justify-content: center;
  padding: clamp(16px, 4vw, 48px) 0;
}
.home-page .auth-card {
  width: 100%;
  max-width: 460px;
  padding: clamp(24px, 4vw, 40px);
}
.home-page .auth-head { text-align: center; margin-bottom: var(--space-lg); }
.auth-logo {
  display: inline-grid;
  place-items: center;
  width: 48px; height: 48px;
  margin: 0 auto var(--space-sm);
  border-radius: var(--radius-md);
  background: var(--color-brand-soft);
  color: var(--color-brand);
  font-size: 26px;
}
.home-page .auth-head h1 { margin: 0 0 4px; font-size: clamp(24px, 3vw, 30px); }
.home-page .auth-head p { margin: 0; }

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  margin-bottom: var(--space-lg);
  background: var(--color-surface-2);
  border-radius: var(--radius-md);
}
.auth-tabs a {
  text-align: center;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
}
.auth-tabs a:hover { color: var(--color-text-main); }
.auth-tabs a.is-active { background: var(--color-surface); color: var(--color-brand); box-shadow: var(--shadow-sm); }

.auth-form .field { margin-bottom: var(--space-md); }
.auth-alt { margin-top: var(--space-md); text-align: center; font-size: var(--text-sm); }
.auth-foot { margin-top: var(--space-lg); padding-top: var(--space-md); border-top: 1px solid var(--color-border); text-align: center; font-size: var(--text-sm); }
.auth-foot a { color: var(--color-text-muted); }
.auth-foot a:hover { color: var(--color-brand); }
