/*
Theme Name: Fizbir Thema
Theme URI: https://example.com/
Author: tasarimciadam
Author URI: https://example.com/
Description: EÄŸitim ve Rehabilitasyon Merkezi iÃ§in modern, Ã§ocuk dostu WordPress temasÄ±.
Version: 2.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fizbir-thema
Tags: rehabilitation, health, education, kids, fun
*/

/* ============================================================
   TOKENS & RESET
   ============================================================ */
:root {
  /* Brand â€” Purple */
  --purple-50:  #faf5ff;
  --purple-100: #f3e8ff;
  --purple-200: #e9d5ff;
  --purple-300: #d8b4fe;
  --purple-400: #c084fc;
  --purple-500: #a855f7;
  --purple-600: #9333ea;
  --purple-700: #7e22ce;
  --purple-800: #6b21a8;
  --purple-900: #581c87;

  /* Accent colors â€” fun palette */
  --pink-400:   #f472b6;
  --pink-500:   #ec4899;
  --yellow-400: #facc15;
  --yellow-300: #fde047;
  --orange-400: #fb923c;
  --orange-500: #f97316;
  --green-400:  #4ade80;
  --green-500:  #22c55e;
  --blue-400:   #60a5fa;
  --blue-500:   #3b82f6;
  --cyan-400:   #22d3ee;

  /* Neutrals */
  --gray-50:  #fafafa;
  --gray-100: #f4f4f5;
  --gray-200: #e4e4e7;
  --gray-300: #d4d4d8;
  --gray-400: #a1a1aa;
  --gray-500: #71717a;
  --gray-600: #52525b;
  --gray-700: #3f3f46;
  --gray-800: #27272a;
  --gray-900: #18181b;

  /* Semantic */
  --primary:        var(--purple-600);
  --primary-dark:   var(--purple-700);
  --primary-light:  var(--purple-50);
  --text:           var(--gray-800);
  --text-muted:     var(--gray-500);
  --border:         var(--gray-200);
  --bg:             #ffffff;
  --bg-alt:         #fdf8ff;

  /* Spacing */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Shadow */
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --shadow:    0 4px 16px rgba(147,51,234,.10);
  --shadow-lg: 0 12px 40px rgba(147,51,234,.14);

  /* Transition */
  --ease: .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: 'Nunito', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.25;
  color: var(--gray-900);
}

img { display: block; max-width: 100%; height: auto; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Floating shapes background decoration */
.shape-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: .18;
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   LAYOUT HELPERS
   ============================================================ */
.container {
  width: 100%;
  max-width: 1160px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section {
  padding-block: 5rem;
}

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

.section-header {
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-block: .5rem .75rem;
}

.section-header p {
  color: var(--text-muted);
  font-size: .95rem;
}

/* ============================================================
   TYPOGRAPHY HELPERS
   ============================================================ */
.highlight {
  color: var(--primary);
}

.highlight-light {
  color: var(--teal-200);
}

/* ============================================================
   BADGE
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .3rem .9rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: var(--purple-100);
  color: var(--purple-700);
  border: 1.5px solid var(--purple-200);
}

.badge-teal { background: var(--purple-100); color: var(--purple-700); border-color: var(--purple-200); }
.badge-white { background: rgba(255,255,255,.18); color: #fff; border-color: rgba(255,255,255,.3); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding: .65rem 1.4rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease), color var(--ease);
  white-space: nowrap;
}

.btn svg { flex-shrink: 0; }

.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-color: transparent;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  box-shadow: 0 8px 24px rgba(147,51,234,.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--purple-700);
  border-color: #fff;
}
.btn-white:hover {
  background: var(--purple-50);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.btn-sm { padding: .45rem 1rem; font-size: .82rem; }

/* ============================================================
   GLASS CARD
   ============================================================ */
.glass-card {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: .9rem 1.1rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 2px solid var(--purple-100);
  transition: box-shadow var(--ease);
}

.site-header.scrolled {
  box-shadow: 0 4px 20px rgba(147,51,234,.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  text-decoration: none;
}

/* Custom logo (WordPress'ten yÃ¼klenen gÃ¶rsel) */
.logo .custom-logo-link {
  display: flex;
  align-items: center;
}

.logo .custom-logo-link img,
.logo img.custom-logo {
  height: 44px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--purple-400), var(--purple-700));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(147,51,234,.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--purple-800);
}

.logo-sub {
  font-size: .68rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: .02em;
}

/* Nav */
.main-nav ul {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.main-nav a {
  display: flex;
  align-items: center;
  gap: .35rem;
  padding: .45rem .85rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--gray-600);
  transition: color var(--ease), background var(--ease);
}

.main-nav a:hover {
  color: var(--primary);
  background: var(--purple-50);
}

.nav-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

/* Header actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .3rem;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--purple-700);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* â”€â”€ Drawer Overlay â”€â”€ */
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 10, 30, .45);
  backdrop-filter: blur(3px);
  z-index: 199;
  opacity: 0;
  transition: opacity .3s ease;
}
.drawer-overlay.open {
  display: block;
  opacity: 1;
}

/* â”€â”€ Mobile Drawer â”€â”€ */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 88vw);
  height: 100dvh;
  background: #fff;
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
  box-shadow: -8px 0 40px rgba(147,51,234,.15);
}
.mobile-drawer.open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.25rem;
  border-bottom: 1.5px solid var(--purple-100);
}

.drawer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--purple-50);
  color: var(--purple-700);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), color var(--ease);
  flex-shrink: 0;
}
.drawer-close:hover {
  background: var(--purple-100);
  color: var(--purple-900);
}

.drawer-nav {
  flex: 1;
  overflow-y: auto;
  padding: .75rem .75rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.drawer-link {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .85rem 1rem;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 600;
  color: var(--gray-700);
  text-decoration: none;
  transition: background var(--ease), color var(--ease), transform var(--ease);
}
.drawer-link:hover {
  background: var(--purple-50);
  color: var(--primary);
  transform: translateX(4px);
}

.drawer-link-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--ease);
}
.drawer-link-icon svg {
  width: 16px;
  height: 16px;
}
.drawer-link:hover .drawer-link-icon {
  background: var(--purple-100);
}

.drawer-link > span:nth-child(2) {
  flex: 1;
}

.drawer-arrow {
  width: 14px;
  height: 14px;
  color: var(--gray-400);
  flex-shrink: 0;
  transition: color var(--ease);
}
.drawer-link:hover .drawer-arrow {
  color: var(--primary);
}

.drawer-footer {
  padding: 1.25rem;
  border-top: 1.5px solid var(--purple-100);
}

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

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider { position: relative; overflow: hidden; }

.slider-track {
  display: flex;
  width: 100%;
  height: 100%;
}

.slide {
  min-width: 100%;
  opacity: 0;
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  transition: opacity .6s ease, transform .6s ease;
  transform: translateX(40px);
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

.slide.exit {
  opacity: 0;
  transform: translateX(-40px);
  position: absolute;
  pointer-events: none;
}

/* Slider butonlarÄ± */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(8px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease);
}
.slider-btn:hover { background: rgba(255,255,255,.3); transform: translateY(-50%) scale(1.1); }
.slider-prev { left: 1.25rem; }
.slider-next { right: 1.25rem; }

/* Dot navigasyon */
.slider-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .5rem;
  z-index: 10;
}
.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background var(--ease), width var(--ease);
  padding: 0;
}
.slider-dot.active {
  background: #fff;
  width: 24px;
  border-radius: 4px;
}

/* Progress bar */
.slider-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
  z-index: 10;
}
.slider-progress-bar {
  height: 100%;
  background: rgba(255,255,255,.7);
  width: 0%;
  transition: width linear;
}

/* ============================================================
   FLOATING HERO SHAPES
   ============================================================ */
.floating-shape {
  position: absolute;
  width: 2rem;
  height: 2rem;
  pointer-events: none;
  z-index: 0;
  animation: float-drift 6s ease-in-out infinite;
  opacity: .55;
}

.floating-shape svg { width: 100%; height: 100%; }

.shape-star   { top: 12%; left: 8%;   color: var(--yellow-400); animation-delay: 0s;   animation-duration: 5s; }
.shape-heart  { top: 20%; right: 12%; color: var(--pink-400);   animation-delay: 1s;   animation-duration: 7s; }
.shape-circle { bottom: 25%; left: 5%; color: var(--blue-400);  animation-delay: 2s;   animation-duration: 6s; }
.shape-spark  { bottom: 15%; right: 8%; color: var(--yellow-300); animation-delay: .5s; animation-duration: 5.5s; }
.shape-rainbow{ top: 55%; left: 3%;   color: var(--purple-300); animation-delay: 1.5s; animation-duration: 8s; }

@keyframes float-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33%       { transform: translateY(-14px) rotate(8deg); }
  66%       { transform: translateY(8px) rotate(-6deg); }
}

/* ============================================================
   HERO EMOJI ROW â€” individual bounce
   ============================================================ */
.hero-emoji-row {
  display: flex;
  gap: .6rem;
  margin-bottom: 1.25rem;
}

.hero-emoji-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255,255,255,.15);
  animation: emoji-bounce 2.4s ease-in-out infinite;
}

.hero-emoji-row span svg { width: 1.1rem; height: 1.1rem; }

.hero-emoji-row .e1 { color: var(--yellow-300); animation-delay: 0s; }
.hero-emoji-row .e2 { color: #c4b5fd;           animation-delay: .15s; }
.hero-emoji-row .e3 { color: var(--pink-400);   animation-delay: .3s; }
.hero-emoji-row .e4 { color: var(--cyan-400);   animation-delay: .45s; }
.hero-emoji-row .e5 { color: #fca5a5;           animation-delay: .6s; }

@keyframes emoji-bounce {
  0%, 60%, 100% { transform: translateY(0) scale(1); }
  30%            { transform: translateY(-10px) scale(1.2); }
}

/* ============================================================
   STATS SECTION â€” animated count cards
   ============================================================ */
.stats-section {
  background: var(--bg-alt);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

/* Floating bubbles background */
.stats-bubbles-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  animation: bubble-rise 8s ease-in-out infinite;
}

.b1 { width:80px;  height:80px;  background:var(--purple-400); left:5%;  bottom:-20px; animation-delay:0s; }
.b2 { width:50px;  height:50px;  background:var(--pink-400);   left:20%; bottom:-10px; animation-delay:1.5s; }
.b3 { width:100px; height:100px; background:var(--yellow-400); left:45%; bottom:-30px; animation-delay:3s; }
.b4 { width:60px;  height:60px;  background:var(--green-400);  left:65%; bottom:-15px; animation-delay:1s; }
.b5 { width:90px;  height:90px;  background:var(--blue-400);   left:80%; bottom:-25px; animation-delay:2s; }
.b6 { width:40px;  height:40px;  background:var(--orange-400); left:92%; bottom:-10px; animation-delay:4s; }

@keyframes bubble-rise {
  0%   { transform: translateY(0) scale(1); opacity:.12; }
  50%  { transform: translateY(-120px) scale(1.1); opacity:.18; }
  100% { transform: translateY(-240px) scale(.9); opacity:0; }
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1rem;
  border: 2px solid var(--purple-100);
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease);
  /* scroll-reveal start state */
  opacity: 0;
  transform: translateY(30px) scale(.95);
}

.stat-card.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition: opacity .5s ease, transform .5s ease;
}

.stat-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 40px rgba(147,51,234,.18);
}

/* Color variants */
.stat-card[data-color="yellow"] { border-color: #fde68a; }
.stat-card[data-color="yellow"]:hover { box-shadow: 0 16px 40px rgba(250,204,21,.25); }
.stat-card[data-color="pink"]   { border-color: #fbcfe8; }
.stat-card[data-color="pink"]:hover   { box-shadow: 0 16px 40px rgba(244,114,182,.25); }
.stat-card[data-color="green"]  { border-color: #bbf7d0; }
.stat-card[data-color="green"]:hover  { box-shadow: 0 16px 40px rgba(74,222,128,.25); }
.stat-card[data-color="blue"]   { border-color: #bfdbfe; }
.stat-card[data-color="blue"]:hover   { box-shadow: 0 16px 40px rgba(96,165,250,.25); }
.stat-card[data-color="orange"] { border-color: #fed7aa; }
.stat-card[data-color="orange"]:hover { box-shadow: 0 16px 40px rgba(251,146,60,.25); }
.stat-card[data-color="purple"] { border-color: var(--purple-200); }

.stat-card-emoji {
  width: 2.8rem;
  height: 2.8rem;
  margin: 0 auto .6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--purple-50);
  animation: wiggle 3s ease-in-out infinite;
}

.stat-card-emoji svg { width: 1.4rem; height: 1.4rem; }

.stat-card[data-color="yellow"] .stat-card-emoji { background: #fef9c3; color: #b45309; }
.stat-card[data-color="pink"]   .stat-card-emoji { background: #fce7f3; color: #be185d; }
.stat-card[data-color="green"]  .stat-card-emoji { background: #dcfce7; color: #15803d; }
.stat-card[data-color="blue"]   .stat-card-emoji { background: #dbeafe; color: #1d4ed8; }
.stat-card[data-color="orange"] .stat-card-emoji { background: #ffedd5; color: #c2410c; }
.stat-card[data-color="purple"] .stat-card-emoji { background: var(--purple-100); color: var(--purple-700); }

.stat-card:nth-child(2) .stat-card-emoji { animation-delay: .3s; }
.stat-card:nth-child(3) .stat-card-emoji { animation-delay: .6s; }
.stat-card:nth-child(4) .stat-card-emoji { animation-delay: .9s; }
.stat-card:nth-child(5) .stat-card-emoji { animation-delay: 1.2s; }
.stat-card:nth-child(6) .stat-card-emoji { animation-delay: 1.5s; }

@keyframes wiggle {
  0%, 80%, 100% { transform: rotate(0deg); }
  85%            { transform: rotate(-12deg); }
  92%            { transform: rotate(12deg); }
}

.stat-card-number {
  font-family: 'Poppins', sans-serif;
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--purple-700);
  line-height: 1;
  margin-bottom: .35rem;
}

.stat-card[data-color="yellow"] .stat-card-number { color: #b45309; }
.stat-card[data-color="pink"]   .stat-card-number { color: #be185d; }
.stat-card[data-color="green"]  .stat-card-number { color: #15803d; }
.stat-card[data-color="blue"]   .stat-card-number { color: #1d4ed8; }
.stat-card[data-color="orange"] .stat-card-number { color: #c2410c; }

.stat-card-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .75rem;
}

/* Progress bar */
.stat-card-bar {
  height: 6px;
  background: var(--gray-100);
  border-radius: 999px;
  overflow: hidden;
}

.stat-bar-fill {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-400), var(--purple-600));
  transition: width 1.6s cubic-bezier(.22,1,.36,1);
}

.stat-card[data-color="yellow"] .stat-bar-fill { background: linear-gradient(90deg, #fde047, #f59e0b); }
.stat-card[data-color="pink"]   .stat-bar-fill { background: linear-gradient(90deg, #f9a8d4, #ec4899); }
.stat-card[data-color="green"]  .stat-bar-fill { background: linear-gradient(90deg, #86efac, #22c55e); }
.stat-card[data-color="blue"]   .stat-bar-fill { background: linear-gradient(90deg, #93c5fd, #3b82f6); }
.stat-card[data-color="orange"] .stat-bar-fill { background: linear-gradient(90deg, #fdba74, #f97316); }

/* â”€â”€ Confetti dot â”€â”€ */
.confetti-dot {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  animation: confetti-fly .9s ease-out forwards;
}

@keyframes confetti-fly {
  0%   { transform: translate(0,0) rotate(0deg) scale(1); opacity:1; }
  100% { transform: translate(var(--dx), var(--dy)) rotate(var(--rot)) scale(0); opacity:0; }
}

/* â”€â”€ SVG pop on service card hover â”€â”€ */
.svg-pop, .icon-pop {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  pointer-events: none;
  animation: emoji-pop-anim .7s ease-out forwards;
  z-index: 10;
  color: var(--purple-500);
}

.svg-pop svg, .icon-pop svg { width: 100%; height: 100%; }

@keyframes emoji-pop-anim {
  0%   { transform: scale(0) translateY(0); opacity:1; }
  60%  { transform: scale(1.4) translateY(-20px); opacity:1; }
  100% { transform: scale(1) translateY(-40px); opacity:0; }
}

/* â”€â”€ Scroll reveal base â”€â”€ */
.service-card, .team-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .45s ease, transform .45s ease;
}

.service-card.revealed, .team-card.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* JS yoksa fallback â€” kartlar her zaman gÃ¶rÃ¼nÃ¼r */
@media (prefers-reduced-motion: reduce) {
  .service-card, .team-card { opacity: 1; transform: none; }
}

/* stagger */
.service-card:nth-child(2), .team-card:nth-child(2) { transition-delay: .08s; }
.service-card:nth-child(3), .team-card:nth-child(3) { transition-delay: .16s; }
.service-card:nth-child(4), .team-card:nth-child(4) { transition-delay: .24s; }
.service-card:nth-child(5) { transition-delay: .32s; }
.service-card:nth-child(6) { transition-delay: .40s; }
.hero {
  background: linear-gradient(135deg, var(--purple-900) 0%, var(--purple-700) 50%, var(--purple-500) 100%);
  padding-block: 5rem 4rem;
  overflow: hidden;
  position: relative;
}

/* Decorative blobs */
.hero::before {
  content: '';
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: var(--pink-400);
  opacity: .12;
  filter: blur(80px);
  top: -100px; right: -100px;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: var(--yellow-400);
  opacity: .10;
  filter: blur(70px);
  bottom: -80px; left: 10%;
  pointer-events: none;
}

/* Polka dot pattern */
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: #fff;
}

.hero-content .badge {
  background: rgba(255,255,255,.15);
  color: #fff;
  border-color: rgba(255,255,255,.25);
  margin-bottom: 1.25rem;
}

.hero-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: #fff;
  margin-bottom: 1rem;
  line-height: 1.2;
  font-weight: 800;
}

.hero-content h1 .highlight {
  color: var(--yellow-300);
  position: relative;
  display: inline-block;
}

/* Slide aktifken highlight animasyonu */
.slide .hero-content h1 .highlight {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease .3s, transform .5s ease .3s;
}

.slide.active .hero-content h1 .highlight {
  opacity: 1;
  transform: translateY(0);
}

/* Wavy underline on highlight */
.hero-content h1 .highlight::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='4'%3E%3Cpath d='M0 2 Q5 0 10 2 Q15 4 20 2 Q25 0 30 2 Q35 4 40 2' stroke='%23fde047' stroke-width='2' fill='none'/%3E%3C/svg%3E") repeat-x;
  background-size: 40px 4px;
  /* Ã‡izgi soldan saÄŸa aÃ§Ä±lÄ±r */
  clip-path: inset(0 100% 0 0);
  transition: clip-path .6s ease .6s;
}

.slide.active .hero-content h1 .highlight::after {
  clip-path: inset(0 0% 0 0);
}

.hero-content p {
  font-size: 1rem;
  color: rgba(255,255,255,.85);
  max-width: 480px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--yellow-400), var(--orange-400));
  color: var(--gray-900);
  border-color: transparent;
  font-weight: 700;
}
.hero-actions .btn-primary:hover {
  background: linear-gradient(135deg, var(--yellow-300), var(--orange-400));
  box-shadow: 0 8px 24px rgba(250,204,21,.35);
}

.hero-actions .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,.5);
}
.hero-actions .btn-outline:hover {
  background: rgba(255,255,255,.15);
  border-color: #fff;
}

/* Stats */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.stat strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--yellow-300);
  font-family: 'Poppins', sans-serif;
}

.stat span {
  font-size: .78rem;
  color: rgba(255,255,255,.65);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,.2);
}

/* Hero visual */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-img-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.25);
  max-width: 440px;
  width: 100%;
  border: 3px solid rgba(255,255,255,.2);
}

.hero-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.hero-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 170px;
}

.hero-card:first-child {
  top: 1.5rem;
  left: -1rem;
}

.hero-card-bottom {
  bottom: 1.5rem;
  right: -1rem;
}

.hero-card-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.22);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.hero-card-icon.success {
  background: rgba(74,222,128,.3);
}

.hero-card-label {
  font-size: .72rem;
  color: rgba(255,255,255,.72);
  margin-bottom: .1rem;
  font-weight: 500;
}

.hero-card-value {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  font-family: 'Poppins', sans-serif;
}

/* Fun emoji row */
.hero-emoji-row {
  display: flex;
  gap: .5rem;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  animation: bounce-row 2s ease-in-out infinite;
}

@keyframes bounce-row {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--bg);
  border: 2px solid var(--purple-100);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: visible;
}

/* Colorful top stripe */
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--purple-400), var(--pink-400));
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  opacity: 0;
  transition: opacity var(--ease);
}

.service-card:hover::before { opacity: 1; }

.service-card:hover {
  transform: translateY(-6px) rotate(-0.5deg);
  box-shadow: 0 16px 40px rgba(147,51,234,.15);
  border-color: var(--purple-200);
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.service-icon.teal   { background: var(--purple-100); color: var(--purple-600); }
.service-icon.blue   { background: #dbeafe;           color: #2563eb; }
.service-icon.green  { background: #dcfce7;           color: #16a34a; }
.service-icon.orange { background: #ffedd5;           color: #ea580c; }
.service-icon.purple { background: #ede9fe;           color: #7c3aed; }
.service-icon.red    { background: #ffe4e6;           color: #e11d48; }

.service-icon svg {
  width: 24px;
  height: 24px;
  display: block;
  flex-shrink: 0;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: .5rem;
  color: var(--purple-900);
}

.service-card p {
  font-size: .875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1rem;
}

.service-link {
  font-size: .82rem;
  font-weight: 700;
  color: var(--primary);
  transition: color var(--ease), letter-spacing var(--ease);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.service-link:hover {
  color: var(--purple-800);
  letter-spacing: .02em;
}

/* â”€â”€ Service Modal â”€â”€ */
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(15,10,30,.5);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.service-modal.open { display: flex; }

.service-modal-inner {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 60px rgba(147,51,234,.18);
  animation: modal-in .3s cubic-bezier(.4,0,.2,1);
}

@keyframes modal-in {
  from { opacity:0; transform: scale(.95) translateY(12px); }
  to   { opacity:1; transform: scale(1)  translateY(0); }
}

.service-modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--purple-50);
  color: var(--purple-700);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background var(--ease);
}
.service-modal-close:hover { background: var(--purple-100); }

.service-modal-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding-right: 2rem;
}
.service-modal-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-modal-icon svg { width: 22px; height: 22px; }
.service-modal-header h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: .3rem; color: var(--purple-900); }
.service-modal-header p  { font-size: .82rem; color: var(--text-muted); line-height: 1.6; }

.service-modal-divider {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
  font-size: .75rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.service-modal-divider::before,
.service-modal-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--purple-100);
}

.service-modal-uzmanlar { display: flex; flex-direction: column; gap: .75rem; }

.modal-uzman-card {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--purple-100);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.modal-uzman-card:hover {
  border-color: var(--purple-200);
  box-shadow: 0 4px 12px rgba(147,51,234,.08);
}

.modal-uzman-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.modal-uzman-info { flex: 1; }
.modal-uzman-info strong { display: block; font-size: .88rem; font-weight: 700; color: var(--purple-900); }
.modal-uzman-info span   { font-size: .75rem; color: var(--text-muted); }

.modal-uzman-btn {
  font-size: .75rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  text-decoration: none;
  padding: .35rem .75rem;
  border-radius: 999px;
  background: var(--purple-50);
  transition: background var(--ease);
}
.modal-uzman-btn:hover { background: var(--purple-100); }

.no-uzman { font-size: .85rem; color: var(--text-muted); text-align: center; padding: 1rem 0; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: visible;
}

.about-img-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--purple-200);
}

.about-badge {
  position: absolute;
  bottom: -1.25rem;
  right: -1.25rem;
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem 1.25rem;
  box-shadow: 0 8px 24px rgba(147,51,234,.3);
}

.about-badge strong {
  display: block;
  font-size: 1.75rem;
  font-family: 'Poppins', sans-serif;
  line-height: 1;
  font-weight: 800;
}

.about-badge span {
  font-size: .72rem;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 600;
}

.about-content .badge { margin-bottom: .75rem; }

.about-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  font-weight: 800;
}

.about-content > p {
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 2rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--gray-700);
  font-weight: 500;
}

.check-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple-400), var(--purple-600));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(147,51,234,.25);
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.team-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 2px solid var(--purple-100);
  transition: transform var(--ease), box-shadow var(--ease);
  background: var(--bg);
}

.team-card:hover {
  transform: translateY(-6px) rotate(.5deg);
  box-shadow: 0 16px 40px rgba(147,51,234,.15);
  border-color: var(--purple-300);
}

/* SVG avatar alanÄ± */
.team-avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  transition: background var(--ease);
}

.team-avatar svg {
  width: 100%;
  height: 100%;
  max-width: 120px;
}

/* FotoÄŸraf yÃ¼klendiÄŸinde */
.team-avatar--photo {
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.team-avatar--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 10px;
  transition: transform .4s ease;
}

.team-card:hover .team-avatar--photo img {
  transform: scale(1.06);
}
.team-avatar[data-color="purple"] { background: var(--purple-50);  color: var(--purple-600); }
.team-avatar[data-color="blue"]   { background: #eff6ff;            color: #2563eb; }
.team-avatar[data-color="green"]  { background: #f0fdf4;            color: #16a34a; }
.team-avatar[data-color="orange"] { background: #fff7ed;            color: #ea580c; }
.team-avatar[data-color="pink"]   { background: #fdf2f8;            color: #db2777; }
.team-avatar[data-color="teal"]   { background: #f0fdfa;            color: #0d9488; }

.team-card:hover .team-avatar[data-color="purple"] { background: var(--purple-100); }
.team-card:hover .team-avatar[data-color="blue"]   { background: #dbeafe; }
.team-card:hover .team-avatar[data-color="green"]  { background: #dcfce7; }
.team-card:hover .team-avatar[data-color="orange"] { background: #ffedd5; }

.team-info {
  padding: 1rem 1.1rem 1.25rem;
  background: linear-gradient(180deg, var(--purple-50), #fff);
}

.team-info h4 {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: .3rem;
  color: var(--purple-900);
}

.team-info span {
  font-size: .78rem;
  color: var(--purple-600);
  font-weight: 600;
}

/* ============================================================
   CTA / APPOINTMENT
   ============================================================ */
.section-cta {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  padding-block: 6rem;
  padding-inline: 1.5rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: var(--pink-400);
  opacity: .1;
  filter: blur(80px);
  top: -100px; right: -50px;
  pointer-events: none;
}

.section-cta::after {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: var(--cyan-400);
  opacity: .08;
  filter: blur(70px);
  bottom: -80px; left: 5%;
  pointer-events: none;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

.cta-content {
  color: #fff;
}

.cta-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #fff;
  margin-block: .75rem 1rem;
  font-weight: 800;
}

.cta-content > p {
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
}

.contact-item svg {
  flex-shrink: 0;
  opacity: .75;
}

/* Form */
.appointment-form {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.2);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  border: 2px solid var(--purple-100);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: .35rem;
}

.form-group label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--purple-800);
  letter-spacing: .02em;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: .65rem .9rem;
  border: 2px solid var(--purple-100);
  border-radius: var(--radius-sm);
  font-size: .88rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  resize: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--purple-400);
  box-shadow: 0 0 0 3px rgba(168,85,247,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.appointment-form .btn-white {
  background: linear-gradient(135deg, var(--purple-500), var(--purple-700));
  color: #fff;
  border-color: transparent;
  font-weight: 700;
  font-size: .95rem;
  padding: .8rem;
}
.appointment-form .btn-white:hover {
  background: linear-gradient(135deg, var(--purple-600), var(--purple-800));
  box-shadow: 0 8px 24px rgba(147,51,234,.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--purple-900);
  color: rgba(255,255,255,.75);
  padding-top: 3.5rem;
}

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

.footer-brand .logo-name { color: #fff; font-weight: 800; }
.footer-brand .logo-sub  { color: rgba(255,255,255,.5); }
.footer-brand .logo-icon { background: linear-gradient(135deg, var(--purple-400), var(--purple-700)); }

.footer-brand p {
  margin-top: 1rem;
  font-size: .85rem;
  line-height: 1.7;
  color: rgba(255,255,255,.55);
  max-width: 280px;
}

.footer-links h5,
.footer-contact h5 {
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--purple-300);
  margin-bottom: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links a {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
  font-weight: 500;
}

.footer-links a:hover { color: var(--purple-300); }

.footer-contact p {
  font-size: .85rem;
  color: rgba(255,255,255,.55);
  margin-bottom: .4rem;
}

.footer-contact a {
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}

.footer-contact a:hover { color: var(--purple-300); }

.social-links {
  display: flex;
  gap: .6rem;
  margin-top: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  transition: background var(--ease), color var(--ease), transform var(--ease);
}

.social-links a:hover {
  background: var(--purple-600);
  color: #fff;
  border-color: var(--purple-500);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-block: 1.25rem;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: .8rem;
  color: rgba(255,255,255,.3);
}

.footer-credit {
  font-size: .78rem;
  color: rgba(255,255,255,.25);
}

.footer-credit a {
  color: rgba(255,255,255,.5);
  font-weight: 600;
  transition: color var(--ease);
}

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


/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-inner  { grid-template-columns: 1fr 1fr; }
  .stats-grid    { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section { padding-block: 3.5rem; }

  /* Header */
  .main-nav { display: none; }
  .desktop-cta { display: none; }
  .hamburger { display: flex; }
  .site-header { position: sticky; }

  /* Hero */
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content p { margin-inline: auto; }
  .hero-actions   { justify-content: center; }
  .hero-stats     { justify-content: center; }
  .hero-emoji-row { justify-content: center; }

  .hero-visual { display: none; }

  /* About */
  .about-inner { grid-template-columns: 1fr; gap: 2rem; }
  .about-img-wrap { display: none; }

  /* CTA */
  .cta-inner { grid-template-columns: 1fr; gap: 2rem; }

  /* Form */
  .form-row { grid-template-columns: 1fr; }

  /* Fun strip */
  .fun-strip-inner { gap: 2rem; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid     { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; }
  .stats-grid    { grid-template-columns: repeat(2, 1fr); }

  .hero-content h1 { font-size: 1.75rem; }
}

/* ============================================================
   ÅžUBELER
   ============================================================ */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.branch-card {
  background: var(--bg);
  border: 2px solid var(--purple-100);
  border-radius: var(--radius-lg);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
  position: relative;
  overflow: hidden;
}

/* Renk ÅŸeridi â€” Ã¼st kenar */
.branch-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: var(--branch-accent, var(--primary));
  opacity: 0;
  transition: opacity var(--ease);
}
.branch-card:hover::before { opacity: 1; }

.branch-card[data-color="purple"] { --branch-accent: var(--purple-500); }
.branch-card[data-color="blue"]   { --branch-accent: #3b82f6; }
.branch-card[data-color="green"]  { --branch-accent: #22c55e; }
.branch-card[data-color="orange"] { --branch-accent: #f97316; }
.branch-card[data-color="pink"]   { --branch-accent: #ec4899; }
.branch-card[data-color="teal"]   { --branch-accent: #14b8a6; }
.branch-card[data-color="red"]    { --branch-accent: #ef4444; }
.branch-card[data-color="yellow"] { --branch-accent: #eab308; }

.branch-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(147,51,234,.13);
  border-color: var(--purple-200);
}

/* Header */
.branch-header {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

.branch-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.branch-card[data-color="blue"]   .branch-icon { background:#eff6ff; color:#2563eb; }
.branch-card[data-color="green"]  .branch-icon { background:#f0fdf4; color:#16a34a; }
.branch-card[data-color="orange"] .branch-icon { background:#fff7ed; color:#ea580c; }
.branch-card[data-color="pink"]   .branch-icon { background:#fdf2f8; color:#db2777; }
.branch-card[data-color="teal"]   .branch-icon { background:#f0fdfa; color:#0d9488; }

.branch-icon svg { width: 18px; height: 18px; }

.branch-title-wrap {
  flex: 1;
  min-width: 0;
}

.branch-name {
  font-size: .95rem;
  font-weight: 800;
  color: var(--gray-900);
  margin: 0 0 .15rem;
  line-height: 1.3;
}

.branch-location {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Badge */
.branch-badge {
  flex-shrink: 0;
  padding: .2rem .6rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.branch-badge--active {
  background: #dcfce7;
  color: #15803d;
}

.branch-badge--soon {
  background: #fef9c3;
  color: #854d0e;
}

/* Detay listesi */
.branch-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  flex: 1;
}

.branch-details li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
  font-size: .82rem;
  color: var(--gray-600);
  line-height: 1.5;
}

.branch-details li svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: .15rem;
  color: var(--primary);
  opacity: .7;
}

.branch-details a {
  color: var(--gray-600);
  transition: color var(--ease);
}
.branch-details a:hover { color: var(--primary); }

/* Harita butonu */
.branch-map-btn {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .5rem .9rem;
  border-radius: var(--radius-sm);
  background: var(--purple-50);
  color: var(--primary);
  font-size: .8rem;
  font-weight: 700;
  border: 1.5px solid var(--purple-100);
  transition: background var(--ease), color var(--ease), border-color var(--ease);
  align-self: flex-start;
  margin-top: auto;
  text-decoration: none;
}

.branch-map-btn svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.branch-map-btn:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

/* Responsive */
@media (max-width: 1024px) {
  .branch-grid { grid-template-columns: repeat(2, 1fr); }
}

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