/* ============================================================
   LUMIÈRE — Medikal Estetik · "Lüks Zamanı"
   Palet: siyah #0A0A0A · krem #F5F0E8 · altın #C9A227
   ============================================================ */

:root {
  --black: #0a0a0a;
  --cream: #f5f0e8;
  --gold: #c9a227;
  --gold-soft: #d9bb54;
  --white: #ffffff;
  --ink: #2c2c2c;
  --beige: #d4cfc7;

  --bg: var(--black);
  --fg: var(--white);

  --serif: "Playfair Display", Georgia, serif;
  --serif-soft: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --maxw: 1400px;
  --pad: clamp(1.4rem, 5vw, 6rem);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
}

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

::selection {
  background: var(--gold);
  color: var(--black);
}

/* Lenis */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

/* ---------- Shared type ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.4rem;
}
.eyebrow--dark {
  color: var(--gold);
}

.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.section--cream {
  background: var(--cream);
  color: var(--ink);
}
.section--cream .eyebrow {
  color: #a9851a;
}

section {
  position: relative;
  padding: clamp(5rem, 13vh, 11rem) var(--pad);
}

/* ============================================================
   LOADER
   ============================================================ */
.loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader__inner {
  text-align: center;
}
.loader__brand {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  letter-spacing: 0.32em;
  color: var(--gold);
  padding-left: 0.32em;
  opacity: 0;
}
.loader__sub {
  display: block;
  margin-top: 0.9rem;
  font-size: 0.66rem;
  letter-spacing: 0.45em;
  color: rgba(245, 240, 232, 0.5);
  padding-left: 0.45em;
  opacity: 0;
}

/* ============================================================
   CURSOR
   ============================================================ */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 900;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
  opacity: 0;
  will-change: transform;
}
.cursor.is-hover {
  background: var(--gold);
  mix-blend-mode: exclusion;
}
@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem var(--pad);
  transition: padding 0.5s var(--ease), background 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled {
  padding: 1rem var(--pad);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(201, 162, 39, 0.18);
}
.nav__logo {
  font-family: var(--serif);
  font-size: 1.45rem;
  letter-spacing: 0.22em;
  color: var(--white);
  text-decoration: none;
  padding-left: 0.22em;
  transition: font-size 0.5s var(--ease);
}
.nav.is-scrolled .nav__logo {
  font-size: 1.2rem;
}
.nav__links {
  display: flex;
  gap: 2.6rem;
  align-items: center;
}
.nav__links a {
  position: relative;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(245, 240, 232, 0.82);
  text-decoration: none;
  transition: color 0.35s var(--ease);
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav__links a:hover {
  color: var(--white);
}
.nav__links a:hover::after {
  width: 100%;
}
.nav__cta {
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(201, 162, 39, 0.6);
  border-radius: 999px;
  color: var(--gold) !important;
}
.nav__cta::after {
  display: none;
}
.nav__cta:hover {
  background: var(--gold);
  color: var(--black) !important;
}
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__toggle span {
  width: 26px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.nav.is-open .nav__toggle span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}
.nav.is-open .nav__toggle span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 790;
  background: var(--black);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}
.menu.is-open {
  opacity: 1;
  visibility: visible;
}
.menu a {
  font-family: var(--serif);
  font-size: 2rem;
  color: var(--cream);
  text-decoration: none;
}
.menu a:hover {
  color: var(--gold);
}

/* ============================================================
   1 · HERO
   ============================================================ */
.hero {
  height: 100vh;
  min-height: 640px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  will-change: transform;
}
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(
      120% 90% at 50% 38%,
      rgba(10, 10, 10, 0.25),
      rgba(10, 10, 10, 0.78) 92%
    ),
    linear-gradient(180deg, rgba(10, 10, 10, 0.5), rgba(10, 10, 10, 0.2) 45%, rgba(10, 10, 10, 0.85));
}
.hero__content {
  max-width: 60rem;
  padding: 0 1.4rem;
}
.hero__kicker {
  display: inline-block;
  font-size: clamp(0.62rem, 1.6vw, 0.78rem);
  letter-spacing: 0.42em;
  color: var(--gold-soft);
  margin-bottom: 1.8rem;
  opacity: 0;
}
.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 7.5vw, 6.2rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--white);
}
.hero__title .line {
  display: block;
  overflow: hidden;
}
.hero__line {
  display: block;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 2.2rem auto;
}
.hero__sub {
  font-family: var(--serif-soft);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: rgba(245, 240, 232, 0.84);
  max-width: 34rem;
  margin: 0 auto;
  opacity: 0;
}
.hero__scroll {
  position: absolute;
  bottom: 2.4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  opacity: 0;
}
.hero__scroll-text {
  font-size: 0.62rem;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: rgba(245, 240, 232, 0.7);
}
.hero__scroll-line {
  width: 1px;
  height: 52px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gold);
  animation: scrolldot 2.2s var(--ease) infinite;
}
@keyframes scrolldot {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}

/* ============================================================
   2 · FİLOZOFİ
   ============================================================ */
.philo__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.philo__statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.philo__statement em {
  font-family: var(--serif-soft);
  font-style: italic;
  color: #a9851a;
}
.philo__right {
  display: flex;
  flex-direction: column;
}
.philo__portrait {
  position: relative;
  overflow: hidden;
  margin-bottom: 2.2rem;
  aspect-ratio: 4 / 3;
}
.philo__portrait::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 162, 39, 0.55);
  pointer-events: none;
}
.philo__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}
.philo__text {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #4a4a46;
  max-width: 34rem;
}
.philo__sign {
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44, 44, 44, 0.16);
}
.philo__sign-name {
  display: block;
  font-family: var(--serif-soft);
  font-style: italic;
  font-size: 1.7rem;
  color: var(--ink);
}
.philo__sign-role {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8a857c;
}

/* ============================================================
   3 · HİZMETLER
   ============================================================ */
.services {
  max-width: var(--maxw);
  margin: 0 auto;
}
.services__head {
  text-align: center;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}
.card {
  position: relative;
  background: #101010;
  border: 1px solid rgba(255, 255, 255, 0.07);
  overflow: hidden;
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease),
    border-color 0.6s var(--ease);
  will-change: transform;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  pointer-events: none;
  transition: border-color 0.6s var(--ease);
}
.card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 30px 60px -28px rgba(0, 0, 0, 0.9),
    0 0 40px -8px rgba(201, 162, 39, 0.25);
}
.card:hover::after {
  border-color: rgba(201, 162, 39, 0.35);
  inset: 8px;
}
.card__media {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.9);
  transition: transform 0.9s var(--ease), filter 0.9s var(--ease);
}
.card:hover .card__media img {
  transform: scale(1.07);
  filter: grayscale(0) brightness(1);
}
.card__body {
  padding: 2rem 1.8rem 2.4rem;
}
.card__no {
  font-family: var(--serif-soft);
  font-size: 0.9rem;
  letter-spacing: 0.2em;
  color: var(--gold);
}
.card__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  margin: 0.5rem 0 0.9rem;
  color: var(--white);
}
.card__text {
  font-size: 0.94rem;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.6);
}
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.card__link i {
  transition: transform 0.4s var(--ease);
}
.card:hover .card__link i {
  transform: translateX(6px);
}

/* ============================================================
   4 · SONUÇLAR (Before / After)
   ============================================================ */
.results {
  max-width: var(--maxw);
  margin: 0 auto;
}
.results__head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.results__lead {
  font-family: var(--serif-soft);
  font-size: 1.2rem;
  color: rgba(245, 240, 232, 0.7);
  max-width: 32rem;
  margin: 1.2rem auto 0;
}
.ba {
  max-width: 880px;
  margin: 0 auto;
  padding: 14px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}
.ba__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
}
.ba__img {
  position: absolute;
  inset: 0;
}
.ba__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba__img--before {
  clip-path: inset(0 50% 0 0);
}
.ba__img--before img {
  filter: grayscale(1) brightness(0.82) contrast(1.05);
}
.ba__tag {
  position: absolute;
  top: 1rem;
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  padding: 0.4rem 0.8rem;
  background: rgba(10, 10, 10, 0.55);
  color: var(--cream);
  backdrop-filter: blur(4px);
}
.ba__tag--before { left: 1rem; }
.ba__tag--after { right: 1rem; color: var(--gold); }
.ba__handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: var(--gold);
  transform: translateX(-50%);
}
.ba__grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--gold);
  font-size: 1.1rem;
  box-shadow: 0 0 30px -6px rgba(201, 162, 39, 0.6);
}

/* ============================================================
   5 · YORUMLAR
   ============================================================ */
.testi {
  text-align: center;
  overflow: hidden;
}
.testi__quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: clamp(5rem, 12vw, 9rem);
  line-height: 0.5;
  color: var(--gold);
  height: 0.5em;
  margin-bottom: 1.5rem;
}
.testi__viewport {
  position: relative;
  max-width: 50rem;
  margin: 0 auto;
  min-height: 13rem;
}
.testi__item {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s var(--ease);
}
.testi__item.is-active {
  opacity: 1;
  visibility: visible;
  position: relative;
}
.testi__text {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  line-height: 1.4;
  color: var(--ink);
}
.testi__author {
  margin-top: 1.8rem;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #a9851a;
}
.testi__dots {
  display: flex;
  gap: 0.7rem;
  justify-content: center;
  margin-top: 2.6rem;
}
.testi__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid rgba(169, 133, 26, 0.5);
  background: transparent;
  cursor: pointer;
  transition: background 0.4s, transform 0.4s;
}
.testi__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ============================================================
   6 · İLETİŞİM
   ============================================================ */
.contact__grid {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: start;
}
.contact__lead {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.62);
  max-width: 28rem;
  margin-bottom: 2.6rem;
}
.contact__details {
  list-style: none;
}
.contact__details li {
  padding: 1.1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.98rem;
  color: rgba(245, 240, 232, 0.85);
}
.contact__details span {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
}
.field {
  position: relative;
}
.field input,
.field textarea {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(245, 240, 232, 0.25);
  padding: 0.6rem 0;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  resize: none;
  outline: none;
}
.field label {
  position: absolute;
  left: 0;
  top: 0.6rem;
  font-size: 1rem;
  color: rgba(245, 240, 232, 0.5);
  pointer-events: none;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease),
    font-size 0.4s var(--ease);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-1.5rem);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.field__line {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 162, 39, 0.7);
  transition: width 0.5s var(--ease);
}
.field input:focus ~ .field__line,
.field textarea:focus ~ .field__line {
  width: 100%;
}

.btn-gold {
  position: relative;
  align-self: flex-start;
  overflow: hidden;
  margin-top: 0.6rem;
  padding: 1.1rem 2.8rem;
  background: var(--gold);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  color: var(--black);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.btn-gold span {
  position: relative;
  z-index: 1;
}
.btn-gold::before {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(
    100deg,
    transparent,
    rgba(255, 255, 255, 0.55),
    transparent
  );
  transition: left 0.7s var(--ease);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(201, 162, 39, 0.8);
}
.btn-gold:hover::before {
  left: 130%;
}
.form__note {
  font-family: var(--serif-soft);
  font-size: 1.05rem;
  color: var(--gold-soft);
}

/* Footer */
.footer {
  max-width: var(--maxw);
  margin: clamp(4rem, 9vw, 7rem) auto 0;
  padding-top: 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.4rem;
}
.footer__brand {
  font-family: var(--serif);
  font-size: 1.4rem;
  letter-spacing: 0.22em;
  color: var(--white);
  padding-left: 0.22em;
}
.footer__social {
  display: flex;
  gap: 1.8rem;
}
.footer__social a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  color: rgba(245, 240, 232, 0.7);
  text-decoration: none;
  transition: color 0.35s;
}
.footer__social a:hover {
  color: var(--gold);
}
.footer__copy {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(245, 240, 232, 0.4);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .philo__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .services__grid {
    grid-template-columns: 1fr;
    max-width: 30rem;
    margin: 0 auto;
  }
  .philo__portrait {
    max-width: 24rem;
  }
}
@media (max-width: 720px) {
  .nav__links {
    display: none;
  }
  .nav__toggle {
    display: flex;
  }
  .footer {
    flex-direction: column;
    text-align: center;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .hero__kicker,
  .hero__sub,
  .hero__scroll,
  .loader__brand,
  .loader__sub {
    opacity: 1 !important;
  }
}
