/* ============ Nilsara Beauty Center — temel stiller ============ */
:root {
  --forest: #0E3B25;
  --forest-2: #15502F;
  --deep: #082618;
  --leaf: #3F8F3A;
  --lime: #8CC63F;
  --sage: #DCE6D2;
  --sage-2: #EEF2E8;
  --cream: #F7F2E8;
  --ivory: #FBF8F2;
  --gold: #B8955A;
  --gold-l: #DCC491;
  --ink: #18211B;
  --muted: #5D6A60;
  --line: rgba(14, 59, 37, .12);
  --wa: #1FAF5A;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Jost', system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --radius: 22px;
  --shadow: 0 30px 60px -30px rgba(8, 38, 24, .35);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--ivory); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
::selection { background: var(--forest); color: var(--cream); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.container { width: min(1240px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(80px, 11vw, 140px) 0; position: relative; }

/* ---------- Tipografi ---------- */
.eyebrow {
  font-size: 12.5px; letter-spacing: .28em; text-transform: uppercase; color: var(--leaf);
  font-weight: 500; display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--lime); }
.section__head { max-width: 640px; margin-bottom: 56px; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__title {
  font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.9rem); line-height: 1.05;
  color: var(--forest); letter-spacing: -.01em;
}
.section__title em, .hero__title em { font-style: italic; color: var(--leaf); }
.section__title--light { color: var(--cream); }
.section__title--light em { color: var(--lime); }
.section__lead { margin-top: 20px; color: var(--muted); font-size: 18px; max-width: 540px; }
.section__lead--light { color: rgba(247, 242, 232, .72); }

/* ---------- Butonlar ---------- */
.btn {
  --bg: var(--forest); --fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 1px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 500; font-size: 15.5px; letter-spacing: .02em;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .3s, color .3s;
}
.btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .9s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { box-shadow: 0 18px 36px -16px rgba(14, 59, 37, .55); }
.btn--primary { background: linear-gradient(135deg, var(--forest-2), var(--forest)); }
.btn--ghost { --bg: transparent; --fg: var(--forest); border-color: rgba(14, 59, 37, .28); }
.btn--ghost:hover { --bg: var(--forest); --fg: var(--cream); }
.btn--light { --bg: var(--cream); --fg: var(--forest); }
.btn--wa { background: linear-gradient(135deg, #22C063, #179a4e); }
.btn--sm { padding: 11px 22px; font-size: 14.5px; }
.btn--block { width: 100%; padding: 18px; font-size: 16px; }

/* ---------- Scroll ilerleme ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 120; pointer-events: none; }
.progress span {
  display: block; height: 100%; width: 100%; transform-origin: left; transform: scaleX(0);
  background: linear-gradient(90deg, var(--gold), var(--lime));
}

/* ---------- Header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.nav__inner { display: flex; align-items: center; gap: 32px; height: 84px; transition: height .4s var(--ease); }
.nav.is-scrolled { background: rgba(251, 248, 242, .82); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 1px 0 var(--line); }
.nav.is-scrolled .nav__inner { height: 70px; }
.nav.is-hidden { transform: translateY(-100%); }
.nav__logo img { height: 54px; width: auto; transition: height .4s var(--ease); }
.nav.is-scrolled .nav__logo img { height: 46px; }
.nav__links { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.nav__links a { position: relative; padding: 6px 0; color: var(--forest); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease);
}
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); position: relative; }
.nav__burger span { position: absolute; left: 14px; right: 14px; height: 1.5px; background: var(--forest); transition: transform .4s var(--ease), top .4s var(--ease); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 26px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--forest); display: grid; place-items: center;
  clip-path: circle(0 at calc(100% - 40px) 42px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 40px) 42px); visibility: visible; }
.menu-open .nav { transform: none; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.menu-open .nav__logo img { filter: brightness(0) invert(.95); }
.mobile-menu nav { display: grid; gap: 18px; text-align: center; }
.mobile-menu a:not(.btn) { font-family: var(--serif); font-size: 2.2rem; color: var(--cream); }
.mobile-menu .btn { margin-top: 18px; --bg: var(--cream); --fg: var(--forest); background: var(--cream); }

/* ---------- Hero (tam ekran video) ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 130px 0 0; overflow: hidden; background: var(--deep); color: var(--cream); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 70% center; transform: scale(1.04); transition: transform 1.6s var(--ease); background: var(--deep) url(img/hero-poster.webp) center / cover; }
.hero__veil { position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(6,28,18,.88) 0%, rgba(6,28,18,.62) 34%, rgba(6,28,18,.08) 62%, transparent 80%),
    linear-gradient(0deg, rgba(6,28,18,.75) 0%, transparent 32%),
    linear-gradient(180deg, rgba(6,28,18,.55) 0%, transparent 22%); }
.hero__grain { position: absolute; inset: 0; opacity: .07; mix-blend-mode: overlay; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__inner { flex: 1; display: flex; align-items: center; }
.hero__copy { max-width: 640px; }
.hero__line { display: block; width: 64px; height: 1px; margin-bottom: 34px; background: linear-gradient(90deg, var(--gold-l), transparent); transform-origin: left; animation: lineIn 1.4s var(--ease) .2s both; }
@keyframes lineIn { from { transform: scaleX(0); } }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(3.2rem, 7.4vw, 7rem); line-height: .96; letter-spacing: -.02em; color: var(--cream); }
.hero__title .ln { display: block; overflow: hidden; padding: .14em .12em .28em 0; margin: -.14em 0 -.28em; } /* g, ğ kuyrukları ve â şapkası kesilmesin */
.hero__title .ln > span { display: inline-block; animation: lnUp 1.3s var(--ease) both; }
.hero__title .ln:nth-child(2) > span { animation-delay: .12s; }
.hero__title .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lnUp { from { transform: translateY(110%); } }
.hero__title em { font-style: italic; color: var(--gold-l); }
.hero__lead { margin-top: 28px; font-size: 18.5px; font-weight: 300; color: rgba(247,242,232,.78); max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__fade { animation: fadeUp 1.2s var(--ease) .55s both; }
.hero__actions.hero__fade { animation-delay: .7s; }
.hero__bottom.hero__fade { animation-delay: .9s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } }
.btn--outline-light { --bg: transparent; --fg: var(--cream); border-color: rgba(247,242,232,.4); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--outline-light:hover { --bg: rgba(247,242,232,.12); border-color: var(--cream); }

.hero__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 30px; margin-top: 40px; border-top: 1px solid rgba(247,242,232,.14); }
.hero__trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 30px; font-size: 14px; color: rgba(247,242,232,.75); }
.hero__trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero__trust svg { color: var(--gold-l); }
.hero__scroll { position: relative; width: 26px; height: 42px; border: 1px solid rgba(247,242,232,.4); border-radius: 20px; flex: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--cream); animation: scrollDot 2s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
.hero__pause { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(247,242,232,.3); background: rgba(247,242,232,.06); color: var(--cream); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.hero__pause:hover { background: rgba(247,242,232,.16); border-color: var(--cream); }
.hero__pause .i-play, .hero__pause.is-paused .i-pause { display: none; }
.hero__pause.is-paused .i-play { display: inline; }

/* Hero üstünde açık renkli menü */
.nav:not(.is-scrolled) .nav__links a { color: var(--cream); }
.nav:not(.is-scrolled) .nav__logo img { filter: brightness(0) invert(.95); }
.nav:not(.is-scrolled) .nav__cta { background: var(--cream); color: var(--forest); }
.nav:not(.is-scrolled) .nav__burger { background: rgba(247,242,232,.1); border-color: rgba(247,242,232,.3); }
.nav:not(.is-scrolled) .nav__burger span { background: var(--cream); }

@keyframes spin { to { transform: rotate(360deg); } }
.leaf { position: absolute; color: var(--sage); pointer-events: none; z-index: 0; }
.leaf--3 { width: 220px; right: 6%; top: -40px; color: rgba(140,198,63,.16); transform: rotate(30deg); }

/* ---------- Marquee ---------- */
.marquee { background: var(--forest); color: var(--cream); overflow: hidden; padding: 22px 0; }
.marquee__track { display: flex; width: max-content; gap: 34px; align-items: center; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.2rem); white-space: nowrap; }
.marquee i { font-style: normal; color: var(--gold-l); font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300; transform: translate(-50%, calc(100% + 60px)); opacity: 0;
  background: var(--forest); color: var(--cream); padding: 14px 22px; border-radius: 999px; font-size: 14.5px;
  box-shadow: var(--shadow); transition: transform .6s var(--ease), opacity .4s; max-width: calc(100% - 32px); text-align: center;
}
.toast.is-show { transform: translate(-50%, 0); opacity: 1; }

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

/* ---------- Responsive (temel) ---------- */
@media (max-width: 980px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: block; }
  .hero__video { object-position: 78% center; }
  .hero__veil { background: linear-gradient(0deg, rgba(6,28,18,.92) 0%, rgba(6,28,18,.7) 45%, rgba(6,28,18,.15) 75%), linear-gradient(180deg, rgba(6,28,18,.5) 0%, transparent 20%); }
  .hero__inner { align-items: flex-end; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .hero { padding-top: 110px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__lead { font-size: 16.5px; }
  .hero__trust { font-size: 12.5px; gap: 8px 16px; }
  .hero__scroll, .hero__pause { display: none; }
}
