/* ============================================
   Dyt. Ece Aydemir — Kişisel Web Sitesi
   Minimalist, adaçayı yeşili paletli tasarım
   ============================================ */

:root{
  --paper: #faf9f5;
  --paper-2: #f2f1ea;
  --ink: #2f342a;
  --ink-soft: #5b6154;
  --muted: #86897d;
  --line: #e2e2d8;

  --sage-50:  #f4f6f0;
  --sage-100: #e7ebdd;
  --sage-200: #d1d9bf;
  --sage-300: #b3c199;
  --sage-400: #93a476;
  --sage-500: #74855a;
  --sage-600: #5c6b47;
  --sage-700: #3c4530;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Jost", "Segoe UI", Arial, sans-serif;

  --maxw: 1120px;
  --radius: 2px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a{ color: inherit; text-decoration: none; }

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

h1{ font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 500; }
h2{ font-size: clamp(1.7rem, 3vw, 2.3rem); }
h3{ font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }

p{ margin: 0 0 1.2em; color: var(--ink-soft); }

.eyebrow{
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-bottom: 0.9em;
}
.hero-kicker{
  text-transform: none;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

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

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, 0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .inner{
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 10px 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.brand{
  display: flex;
  align-items: center;
  line-height: 0;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
  z-index: 2;
}
.brand-logo{
  display: block;
  height: 150px;
  width: auto;
}
.brand-mark{
  display: none;
  height: 72px;
  width: auto;
}

nav.main-nav{
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: stretch;
  z-index: 1;
}
.nav-toggle{
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  justify-self: end;
  grid-column: 3;
  grid-row: 1;
  z-index: 2;
}
nav.main-nav a{
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
nav.main-nav a:hover,
nav.main-nav a.active{
  color: var(--sage-600);
  border-color: var(--sage-400);
}

.nav-toggle span{
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 780px){
  .site-header .inner{
    display: flex;
    justify-content: space-between;
  }
  nav.main-nav{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 6px 28px 18px;
    display: none;
  }
  nav.main-nav.open{ display: flex; }
  nav.main-nav a{
    padding: 12px 0;
    width: 100%;
    text-align: center;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle{ display: block; }
  .brand-logo{ display: none; }
  .brand-mark{ display: block; }
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--sage-500);
  color: var(--sage-700);
  background: transparent;
  border-radius: var(--radius);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:hover{
  background: var(--sage-500);
  color: #fff;
}
.btn.solid{
  background: var(--sage-500);
  color: #fff;
}
.btn.solid:hover{
  background: var(--sage-600);
  border-color: var(--sage-600);
}

/* ---------- Hero (home) ---------- */
.hero{
  padding: 72px 0 96px;
}
.hero .inner{
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
}
.hero-photo{
  position: relative;
}
.hero-photo .frame{
  border: 1px solid var(--sage-300);
  padding: 14px;
  border-radius: var(--radius);
}
.hero-photo img{
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center 25%;
}
.hero-text p.lead{
  font-size: 1.08rem;
  max-width: 46ch;
}
.hero-cta{
  display: flex;
  gap: 16px;
  margin-top: 8px;
  flex-wrap: wrap;
}

@media (max-width: 900px){
  .hero .inner{ grid-template-columns: 1fr; gap: 40px; }
  .hero-photo{ max-width: 340px; margin: 0 auto; }
  .hero{ padding: 48px 0 64px; text-align: center; }
  .hero-text p.lead{ margin-left: auto; margin-right: auto; }
  .hero-cta{ justify-content: center; }
}

/* ---------- Section blocks ---------- */
section{ padding: 84px 0; }
section.alt{ background: var(--paper-2); }
.section-head{ max-width: 62ch; margin-bottom: 44px; }
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

.divider{
  width: 46px;
  height: 1px;
  background: var(--sage-400);
  margin: 22px 0;
}
.center .divider{ margin-left: auto; margin-right: auto; }

/* Pillars / features */
.pillars{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.pillar .num{
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--sage-400);
  margin-bottom: 10px;
}
@media (max-width: 780px){
  .pillars{ grid-template-columns: 1fr; gap: 32px; }
}

/* Quote */
.quote-block{
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.quote-block blockquote{
  font-family: var(--serif);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-style: italic;
  color: var(--ink);
  margin: 0 0 18px;
  line-height: 1.5;
}
.quote-block cite{
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage-600);
  font-style: normal;
}

/* ---------- Bio page ---------- */
.bio{
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: start;
}
.bio-photo .frame{
  border: 1px solid var(--sage-300);
  padding: 14px;
  position: sticky;
  top: 110px;
}
.bio-photo img{
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.bio-body h2{ margin-top: 1.4em; }
.bio-body h2:first-child{ margin-top: 0; }
.bio-body .signature{
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--sage-600);
  margin-top: 28px;
}

@media (max-width: 900px){
  .bio{ grid-template-columns: 1fr; gap: 36px; }
  .bio-photo{ max-width: 320px; margin: 0 auto; }
  .bio-photo .frame{ position: static; }
}

/* ---------- Services ---------- */
.services-list{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card{
  background: var(--paper);
  padding: 40px 36px;
}
.service-card h3{ margin-bottom: 12px; }
@media (max-width: 780px){
  .services-list{ grid-template-columns: 1fr; }
}

.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  counter-reset: step;
}
.step{ text-align: center; padding: 0 8px; }
.step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--sage-400);
  margin-bottom: 10px;
}
@media (max-width: 900px){
  .steps{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px){
  .steps{ grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  max-width: 760px;
  margin: 0 auto;
}
.contact-card{
  border: 1px solid var(--line);
  padding: 30px 28px;
  text-align: center;
  transition: border-color .2s ease, background .2s ease;
}
.contact-card:hover{
  border-color: var(--sage-400);
  background: var(--paper-2);
}
.contact-card .label{
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage-600);
  margin-bottom: 10px;
  display: block;
}
.contact-card .value{
  font-family: var(--serif);
  font-size: 1.15rem;
  word-break: break-word;
}
@media (max-width: 620px){
  .contact-grid{ grid-template-columns: 1fr; }
}

.note-box{
  max-width: 620px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.92rem;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.site-footer .inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  text-align: center;
}
.site-footer .fbrand{
  display: block;
  line-height: 0;
}
.site-footer .fbrand img{
  height: 118px;
  width: auto;
}
.site-footer .flinks{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
  font-size: 0.85rem;
  color: var(--ink-soft);
}
.site-footer .fmeta{
  font-size: 0.78rem;
  color: var(--muted);
  width: 100%;
  margin-top: 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* ---------- Page hero (inner pages) ---------- */
.page-head{
  padding: 56px 0 20px;
  text-align: center;
}
.page-head .eyebrow{ display: block; }

/* Fade-in on scroll */
.reveal{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in{
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce){
  .reveal{ opacity: 1; transform: none; transition: none; }
  html{ scroll-behavior: auto; }
}
