/* ============================================================
   Makeup Sare Tunca — Vitrin / Base styles (shared)
   Theming is driven by CSS variables. Each "direction" and
   "palette" overrides a subset of these (see directions.css).
   ============================================================ */

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

:root {
  /* Fallback theme (overridden by [data-direction]) */
  --bg:        oklch(0.97 0.012 80);
  --bg-2:      oklch(0.94 0.014 78);
  --surface:   oklch(0.99 0.008 85);
  --ink:       oklch(0.27 0.02 60);
  --ink-soft:  oklch(0.46 0.02 60);
  --line:      oklch(0.86 0.015 75);

  /* Accent family (overridden by [data-palette]) */
  --accent:      oklch(0.70 0.085 73);
  --accent-deep: oklch(0.55 0.075 60);
  --accent-ink:  oklch(0.25 0.02 60);   /* text drawn ON accent */

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 4px;
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --shadow-soft: 0 1px 2px oklch(0.3 0.02 60 / 0.04),
                 0 18px 40px -24px oklch(0.3 0.03 55 / 0.30);

  color-scheme: light;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  letter-spacing: 0.01em;
  font-size: clamp(15px, 0.6vw + 14px, 17px);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.005em;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

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

/* ---- shared utility type ---- */
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(11px, 1.4vw, 12.5px);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.8em;
}
.eyebrow::before {
  content: "";
  width: clamp(20px, 4vw, 42px);
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}

.section-num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--accent-deep);
  letter-spacing: 0.04em;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  --bg-btn: transparent;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7em;
  padding: 1.05em 1.9em;
  border: 1px solid var(--accent);
  border-radius: calc(var(--radius) + 2px);
  cursor: pointer;
  transition: background .35s ease, color .35s ease,
              border-color .35s ease, transform .25s ease, letter-spacing .35s ease;
  white-space: nowrap;
}
.btn .arrow { transition: transform .35s ease; }
.btn:hover .arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
}
.btn--primary:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--bg);
  letter-spacing: 0.16em;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: color-mix(in oklab, var(--ink) 28%, transparent);
}
.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.btn--block { width: 100%; }

/* link with animated underline */
.link-ul {
  position: relative;
  text-decoration: none;
  color: var(--accent-deep);
  font-weight: 500;
  letter-spacing: 0.06em;
}
.link-ul::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.link-ul:hover::after { transform: scaleX(1); }

/* ============================================================
   Site header
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(14px, 2vw, 20px) var(--gutter);
  transition: background .4s ease, border-color .4s ease, padding .4s ease, backdrop-filter .4s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line);
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand-mark {
  font-family: var(--font-heading);
  font-size: clamp(17px, 2.3vw, 21px);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--ink);
}
.brand-mark small {
  font-family: var(--font-body);
  font-size: 0.5em;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font-weight: 500;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.site-nav a.navlink {
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  transition: color .3s ease;
}
.site-nav a.navlink:hover { color: var(--accent-deep); }
.site-header .btn { padding: 0.8em 1.4em; }

@media (max-width: 860px) {
  .site-nav .navlink { display: none; }
}

/* ============================================================
   Section scaffolding
   ============================================================ */
section { position: relative; }
.section-pad { padding-block: clamp(72px, 12vw, 150px); }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 640px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section-head h2 {
  font-size: clamp(34px, 6vw, 64px);
}
.section-head .lead {
  color: var(--ink-soft);
  font-size: clamp(16px, 1.4vw, 18px);
  max-width: 52ch;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: clamp(96px, 14vh, 150px);
  padding-bottom: clamp(48px, 8vh, 90px);
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  width: 100%;
}
.hero__content { display: flex; flex-direction: column; align-items: flex-start; gap: clamp(20px, 2.6vw, 30px); }
.hero__title {
  font-size: clamp(46px, 9.4vw, 118px);
  line-height: 0.92;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.hero__title .ital { font-style: italic; font-weight: 400; }
.hero__sub {
  font-size: clamp(17px, 1.7vw, 22px);
  color: var(--ink-soft);
  max-width: 36ch;
  line-height: 1.5;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  margin-top: 6px;
}
.hero__media {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero__media .img-ph {
  width: 100%;
  height: 100%;
}
.hero__media .media-tag {
  position: absolute;
  left: 16px; bottom: 16px;
  z-index: 3;
  font-family: var(--font-body);
  font-size: 10.5px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bg);
  background: color-mix(in oklab, var(--ink) 70%, transparent);
  padding: 6px 11px;
  border-radius: 100px;
  pointer-events: none;
}
.hero__scrim { display: none; }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 22px);
}
.s-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(26px, 2.6vw, 40px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 248px;
  transition: transform .4s cubic-bezier(.2,.7,.2,1),
              border-color .4s ease, box-shadow .4s ease, background .4s ease;
  overflow: hidden;
}
.s-card::after {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%; height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.s-card:hover { transform: translateY(-5px); border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); }
.s-card:hover::after { transform: scaleX(1); }
.s-card__num {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 15px;
  color: var(--accent-deep);
}
.s-card__name {
  font-size: clamp(23px, 2.2vw, 30px);
  font-weight: 500;
  margin-top: 2px;
}
.s-card__desc {
  color: var(--ink-soft);
  font-size: 15.5px;
  line-height: 1.55;
}
.s-card__cta {
  margin-top: auto;
  padding-top: 12px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0.85;
}
.s-card__cta .arrow { transition: transform .35s ease; }
.s-card:hover .s-card__cta .arrow { transform: translateX(4px); }

/* ============================================================
   ABOUT / TEAM
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.about-copy { display: flex; flex-direction: column; gap: 22px; max-width: 46ch; }
.about-copy h2 { font-size: clamp(32px, 5vw, 56px); }
.about-copy p { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 18px); }
.about-media { aspect-ratio: 5 / 6; width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.about-media .img-ph { width: 100%; height: 100%; }

.team {
  margin-top: clamp(56px, 8vw, 96px);
}
.team__group + .team__group { margin-top: clamp(40px, 5vw, 64px); }
.team__label {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.team__label h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; }
.team__label span { color: var(--ink-soft); font-size: 13px; letter-spacing: 0.1em; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
}
.member { display: flex; flex-direction: column; gap: 14px; }
.member__photo { aspect-ratio: 3 / 4; width: 100%; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.member__photo .img-ph { width: 100%; height: 100%; }
.member__name { font-family: var(--font-heading); font-size: clamp(18px, 1.8vw, 22px); font-weight: 500; }
.member__role { color: var(--ink-soft); font-size: 13.5px; letter-spacing: 0.04em; }

/* ============================================================
   FORM
   ============================================================ */
.form-section { background: var(--bg-2); }
.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(36px, 6vw, 90px);
  align-items: start;
}
.form-intro { position: sticky; top: clamp(90px, 12vh, 130px); display: flex; flex-direction: column; gap: 20px; }
.form-intro h2 { font-size: clamp(34px, 5.4vw, 60px); }
.form-intro p { color: var(--ink-soft); max-width: 38ch; }
.form-intro .reassure {
  margin-top: 8px;
  padding: 18px 20px;
  border-left: 2px solid var(--accent);
  background: color-mix(in oklab, var(--accent) 9%, transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 15px;
  color: var(--ink);
}

.req-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 3.2vw, 48px);
  box-shadow: var(--shadow-soft);
}
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field.col-2 { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field label .req { color: var(--accent-deep); margin-left: 4px; }
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  transition: border-color .3s ease, box-shadow .3s ease, background .3s ease;
  width: 100%;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input::placeholder,
.field textarea::placeholder { color: color-mix(in oklab, var(--ink-soft) 75%, transparent); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 22%, transparent);
  background: var(--surface);
}
.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
    linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% - 2px), calc(100% - 14px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
  cursor: pointer;
}

/* segmented radio (prep location) */
.seg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.seg label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 14.5px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 12px;
  cursor: pointer;
  transition: border-color .3s ease, background .3s ease, color .3s ease;
  text-align: center;
}
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:hover { border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); }
.seg input:checked + label,
.seg label.is-on {
  border-color: var(--accent);
  background: color-mix(in oklab, var(--accent) 12%, transparent);
  color: var(--accent-deep);
}

.form-foot {
  margin-top: clamp(22px, 3vw, 30px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-note {
  font-size: 13.5px;
  color: var(--ink-soft);
  display: flex;
  align-items: flex-start;
  gap: 9px;
  line-height: 1.5;
}
.form-note .dot { color: var(--accent); font-size: 18px; line-height: 1; }

/* success */
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  padding: clamp(40px, 6vw, 72px) clamp(24px, 4vw, 48px);
}
.form-success .seal {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  display: grid; place-items: center;
  color: var(--accent-deep);
  font-size: 26px;
  background: color-mix(in oklab, var(--accent) 10%, transparent);
}
.form-success h3 { font-size: clamp(26px, 3vw, 36px); }
.form-success p { color: var(--ink-soft); max-width: 34ch; }
.req-form.is-sent .form-body { display: none; }
.req-form.is-sent .form-success { display: flex; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-block: clamp(60px, 8vw, 100px);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
}
.footer-brand .brand-big {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
}
.footer-brand p { color: var(--ink-soft); margin-top: 16px; max-width: 32ch; }
.foot-col h4 {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
  margin-bottom: 18px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.foot-col a, .foot-col span { text-decoration: none; color: var(--ink); font-size: 15.5px; line-height: 1.45; }
.foot-col a:hover { color: var(--accent-deep); }
.footer-bottom {
  margin-top: clamp(48px, 6vw, 72px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom .powered { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-soft); }
.footer-bottom .panel-login {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in oklab, var(--ink-soft) 80%, transparent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .3s ease;
}
.footer-bottom .panel-login:hover { color: var(--accent-deep); }
.footer-bottom .panel-login .ico { width: 13px; height: 13px; opacity: 0.7; }

/* ============================================================
   Mobile sticky CTA
   ============================================================ */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 55;
  display: none;
  padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
}
.mobile-cta .btn { width: 100%; }

/* ============================================================
   Reveal on scroll
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
  will-change: opacity, transform;
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1020px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 820px) {
  .hero__inner { grid-template-columns: 1fr; gap: clamp(28px, 7vw, 48px); }
  .hero__media { aspect-ratio: 4 / 5; max-height: 80vh; order: -1; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; aspect-ratio: 5 / 6; max-height: 80vh; }
  .form-shell { grid-template-columns: 1fr; gap: clamp(28px, 6vw, 48px); }
  .form-intro { position: static; }
}

@media (max-width: 560px) {
  .services-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .field.col-2 { grid-column: auto; }
  .mobile-cta { display: block; }
  body.has-mcta { padding-bottom: 78px; }
  .hero { min-height: auto; }
}

/* ============================================================
   Gallery teaser (on landing page)
   ============================================================ */
.gt-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}
.gt-head__txt { display: flex; flex-direction: column; gap: 14px; max-width: 46ch; }
.gt-head__txt h2 { font-size: clamp(32px, 5vw, 56px); }
.gt-head__txt .lead { color: var(--ink-soft); font-size: clamp(16px, 1.3vw, 18px); }
.gt-cta { align-self: flex-end; }
.gt-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(12px, 1.4vw, 20px);
  margin-top: clamp(30px, 4vw, 52px);
}
.gt-cell {
  aspect-ratio: 3 / 4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.gt-cell .img-ph { width: 100%; height: 100%; }

/* ---- Foto placeholder — Faz 2'de panel upload ile dolacak ---- */
.img-ph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(155deg, var(--surface) 0%, var(--bg-2) 100%);
}
.img-ph::after {
  content: '';
  display: block;
  width: clamp(22px, 10%, 38px);
  aspect-ratio: 1;
  opacity: 0.20;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23907050' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='8.5' cy='8.5' r='1.5'/%3E%3Cpath d='M21 15l-5-5L5 21'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gt-more {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  color: var(--accent-ink);
  background: var(--accent);
  border-color: var(--accent);
  transition: background .35s ease, transform .35s cubic-bezier(.2,.7,.2,1);
}
.gt-more:hover { background: var(--accent-deep); transform: translateY(-4px); }
.gt-more__plus { font-family: var(--font-heading); font-size: clamp(32px, 4vw, 48px); line-height: 1; }
.gt-more__txt { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }

@media (max-width: 680px) {
  .gt-grid { grid-template-columns: repeat(2, 1fr); }
  .gt-cta { align-self: stretch; }
  .gt-cta.btn { width: 100%; }
}
