/* Uzm. Dr. Özer Özdemir · Ayna teması */

:root {
  --stone: #DCD2CA;
  --stone-2: #D3C8BF;
  --stone-3: #E6DDD6;
  --plum: #2A1E24;
  --plum-2: #34252D;
  --ivory: #EFE6E0;
  --ivory-soft: #BCACB2;
  --ink: #2A1E24;
  --ink-soft: #6A5A60;
  --line: rgba(42, 30, 36, 0.16);
  --line-light: rgba(239, 230, 224, 0.16);

  --serif: "Bodoni Moda", "Didot", "Bodoni 72", serif;
  --sans: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --wrap: 1440px;
  --header-h: 88px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  background: var(--stone);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.dark :focus-visible { outline-color: var(--ivory); }

.skip { position: absolute; left: var(--gutter); top: 8px; z-index: 50; padding: 8px 16px; border-radius: 999px; background: var(--ink); color: var(--stone); font-size: 14px; transform: translateY(-200%); }
.skip:focus { transform: none; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* ortak öğeler */
.pill {
  display: inline-flex; align-items: center; gap: 12px;
  height: 52px; padding: 0 26px; border-radius: 999px; border: 0;
  background: var(--ink); color: var(--stone);
  font-size: 15px; font-weight: 500; white-space: nowrap; cursor: pointer;
  transition: transform .4s var(--ease), background-color .3s, color .3s;
}
.pill:hover { transform: translateY(-2px); background: #3C2C33; }
.pill svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 1.5; transition: transform .4s var(--ease); }
.pill:hover svg { transform: translateX(3px); }
.pill--light { background: var(--ivory); color: var(--plum); }
.pill--light:hover { background: #FFF8F3; }
.pill--line { background: transparent; color: inherit; box-shadow: inset 0 0 0 1px currentColor; }
.pill--line:hover { background: rgba(42, 30, 36, 0.06); }
.dark .pill--line:hover { background: rgba(239, 230, 224, 0.08); }

.ghost { font-size: 15px; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .3s; }
.ghost:hover { opacity: 0.65; }

.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 6.4vw, 104px); line-height: 0.98; letter-spacing: -0.035em; font-variation-settings: "opsz" 56; }
.h2 em { font-style: italic; color: var(--ink-soft); }
.dark .h2 em { color: var(--ivory-soft); }
.lede { color: var(--ink-soft); font-size: 17px; max-width: 30rem; }
.dark .lede { color: var(--ivory-soft); }

/* üst bar */
.site-header {
  position: sticky; top: 0; z-index: 30;
  transition: background-color .4s, box-shadow .4s, backdrop-filter .4s;
}
.site-header.is-scrolled {
  background: rgba(220, 210, 202, 0.82);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  backdrop-filter: blur(14px) saturate(1.2);
  box-shadow: 0 1px 0 var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.word { display: flex; align-items: baseline; gap: 14px; }
.word b { font-family: var(--serif); font-weight: 500; font-size: 24px; letter-spacing: -0.01em; }
.word span { font-size: 13px; color: var(--ink-soft); }
.nav { display: flex; align-items: center; gap: 36px; font-size: 15px; }
.nav a { position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: currentColor; transition: right .5s var(--ease); }
.nav a:hover::after { right: 0; }
.nav .nav-cta { display: none; }
.menu-btn { display: none; height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; cursor: pointer; }

/* hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100svh;
  display: grid; grid-template-rows: 1fr auto;
  margin-top: calc(var(--header-h) * -1); padding-top: var(--header-h);
  background: radial-gradient(48% 60% at 58% 50%, #E6DDD6 0%, rgba(230, 221, 214, 0) 70%), var(--stone);
}
.stage {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; align-items: center;
  padding-block: 24px 40px;
}
.mirror { grid-column: 6 / 10; grid-row: 1; justify-self: center; position: relative; width: min(28vw, 43vh); aspect-ratio: 0.64; animation: mirror-in 1.6s var(--ease) both; }
.mirror::before { content: ""; position: absolute; inset: -16px; border-radius: 50%; border: 1px solid rgba(42, 30, 36, 0.28); }
.mirror::after { content: ""; position: absolute; left: 10%; right: 10%; bottom: -46px; height: 30px; border-radius: 50%; background: radial-gradient(closest-side, rgba(60, 40, 45, 0.22), transparent); }
.glass { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; background: #E7DED8; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35), inset 0 -30px 60px -30px rgba(60, 40, 45, 0.25); }
.glass canvas { width: 100%; height: 100%; display: block; }
.no-gl .glass { background: radial-gradient(60% 45% at 35% 30%, #F3ECE7, transparent 70%), radial-gradient(55% 45% at 65% 65%, #D9C6CF, transparent 70%), radial-gradient(50% 40% at 35% 80%, #CFCDE0, transparent 70%), #E5DCD6; }

.name { grid-column: 1 / 11; grid-row: 1; position: relative; z-index: 2; pointer-events: none; }
.name .pre { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 40px); color: var(--ink-soft); margin: 0 0 0.4em 0.08em; animation: rise 1.2s var(--ease) .2s both; }
.name h1 { font-family: var(--serif); font-weight: 520; font-size: clamp(72px, 11.5vw, 200px); line-height: 1.04; letter-spacing: -0.045em; font-variation-settings: "opsz" 56; }
.name h1 > span { display: block; animation: rise 1.3s var(--ease) both; }
.name h1 .l1 { animation-delay: .3s; }
.name h1 .l2 { padding-left: 1.4em; font-style: italic; animation-delay: .45s; }

.hero-info { grid-column: 10 / 13; grid-row: 1; align-self: end; margin-bottom: 6vh; position: relative; z-index: 2; animation: rise 1.2s var(--ease) .7s both; }
.hero-info p { font-size: 17px; line-height: 1.55; }
.hero-info .actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 26px; }

.hero-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-block: 20px 26px; border-top: 1px solid var(--line); font-size: 14px; }
.places { display: flex; flex-wrap: wrap; gap: 8px 34px; }
.places a { display: inline-flex; align-items: center; gap: 10px; transition: opacity .3s; }
.places a:hover { opacity: 0.6; }
.places a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; border: 1px solid currentColor; }
.hero-base .note { color: var(--ink-soft); }

@keyframes mirror-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }

/* uygulama alanları */
.apps { padding-block: 140px 120px; background: var(--stone-2); }
.sec-top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 20px; margin-bottom: 64px; }
.sec-top .h2 { grid-column: 1 / 8; }
.sec-top .lede { grid-column: 9 / 13; align-self: end; }

.tiles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.tile .oval {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 0.64; border-radius: 50%; margin-bottom: 22px;
  background: radial-gradient(70% 60% at 40% 35%, #EAE2DC, #D9CEC6 70%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45), 0 26px 40px -34px rgba(60, 40, 45, 0.45);
  transition: transform .8s var(--ease);
}
.tile .oval::before { content: ""; position: absolute; inset: -20%; z-index: -1; filter: blur(18px); opacity: 0.9;
  background: radial-gradient(40% 30% at 30% 30%, rgba(255, 255, 255, 0.75), transparent 70%),
              radial-gradient(50% 40% at 70% 65%, var(--t1), transparent 70%),
              radial-gradient(45% 35% at 35% 80%, var(--t2), transparent 70%); }
.tile .oval img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.82) contrast(0.96) brightness(1.02); transition: transform 1.2s var(--ease); }
.tile .oval::after { content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(45% 30% at 32% 22%, rgba(255, 255, 255, 0.32), transparent 70%), linear-gradient(180deg, rgba(220, 205, 196, 0.12), rgba(60, 40, 45, 0.12));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4); }
.tile:hover .oval { transform: translateY(-6px); }
.tile:hover .oval img { transform: scale(1.04); }
.tile:nth-child(1) .oval { --t1: #D9C3CB; --t2: #CFCBDF; }
.tile:nth-child(2) .oval { --t1: #E0CDBF; --t2: #D7C3C9; }
.tile:nth-child(3) .oval { --t1: #C9D3D0; --t2: #D5C9D9; }
.tile:nth-child(4) .oval { --t1: #D3CADF; --t2: #E1D1C1; }
.tile:nth-child(5) .oval { --t1: #DCC6C9; --t2: #C8D2CE; }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.2vw, 34px); line-height: 1.05; letter-spacing: -0.02em; }
.tile .hook { margin-top: 8px; font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; }
.tile p { margin-top: 12px; font-size: 15px; color: var(--ink-soft); }
.apps-note { margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }

/* yaklaşım: koyu bölüm */
.approach { position: relative; overflow: hidden; padding-block: 140px; background: var(--plum); color: var(--ivory); }
.approach::before { content: ""; position: absolute; right: -12vw; top: -20vw; width: 52vw; aspect-ratio: 0.64; border-radius: 50%; border: 1px solid var(--line-light); pointer-events: none; }
.approach::after { content: ""; position: absolute; right: -9vw; top: -17vw; width: 46vw; aspect-ratio: 0.64; border-radius: 50%; border: 1px solid rgba(239, 230, 224, 0.07); pointer-events: none; }
.approach .sec-top { position: relative; }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: step; }
.step { padding-top: 28px; border-top: 1px solid var(--line-light); }
.step-n { display: grid; place-items: center; width: 58px; aspect-ratio: 0.64; border-radius: 50%; border: 1px solid rgba(239, 230, 224, 0.4); font-family: var(--serif); font-style: italic; font-size: 22px; margin-bottom: 28px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 2.8vw, 42px); line-height: 1.05; letter-spacing: -0.02em; }
.step p { margin-top: 14px; max-width: 24rem; color: var(--ivory-soft); }

/* iletişim ve adres */
.contact { padding-block: 140px 120px; background: var(--stone); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 24px; row-gap: 56px; }
.contact-intro { grid-column: 1 / 6; display: grid; gap: 24px; align-content: start; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; }
.contact-actions:empty { display: none; }
.address { grid-column: 7 / 13; align-self: end; padding-top: 30px; border-top: 1px solid var(--line); }
.address h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 112px); line-height: 1; letter-spacing: -0.04em; }
.address address { margin-top: 22px; font-style: normal; font-size: 17px; line-height: 1.7; color: var(--ink-soft); }
.address .ghost { display: inline-block; margin-top: 22px; }

/* alt bilgi */
.site-footer { background: var(--plum); color: var(--ivory); padding-block: 80px 32px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; padding-bottom: 48px; }
.footer-word { font-family: var(--serif); font-weight: 400; font-size: clamp(44px, 7vw, 112px); line-height: 0.95; letter-spacing: -0.04em; }
.footer-word em { font-style: italic; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 15px; color: var(--ivory-soft); }
.footer-nav a:hover { color: var(--ivory); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 48px; padding-top: 24px; border-top: 1px solid var(--line-light); font-size: 13px; line-height: 1.6; color: var(--ivory-soft); }
.footer-bottom p { max-width: 62rem; }

/* kaydırınca beliren öğeler (yalnızca JS varken) */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* tablet */
@media (max-width: 1100px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .step { display: grid; grid-template-columns: 90px minmax(0, 1fr); column-gap: 24px; padding-block: 28px; }
  .step-n { grid-row: 1 / span 2; margin-bottom: 0; }
  .step p { margin-top: 8px; }
}

/* telefon */
@media (max-width: 900px) {
  :root { --header-h: 72px; }
  .nav { display: none; }
  .header-cta { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
  .word span { display: none; }
  .nav.is-open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: var(--header-h);
    padding: 8px var(--gutter) 28px;
    background: var(--stone); box-shadow: 0 24px 40px -30px rgba(42, 30, 36, 0.5), 0 1px 0 var(--line);
  }
  .nav.is-open a { padding: 16px 0; border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: 30px; line-height: 1.1; }
  .nav.is-open a::after { display: none; }
  .nav.is-open .nav-cta { display: inline-flex; justify-content: center; margin-top: 24px; border-bottom: 0; font-family: var(--sans); font-size: 15px; }
  .site-header.menu-open { background: var(--stone); }

  .stage { grid-template-columns: minmax(0, 1fr); padding-top: 8px; }
  .mirror { grid-column: 1; grid-row: 1; width: min(64vw, 340px); }
  .name { grid-column: 1; grid-row: 2; margin-top: -20vw; }
  .name h1 { font-size: clamp(60px, 18vw, 140px); }
  .name h1 .l2 { padding-left: 0.9em; }
  .hero-info { grid-column: 1; grid-row: 3; margin: 28px 0 8px; }
  .hero-info .actions { flex-direction: row; align-items: center; gap: 22px; }
  .hero-base { flex-direction: row; align-items: center; gap: 16px; }
  .places { gap: 8px 22px; }

  .apps, .contact { padding-block: 96px 80px; }
  .approach { padding-block: 96px; }
  .approach::before { width: 90vw; right: -40vw; top: -30vw; }
  .approach::after { width: 80vw; right: -36vw; top: -26vw; }
  .sec-top { grid-template-columns: minmax(0, 1fr); margin-bottom: 40px; }
  .sec-top .h2, .sec-top .lede { grid-column: 1; }

  .tiles { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .tile { display: grid; grid-template-columns: min(34%, 220px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; column-gap: 20px; align-items: start; }
  .tile .oval { grid-column: 1; grid-row: 1 / span 3; margin-bottom: 0; }
  .tile h3, .tile p { grid-column: 2; }
  .tile h3 { padding-top: 10px; }

  .step { grid-template-columns: 64px minmax(0, 1fr); column-gap: 18px; }
  .step-n { width: 48px; font-size: 19px; }

  .contact-intro, .address { grid-column: 1 / -1; }
  .contact-grid { row-gap: 40px; }

  .site-footer { padding-block: 64px 28px; }
  .footer-top { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
