/* ==========================================================================
   ÖZEL İLK ATILIM ÖZEL EĞİTİM VE REHABİLİTASYON MERKEZİ
   Modern Kurumsal Tasarım Sistemi (Design Tokens & Base Styles)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #0284c7;
  --primary-hover: #0369a1;
  --primary-light: #e0f2fe;
  --primary-deep: #0c2556;
  --primary-navy: #091a3e;

  --secondary: #f59e0b;
  --secondary-hover: #d97706;
  --secondary-light: #fef3c7;

  --accent-green: #10b981;
  --accent-green-light: #d1fae5;
  --accent-purple: #8b5cf6;
  --accent-purple-light: #ede9fe;
  --accent-rose: #f43f5e;

  /* Neutrals */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-glass: rgba(255, 255, 255, 0.85);
  --bg-dark: #0b1528;
  --bg-dark-card: #13223f;

  --text-main: #1e293b;
  --text-heading: #0c2556;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --border-focus: #38bdf8;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(12, 37, 86, 0.04);
  --shadow-md: 0 8px 24px rgba(12, 37, 86, 0.08);
  --shadow-lg: 0 16px 40px rgba(12, 37, 86, 0.12);
  --shadow-xl: 0 24px 60px rgba(12, 37, 86, 0.16);
  --shadow-glow: 0 0 25px rgba(2, 132, 199, 0.35);

  /* Border Radius */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 9999px;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Outfit', sans-serif;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --header-height: 84px;
  --topbar-height: 42px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.25;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-fluid {
  width: 100%;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-light {
  background-color: var(--bg-surface);
}

.section-muted {
  background-color: var(--bg-body);
}

.section-dark {
  background-color: var(--bg-dark);
  color: #cbd5e1;
}

.section-dark h2, .section-dark h3, .section-dark h4 {
  color: #ffffff;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-pill);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1rem;
}

.section-tag.secondary {
  background: var(--secondary-light);
  color: #b45309;
}

.section-tag.green {
  background: var(--accent-green-light);
  color: #065f46;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  font-weight: 400;
}

.section-dark .section-subtitle {
  color: #94a3b8;
}

/* Utilities & Grids */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.highlight-text {
  background: linear-gradient(135deg, var(--primary) 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.highlight-amber {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.85rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #0274b3 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0369a1 0%, #025585 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(2, 132, 199, 0.45);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary) 0%, #ea580c 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.btn-secondary:hover {
  background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(245, 158, 11, 0.45);
}

.btn-outline-white {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-deep);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}

.btn-outline-primary:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
  background: #20ba59;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.875rem;
}

/* Badges */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.badge-primary { background: var(--primary-light); color: var(--primary-dark); }
.badge-secondary { background: var(--secondary-light); color: #b45309; }
.badge-success { background: var(--accent-green-light); color: #065f46; }
.badge-purple { background: var(--accent-purple-light); color: #5b21b6; }

/* Responsive Rules */
@media (max-width: 1024px) {
  .section-title { font-size: 2.15rem; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 4rem 0; }
  .section-title { font-size: 1.85rem; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
}
