/* ============================================================
   KANUN EĞİTİM YOLCULUĞU — Global Stil Dosyası
   Tasarım sistemi: Osmanlı minyatür sanatından ilham alan,
   sıcak ve akademik estetik.
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Lato:wght@300;400;700&display=swap');

/* --- CSS Değişkenleri (Tasarım Sistemi) --- */
:root {
  --cream:        #F5F0E8;
  --cream-dark:   #EDE5D3;
  --burgundy:     #8B1A1A;
  --burgundy-dark:#6B1414;
  --burgundy-light:#A82020;
  --gold:         #C9A84C;
  --gold-light:   #DFC07A;
  --gold-dark:    #A8882E;
  --brown:        #2C1810;
  --brown-mid:    #5C3D2E;
  --brown-light:  #8B6B5D;
  --white:        #FFFFFF;
  --shadow:       rgba(44, 24, 16, 0.15);
  --shadow-strong: rgba(44, 24, 16, 0.30);

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', Arial, sans-serif;

  --radius:       6px;
  --radius-lg:    12px;
  --transition:   0.25s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--brown);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  min-height: 100vh;
}

a {
  color: var(--burgundy);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-dark);
}

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

/* ============================================================
   OSMANLI DEKORATİF ELEMENTLERİ
   ============================================================ */

/* Geometrik süs bölücü */
.ornament-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem 0;
  color: var(--gold);
}

.ornament-divider::before,
.ornament-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

.ornament-divider span {
  font-size: 1.2rem;
  letter-spacing: 6px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Osmanlı çerçeve köşe süsü */
.ottoman-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 12px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

.ottoman-card::before,
.ottoman-card::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--gold);
  border-style: solid;
}

.ottoman-card::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
  border-radius: 3px 0 0 0;
}

.ottoman-card::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
  border-radius: 0 0 3px 0;
}

.ottoman-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px var(--shadow-strong);
}

/* Dekoratif başlık çerçevesi */
.section-title-wrap {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title-wrap .pre-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.section-title-wrap h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--burgundy);
  font-weight: 700;
  line-height: 1.2;
}

.section-title-wrap .sub-title {
  font-size: 1rem;
  color: var(--brown-mid);
  margin-top: 0.75rem;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}

/* Osmanlı desenli arka plan çizgisi */
.pattern-bg {
  background-color: var(--cream-dark);
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent,
      transparent 20px,
      rgba(201,168,76,0.07) 20px,
      rgba(201,168,76,0.07) 21px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 20px,
      rgba(201,168,76,0.07) 20px,
      rgba(201,168,76,0.07) 21px
    );
}

/* ============================================================
   NAV (tüm sayfalarda ortak)
   ============================================================ */

.navbar {
  background: var(--burgundy);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 1rem;
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.navbar-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.navbar-logo .logo-text {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
}

.navbar-logo .logo-sub {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  display: block;
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.navbar-links a {
  color: rgba(245,240,232,0.85);
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 400;
  letter-spacing: 0.5px;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.navbar-links a:hover,
.navbar-links a.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

.navbar-links .nav-cta a {
  background: var(--gold);
  color: var(--brown);
  font-weight: 700;
  padding: 0.4rem 1rem;
}

.navbar-links .nav-cta a:hover {
  background: var(--gold-light);
  color: var(--brown);
}

/* Hamburger */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--cream);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  background: linear-gradient(135deg, var(--burgundy) 0%, var(--burgundy-dark) 60%, #3D0A0A 100%);
  color: var(--cream);
  text-align: center;
  padding: 5rem 1.5rem 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.06) 40px,
      rgba(201,168,76,0.06) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(201,168,76,0.06) 40px,
      rgba(201,168,76,0.06) 41px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(201,168,76,0.2);
  border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-light);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: var(--cream);
}

.hero h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero p {
  font-size: 1.1rem;
  color: rgba(245,240,232,0.8);
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  text-decoration: none;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: var(--gold);
  color: var(--brown);
}
.btn-primary:hover {
  background: var(--gold-light);
  color: var(--brown);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(201,168,76,0.4);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 2px solid rgba(245,240,232,0.5);
}
.btn-outline:hover {
  border-color: var(--gold-light);
  color: var(--gold-light);
}

.btn-burgundy {
  background: var(--burgundy);
  color: var(--cream);
}
.btn-burgundy:hover {
  background: var(--burgundy-light);
  color: var(--cream);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}

/* ============================================================
   BÖLÜM CONTAINER
   ============================================================ */

.section {
  padding: 5rem 1.5rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.container-sm {
  max-width: 720px;
  margin: 0 auto;
}

/* ============================================================
   ROADMAP
   ============================================================ */

.roadmap-container {
  position: relative;
  padding-bottom: 2rem;
}

.roadmap-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--burgundy));
  transform: translateX(-50%);
}

.roadmap-list {
  list-style: none;
  position: relative;
  z-index: 1;
}

.roadmap-item {
  display: flex;
  justify-content: center;
  margin-bottom: 0;
  position: relative;
}

.roadmap-item:nth-child(odd) {
  padding-right: calc(50% + 32px);
  justify-content: flex-end;
}

.roadmap-item:nth-child(even) {
  padding-left: calc(50% + 32px);
  justify-content: flex-start;
}

.stage-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  max-width: 420px;
  width: 100%;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 2px 10px var(--shadow);
  position: relative;
  margin-bottom: 2.5rem;
}

.stage-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px var(--shadow-strong);
  border-color: var(--gold);
}

/* Connector line from card to spine */
.roadmap-item:nth-child(odd) .stage-card::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -32px;
  width: 32px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}

.roadmap-item:nth-child(even) .stage-card::after {
  content: '';
  position: absolute;
  top: 50%;
  left: -32px;
  width: 32px;
  height: 2px;
  background: var(--gold);
  transform: translateY(-50%);
}

/* Dot on spine */
.stage-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  background: var(--gold);
  border: 3px solid var(--cream);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--burgundy);
  z-index: 2;
}

.stage-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--burgundy);
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.6rem;
  flex-shrink: 0;
}

.stage-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.stage-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1.3;
}

.stage-desc {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.55;
}

.stage-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.9rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--cream-dark);
}

.stage-hint {
  font-size: 0.75rem;
  color: var(--gold-dark);
  letter-spacing: 0.3px;
}

.stage-complete-wrap {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--brown-mid);
}

.stage-complete-wrap input[type="checkbox"] {
  accent-color: var(--burgundy);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.stage-card.completed {
  border-color: #4CAF50;
  background: #F8FFF8;
}

.stage-card.completed .stage-number {
  background: #4CAF50;
}

/* ============================================================
   MODAL
   ============================================================ */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(44,24,16,0.6);
  backdrop-filter: blur(3px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 560px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
  border-top: 4px solid var(--burgundy);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  color: var(--brown-mid);
  line-height: 1;
  transition: color var(--transition);
}

.modal-close:hover {
  color: var(--burgundy);
}

.modal-stage-num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.5rem;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.modal-detail {
  font-size: 0.95rem;
  color: var(--brown-mid);
  line-height: 1.75;
}

.modal-complete-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.modal-complete-section label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown);
  cursor: pointer;
}

.modal-complete-section input[type="checkbox"] {
  accent-color: var(--burgundy);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.modal-login-prompt {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
  font-size: 0.88rem;
  color: var(--brown-mid);
  text-align: center;
}

/* ============================================================
   KART GRID (İcracılar / Yapımcılar / Eğitmenler)
   ============================================================ */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

.person-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 10px var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.person-card::before,
.person-card::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: var(--gold);
  border-style: solid;
  z-index: 1;
}

.person-card::before {
  top: 8px;
  left: 8px;
  border-width: 2px 0 0 2px;
}

.person-card::after {
  bottom: 8px;
  right: 8px;
  border-width: 0 2px 2px 0;
}

.person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px var(--shadow-strong);
}

.card-video {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--brown);
  overflow: hidden;
}

.card-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.card-video .no-video {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--burgundy), var(--brown));
  color: var(--gold-light);
  font-family: var(--font-heading);
  font-size: 2.5rem;
  gap: 0.5rem;
}

.card-video .no-video span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.7;
}

.card-body {
  padding: 1.25rem 1.35rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  display: inline-block;
  background: rgba(139,26,26,0.08);
  color: var(--burgundy);
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin-bottom: 0.6rem;
}

.card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 0.3rem;
}

.card-subtitle {
  font-size: 0.88rem;
  color: var(--brown-mid);
  line-height: 1.55;
  margin-bottom: 1rem;
  flex: 1;
}

.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: auto;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  color: var(--burgundy);
  border: 1px solid var(--cream-dark);
  border-radius: 50px;
  padding: 0.25rem 0.7rem;
  transition: all var(--transition);
  text-decoration: none;
}

.card-link:hover {
  background: var(--burgundy);
  color: var(--cream);
  border-color: var(--burgundy);
}

/* ============================================================
   FİLTRE BAR
   ============================================================ */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
  align-items: center;
}

.filter-bar .filter-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--brown-mid);
  margin-right: 0.25rem;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 50px;
  padding: 0.3rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--brown-mid);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--burgundy);
  border-color: var(--burgundy);
  color: var(--cream);
}

/* ============================================================
   GİRİŞ / KAYIT FORMU
   ============================================================ */

.auth-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  background: var(--cream);
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 4px 24px var(--shadow);
  position: relative;
}

.auth-card::before,
.auth-card::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border-color: var(--gold);
  border-style: solid;
}

.auth-card::before {
  top: 10px;
  left: 10px;
  border-width: 2px 0 0 2px;
}

.auth-card::after {
  bottom: 10px;
  right: 10px;
  border-width: 0 2px 2px 0;
}

.auth-logo {
  text-align: center;
  margin-bottom: 1.75rem;
}

.auth-logo .auth-icon {
  width: 52px;
  height: 52px;
  background: var(--burgundy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 0.75rem;
  border: 3px solid var(--gold);
}

.auth-logo h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--burgundy);
}

.auth-tabs {
  display: flex;
  border-bottom: 2px solid var(--cream-dark);
  margin-bottom: 1.75rem;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  padding: 0.65rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brown-light);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all var(--transition);
}

.auth-tab.active {
  color: var(--burgundy);
  border-bottom-color: var(--burgundy);
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--brown);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--brown);
  background: var(--cream);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-input:focus {
  border-color: var(--burgundy);
  box-shadow: 0 0 0 3px rgba(139,26,26,0.12);
  background: var(--white);
}

.form-submit {
  width: 100%;
  padding: 0.8rem;
  background: var(--burgundy);
  color: var(--cream);
  border: none;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
  letter-spacing: 0.5px;
}

.form-submit:hover {
  background: var(--burgundy-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139,26,26,0.3);
}

.form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-message {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  display: none;
  text-align: center;
}

.auth-message.error {
  background: #FEF2F2;
  border: 1px solid #FCA5A5;
  color: #B91C1C;
  display: block;
}

.auth-message.success {
  background: #F0FDF4;
  border: 1px solid #86EFAC;
  color: #166534;
  display: block;
}

/* ============================================================
   DASHBOARD
   ============================================================ */

.dashboard-header {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-dark));
  color: var(--cream);
  padding: 2.5rem 1.5rem;
}

.dashboard-header-inner {
  max-width: 900px;
  margin: 0 auto;
}

.dashboard-welcome {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--gold-light);
  margin-bottom: 0.3rem;
}

.dashboard-title {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cream);
}

.dashboard-user-email {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.65);
  margin-top: 0.25rem;
}

.progress-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 2px 12px var(--shadow);
  margin-bottom: 2rem;
}

.progress-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.progress-stat {
  flex: 1;
  min-width: 120px;
}

.progress-stat .stat-val {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--burgundy);
  line-height: 1;
}

.progress-stat .stat-label {
  font-size: 0.8rem;
  color: var(--brown-mid);
  letter-spacing: 0.5px;
  margin-top: 0.2rem;
}

.progress-bar-track {
  background: var(--cream-dark);
  border-radius: 50px;
  height: 10px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(to right, var(--burgundy), var(--gold));
  border-radius: 50px;
  transition: width 0.8s ease;
}

.progress-label {
  font-size: 0.82rem;
  color: var(--brown-mid);
  margin-top: 0.4rem;
  text-align: right;
}

.stages-list {
  list-style: none;
}

.stage-list-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 0.5rem;
  border: 1px solid var(--cream-dark);
  background: var(--white);
  transition: background var(--transition);
}

.stage-list-item.done {
  background: #F0FDF4;
  border-color: #86EFAC;
}

.stage-list-item .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.stage-list-item .check-icon.completed {
  background: #22C55E;
  color: white;
}

.stage-list-item .check-icon.pending {
  background: var(--cream-dark);
  color: var(--brown-light);
}

.stage-list-item .item-num {
  font-size: 0.75rem;
  color: var(--brown-light);
  min-width: 20px;
}

.stage-list-item .item-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--brown);
  flex: 1;
}

.stage-list-item.done .item-title {
  color: #166534;
}

.stage-list-item .item-date {
  font-size: 0.75rem;
  color: var(--brown-light);
  white-space: nowrap;
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  background: var(--brown);
  color: rgba(245,240,232,0.7);
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
}

.footer strong {
  color: var(--gold-light);
}

.footer a {
  color: var(--gold-light);
}

/* ============================================================
   YÜKLEME & BOŞ DURUM
   ============================================================ */

.loading-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--brown-mid);
}

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--cream-dark);
  border-top-color: var(--burgundy);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.empty-state {
  text-align: center;
  padding: 4rem 1rem;
  color: var(--brown-mid);
}

.empty-state .empty-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.4;
}

/* ============================================================
   TOAST BİLDİRİM
   ============================================================ */

.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: var(--brown);
  color: var(--cream);
  padding: 0.85rem 1.4rem;
  border-radius: var(--radius);
  font-size: 0.88rem;
  box-shadow: 0 6px 20px rgba(0,0,0,0.3);
  z-index: 9999;
  transform: translateY(10px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  border-left: 4px solid var(--gold);
  max-width: 320px;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.toast.success { border-left-color: #22C55E; }
.toast.error   { border-left-color: #EF4444; }

/* ============================================================
   RESPONSİF (Mobil)
   ============================================================ */

@media (max-width: 768px) {
  /* Navbar */
  .navbar-links {
    display: none;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--burgundy-dark);
    flex-direction: column;
    padding: 1rem;
    gap: 0.25rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  }

  .navbar-links.open {
    display: flex;
  }

  .navbar-links a {
    padding: 0.6rem 1rem;
    font-size: 1rem;
    width: 100%;
  }

  .navbar-toggle {
    display: flex;
  }

  /* Roadmap — single column */
  .roadmap-spine { display: none; }

  .roadmap-item {
    padding: 0 0 0 1.5rem !important;
    justify-content: flex-start !important;
    border-left: 2px solid var(--gold);
    margin-left: 1rem;
  }

  .roadmap-item .stage-card::after { display: none; }
  .stage-dot { display: none; }

  .stage-card {
    max-width: 100%;
  }

  /* Cards */
  .card-grid {
    grid-template-columns: 1fr;
  }

  /* Hero */
  .hero {
    padding: 3.5rem 1.25rem 3rem;
  }

  /* Section */
  .section {
    padding: 3.5rem 1.25rem;
  }

  /* Auth */
  .auth-card {
    padding: 1.75rem;
  }

  /* Progress stats */
  .progress-stats {
    gap: 1rem;
  }

  /* Toast */
  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}
