/* ============================================================
   EAIEN Aile Danışmanlığı — Ana Stil Dosyası
   Sıcak, sakin ve güven veren kişisel marka estetiği
   ============================================================ */

:root {
  --cream: #f7f2ec;
  --cream-2: #efe7dc;
  --ink: #2f2a26;
  --ink-soft: #5c534c;
  --terracotta: #be6a4e;
  --terracotta-dark: #a4573d;
  --sage: #6f8069;
  --sage-dark: #566450;
  --gold: #c9a15a;
  --white: #fffdfa;
  --line: #e3d8ca;
  --shadow: 0 18px 40px -24px rgba(60, 44, 32, 0.45);
  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1120px;
  --font-head: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1rem; color: var(--ink-soft); }

a { color: var(--terracotta-dark); text-decoration: none; transition: color .2s; }
a:hover { color: var(--terracotta); }

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

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

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-alt { background: var(--cream-2); }
.section-dark { background: var(--sage-dark); color: #f2efe9; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: #dfe4dc; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .15s, box-shadow .2s, background .2s;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terracotta); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--terracotta); color: var(--terracotta-dark); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--sage-dark); color: #fff; }
.btn-block { width: 100%; justify-content: center; }
.btn-lg { padding: 1rem 2rem; font-size: 1.05rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-mark { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; letter-spacing: 0.14em; color: var(--ink); }
.brand-sub { font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--terracotta-dark); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: 1.7rem; }
.main-nav a { color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.main-nav a.active, .main-nav a:hover { color: var(--terracotta-dark); }
.nav-cta { background: var(--terracotta); color: #fff !important; padding: 0.55rem 1.2rem; border-radius: 999px; }
.nav-cta:hover { background: var(--terracotta-dark); }
.nav-toggle, .nav-toggle-label { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--cream) 0%, var(--cream-2) 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; padding: 80px 0; }
.hero h1 { margin-bottom: 0.6em; }
.hero .lead { margin-bottom: 1.8rem; }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.hero-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, #d9c5b3, #c98f6f 55%, #6f8069);
}
.hero-visual svg { width: 100%; height: 100%; }
.hero-badge {
  position: absolute; bottom: 18px; left: 18px; right: 18px;
  background: rgba(255,253,250,0.92); border-radius: 14px; padding: 14px 18px;
  display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow);
}
.hero-badge strong { display: block; color: var(--ink); font-family: var(--font-head); }
.hero-badge span { font-size: 0.85rem; color: var(--ink-soft); }

/* Stat strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; }
.stat .num { font-family: var(--font-head); font-size: 2.2rem; color: var(--terracotta-dark); }
.stat .lbl { font-size: 0.9rem; color: var(--ink-soft); }

/* Section heading */
.section-head { text-align: center; max-width: 62ch; margin: 0 auto 48px; }
.section-head .lead { margin: 0 auto; }

/* Cards / services */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--cream-2); color: var(--terracotta-dark);
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: 0.4rem; }
.card .price { font-family: var(--font-head); font-size: 1.5rem; color: var(--sage-dark); margin: 0.2rem 0 0.6rem; }
.card .price small { font-size: 0.8rem; color: var(--ink-soft); font-family: var(--font-body); }
.card ul { list-style: none; padding: 0; margin: 0 0 22px; }
.card ul li { position: relative; padding-left: 26px; margin-bottom: 8px; font-size: 0.95rem; color: var(--ink-soft); }
.card ul li::before {
  content: ""; position: absolute; left: 0; top: 8px; width: 14px; height: 14px;
  background: var(--sage); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 6L9 17l-5-5' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center/12px no-repeat;
}
.card .card-foot { margin-top: auto; }
.card .duration { font-size: 0.82rem; color: var(--terracotta-dark); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; }
.tag {
  display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 999px;
  background: var(--gold); color: #40340f; margin-bottom: 12px; align-self: flex-start;
}

/* Approach / features list */
.approach { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.approach .step h3 { display: flex; align-items: baseline; gap: 10px; }
.approach .step .n { font-family: var(--font-head); color: var(--gold); font-size: 1.6rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: center; }
.about-photo { aspect-ratio: 3/4; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(150deg,#d9c5b3,#6f8069); }
.about-photo svg { width: 100%; height: 100%; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.chip { background: var(--cream-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 15px; font-size: 0.88rem; color: var(--ink-soft); }

/* Testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.quote { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { font-weight: 600; color: var(--terracotta-dark); font-style: normal; font-size: 0.9rem; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 8px; }

/* CTA band */
.cta-band { background: linear-gradient(150deg, var(--terracotta), var(--terracotta-dark)); color: #fff; border-radius: var(--radius); padding: 48px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #ffe9df; }
.cta-band .btn-primary { background: #fff; color: var(--terracotta-dark); }
.cta-band .btn-primary:hover { background: var(--cream); }

/* Forms */
.form-wrap { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; background: var(--cream); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(190,106,78,0.15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field .hint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; font-size: 0.95rem; }
.alert-error { background: #fbe9e4; border: 1px solid #e6b6a6; color: #8a3d24; }
.alert-success { background: #e7efe3; border: 1px solid #b6ccac; color: #3f5734; }
.alert-info { background: #f3ecdd; border: 1px solid #ddcba0; color: #6a5320; }

/* Booking */
.booking-grid { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 30px; align-items: start; }
.service-select { display: grid; gap: 12px; }
.service-option {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1.5px solid var(--line);
  border-radius: var(--radius-sm); cursor: pointer; background: var(--white); transition: border-color .2s, background .2s;
}
.service-option:hover { border-color: var(--terracotta); }
.service-option input { accent-color: var(--terracotta); width: 18px; height: 18px; }
.service-option .so-main { flex: 1; }
.service-option .so-name { font-weight: 600; color: var(--ink); }
.service-option .so-meta { font-size: 0.85rem; color: var(--ink-soft); }
.service-option .so-price { font-family: var(--font-head); color: var(--sage-dark); font-size: 1.15rem; }
.service-group-title { font-family: var(--font-head); font-size: 1.15rem; margin: 8px 0 4px; }

.calendar { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head button { background: var(--cream-2); border: none; width: 36px; height: 36px; border-radius: 50%; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.cal-head button:hover { background: var(--terracotta); color: #fff; }
.cal-title { font-family: var(--font-head); font-size: 1.1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 5px; }
.cal-grid .dow { text-align: center; font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; padding: 4px 0; }
.cal-day { aspect-ratio: 1; border: none; border-radius: 10px; background: var(--cream); cursor: pointer; font-family: inherit; font-size: 0.9rem; color: var(--ink); transition: background .15s; }
.cal-day:hover:not(:disabled) { background: var(--cream-2); }
.cal-day.selected { background: var(--terracotta); color: #fff; }
.cal-day.empty { background: transparent; cursor: default; }
.cal-day:disabled { color: #c3b8a9; cursor: not-allowed; }
.slots { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fill, minmax(78px,1fr)); gap: 8px; }
.slot-btn { padding: 9px 6px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--white); cursor: pointer; font-family: inherit; font-size: 0.92rem; color: var(--ink); }
.slot-btn:hover { border-color: var(--terracotta); }
.slot-btn.selected { background: var(--sage); color: #fff; border-color: var(--sage); }
.slots-empty { font-size: 0.9rem; color: var(--ink-soft); padding: 10px 0; }

.summary-box { background: var(--cream-2); border-radius: var(--radius-sm); padding: 18px; margin: 18px 0; }
.summary-box .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 0.95rem; }
.summary-box .row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 12px; font-weight: 600; font-size: 1.1rem; }
.summary-box .row.total span:last-child { font-family: var(--font-head); color: var(--sage-dark); }

.trust-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; font-size: 0.85rem; color: var(--ink-soft); }
.trust-row .t { display: inline-flex; align-items: center; gap: 6px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-info .info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info .info-item .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--cream-2); color: var(--terracotta-dark); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .info-item h4 { margin: 0 0 2px; }
.map-embed { border: 0; width: 100%; height: 260px; border-radius: var(--radius); margin-top: 10px; }

/* Legal / content pages */
.prose { max-width: 76ch; margin: 0 auto; }
.prose h2 { margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink-soft); }

/* Payment result */
.result-card { max-width: 560px; margin: 0 auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 46px 36px; box-shadow: var(--shadow); }
.result-icon { width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; }
.result-icon.ok { background: #e7efe3; color: var(--sage-dark); }
.result-icon.err { background: #fbe9e4; color: #a4573d; }
.result-icon svg { width: 40px; height: 40px; }

/* Utility */
.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.hidden { display: none !important; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .about-grid, .contact-grid, .booking-grid { grid-template-columns: 1fr; }
  .grid-3, .approach, .quote-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .about-photo { max-width: 380px; margin: 0 auto; }

  .nav-toggle-label { display: flex; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
  .nav-toggle-label span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }
  .main-nav {
    position: fixed; top: 72px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 10px 22px 22px;
    border-bottom: 1px solid var(--line); transform: translateY(-140%); transition: transform .3s; box-shadow: var(--shadow);
  }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-cta { text-align: center; margin-top: 12px; border-bottom: none !important; }
  .nav-toggle:checked ~ .main-nav { transform: translateY(0); }
  .form-row { grid-template-columns: 1fr; }
  .cta-band { padding: 34px 22px; }
}
