/* ============================================================
   JORA NAIL STUDIO — Design Tokens
   DESIGN.md (Steep) referans alınarak, marka logosundaki
   turuncu güneş rengi ana vurgu rengi olarak uyarlanmıştır.
   ============================================================ */
:root {
  /* Colors */
  --ink: #17191c;
  --paper: #ffffff;
  --mist: #f2f2f3;
  --fog: #faf9f7;
  --slate: #777b86;
  --ash: #979799;
  --smoke: #a3a6af;

  --sun: #f2790f;        /* logodan alınan turuncu */
  --sun-dark: #c85f08;
  --sun-soft: #fdece1;   /* peach vurgu yüzeyi */
  --rust: #7a3814;       /* peach üstü metin/kontur */

  /* Typography */
  --font-display: 'Fraunces', ui-serif, Georgia, serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --text-caption: 15px;
  --text-body: 17px;
  --text-body-lg: 20px;
  --text-subheading: 22px;
  --text-heading-sm: 26px;
  --text-heading: 40px;
  --text-heading-lg: 56px;
  --text-display: 72px;

  /* Spacing */
  --sp-4: 4px; --sp-8: 8px; --sp-12: 12px; --sp-16: 16px; --sp-20: 20px;
  --sp-24: 24px; --sp-32: 32px; --sp-40: 40px; --sp-64: 64px; --sp-80: 80px; --sp-96: 96px;

  /* Radii */
  --r-card: 24px;
  --r-image: 12px;
  --r-input: 16px;
  --r-button: 9999px;
  --r-small: 16px;
  --r-elevated: 20px;

  --shadow-subtle: 0 0 0 1px rgba(4,23,43,0.05), 0 4px 24px rgba(0,0,0,0.06);
  --shadow-elevated: 0 0 0 1px rgba(4,23,43,0.05), 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.06);

  --page-max: 1180px;
  --section-gap: 96px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  font-size: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 400; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

.wrap {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 0 var(--sp-24);
}

.section { padding: var(--section-gap) 0; }
.section--alt { background: var(--fog); }

.eyebrow {
  font-size: var(--text-caption);
  color: var(--sun-dark);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.section-head { max-width: 640px; margin-bottom: var(--sp-40); }
.section-head h2 {
  font-size: var(--text-heading);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-top: var(--sp-8);
}
.section-head p {
  color: var(--slate);
  font-size: var(--text-body-lg);
  margin-top: var(--sp-12);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: var(--r-button);
  font-size: 16px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn--filled { background: var(--sun); color: #fff; border-color: var(--sun); }
.btn--filled:hover { background: var(--sun-dark); border-color: var(--sun-dark); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--sm { height: 40px; padding: 0 18px; font-size: 14px; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(23,25,28,0.06);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  position: relative;
}
.nav-links {
  display: flex;
  gap: var(--sp-32);
}
.nav-links a {
  font-size: 15px;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 1px;
  background: var(--sun);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta { position: absolute; right: var(--sp-24); }
.nav-toggle {
  display: none;
  position: absolute;
  right: var(--sp-24);
  background: none; border: none;
  flex-direction: column; gap: 5px;
  padding: 8px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }

/* ---------- Hero ---------- */
.hero {
  padding: 152px 0 var(--sp-80);
  text-align: center;
}
.hero-logo {
  width: 220px;
  margin: 0 auto var(--sp-32);
}
.hero h1 {
  font-size: var(--text-heading-lg);
  font-style: italic;
  letter-spacing: -0.02em;
  line-height: 1.2;
  max-width: 720px;
  margin: 0 auto;
}
.hero-sub {
  max-width: 560px;
  margin: var(--sp-20) auto 0;
  color: var(--slate);
  font-size: var(--text-body-lg);
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-16);
  margin-top: var(--sp-40);
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-64);
  align-items: center;
}
.about-media img {
  border-radius: var(--r-card);
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  box-shadow: var(--shadow-subtle);
}
.about-copy .eyebrow { display: block; margin-bottom: var(--sp-8); }
.about-copy h2 {
  font-size: var(--text-heading);
  font-style: italic;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.about-copy p {
  margin-top: var(--sp-20);
  color: var(--slate);
  font-size: var(--text-body-lg);
  line-height: 1.6;
}
.about-copy p + p { margin-top: var(--sp-16); }

/* ---------- Services ---------- */
.services-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  background: var(--paper);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-subtle);
  padding: var(--sp-40);
}
.services-group { break-inside: avoid; margin-bottom: var(--sp-32); }
.services-group__title {
  padding-bottom: var(--sp-8);
  margin-bottom: var(--sp-12);
  border-bottom: 1px solid var(--mist);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun-dark);
}
.service-row {
  display: flex;
  align-items: baseline;
  gap: var(--sp-8);
  padding: 9px 0;
}
.service-row__name { white-space: nowrap; font-size: var(--text-body); }
.service-row__desc { color: var(--ash); font-size: 13px; margin-top: 2px; white-space: normal; }
.service-row__fill {
  flex: 1;
  border-bottom: 1px dotted var(--smoke);
  transform: translateY(-4px);
  min-width: 16px;
}
.service-row__price {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  white-space: nowrap;
  font-weight: 500;
}
@media (max-width: 760px) {
  .services-table { grid-template-columns: 1fr; padding: var(--sp-24); }
}

/* ---------- FAQ / Accordion ---------- */
.faq-list {
  display: grid;
  gap: var(--sp-12);
  max-width: 760px;
  margin: 0 auto;
}
.faq-item {
  background: var(--paper);
  border-radius: var(--r-elevated);
  box-shadow: var(--shadow-subtle);
  overflow: hidden;
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-16);
  padding: var(--sp-20) var(--sp-24);
  background: var(--paper);
  border: none;
  width: 100%;
  text-align: left;
  font-size: var(--text-body-lg);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}
.faq-question:hover { background: var(--mist); }
.faq-toggle { color: var(--sun); font-size: 20px; flex: none; }
.faq-answer {
  display: none;
  padding: 0 var(--sp-24) var(--sp-20);
  color: var(--slate);
  line-height: 1.6;
  border-top: 1px solid var(--mist);
}
.faq-item.is-open .faq-answer { display: block; }
.faq-item.is-open .faq-toggle { transform: rotate(180deg); }

/* ---------- Gallery ---------- */
.gallery-track {
  display: flex;
  gap: var(--sp-16);
  overflow-x: auto;
  padding: var(--sp-8) var(--sp-4) var(--sp-24);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.gallery-track::-webkit-scrollbar { height: 6px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--mist); border-radius: 999px; }
.gallery-item {
  flex: 0 0 auto;
  width: 280px;
  aspect-ratio: 4/5;
  border-radius: var(--r-card);
  overflow: hidden;
  scroll-snap-align: start;
  cursor: zoom-in;
  background: var(--mist);
  box-shadow: var(--shadow-subtle);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-nav { display: flex; justify-content: center; gap: var(--sp-16); margin-top: var(--sp-8); }
.gallery-arrow {
  width: 44px; height: 44px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
}
.gallery-arrow:hover { background: var(--ink); color: #fff; }

.lightbox {
  position: fixed; inset: 0;
  background: rgba(23,25,28,0.92);
  display: none;
  align-items: center; justify-content: center;
  z-index: 200;
  padding: var(--sp-24);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(90vw, 720px); max-height: 85vh; border-radius: var(--r-image); object-fit: contain; }
.lightbox-close {
  position: absolute; top: var(--sp-24); right: var(--sp-24);
  width: 44px; height: 44px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.lightbox-prev, .lightbox-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 999px;
  background: rgba(255,255,255,0.1); color: #fff; border: 1px solid rgba(255,255,255,0.3);
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.lightbox-prev { left: var(--sp-24); }
.lightbox-next { right: var(--sp-24); }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--sp-64);
  align-items: start;
}
.contact-cards { display: grid; gap: var(--sp-16); }
.contact-card {
  display: flex;
  align-items: center;
  gap: var(--sp-16);
  background: var(--paper);
  border-radius: var(--r-elevated);
  box-shadow: var(--shadow-subtle);
  padding: var(--sp-20) var(--sp-24);
}
.contact-card__icon {
  width: 48px; height: 48px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: var(--rust);
  display: flex; align-items: center; justify-content: center;
  flex: none;
}
.contact-card__label { color: var(--ash); font-size: 13px; }
.contact-card__value { font-size: var(--text-body-lg); margin-top: 2px; }
.contact-map {
  border-radius: var(--r-card);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  min-height: 360px;
  background: var(--mist);
}
.contact-map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer {
  padding: var(--sp-64) 0 var(--sp-32);
  text-align: center;
  border-top: 1px solid var(--mist);
}
.footer-logo { width: 140px; margin: 0 auto var(--sp-16); }
.footer-social { display: flex; justify-content: center; gap: var(--sp-16); margin-top: var(--sp-20); }
.footer-social a {
  width: 40px; height: 40px; border-radius: 999px;
  border: 1px solid var(--mist);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer small { display: block; margin-top: var(--sp-24); color: var(--ash); font-size: 13px; }

/* ---------- WhatsApp Floating Button ---------- */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 56px; height: 56px;
  border-radius: 999px;
  background: #25D366;
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-elevated);
  z-index: 90;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --section-gap: 64px; }
  .about, .contact-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--paper);
    flex-direction: column;
    padding: var(--sp-16) var(--sp-24);
    border-bottom: 1px solid var(--mist);
    gap: var(--sp-16);
  }
  .nav-links.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .hero { padding-top: 128px; }
  .hero h1 { font-size: 34px; }
  :root { --text-heading: 30px; --text-display: 44px; }
}
@media (max-width: 480px) {
  .gallery-item { width: 220px; }
}
