/* ==========================================================================
   Kampüs Kreş & Anaokulu Multi-Page Theme
   Header + Topbar + Full-Width Slider + 4 Colorful Slider-Below Cards
   100% Dynamic Colors & Content Managed From Admin Panel
   ========================================================================== */
:root {
  --primary: #1E3A8A;
  --secondary: #0EA5E9;
  --accent: #22C55E;
  --highlight: #FF6B6B;
  --sunny: #F59E0B;
  --bg: #FFFDF9;
  --surface: #FFFFFF;
  --text: #1E293B;
  --muted: #64748B;
  --border: #E8EEF5;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 6px 18px rgba(30, 58, 138, 0.06);
  --shadow-md: 0 16px 36px rgba(30, 58, 138, 0.11);
  --shadow-lg: 0 24px 54px rgba(30, 58, 138, 0.16);
  --font: 'Nunito', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.62; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

.container { max-width: 1220px; margin: 0 auto; padding: 0 22px; }
.section { padding: 76px 0; }
.section-white { background: #FFFFFF; }
.section-soft { background: #F4F9FF; }
.section-head { text-align: center; max-width: 700px; margin: 0 auto 44px; }
.pill-tag {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 16px; border-radius: 999px;
  background: #FFF1F2; color: var(--highlight); font-weight: 800; font-size: 0.8rem; margin-bottom: 12px;
}
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.45rem); font-weight: 800; color: var(--primary); line-height: 1.18; margin-bottom: 10px; }
.section-sub { color: var(--muted); font-size: 1rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 800; font-size: 0.92rem; transition: 0.24s ease;
}
.btn-coral { background: var(--highlight); color: #fff; box-shadow: 0 10px 24px rgba(255, 107, 107, 0.34); }
.btn-coral:hover { transform: translateY(-2px); filter: brightness(1.05); }
.btn-sky { background: var(--secondary); color: #fff; box-shadow: 0 10px 24px rgba(14, 165, 233, 0.3); }
.btn-sky:hover { background: var(--primary); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--primary); box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.btn-white:hover { transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--border); background: #fff; color: var(--primary); }
.btn-outline:hover { border-color: var(--secondary); color: var(--secondary); }
.btn-sm { padding: 9px 18px; font-size: 0.84rem; }

/* TOP BAR (Kampüs Kreş Style Info Strip) */
.topbar {
  background: var(--primary); color: #E2E8F0; font-size: 0.82rem; font-weight: 700;
  padding: 9px 0; border-bottom: 3px solid var(--sunny);
}
.topbar-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.topbar-left { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 14px; }
.top-announce {
  background: linear-gradient(90deg, #FF6B6B, #F59E0B, #22C55E, #0EA5E9);
  color: #fff; text-align: center; padding: 7px 14px; font-size: 0.83rem; font-weight: 800;
}

/* HEADER & MENU */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(30, 58, 138, 0.05);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 16px; }
.brand-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.3rem; color: var(--primary); }
.brand-logo img { height: 42px; width: auto; object-fit: contain; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a {
  padding: 9px 14px; border-radius: 999px; font-weight: 800; font-size: 0.88rem;
  color: #334155; transition: 0.2s;
}
.nav-menu a:hover, .nav-menu a.active {
  background: #EEF6FF; color: var(--secondary);
}
.mobile-btn { display: none; padding: 8px 13px; border-radius: 10px; background: #EEF6FF; color: var(--primary); font-weight: 800; }

/* HERO SLIDER (Kampüs Kreş Full-Width Joyful Slider) */
.hero-slider { position: relative; overflow: hidden; background: var(--secondary); }
.slides-track { display: flex; transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1); }
.slide-item {
  min-width: 100%; position: relative; min-height: 500px;
  display: flex; align-items: center; background-size: cover; background-position: center;
}
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
.slide-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.62) 0%, rgba(15, 23, 42, 0.28) 52%, rgba(15, 23, 42, 0.05) 100%);
}
.slide-content { position: relative; z-index: 3; max-width: 610px; color: #fff; padding: 64px 0 96px; }
.slide-badge {
  display: inline-block; padding: 7px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.22); backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.35); font-size: 0.82rem; font-weight: 800; margin-bottom: 16px;
}
.slide-content h1 {
  font-size: clamp(2rem, 4.1vw, 3.25rem); font-weight: 900; line-height: 1.12;
  margin-bottom: 14px; text-shadow: 0 4px 18px rgba(0, 0, 0, 0.2);
}
.slide-content p { font-size: 1.06rem; color: #F1F5F9; margin-bottom: 26px; font-weight: 600; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; }

.slider-arrow {
  position: absolute; top: 46%; transform: translateY(-50%); z-index: 10;
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, 0.9);
  color: var(--primary); font-size: 1.2rem; font-weight: 900; display: grid; place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16); transition: 0.2s;
}
.slider-arrow:hover { background: var(--highlight); color: #fff; }
.slider-arrow.prev { left: 18px; }
.slider-arrow.next { right: 18px; }
.slider-dots {
  position: absolute; bottom: 56px; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: 8px;
}
.slider-dot { width: 11px; height: 11px; border-radius: 999px; background: rgba(255, 255, 255, 0.5); transition: 0.25s; }
.slider-dot.active { width: 32px; background: #FDE047; }

/* SLIDER ALTI BÖLÜM — 4 COLORFUL OVERLAPPING FEATURE CARDS */
.slider-below-section { position: relative; z-index: 15; margin-top: -46px; padding-bottom: 32px; }
.slider-cards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sc-card {
  border-radius: 24px; padding: 28px 22px; color: #fff; text-align: center;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.16); transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column; align-items: center;
}
.sc-card:hover { transform: translateY(-8px); }
.sc-card img { width: 66px; height: 66px; margin-bottom: 14px; }
.sc-card h2 { font-size: 1.15rem; font-weight: 900; margin-bottom: 8px; }
.sc-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.94); font-weight: 600; line-height: 1.5; }

/* Cards & Grids */
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.age-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: 0.25s;
}
.age-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.age-media { position: relative; height: 175px; overflow: hidden; }
.age-media img { width: 100%; height: 100%; object-fit: cover; }
.age-badge {
  position: absolute; top: 12px; left: 12px; padding: 5px 12px; border-radius: 999px;
  color: #fff; font-size: 0.74rem; font-weight: 800;
}
.age-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.age-body h3 { font-size: 1.12rem; font-weight: 900; color: var(--primary); margin-bottom: 8px; }
.age-body p { font-size: 0.88rem; color: var(--muted); margin-bottom: 12px; }

.branch-card {
  background: #fff; border-radius: var(--radius-md); padding: 26px 22px;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: 0.24s;
}
.branch-card:hover { transform: translateY(-5px); border-color: var(--secondary); box-shadow: var(--shadow-md); }
.branch-card img { width: 58px; height: 58px; margin-bottom: 14px; }
.branch-card h3 { font-size: 1.08rem; font-weight: 900; color: var(--primary); margin-bottom: 6px; }
.branch-card p { font-size: 0.9rem; color: var(--muted); }

/* Gallery */
.gallery-card {
  background: #fff; border-radius: var(--radius-md); overflow: hidden;
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); transition: 0.25s;
}
.gallery-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.gallery-card img { width: 100%; height: 210px; object-fit: cover; }
.gallery-cap { padding: 14px 18px; display: flex; justify-content: space-between; align-items: center; }
.gallery-cap strong { font-size: 0.94rem; color: var(--primary); }
.gallery-cap span { font-size: 0.74rem; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #EEF6FF; color: var(--secondary); }

/* Stats Strip */
.stats-strip { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff; padding: 44px 0; }
.stats-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.stats-4 strong { display: block; font-size: 2.1rem; font-weight: 900; color: #FDE047; }
.stats-4 span { font-size: 0.9rem; color: #E2E8F0; font-weight: 700; }

/* Subpage Hero */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: #fff; padding: 52px 0;
}
.page-hero h1 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); font-weight: 900; margin-bottom: 8px; }
.page-hero p { color: #E0F2FE; max-width: 680px; font-weight: 600; }
.breadcrumb { font-size: 0.82rem; color: #FDE047; margin-bottom: 10px; font-weight: 800; }

/* Routine & Forms */
.detail-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: start; }
.box-card { background: #fff; border-radius: var(--radius-md); padding: 28px; border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.routine-row { display: flex; gap: 16px; padding: 13px 16px; border-radius: 14px; background: #F8FBFF; border-left: 4px solid var(--secondary); margin-bottom: 10px; font-size: 0.92rem; }
.routine-row strong { color: var(--primary); min-width: 115px; }
.check-list { display: grid; gap: 8px; margin-top: 10px; }
.check-list li { list-style: none; display: flex; gap: 8px; font-size: 0.88rem; color: var(--text); }
.check-list li::before { content: '✓'; color: var(--accent); font-weight: 900; }

.form-box label { display: block; font-size: 0.82rem; font-weight: 800; color: var(--primary); margin-bottom: 5px; }
.form-box input, .form-box select, .form-box textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px; border: 1.5px solid var(--border);
  background: #F8FAFC; font-family: inherit; font-size: 0.92rem; margin-bottom: 12px;
}
.form-box input:focus, .form-box select:focus, .form-box textarea:focus { outline: none; border-color: var(--secondary); background: #fff; }

/* Footer */
.site-footer { background: #13254B; color: #CBD5E1; padding: 58px 0 26px; margin-top: 40px; border-top: 5px solid var(--sunny); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-col h4 { color: #FDE047; font-size: 1rem; font-weight: 800; margin-bottom: 12px; }
.footer-col a { display: block; font-size: 0.88rem; color: #E2E8F0; margin-bottom: 8px; font-weight: 600; }
.footer-col a:hover { color: #FDE047; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 20px; font-size: 0.82rem; color: #94A3B8; }
.social-links { display: flex; gap: 8px; margin-top: 14px; }
.social-links a { width: 34px; height: 34px; border-radius: 10px; background: rgba(255,255,255,0.12); display: grid; place-items: center; color: #fff; font-size: 0.78rem; font-weight: 800; }
.social-links a:hover { background: var(--highlight); }

.wa-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 999px;
  background: #16A34A; color: #fff; font-weight: 800; font-size: 0.88rem; box-shadow: 0 10px 26px rgba(22,163,74,0.42);
}

@media (max-width: 1024px) {
  .slider-cards-grid, .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .cards-3, .detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-menu { display: none; }
  .mobile-btn { display: inline-flex; }
}
@media (max-width: 640px) {
  .slider-cards-grid, .cards-4, .cards-2, .stats-4, .footer-grid { grid-template-columns: 1fr; }
  .slider-arrow { display: none; }
  .wa-fab span { display: none; }
}
