/* ==========================================================
   Elifnur Özden — site styles
   Colours and fonts are set once at the top of this file.
   You normally never need to edit this file to change text.
   ========================================================== */

/* ---------- Fonts (self-hosted, include Turkish letters) ---------- */
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Jost";
  src: url("../fonts/jost-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("../fonts/source-serif-4.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}

/* ---------- Colours ---------- */
:root {
  color-scheme: light dark;
  --paper: #f1f3ee;   /* page background: pale sage */
  --ink:   #1d2a2e;   /* main text: deep navy-slate */
  --leaf:  #2e4b3c;   /* headings, links: fig-leaf green */
  --muted: #59665f;   /* secondary text */
  --line:  #d3dad2;   /* thin dividers */
  --gold:  #a8884e;   /* small accents */

  --font-sans: "Jost", "Futura", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-serif: "Source Serif 4", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --measure: 38rem;   /* comfortable reading width */
  --wide: 62rem;      /* overall page width */
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151c19;
    --ink:   #e5eae5;
    --leaf:  #a8c8b1;
    --muted: #a0aca5;
    --line:  #2d3934;
    --gold:  #cdb078;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.125rem;          /* 18px */
  line-height: 1.7;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
}

main { flex: 1; }

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

a {
  color: var(--leaf);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap {
  width: 100%;
  max-width: var(--wide);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 40rem) {
  .wrap { padding-inline: 2rem; }
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  text-decoration: none;
}
.skip:focus { top: 1rem; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); }

.site-header__inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding-block: 1.5rem 1rem;
}
@media (min-width: 52rem) {
  .site-header__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding-block: 2.25rem 1.5rem;
  }
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-self: flex-start;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.2;
  text-decoration: none;
}
.brand__name {
  font-size: 1.5rem;
  font-weight: 500;
}
.brand__role {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 1rem;
  font-style: italic;
}

.nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav a {
  display: inline-block;
  padding-block: 0.4rem;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  text-decoration: none;
}
@media (min-width: 40rem) {
  .nav ul { gap: 0 1.25rem; }
  .nav a { font-size: 1rem; }
}
.nav a:hover { color: var(--leaf); }
.nav a[aria-current="page"] {
  color: var(--leaf);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

/* ---------- Page body ---------- */
.page { padding-block: 3rem 4.5rem; }
@media (min-width: 52rem) {
  .page { padding-block: 4.5rem 6rem; }
}

.page-title {
  margin: 0 0 1.75rem;
  color: var(--leaf);
  font-family: var(--font-sans);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 40rem) {
  .page-title { font-size: 2.25rem; }
}

.prose { max-width: var(--measure); }
.prose p { margin: 0 0 1.1em; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Ana Sayfa ---------- */
.hello {
  margin: 0 0 1.5rem;
  color: var(--leaf);
  font-family: var(--font-sans);
  font-size: clamp(3rem, 2rem + 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.intro {
  max-width: 36rem;
  font-size: 1.1875rem;
  line-height: 1.65;
}
.intro p { margin: 0 0 0.5em; }
@media (min-width: 40rem) {
  .intro { font-size: 1.3125rem; }
}

.video {
  position: relative;
  max-width: 52rem;
  margin-top: 3.5rem;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 6px;
  background: var(--line);
}
.video a,
.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.video__play {
  position: absolute;
  left: 50%;
  top: 50%;
  display: grid;
  place-items: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: rgb(29 42 46 / 0.78);
  transform: translate(-50%, -50%);
  transition: background-color 0.2s ease;
}
.video__play svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-left: 0.2rem;
  fill: #fff;
}
.video a:hover .video__play,
.video a:focus-visible .video__play { background: #2e4b3c; }
.video a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
  box-shadow: inset 0 0 0 6px rgb(29 42 46 / 0.6);
}

/* ---------- Bireysel Psikoterapi ---------- */
.points {
  max-width: var(--measure);
  margin: 0;
  padding: 0;
  list-style: none;
}
.points li {
  position: relative;
  margin-bottom: 1.35rem;
  padding-left: 1.5rem;
}
.points li:last-child { margin-bottom: 0; }
.points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
}

/* ---------- İletişim ---------- */
.contact {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 52rem) {
  .contact {
    grid-template-columns: minmax(0, 26rem) 1fr;
    align-items: center;
    gap: 4rem;
  }
}
.contact__photo { margin: 0; }
.contact__photo img { width: 100%; border-radius: 6px; }

.contact__list { margin: 0; }
.contact__list dt {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
}
.contact__list dd {
  margin: 0.15rem 0 1.75rem;
  font-size: 1.3125rem;
  line-height: 1.4;
}
.contact__list dd:last-child { margin-bottom: 0; }
.contact__list a { overflow-wrap: anywhere; }

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.5;
}
.site-footer__inner {
  display: grid;
  gap: 1rem;
  padding-block: 2rem 2.5rem;
}
@media (min-width: 52rem) {
  .site-footer__inner {
    grid-template-columns: 1fr auto auto;
    align-items: start;
    gap: 3.5rem;
  }
}
.site-footer__name {
  margin: 0;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 500;
}
.site-footer ul {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer .link-row {
  flex-direction: row;
  gap: 0.35rem 1.5rem;
}
.site-footer a {
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.site-footer a:hover { text-decoration: underline; }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
