:root {
  --sage: #8a9b6e;          /* dekoratif: zemin, gradient, kenarlik */
  --sage-dark: #62714a;     /* metin ve buton zemini (krem 4.90:1 / beyaz yazi 5.28:1) */
  --sage-deep: #566143;     /* buton hover */
  --sage-light: #e7ebdd;
  --orange: #d98e5f;        /* dekoratif */
  --orange-dark: #9c5225;   /* metin: eyebrow, baglantilar (krem 5.34:1 / sage-light 4.75:1) */
  --orange-deep: #b05e2a;   /* turuncu buton zemini (beyaz yazi 4.69:1) */
  --orange-darker: #8d4b22; /* turuncu buton hover */
  --orange-light: #f4e2d4;
  --cream: #faf6ef;
  --ink: #3a3a32;
  --muted: #707065;         /* govde metni (krem uzerinde 4.65:1) */
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 12px 40px rgba(58, 58, 50, 0.08);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* Yapışkan başlık, sayfa içi bağlantı hedeflerini örtmesin */
  scroll-padding-top: 92px;
  background: var(--cream);
  /* Tarayıcı koyu modunun zemini koyulaştırmasını engeller */
  color-scheme: light;
}

body {
  font-family: 'Jost', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--cream);
  min-height: 100vh;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: .2px;
}

h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap { width: min(1140px, 90vw); margin: 0 auto; }

.section { padding: clamp(4rem, 9vw, 8rem) 0; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 1.2rem;
  color: var(--orange-dark);
  font-weight: 500;
  margin-bottom: 1rem;
}

.lead { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: .85rem 2rem;
  border-radius: 100px;
  font-size: .95rem;
  letter-spacing: .5px;
  transition: transform .35s var(--ease), background .35s var(--ease), box-shadow .35s var(--ease);
  cursor: pointer;
  border: none;
}
.btn--solid { background: var(--sage-dark); color: var(--white); }
.btn--solid:hover { background: var(--sage-deep); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(107,124,82,.35); }
.btn--orange { background: var(--orange-deep); color: var(--white); }
.btn--orange:hover { background: var(--orange-darker); transform: translateY(-3px); box-shadow: 0 10px 24px rgba(176,94,42,.35); }
.btn--ghost { background: transparent; border: 1.5px solid var(--sage-dark); color: var(--sage-dark); }
.btn--ghost:hover { background: var(--sage-dark); color: var(--white); transform: translateY(-3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 239, .85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(138,155,110,.15);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 0;
}
.brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: .5px;
}
.brand span { color: var(--orange-dark); }
.site-header .brand, .site-header .brand span { color: var(--ink); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .95rem;
  position: relative;
  padding: .2rem 0;
  transition: color .3s var(--ease);
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--orange);
  transition: width .35s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--orange-dark); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--ink);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 7rem) 0;
}
.hero-text h1 { margin: .6rem 0 1.4rem; }
.hero-text .lead { margin-bottom: 2.2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; display: flex; justify-content: center; }
.avatar {
  width: clamp(220px, 30vw, 360px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar-fallback {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; color: var(--sage-dark);
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(2px);
  z-index: 1;
}
.blob--1 { width: 120px; height: 120px; background: var(--orange-light); top: 6%; right: 8%; }
.blob--2 { width: 90px; height: 90px; background: var(--sage-light); bottom: 8%; left: 6%; }

/* ---------- Page header ---------- */
.page-head {
  background: var(--sage-light);
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.page-head h1 { margin: .5rem 0 .8rem; }
.page-head .lead { margin: 0 auto; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.8rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid rgba(138,155,110,.1);
}
.card:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(58,58,50,.13); }
.card-icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--orange-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); font-size: .98rem; }

/* ---------- Section heading ---------- */
.sec-head { text-align: center; max-width: 60ch; margin: 0 auto 3rem; }
.sec-head .lead { margin: .8rem auto 0; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--sage-light); }
/* 5 yorum: ust sirada 3, alt sirada 2 ortalanmis */
.quotes-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.8rem;
}
.quotes-grid .quote {
  flex: 0 1 calc(33.333% - 1.2rem);  /* buyumesin: tum kartlar esit genislikte */
  display: flex;
  flex-direction: column;
}
@media (max-width: 1000px) {
  .quotes-grid .quote { flex-basis: calc(50% - .9rem); }
}
@media (max-width: 700px) {
  .quotes-grid .quote { flex-basis: 100%; }
}
.quotes-grid .quote p { flex: 1; }
.quote {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem;
  box-shadow: var(--shadow);
}
.quote p { font-style: italic; color: var(--ink); margin-bottom: 1.2rem; font-size: 1.02rem; }
.quote .who { display: flex; align-items: center; gap: .8rem; }
.quote .who .dot {
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(135deg, var(--sage), var(--orange));
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 600; font-size: .9rem;
}
.quote .who strong { font-weight: 600; font-size: .95rem; }

/* ---------- About / timeline ---------- */
.about-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.about-photo {
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage-light), var(--orange-light));
  aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
  overflow: hidden;
  position: sticky; top: 100px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .avatar-fallback { font-size: 5rem; }

.timeline { margin-top: 2.5rem; }
.timeline h3 { color: var(--sage-dark); margin-bottom: 1.2rem; }
.tl-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(138,155,110,.18);
}
.tl-item:last-child { border-bottom: none; }
.tl-date { color: var(--orange-dark); font-size: .9rem; font-weight: 500; }
.tl-body strong { display: block; font-weight: 600; }
.tl-body span { color: var(--muted); font-size: .92rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--sage-light);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
  cursor: pointer;
}
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(58,58,50,.16); }
.gallery figure img {
  width: 100%; height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

/* ---------- Blog ---------- */
.post {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  border: 1px solid rgba(138,155,110,.1);
}
.post:hover { transform: translateY(-8px); box-shadow: 0 22px 50px rgba(58,58,50,.13); }
.post-cover {
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, var(--sage-light), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
}
.post-cover .ph-label { font-family: 'Cormorant Garamond', serif; color: var(--sage-dark); }
.post-body { padding: 1.8rem; }
.post-meta { font-size: .82rem; color: var(--orange-dark); letter-spacing: 1px; text-transform: uppercase; }
.post-body h3 { margin: .6rem 0 .6rem; }
.post-body p { color: var(--muted); font-size: .96rem; margin-bottom: 1rem; }
.read-more { color: var(--sage-dark); font-size: .9rem; font-weight: 500; }
.read-more:hover { color: var(--orange-dark); }

/* ---------- Article ---------- */
.article { max-width: 720px; margin: 0 auto; }
.article .post-meta { display: block; margin-bottom: .6rem; }
.article h1 { margin-bottom: 1rem; }
.article .article-intro { color: var(--muted); font-size: 1.15rem; margin-bottom: 2.5rem; }
.article-cover {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--sage-light), var(--orange-light));
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 2.5rem;
}
.article-cover .ph-label { font-family: 'Cormorant Garamond', serif; color: var(--sage-dark); font-size: 1.2rem; }
.article-body p { margin-bottom: 1.3rem; color: var(--ink); }
.article-body h2 { font-size: 1.8rem; margin: 2.2rem 0 1rem; }
.article-body blockquote {
  border-left: 3px solid var(--orange);
  padding: .4rem 0 .4rem 1.4rem;
  margin: 1.8rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  color: var(--sage-dark);
  font-style: italic;
}
.article-body ul { margin: 0 0 1.4rem 1.3rem; }
.article-body li { margin-bottom: .5rem; }
.article-back { display: inline-block; margin-top: 2.5rem; color: var(--sage-dark); font-weight: 500; }
.article-back:hover { color: var(--orange-dark); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.contact-info { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item .ci-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--sage-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
  color: var(--sage-dark);
}
.contact-item .ci-icon svg { width: 22px; height: 22px; }

/* Footer social icons */
.social-icons { display: flex; gap: .9rem; margin-top: .7rem; }
.social-icons a {
  display: inline-flex; align-items: center; justify-content: center;
  color: #adad9f;
  transition: color .3s var(--ease), transform .3s var(--ease);
  margin: 0;
  padding: 0;
  background: transparent;
}
.social-icons a:hover { color: var(--orange); transform: translateY(-1px); }
.social-icons a svg { width: 16px; height: 16px; }
.contact-item span { color: var(--muted); font-size: .9rem; }
.contact-item a, .contact-item strong { font-size: 1rem; }
.contact-item a:hover { color: var(--orange-dark); }

.form { display: flex; flex-direction: column; gap: 1.1rem; }
.field label { display: block; font-size: .9rem; margin-bottom: .4rem; }
.field input, .field textarea {
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid rgba(138,155,110,.3);
  border-radius: 12px;
  font-family: inherit;
  font-size: .95rem;
  background: var(--white);
  color: var(--ink);
  transition: border .3s var(--ease), box-shadow .3s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 4px rgba(138,155,110,.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .85rem; color: var(--muted); }
.form-success {
  display: none;
  background: var(--sage-light);
  color: var(--sage-dark);
  padding: 1rem 1.2rem;
  border-radius: 12px;
  font-size: .95rem;
}
.form-success.show { display: block; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--sage-dark), var(--sage-deep));
  color: var(--white);
  text-align: center;
  border-radius: var(--radius);
  padding: clamp(3rem, 6vw, 5rem) 2rem;
}
.cta-band h2 { color: var(--white); margin-bottom: 1rem; }
.cta-band p { opacity: .9; margin-bottom: 2rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #d8d8cf;
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.site-footer .brand, .site-footer .brand span { color: var(--white); }
.footer-col h4 {
  font-size: .85rem; text-transform: uppercase; letter-spacing: 2px;
  color: var(--orange-light); margin-bottom: 1rem;
}
.footer-col a, .footer-col p { display: block; font-size: .92rem; margin-bottom: .5rem; color: #d8d8cf; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: .85rem;
  color: #adad9f;
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* Guvenlik agi: JS calismazsa icerik gizli kalmasin */
.no-js .reveal { opacity: 1; transform: none; }

/* Hareket azaltma tercihi */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .post, .gallery figure { transition: none; }
}
.reveal[data-delay="1"] { transition-delay: .1s; }
.reveal[data-delay="2"] { transition-delay: .2s; }
.reveal[data-delay="3"] { transition-delay: .3s; }

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  /* Orta genislikte menu SAKLANMAZ: satir kaydirarak gorunur kalir.
     Boylece onizleme panelleri ve tabletlerde sekmeler her zaman tiklanabilir. */
  .nav { flex-wrap: wrap; }
  .nav-links { gap: .9rem 1.3rem; flex-wrap: wrap; justify-content: flex-end; }
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { position: static; max-width: 360px; margin: 0 auto; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 1fr; gap: .2rem; }
}

/* ---------- Form hata kutusu (PHP surumu) ---------- */
.form-hata {
  background: #fbeae0;
  border-left: 3px solid var(--orange-deep);
  color: #7d3d16;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  font-size: .95rem;
}
.form-hata p { margin: 0; }
.form-hata p + p { margin-top: .4rem; }


/* Telefon genisligi: hamburger menu (yalnizca JS varken saklanir) */
@media (max-width: 560px) {
  html.js .nav-toggle { display: block; }
  html.js .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    flex-direction: column;
    gap: 0;
    padding: 1rem 5vw;
    border-bottom: 1px solid rgba(138,155,110,.2);
    box-shadow: var(--shadow);
    display: none;
  }
  html.js .nav-links.open { display: flex; }
  html.js .nav-links li { padding: .6rem 0; }
  /* JS calismiyorsa menu asla gizlenmez: alt alta gorunur kalir */
  html:not(.js) .nav-links {
    width: 100%;
    flex-direction: column;
    gap: .1rem;
    padding: .3rem 0 .7rem;
  }
}
