/* ===== Matematikci Anne - Modern Tasarım v2 ===== */

/* === CSS Variables === */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --primary-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --accent: #f59e0b;
  --accent-gradient: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --success: #10b981;
  /* Arka plan: sıcak, modern ton (beyaz değil) */
  --bg: #f4f2ef;
  --bg-soft: #ebe8e3;
  --bg-card: #fdfcfa;
  --bg-dark: #1a1a2e;
  --text: #2d2a26;
  --text-muted: #6b6560;
  --text-light: #8c8782;
  --border: #e5e2dd;
  --radius: 20px;
  --radius-sm: 12px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
  --shadow: 0 4px 12px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg: 0 20px 40px -10px rgba(0,0,0,0.12), 0 8px 16px -6px rgba(0,0,0,0.06);
  --shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.25);
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Scroll reveal animasyonları */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }
.reveal--delay-5 { transition-delay: 0.5s; }
.reveal--delay-6 { transition-delay: 0.6s; }

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

/* Sayfa arka planı: hafif gradient + ton */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 50%, rgba(139, 92, 246, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(245, 158, 11, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

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

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

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

/* === Layout === */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--alt {
  background: var(--bg-soft);
}

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn--primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
  color: #fff;
}

.btn--primary:active {
  transform: translateY(-1px);
}

.btn--primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: 0.5s;
}

.btn--primary:hover::before {
  left: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
}

.btn--white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  color: var(--primary-dark);
}

/* === Header / Navigation === */
.site-header {
  background: rgba(253, 252, 250, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

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

.logo-link {
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.logo-link:hover {
  transform: scale(1.02);
}

.logo-link img {
  display: block;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-menu a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-menu a:hover {
  color: var(--primary);
  background: var(--primary-light);
}

.cta-nav {
  background: var(--primary-gradient) !important;
  color: #fff !important;
  padding: 0.6rem 1.25rem !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.cta-nav:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
  background: var(--primary-gradient) !important;
  color: #fff !important;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  color: var(--text);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
    margin-left: auto; /* Logo solda, toggle sağda kalsın */
  }

  .nav-inner nav {
    width: 0;
    min-width: 0;
    overflow: visible;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--bg-card);
    flex-direction: column;
    align-items: stretch;
    padding: 5rem 1.5rem 2rem;
    box-shadow: -10px 0 40px rgba(0,0,0,0.1);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    gap: 0.25rem;
  }
  
  .nav-menu.is-open {
    right: 0;
  }
  
  .nav-menu a {
    padding: 1rem;
    border-radius: var(--radius-sm);
  }
  
  .cta-nav {
    margin-top: 1rem;
    text-align: center;
    justify-content: center;
  }
}

/* === Hero Section === */
.hero {
  padding: 4rem 0 6rem;
  background: transparent;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bg-dark);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 500px;
  line-height: 1.8;
}

.hero-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  transform: perspective(1000px) rotateY(-5deg);
  transition: var(--transition);
}

.hero-img-wrap:hover {
  transform: perspective(1000px) rotateY(0deg);
  box-shadow: var(--shadow-glow);
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.hero-img-wrap:hover img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .hero p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-img-wrap {
    transform: none;
    max-width: 500px;
    margin: 0 auto;
  }
  
  .hero-img-wrap:hover {
    transform: none;
  }
}

/* === Section Headers === */
.section-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  background: var(--primary-light);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

.section-head h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* === About Block (iç sayfalar) === */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.about-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary-gradient);
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.about-img:hover::before {
  opacity: 0.1;
}

.about-img img {
  transition: var(--transition);
}

.about-img:hover img {
  transform: scale(1.05);
}

.about-content h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 1rem;
}

.about-content .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .about-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* === Ana sayfa: Hakkımda kartı (course-card ile aynı tarz) === */
.home-about-card {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  margin-bottom: 2.5rem;
}

.home-about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
  z-index: 1;
}

.home-about-card:hover {
  box-shadow: var(--shadow-xl);
}

.home-about-card:hover::before {
  transform: scaleX(1);
}

.home-about-card-img {
  position: relative;
  overflow: hidden;
}

.home-about-card-img img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: var(--transition);
}

.home-about-card:hover .home-about-card-img img {
  transform: scale(1.04);
}

.home-about-card-body {
  padding: 2rem 2rem 2rem 0;
}

.home-about-card-body .lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.home-about-card-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.home-about-card-body .btn {
  margin-top: 0.5rem;
}

/* Neden Biz – 3 kart, aynı tarz */
.home-why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.home-why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.home-why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.home-why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.home-why-card:hover::before {
  transform: scaleX(1);
}

.home-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.home-why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.5rem;
}

.home-why-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .home-about-card {
    grid-template-columns: 1fr;
    margin-bottom: 2rem;
  }

  .home-about-card-body {
    padding: 1.5rem 1.5rem 2rem;
  }

  .home-why-grid {
    grid-template-columns: 1fr;
  }
}

/* === Rakamlarla Ben === */
.home-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.stat-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-item:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
}

.stat-item--text .stat-text {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.stat-item--text .stat-label {
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .home-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .home-stats .stats-grid {
    grid-template-columns: 1fr;
  }
}

/* === Sık Sorulan Sorular === */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

@media (max-width: 640px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

.faq-item:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
}

.faq-q {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.faq-a {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* === Nasıl Çalışıyoruz === */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--primary-light);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--primary-gradient);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* === CTA Band (en alt) === */
.cta-band {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #4338ca 50%, #6366f1 100%);
  color: #fff;
  padding: 3.5rem 1.5rem;
  text-align: center;
}

.cta-band-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-band-title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 800;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.cta-band-text {
  font-size: 1.05rem;
  opacity: 0.95;
  margin: 0 0 1.5rem 0;
  line-height: 1.6;
}

.cta-band .btn {
  background: #fff;
  color: var(--primary-dark);
  border: none;
}

.cta-band .btn:hover {
  background: var(--bg-card);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--large {
  padding: 0.9rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
}

/* === Course Cards === */
.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.course-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  border: 1px solid var(--border);
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.course-card:hover::before {
  transform: scaleX(1);
}

.course-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.course-card:hover img {
  transform: scale(1.05);
}

.course-card-body {
  padding: 1.75rem;
}

.course-card-body a {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--bg-dark);
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.course-card-body a:hover {
  color: var(--primary);
}

.course-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.7;
}

/* === Page Header === */
.page-header {
  background: linear-gradient(145deg, #4338ca 0%, #6366f1 35%, #7c3aed 70%, #5b21b6 100%);
  color: #fff;
  padding: 4rem 1.5rem 3.5rem;
  margin-bottom: 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,255,255,0.18) 0%, rgba(255,255,255,0.06) 40%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 60%);
  border-radius: 50%;
  pointer-events: none;
}

.page-header .wrap {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.breadcrumb a {
  color: #fff;
  transition: var(--transition);
}

.breadcrumb a:hover {
  opacity: 0.8;
}

/* === Content Area === */
.content-area {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
}

.content-main {
  min-width: 0;
}

.content-area--blog {
  padding: 0;
  margin-top: 2rem;
}

.content-main h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--bg-dark);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

.content-main h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin: 2.5rem 0 1rem;
}

.content-main h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--bg-dark);
  margin: 2rem 0 0.75rem;
}

.content-main p {
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.8;
}

.content-main ul, .content-main ol {
  margin: 0 0 1.5rem 1.5rem;
  color: var(--text);
}

.content-main li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.content-main-img {
  border-radius: var(--radius);
  margin: 2rem 0;
  box-shadow: var(--shadow);
  width: 100%;
  height: auto;
}

.content-main-img-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
  max-height: 400px;
  box-shadow: var(--shadow);
}

.content-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content-highlight {
  background: linear-gradient(135deg, var(--primary-light) 0%, #ddd6fe 100%);
  padding: 2rem;
  border-radius: var(--radius);
  margin: 2.5rem 0;
  border-left: 4px solid var(--primary);
}

.content-highlight h4 {
  color: var(--primary-dark);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
  font-weight: 700;
}

.content-highlight p {
  margin: 0;
  color: var(--text);
}

@media (max-width: 900px) {
  .content-area {
    grid-template-columns: 1fr;
  }
}

/* === Sidebar === */
.sidebar {
  position: sticky;
  top: 6rem;
  height: fit-content;
}

.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

/* Kartlar arka planda hafif belirgin */
.blog-card {
  border: 1px solid var(--border);
}

.contact-wrap {
  border: 1px solid var(--border);
}

.sidebar-widget h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--primary-light);
}

.sidebar-widget ul {
  list-style: none;
}

.sidebar-widget li {
  border-bottom: 1px solid var(--border);
}

.sidebar-widget li:last-child {
  border-bottom: none;
}

.sidebar-widget a {
  display: block;
  padding: 0.75rem 0;
  color: var(--text);
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-widget a:hover {
  color: var(--primary);
  padding-left: 0.5rem;
}

.tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tags-wrap a {
  padding: 0.4rem 0.9rem;
  font-size: 0.85rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-weight: 500;
  transition: var(--transition);
}

.tags-wrap a:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
  padding-left: 0.9rem;
}

.sidebar-cta {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(135deg, var(--primary-light) 0%, #ddd6fe 100%);
  border-radius: var(--radius);
  border: none;
}

.sidebar-cta img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.25rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
}

.sidebar-cta h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--bg-dark);
}

.sidebar-cta p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.sidebar-cta .btn {
  width: 100%;
}

/* === Location Grid === */
.location-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 900px;
  margin: 2rem auto;
}

.location-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.75rem 1rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.location-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.location-card svg {
  width: 36px;
  height: 36px;
  color: var(--primary);
  margin-bottom: 1rem;
  transition: var(--transition);
}

.location-card:hover svg {
  transform: scale(1.1);
  color: var(--primary-dark);
}

.location-card a {
  font-weight: 700;
  color: var(--bg-dark);
  text-align: center;
  transition: var(--transition);
}

.location-card:hover a {
  color: var(--primary);
}

/* === Blog Cards === */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
  flex-shrink: 0;
}

.blog-card:hover img {
  transform: scale(1.05);
}

.blog-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.blog-card-body h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-card-body h3 a {
  color: var(--bg-dark);
  transition: var(--transition);
}

.blog-card-body h3 a:hover {
  color: var(--primary);
}

.blog-card-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.7;
  flex: 1;
}

.blog-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* === Blog detay sayfası === */
.blog-detail {
  max-width: 720px;
  margin: 0 auto;
}

.blog-detail-meta {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: flex;
  gap: 1rem;
}

.blog-detail-img {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}

.blog-detail-img img {
  width: 100%;
  height: auto;
  display: block;
}

.blog-detail-body {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
}

.blog-detail-body p {
  margin-bottom: 1.25rem;
}

.blog-detail-body p:last-child {
  margin-bottom: 0;
}

.blog-detail-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

/* === Contact Form === */
.contact-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem;
  background: var(--bg-card);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  font-family: var(--font);
  font-size: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  background: var(--bg);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-light);
  background: #fff;
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-message {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  display: none;
  font-weight: 500;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  display: block;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
  display: block;
}

/* === Footer === */
/* === Footer === */
.site-footer {
  background: linear-gradient(180deg, #1a1a2e 0%, #16162a 100%);
  color: #e2e8f0;
  padding: 4rem 0 0;
  margin-top: 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-brand {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.02em;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.9;
  color: #fff;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-contact .footer-location {
  margin-bottom: 0.75rem;
}

.site-footer a {
  color: #cbd5e1;
  transition: var(--transition);
}

.site-footer a:hover {
  color: #fff;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1rem;
  padding: 0.5rem 0;
  color: #cbd5e1;
  font-size: 0.9rem;
}

.footer-instagram:hover {
  color: #fff;
}

.footer-instagram-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 10px;
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-instagram-icon svg {
  width: 18px;
  height: 18px;
  color: #fff;
}

.footer-instagram:hover .footer-instagram-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.4);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  display: inline-block;
  font-size: 0.95rem;
  transition: var(--transition);
}

.footer-links a:hover {
  transform: translateX(4px);
  color: var(--primary-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0 1.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}

.footer-copy {
  margin: 0;
}

.footer-legal {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-dot {
  opacity: 0.5;
}

.footer-bottom a {
  color: rgba(255,255,255,0.6);
}

.footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 1rem 0;
  }
}

/* === WhatsApp Float Button === */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  animation: pulse-whatsapp 2s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% {
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  }
  50% {
    box-shadow: 0 4px 30px rgba(37, 211, 102, 0.7);
  }
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float img {
  width: 32px;
  height: 32px;
}

/* === Back to Top Button === */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
  z-index: 998;
  transition: var(--transition);
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.back-to-top.visible {
  display: flex;
  animation: fadeInUp 0.3s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.back-to-top svg {
  width: 24px;
  height: 24px;
}

/* === Animations === */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-inner > * {
  animation: slideUp 0.6s ease forwards;
}

.hero-inner > *:nth-child(2) {
  animation-delay: 0.2s;
}

.course-card {
  animation: fadeIn 0.5s ease forwards;
}

/* === Feature Cards === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  padding: 2rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary-gradient);
}

.feature-icon svg {
  width: 28px;
  height: 28px;
  color: var(--primary);
  transition: var(--transition);
}

.feature-card:hover .feature-icon svg {
  color: #fff;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--bg-dark);
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

/* === Instagram Section === */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}

.instagram-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 180px;
  padding: 1.5rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.instagram-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  color: var(--primary);
}

.instagram-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 0.75rem;
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.instagram-card-icon svg {
  width: 24px;
  height: 24px;
  color: #fff;
}

.instagram-card-label {
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.instagram-card-cta {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.instagram-card:hover .instagram-card-cta {
  color: var(--primary);
}

/* Canlı feed (Graph API) – WordPress tarzı görsel grid */
.instagram-feed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.instagram-feed-item {
  display: block;
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.instagram-feed-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow);
}

.instagram-feed-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-feed-play {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  line-height: 1;
}

.instagram-follow {
  text-align: center;
  margin: 0;
}

/* === Utility Classes === */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
