/* ===================================================
   Ertuğrul Gazi Akgül — Tarih Özel Ders
   style.css
   Tasarım: Editoryal, asimetrik, butik ajans estetiği
   =================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,700;0,9..144,900;1,9..144,300;1,9..144,400&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  --navy:        #1B4CA3;
  --navy-dark:   #0E2F6A;
  --orange:      #F5821F;
  --ink:         #111118;
  --ink-soft:    #3A3A44;
  --muted:       #888899;
  --paper:       #F7F6F2;
  --white:       #FFFFFF;
  --rule:        #DDDDE0;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: var(--font-body); cursor: pointer; }

/* ---------- Scroll-reveal (JS tarafından tetiklenir) ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}
[data-reveal="left"]  { transform: translateX(-32px); }
[data-reveal="right"] { transform: translateX(32px); }
[data-reveal].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ---------- Yardımcılar ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}
@media (max-width: 768px) { .container { padding: 0 24px; } }

.label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.section-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--orange);
  letter-spacing: 0.05em;
  margin-bottom: 12px;
  display: block;
}

/* ---------- Butonlar ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  border: 1.5px solid;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.28s var(--ease-out), background 0.28s var(--ease-out), border-color 0.28s var(--ease-out);
}

/* Fill animasyonu için sahte katman */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.32s var(--ease-out);
  z-index: 0;
  opacity: 0.08;
}
.btn:hover::after { transform: scaleX(1); }
.btn span, .btn svg { position: relative; z-index: 1; }

.btn-primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-primary::after { background: var(--white); opacity: 0.1; }
.btn-primary:hover { background: var(--navy-dark); border-color: var(--navy-dark); }

.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover { background: var(--ink); color: var(--white); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}

/* Ok animasyonu */
.btn .arrow {
  display: inline-block;
  transition: transform 0.28s var(--ease-out);
}
.btn:hover .arrow { transform: translateX(5px); }

/* ---------- NAVIGASYON ---------- */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0;
  transition: background 0.4s var(--ease-out), border-bottom 0.4s;
}

#nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(10px);
}

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

.nav-brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.nav-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--white);
  transition: color 0.3s;
}
#nav.scrolled .brand-name { color: var(--ink); }

.nav-brand .brand-sub {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
  transition: color 0.3s;
}
#nav.scrolled .brand-sub { color: var(--muted); }

/* Nav linkleri */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  position: relative;
  transition: color 0.25s;
}
#nav.scrolled .nav-links a { color: var(--ink-soft); }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 18px; right: 18px;
  height: 1px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s var(--ease-out);
}
.nav-links a:hover { color: var(--white); }
#nav.scrolled .nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.nav-cta-link {
  margin-left: 12px;
  padding: 9px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
#nav.scrolled .nav-cta-link {
  border-color: var(--navy);
  color: var(--navy);
}
.nav-cta-link:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
#nav.scrolled .nav-cta-link:hover {
  background: var(--navy);
  color: var(--white);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s var(--ease-out), opacity 0.3s, width 0.3s;
}
.hamburger span:nth-child(2) { width: 75%; }
#nav.scrolled .hamburger span { background: var(--ink); }
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: translateX(-8px); }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); width: 100%; }

/* Mobil menü */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  padding: 120px 48px 60px;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--orange); }
.mobile-menu .mob-cta {
  margin-top: 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  border: 1.5px solid var(--white);
  text-align: center;
  padding: 16px;
  width: 100%;
  border-radius: 0;
}
.mobile-menu .mob-cta:hover { background: var(--white); color: var(--ink); }

/* =====================================================
   SECTION 1: HERO
   Split layout: lacivert sol | fotoğraf sağ
   ===================================================== */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 58% 42%;
  position: relative;
}

/* Sol: Lacivert içerik paneli */
.hero-left {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 72px 80px 72px;
  position: relative;
  overflow: hidden;
}

/* Çok büyük arka plan metin efekti */
.hero-left::before {
  content: 'TARİH';
  position: absolute;
  bottom: -40px;
  left: -20px;
  font-family: var(--font-display);
  font-size: 22vw;
  font-weight: 900;
  color: rgba(255,255,255,0.03);
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 48px;
}

.hero-eyebrow .dash {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--orange);
}

.hero-eyebrow span {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 8vw, 8.5rem);
  font-weight: 900;
  line-height: 0.9;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

.hero-title-accent {
  display: block;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.8rem, 3vw, 3rem);
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  margin-top: 8px;
}

.hero-name {
  font-family: var(--font-body);
  font-size: clamp(0.9rem, 1.5vw, 1.1rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 28px;
  margin-bottom: 6px;
}

.hero-name strong {
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}

/* Orange accent line */
.hero-rule {
  width: 64px;
  height: 2px;
  background: var(--orange);
  margin: 32px 0;
}

.hero-slogan {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.7);
  line-height: 1.55;
  max-width: 380px;
  margin-bottom: 52px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* Sağ: Fotoğraf paneli */
.hero-right {
  position: relative;
  overflow: hidden;
  background: #101828;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
  filter: brightness(0.88) contrast(1.05);
  transition: transform 8s var(--ease-out);
}

/* Turuncu köşe aksan */
.hero-right::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 48px;
  height: 4px;
  background: var(--orange);
}

/* Scroll aşağı göstergesi */
.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 72px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.35);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll-hint .line {
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.2);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(1); transform-origin: top; }
  50%  { transform: scaleY(0); transform-origin: top; }
  50.01%{ transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}

/* =====================================================
   SECTION 2: HAKKIMDA
   ===================================================== */
#hakkimda {
  padding: 130px 0;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.55fr;
  gap: 80px;
  align-items: start;
}

.about-left {
  position: sticky;
  top: 100px;
}

.about-section-label {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 48px;
}

.about-section-label .big-num {
  font-family: var(--font-display);
  font-size: 6rem;
  font-weight: 900;
  color: var(--paper);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-left: -4px;
}

.about-section-label h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.about-section-label h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

.about-photo-block {
  position: relative;
  margin-top: 40px;
}

.about-photo-block img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center 8%;
  display: block;
  filter: grayscale(15%);
}

.about-photo-block::before {
  content: '';
  position: absolute;
  top: -12px; left: 12px;
  right: -12px; bottom: 12px;
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: -1;
}

/* Fotoğraf üstü turuncu bar */
.about-photo-block::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: var(--orange);
}

/* Sağ: İçerik */
.about-right {}

.about-bio-text {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.65;
  color: var(--ink-soft);
  border-left: 2px solid var(--orange);
  padding-left: 28px;
  margin-bottom: 56px;
}

/* Timeline: Eğitim ve Deneyim */
.timeline {
  display: flex;
  flex-direction: column;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 0 28px;
  padding: 28px 0;
  border-top: 1px solid var(--rule);
  position: relative;
}

.timeline-item:last-child { border-bottom: 1px solid var(--rule); }

.timeline-year {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--orange);
  padding-top: 4px;
}

.timeline-body h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 4px;
}

.timeline-body p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* =====================================================
   SECTION 3: VERDİĞİM DERSLER
   Editoryal numaralı liste
   ===================================================== */
#dersler {
  padding: 130px 0;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}

.dersler-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 80px;
}

.dersler-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--ink);
}

.dersler-header h2 span { color: var(--orange); }

.dersler-header p {
  font-size: 1rem;
  color: var(--ink-soft);
  line-height: 1.75;
  max-width: 380px;
  align-self: end;
}

/* Liste */
.dersler-list {
  display: flex;
  flex-direction: column;
}

.ders-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 0 40px;
  align-items: center;
  padding: 32px 0;
  border-top: 1px solid var(--rule);
  cursor: default;
  transition: background 0.2s;
  position: relative;
}

.ders-item:last-child { border-bottom: 1px solid var(--rule); }

/* Hover: turuncu sol çizgi */
.ders-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s var(--ease-out);
}
.ders-item:hover::before { transform: scaleY(1); }

.ders-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--rule);
  letter-spacing: -0.03em;
  transition: color 0.25s;
}

.ders-item:hover .ders-num { color: var(--orange); }

.ders-info h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 6px;
  transition: color 0.2s;
}

.ders-item:hover h3 { color: var(--navy); }

.ders-info p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.ders-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  transition: color 0.2s;
}
.ders-item:hover .ders-tag { color: var(--orange); }

/* =====================================================
   SECTION 4: NEDEN BEN — Navy arka plan, istatistikler
   ===================================================== */
#neden {
  padding: 130px 0;
  background: var(--navy);
  color: var(--white);
  border-top: 4px solid var(--orange);
}

.neden-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 100px;
  align-items: start;
  margin-bottom: 80px;
}

.neden-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 28px;
}

.neden-left h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(255,255,255,0.45);
}

.neden-left p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.65);
  max-width: 400px;
}

/* İstatistikler */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,0.12);
  margin-top: 80px;
}

.stat-col {
  padding: 40px 0;
  border-right: 1px solid rgba(255,255,255,0.12);
  padding-right: 32px;
  padding-left: 0;
}
.stat-col:last-child { border-right: none; padding-left: 32px; padding-right: 0; }
.stat-col:not(:first-child) { padding-left: 32px; }

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 4.5vw, 4.5rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-num sup {
  font-size: 0.45em;
  font-weight: 400;
  vertical-align: super;
  color: var(--orange);
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.45;
}

/* Madde listesi */
.neden-right {
  display: flex;
  flex-direction: column;
}

.neden-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 20px;
  align-items: start;
}
.neden-item:first-child { border-top: 1px solid rgba(255,255,255,0.08); }

.neden-item .ni-arrow {
  color: var(--orange);
  font-size: 1rem;
  margin-top: 2px;
}

.neden-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.neden-item p {
  font-size: 0.84rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

/* =====================================================
   SECTION 5: İLETİŞİM
   ===================================================== */
#iletisim {
  padding: 130px 0;
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ink);
}

.contact-left h2 em {
  font-style: italic;
  font-weight: 300;
  color: var(--muted);
}

.contact-left .contact-intro {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.75;
  margin-bottom: 48px;
}

/* İletişim bilgileri */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 44px;
}

.contact-info-item {
  display: flex;
  flex-direction: column;
  padding: 20px 0;
  border-bottom: 1px solid var(--rule);
  gap: 2px;
}

.contact-info-item .ci-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-info-item .ci-value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}

/* WhatsApp */
.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  background: #25D366;
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border-radius: 0;
  transition: background 0.25s;
  margin-bottom: 28px;
  width: fit-content;
}
.whatsapp-link:hover { background: #1db954; }

.whatsapp-link svg {
  width: 20px; height: 20px;
  fill: currentColor;
  flex-shrink: 0;
}

/* Sosyal medya */
.social-row {
  display: flex;
  gap: 0;
}

.social-row a {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 10px 16px;
  border: 1px solid var(--rule);
  margin-right: -1px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-row a:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  z-index: 1;
  position: relative;
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Alt çizgili input tasarımı */
.field-group {
  position: relative;
  margin-bottom: 36px;
}

.field-group label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
  transition: color 0.2s;
}

.field-group input,
.field-group textarea,
.field-group select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--rule);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  border-radius: 0;
  resize: none;
  transition: border-color 0.25s;
  appearance: none;
}

.field-group input:focus,
.field-group textarea:focus,
.field-group select:focus {
  border-color: var(--navy);
}

.field-group input.is-error,
.field-group textarea.is-error,
.field-group select.is-error {
  border-color: #D32F2F;
}

/* Focus label rengi */
.field-group:focus-within label { color: var(--navy); }

.field-error {
  display: none;
  font-size: 0.75rem;
  color: #D32F2F;
  margin-top: 6px;
  font-weight: 500;
}
.field-error.show { display: block; }

.field-group textarea {
  min-height: 90px;
}

.field-group select option { color: var(--ink); }

/* İki sütunlu form satırı */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

/* Gönder butonu */
.form-submit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  width: 100%;
  margin-top: 8px;
  transition: background 0.25s;
  position: relative;
  overflow: hidden;
}

.form-submit::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.form-submit:hover::after { transform: scaleX(1); }
.form-submit span { position: relative; z-index: 1; }

.form-submit .submit-arrow {
  position: relative; z-index: 1;
  transition: transform 0.28s var(--ease-out);
}
.form-submit:hover .submit-arrow { transform: translateX(6px); }

/* Başarı mesajı */
.form-success-msg {
  display: none;
  padding: 32px;
  border: 1.5px solid #2E7D32;
  margin-top: 20px;
}
.form-success-msg.show { display: block; }
.form-success-msg p {
  font-size: 0.95rem;
  color: #2E7D32;
  font-weight: 500;
}
.form-success-msg strong {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 6px;
}

/* =====================================================
   FOOTER
   ===================================================== */
#footer {
  background: var(--ink);
  padding: 28px 0;
  border-top: 2px solid var(--orange);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.02em;
}

.footer-left strong { color: rgba(255,255,255,0.65); font-weight: 500; }

.footer-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.footer-right a {
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.footer-right a:hover { color: var(--orange); }

/* =====================================================
   SCROLL TO TOP
   ===================================================== */
#back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 48px; height: 48px;
  background: var(--ink);
  color: var(--white);
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.visible { opacity: 1; pointer-events: all; }
#back-to-top:hover { background: var(--navy); transform: translateY(-3px); }

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
  /* Hero */
  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero-left {
    padding: 120px 48px 72px;
    min-height: 85vh;
  }
  .hero-right {
    height: 55vw;
    min-height: 320px;
  }
  .hero-scroll-hint { display: none; }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }
  .about-left { position: static; }
  .about-photo-block { max-width: 380px; }

  /* Neden */
  .neden-grid { grid-template-columns: 1fr; gap: 48px; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-col:nth-child(2) { border-right: none; }
  .stat-col:nth-child(3) { padding-left: 0; border-left: none; }
  .stat-col:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.12); }

  /* Dersler */
  .dersler-header { grid-template-columns: 1fr; }

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

/* Mobil */
@media (max-width: 768px) {
  .nav-links, .nav-cta-link { display: none; }
  .hamburger { display: flex; }

  .hero-left {
    padding: 100px 24px 60px;
    min-height: 70vh;
  }
  .hero-right { height: 65vw; }

  #hakkimda, #dersler, #neden, #iletisim { padding: 80px 0; }

  .timeline-item { grid-template-columns: 70px 1fr; gap: 0 16px; }

  .ders-item { grid-template-columns: 48px 1fr; gap: 0 20px; }
  .ders-tag { display: none; }

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

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-right { justify-content: center; }

  #back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero-left { padding: 90px 20px 56px; }
  .hero-title { font-size: 4rem; }
  .dersler-header h2 { font-size: 2rem; }
  .social-row a { padding: 9px 12px; }
}
