/* ==========================================================
   Yeşil Yelken Anaokulu
   ========================================================== */

:root {
  --bg: #fbf7f0;
  --ink: #12302a;
  --text: #4c5653;
  --muted: #8a918e;
  --orange: #e8673a;
  --orange-dark: #d4552a;
  --purple: #7a3fc6;
  --peach: #fbeadd;
  --peach-card: #fbede0;
  --lilac: #ebe3f8;
  --lilac-card: #eee6f9;
  --sage-card: #edf2e6;
  --white: #ffffff;
  --line: #efe6dc;

  --font-display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-hand: "Caveat", cursive;

  --container: 1180px;
  --radius-lg: 40px;
  --radius: 18px;
  --shadow: 0 10px 30px -18px rgba(70, 50, 30, .25);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); margin: 0; line-height: 1.05; font-weight: 800; }
p { margin: 0 0 1em; }
svg { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .8;
  margin-bottom: 14px;
}

h2 { font-size: clamp(32px, 3.8vw, 50px); letter-spacing: -.01em; }

/* Butonlar */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  font-family: var(--font-body); font-weight: 700; font-size: 17px;
  padding: 16px 34px; border: 0; border-radius: 999px; cursor: pointer;
  box-shadow: 0 10px 20px -10px rgba(232, 103, 58, .6);
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn svg { width: 20px; height: 20px; }
.btn-sm { padding: 12px 26px; font-size: 16px; }

/* Dekorlar */
.deco { position: absolute; pointer-events: none; }

/* ---------------- Header ---------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 240, .92);
  backdrop-filter: blur(8px);
}
.header-inner { display: flex; align-items: center; gap: 40px; height: 88px; }
.logo img { width: 182px; height: auto; }
.main-nav { display: flex; gap: 46px; margin-left: 70px; }
.main-nav a, .footer-nav a { font-weight: 600; font-size: 15.5px; color: var(--ink); opacity: .85; transition: color .2s; }
.main-nav a:hover, .footer-nav a:hover { color: var(--orange); opacity: 1; }
.header-cta { margin-left: auto; }
.menu-toggle { display: none; }

/* ---------------- Hero ---------------- */
.hero { padding: 10px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 20px; }
.hero-text { position: relative; padding-bottom: 20px; }
.hero h1 {
  font-size: clamp(44px, 5.6vw, 78px);
  font-weight: 800;
  line-height: .95;
  letter-spacing: -.02em;
  margin-bottom: 30px;
}
.underline { position: relative; display: inline-block; }
.underline svg { position: absolute; left: -6px; right: -16px; bottom: -14px; width: calc(100% + 22px); height: 20px; }
.lead { font-size: 18px; max-width: 470px; margin-bottom: 30px; }
.deco-hero-flower { width: 30px; height: 44px; left: -50px; bottom: -30px; }

.hero-visual { position: relative; aspect-ratio: 630 / 590; }
.hero-visual .blob-purple {
  position: absolute; left: 3%; top: 2%; width: 40%; height: 46%;
  background: #dccff3; border-radius: 60% 40% 40% 60% / 55% 45% 55% 45%;
}
.hero-photo {
  position: absolute; inset: 4% 2% 0 6%;
  border-radius: 46% 54% 40% 60% / 38% 44% 56% 62%;
  overflow: hidden;
}
.hero-photo img, .about-photo img, .contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.deco-sun { width: 108px; height: 108px; right: -10px; top: -6px; }
.deco-hero-leaf { width: 70px; height: 70px; left: -40px; bottom: 6px; }
.badge-round {
  position: absolute; left: 76%; top: 64%;
  width: 28%; aspect-ratio: 1; border-radius: 50%;
  background: #ddd0f5;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; transform: rotate(-10deg);
  font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 1.05; color: var(--ink);
}
.badge-round svg { width: 34px; height: 34px; margin-bottom: 4px; }

.feature-strip {
  list-style: none; margin: 34px 0 0; padding: 26px 40px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--peach); border-radius: var(--radius);
}
.feature-strip li { display: flex; align-items: center; justify-content: center; gap: 22px; padding: 4px 24px; }
.feature-strip li + li { border-left: 1.5px solid #f2d3bd; }
.feature-strip svg { width: 58px; height: 58px; }
.feature-strip strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 18px; margin-bottom: 2px; }
.feature-strip span { display: block; font-size: 14.5px; line-height: 1.45; max-width: 220px; }

/* ---------------- Hakkımızda ---------------- */
.about { padding: 50px 0 80px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.about-visual { position: relative; aspect-ratio: 590 / 500; }
.about-photo {
  position: absolute; inset: 0;
  border-radius: 38% 62% 52% 48% / 30% 40% 60% 70%;
  overflow: hidden;
}
.deco-branch-tl { width: 70px; height: 128px; left: -16px; top: 0; }
.deco-branch-bl { width: 56px; height: 76px; left: -18px; bottom: 30px; }
.deco-pink-flower { width: 76px; height: 76px; right: 20px; top: 6px; }
.about-text h2 { font-size: clamp(36px, 4.4vw, 58px); margin-bottom: 24px; }
.about-text p { font-size: 17px; }
.values { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.values li {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 16.5px; line-height: 1.2;
  padding: 0 14px;
}
.values li + li { border-left: 1.5px solid var(--line); }
.values svg { width: 54px; height: 54px; }

/* ---------------- Panel bölümleri ---------------- */
.programs, .daily, .contact-box {
  border-radius: var(--radius-lg);
}
.programs { background: var(--peach); padding: 46px 0 56px; margin: 0 auto; max-width: 1440px; }
.daily { background: var(--lilac); padding: 46px 0 60px; margin: 40px auto 0; max-width: 1440px; position: relative; }
.daily .container { position: relative; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 36px; }
.section-head > p { flex: 0 1 380px; font-size: 15px; color: var(--text); margin: 0 0 6px; }
.section-head h2 { font-size: clamp(30px, 3vw, 42px); }
.daily .section-head > p { margin-right: 80px; }
@media (min-width: 1101px) { .section-head h2 { white-space: nowrap; } }

/* Program kartları */
.program-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.program-card {
  position: relative; overflow: hidden;
  border-radius: var(--radius); padding: 30px 30px 34px; min-height: 280px;
}
.program-card.c-orange { background: var(--peach-card); --accent: var(--orange); }
.program-card.c-purple { background: var(--lilac-card); --accent: var(--purple); }
.program-card.c-green  { background: var(--sage-card);  --accent: var(--ink); }
.program-card h3 { font-size: 32px; color: var(--accent); margin-bottom: 14px; }
.program-card.c-green h3 { color: var(--ink); }
.program-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 17.5px; margin-bottom: 14px; }
.program-card p { font-size: 15px; max-width: 58%; position: relative; z-index: 1; }
.program-card .link {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 18px;
  color: var(--accent); font-weight: 600; font-size: 15.5px;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px; position: relative; z-index: 1;
}
.program-card.c-green .link { color: var(--orange); }
.program-card .link svg { width: 18px; height: 18px; }
.program-card img {
  position: absolute; right: 8px; bottom: 0;
  height: 64%; width: auto; mix-blend-mode: multiply;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 60% 62%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 70% 75% at 60% 62%, #000 60%, transparent 100%);
}

/* Bir gün, bin keşif */
.deco-daily-flower { width: 76px; height: 100px; right: -8px; top: -16px; }
.daily-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.daily-grid figure { margin: 0; position: relative; padding-bottom: 24px; }
.daily-grid img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.daily-grid figcaption {
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  background: #fff; padding: 12px 32px 12px 24px; border-radius: 12px;
  box-shadow: var(--shadow); font-weight: 600; color: var(--ink); font-size: 15.5px;
}
.daily-grid figcaption svg { width: 26px; height: 26px; }

/* ---------------- Yorumlar ---------------- */
.testimonials { padding: 70px 0 30px; }
.quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; position: relative; }
.quote-card {
  margin: 0; display: grid; grid-template-columns: 100px 1fr; gap: 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 30px 26px;
}
.quote-card img { width: 100px; height: 100px; border-radius: 50%; object-fit: cover; }
.quote-card > div { position: relative; padding-left: 46px; }
.quote-card p { font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; }
.q-open, .q-close { position: absolute; width: 30px; height: 24px; color: #f6c9b0; }
.q-open { left: 0; top: 0; }
.q-close { right: 0; top: 52%; transform: rotate(180deg); }
.quote-card footer strong { display: block; font-family: var(--font-display); font-weight: 600; color: var(--ink); font-size: 18px; }
.quote-card footer span { font-size: 14px; color: var(--muted); }
.deco-quote-leaf { width: 60px; height: 70px; right: -40px; bottom: -30px; }

/* ---------------- SSS ---------------- */
.faq { padding: 40px 0 60px; }
.faq-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 50px; }
.faq-intro { position: relative; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro > p:not(.eyebrow) { font-size: 15.5px; max-width: 330px; margin-left: 76px; }
.deco-faq-flower { width: 44px; height: 64px; left: -4px; top: 128px; }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-list details {
  background: #fff; border: 1px solid var(--line); border-radius: 14px;
  transition: box-shadow .2s;
}
.faq-list details[open] { box-shadow: var(--shadow); }
.faq-list summary {
  list-style: none; cursor: pointer; position: relative;
  padding: 18px 64px 18px 26px;
  font-weight: 700; color: var(--ink); font-size: 16.5px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 26px; top: 50%; transform: translateY(-50%);
  font-size: 24px; font-weight: 400; color: var(--muted); transition: transform .2s;
}
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { padding: 0 26px 20px; margin: 0; font-size: 15.5px; }

/* ---------------- İletişim ---------------- */
.contact { padding: 10px 0 0; }
.contact .container { max-width: 1440px; padding: 0; }
.contact-box {
  background: var(--peach);
  display: grid; grid-template-columns: 1.55fr 1fr; align-items: center; gap: 20px;
  padding: 40px max(24px, calc((100% - var(--container)) / 2 + 24px));
  position: relative; overflow: hidden;
}
.contact-text h2 { margin-bottom: 18px; }
.contact-text > p:not(.eyebrow) { max-width: 560px; }
.contact-form { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; align-items: center; position: relative; z-index: 2; width: calc(100% + 150px); }
.field {
  flex: 1 1 140px; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 10px; padding: 0 16px; height: 56px;
  color: #6f7774; border: 1.5px solid transparent; transition: border-color .2s;
}
.field:focus-within { border-color: var(--orange); }
.field:nth-of-type(3) { flex-grow: 1.35; }
.field svg { width: 22px; height: 22px; }
.field input { border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); width: 100%; min-width: 0; }
.field input::placeholder { color: #8f9693; }
.contact-form .btn { height: 56px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; }
.form-msg { flex-basis: 100%; margin: 0; font-weight: 700; font-size: 15px; min-height: 1.2em; }
.form-msg.ok { color: #3f7a3a; }
.form-msg.err { color: var(--orange-dark); }

.contact-visual { position: relative; aspect-ratio: 540 / 330; margin-right: -30px; }
.contact-visual .blob-purple {
  position: absolute; right: -6%; top: 2%; width: 34%; height: 50%;
  background: #dccff3; border-radius: 50%;
}
.contact-photo {
  position: absolute; inset: 0;
  border-radius: 40% 46% 38% 30% / 36% 50% 50% 64%;
  overflow: hidden;
}

/* ---------------- Footer ---------------- */
.site-footer { padding: 30px 0 20px; }
.footer-inner { display: flex; align-items: center; gap: 50px; }
.footer-nav { display: flex; gap: 40px; }
.footer-right { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.social { color: var(--ink); display: inline-flex; }
.social svg { width: 26px; height: 26px; }
.social:hover { color: var(--orange); }
.divider { width: 1.5px; height: 36px; background: #ddd5cb; margin: 0 8px; }
.slogan {
  margin: 0; font-family: var(--font-hand); font-size: 21px; line-height: 1;
  color: var(--text); transform: rotate(-6deg);
}
.slogan span { font-size: 17px; margin-left: 10px; }
.slogan svg { width: 14px; height: 14px; display: inline-block; vertical-align: middle; }
.copyright { text-align: center; font-size: 13px; color: var(--muted); margin: 24px 0 0; }

/* ---------------- Responsive ---------------- */
@media (max-width: 1100px) {
  .main-nav { margin-left: 20px; gap: 28px; }
  .program-card p { max-width: 62%; }
  .contact-box { grid-template-columns: 1fr; }
  .contact-form { width: 100%; }
  .contact-visual { max-width: 560px; margin: 10px auto 0; width: 100%; }
}

@media (max-width: 900px) {
  .main-nav, .header-cta { display: none; }
  .menu-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 5px;
    margin-left: auto; width: 46px; height: 46px; border: 0; border-radius: 12px;
    background: var(--peach); cursor: pointer; padding: 0 12px;
  }
  .menu-toggle span { display: block; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .25s; }
  .nav-open .menu-toggle span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .menu-toggle span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .nav-open .main-nav {
    display: flex; flex-direction: column; gap: 0; margin: 0;
    position: absolute; top: 88px; left: 0; right: 0;
    background: var(--bg); padding: 10px 24px 24px; box-shadow: 0 20px 30px -20px rgba(0,0,0,.2);
  }
  .nav-open .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 17px; }

  .hero-grid, .about-grid, .faq-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 560px; width: 100%; margin: 20px auto 0; }
  .feature-strip { grid-template-columns: 1fr; padding: 16px 20px; }
  .feature-strip li { justify-content: flex-start; padding: 16px 4px; }
  .feature-strip li + li { border-left: 0; border-top: 1.5px solid #f2d3bd; }
  .about-visual { max-width: 560px; width: 100%; margin: 0 auto; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .section-head > p { flex: none; margin-right: 0; }
  .program-cards, .daily-grid, .quote-grid { grid-template-columns: 1fr; }
  .daily-grid { gap: 36px; }
  .program-card { min-height: 240px; }
  .deco-quote-leaf { display: none; }
  .faq-intro > p:not(.eyebrow) { margin-left: 60px; }
  .footer-inner { flex-direction: column; gap: 24px; text-align: center; }
  .footer-nav { flex-wrap: wrap; justify-content: center; gap: 18px 28px; }
  .footer-right { margin: 0; }
  .programs, .daily { border-radius: 28px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .header-inner { height: 76px; }
  .nav-open .main-nav { top: 76px; }
  .logo img { width: 150px; }
  .lead { font-size: 16.5px; }
  .deco-hero-flower { display: none; }
  .badge-round { width: 110px; height: 110px; font-size: 16px; right: -4px; }
  .badge-round svg { width: 24px; height: 24px; }
  .deco-sun { width: 76px; height: 76px; }
  .deco-hero-leaf { left: -10px; width: 50px; height: 50px; }
  .values { grid-template-columns: 1fr; gap: 18px; }
  .values li + li { border-left: 0; }
  .program-card p { max-width: 64%; }
  .quote-card { grid-template-columns: 1fr; gap: 18px; padding: 24px 20px; }
  .quote-card img { width: 76px; height: 76px; }
  .daily-grid figcaption { padding: 10px 20px; font-size: 14.5px; }
  .contact-box { padding: 32px 16px; border-radius: 28px; }
  .contact-form { flex-direction: column; align-items: stretch; }
  .field { flex: none; }
  .contact-form .btn { justify-content: center; }
  .contact-visual { margin-right: 0; }
}
