:root {
  --bg: #f5f3ef;
  --bg-soft: #e9e5dc;
  --text: #201f1d;
  --text-soft: #6e6a63;
  --accent: #1f3a3d;
  --accent-soft: #d7e0df;
  --gold: #8a6d1d;
  --border: #ddd7cb;
  --radius: 10px;
  --max: 1120px;
  --serif: Georgia, "Times New Roman", "Iowan Old Style", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg: #14181a;
  --bg-soft: #1d2225;
  --text: #ece9e2;
  --text-soft: #a29c91;
  --accent: #4f8c86;
  --accent-soft: #223332;
  --gold: #d4af6a;
  --border: #2b3134;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  transition: background-color 0.3s ease;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color 0.3s ease, color 0.3s ease;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Confetti */
.confetti-piece {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 1px;
  pointer-events: none;
  z-index: 400;
  animation: confetti-burst 1.2s ease-out forwards;
}
@keyframes confetti-burst {
  0% { transform: translate(0, 0) rotate(0deg); opacity: 1; }
  100% { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; }
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(245, 243, 239, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
[data-theme="dark"] .nav { background: rgba(20, 24, 26, 0.86); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}
.logo-dim { color: var(--gold); font-style: italic; }

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 13.5px;
}
.nav-links a {
  color: var(--text-soft);
  transition: color 0.2s ease;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); border-bottom-color: var(--gold); }

.nav-actions { display: flex; align-items: center; gap: 14px; }

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.theme-toggle-track {
  width: 40px;
  height: 22px;
  border-radius: 980px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: block;
  position: relative;
}
.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  transition: transform 0.25s ease;
}
[data-theme="dark"] .theme-toggle-thumb { transform: translateX(18px); }

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.menu-toggle span { width: 22px; height: 2px; background: var(--text); }

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 8px 24px 20px;
  gap: 14px;
  border-top: 1px solid var(--border);
}
.nav-mobile a { font-size: 15px; color: var(--text-soft); }
.nav-mobile a.active { color: var(--gold); }
.nav-mobile.open { display: flex; }

/* Hero */
.hero {
  padding: 100px 24px 84px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(closest-side, var(--accent-soft), transparent 72%);
  z-index: 0;
}
.hero-inner { max-width: 760px; margin: 0 auto; position: relative; z-index: 1; }

.hero-eyebrow {
  display: inline-block;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 62px);
  font-weight: 700;
  line-height: 1.14;
  margin: 0 0 22px;
}
.hero h1 em { color: var(--accent); font-style: italic; }
[data-theme="dark"] .hero h1 em { color: var(--gold); }

.hero-sub {
  font-size: 17px;
  color: var(--text-soft);
  max-width: 560px;
  margin: 0 auto 34px;
}

.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(31, 58, 61, 0.25); }

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--text);
  padding: 15px 30px;
  border-radius: var(--radius);
  font-size: 14.5px;
  font-weight: 700;
  display: inline-block;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.btn-secondary:hover { background: var(--bg-soft); border-color: var(--gold); }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 58px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}
.hero-stat {
  text-align: center;
  padding: 0 32px;
  border-right: 1px solid var(--border);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-num {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
}
.hero-stat-label { font-size: 12px; color: var(--text-soft); letter-spacing: 0.03em; }

/* Section shared */
.section-head { max-width: var(--max); margin: 0 auto 44px; padding: 0 24px; text-align: center; }
.section-head .eyebrow {
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 12px;
}
.section-head h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 40px);
  margin: 0 0 12px;
}
.section-head p { color: var(--text-soft); font-size: 16px; max-width: 560px; margin: 0 auto; }

section { padding: 90px 24px; }

/* Services — list/menu style */
.services { background: var(--bg-soft); }

.service-category { max-width: 800px; margin: 0 auto 52px; }
.service-category:last-child { margin-bottom: 0; }

.service-category-title {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 4px;
}

.service-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  background: none;
}
.service-card:first-child { border-top: 1px solid var(--border); }
.service-card.selected { border-bottom-color: var(--accent); }

.service-card-info { flex: 1; min-width: 0; }
.service-card h3 { font-family: var(--serif); font-size: 18px; margin: 0 0 6px; font-weight: 700; }
.service-card p { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.5; }

.service-meta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 16px;
}
.service-duration {
  font-size: 12px;
  color: var(--text-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 10px;
  white-space: nowrap;
}

.service-select-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-size: 20px;
  font-weight: 400;
  font-family: var(--sans);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.service-select-btn:hover { background: var(--accent-soft); }
.service-select-btn.is-selected {
  background: var(--accent);
  color: #fff;
  font-size: 15px;
}

.cart-bar {
  position: sticky;
  bottom: 20px;
  max-width: 420px;
  margin: 40px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 12px 12px 22px;
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.16);
  z-index: 200;
}
[data-theme="dark"] .cart-bar { background: var(--bg-soft); }
.cart-bar.visible { display: flex; }
.cart-bar span { font-size: 14px; font-weight: 600; }
.cart-bar .btn-primary { padding: 10px 20px; font-size: 13.5px; }

/* Space / gallery */
.space-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.space-card {
  border-radius: var(--radius);
  height: 260px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: #fff;
  background: var(--accent-soft);
}
.space-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.space-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.6) 100%);
}
.space-card span { position: relative; z-index: 1; font-weight: 600; font-size: 14.5px; letter-spacing: 0.02em; }

.location-note {
  max-width: var(--max);
  margin: 32px auto 0;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
  color: var(--text-soft);
  font-size: 14.5px;
}
.location-note svg { width: 18px; height: 18px; fill: var(--accent); flex-shrink: 0; }

.map-embed {
  position: relative;
  max-width: var(--max);
  margin: 24px auto 0;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  filter: grayscale(0.2);
}
.map-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  cursor: pointer;
}
.map-cta {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 3;
  background: var(--bg);
  color: var(--text);
  padding: 9px 18px;
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  pointer-events: none;
}

/* About */
.about-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.about-inner p { color: var(--text-soft); font-size: 16.5px; margin: 0 auto 18px; max-width: 640px; }
.about-inner p:last-of-type { margin-bottom: 0; }
.about-signature {
  margin-top: 28px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
}
[data-theme="dark"] .about-signature { color: var(--gold); }

/* Team */
.team { background: var(--bg-soft); }
.team-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card { text-align: center; }
.team-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0 auto 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-name { font-family: var(--serif); font-size: 19px; font-weight: 700; margin-bottom: 4px; }
.team-role { font-size: 12.5px; color: var(--gold); font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase; margin-bottom: 10px; }
.team-bio { font-size: 13.5px; color: var(--text-soft); max-width: 280px; margin: 0 auto; line-height: 1.6; }

/* Testimonials */
.testimonials { background: var(--bg-soft); }
.testi-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  overflow-x: auto;
  gap: 20px;
  padding: 4px 4px 16px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.testi-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 26px 24px;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  flex: 0 0 300px;
  scroll-snap-align: start;
}
[data-theme="dark"] .testi-card { background: var(--bg-soft); }
.testi-stars { color: var(--gold); font-size: 15px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-card p { font-size: 14.5px; color: var(--text); margin: 0 0 16px; line-height: 1.6; font-style: italic; }
.testi-name { font-weight: 700; font-size: 14px; }
.testi-role { font-size: 12.5px; color: var(--text-soft); }

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; padding: 90px 24px; }
.faq-item {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 4px 0;
  margin-bottom: 0;
  background: none;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--serif);
  font-size: 17px;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 16px;
  font-size: 20px;
  color: var(--accent);
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { margin: 0 0 20px; color: var(--text-soft); font-size: 14.5px; line-height: 1.6; }

/* Saç Stilleri gallery */
.style-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.style-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
[data-theme="dark"] .style-card { background: var(--bg-soft); }
.style-card-img { height: 200px; overflow: hidden; }
.style-card-img img { width: 100%; height: 100%; object-fit: cover; }
.style-card-body { padding: 18px 20px; }
.style-card h3 { font-family: var(--serif); font-size: 17px; margin: 0 0 6px; }
.style-card p { font-size: 13.5px; color: var(--text-soft); margin: 0; line-height: 1.55; }

/* Saç önerici (quiz) */
.quiz {
  max-width: 640px;
  margin: 56px auto 0;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}
[data-theme="dark"] .quiz { background: var(--bg-soft); }
.quiz-title {
  font-family: var(--serif);
  font-size: 22px;
  margin: 0 0 6px;
  text-align: center;
}
.quiz-sub {
  font-size: 14px;
  color: var(--text-soft);
  text-align: center;
  margin: 0 0 28px;
}
.quiz-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quiz-row { display: flex; gap: 14px; }
.quiz-field { flex: 1; }
.quiz-field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px;
}
.quiz-field input,
.quiz-field select {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14px;
}
[data-theme="dark"] .quiz-field input,
[data-theme="dark"] .quiz-field select { background: var(--bg); }
.quiz-submit {
  margin-top: 8px;
  border: none;
  cursor: pointer;
  width: 100%;
}

.quiz-result {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: none;
}
.quiz-result.visible { display: block; }
.quiz-result-eyebrow {
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
}
.quiz-result-name {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 12px;
  color: var(--accent);
}
[data-theme="dark"] .quiz-result-name { color: var(--gold); }
.quiz-result-desc { font-size: 14.5px; color: var(--text); margin: 0 0 8px; line-height: 1.6; }
.quiz-result-why { font-size: 13px; color: var(--text-soft); font-style: italic; margin: 0; }

/* Contact */
.contact-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.contact-inner h2 { font-family: var(--serif); font-size: clamp(28px, 4vw, 40px); margin: 0 0 12px; }
.contact-inner > p { color: var(--text-soft); margin: 0 0 8px; }
.response-note { font-size: 13px; opacity: 0.75; margin-bottom: 34px !important; }

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 420px;
  margin: 0 auto 40px;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 18px;
  text-align: left;
}
.contact-icon { flex-shrink: 0; width: 22px; height: 22px; }
.contact-icon svg { width: 100%; height: 100%; fill: var(--accent); }
.contact-label { display: block; font-size: 12.5px; color: var(--text-soft); }
.contact-value { display: block; font-size: 14.5px; font-weight: 600; }

.hours-address {
  max-width: 420px;
  margin: 0 auto 40px;
  display: flex;
  gap: 14px;
}
.hours-address-item {
  flex: 1;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: left;
}
.hours-address-label {
  display: block;
  font-size: 12px;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.hours-address-value {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
}

.selected-services {
  max-width: 520px;
  margin: 0 auto 24px;
  text-align: left;
}
.selected-services-label {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.selected-services-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent-soft);
  color: var(--text);
  padding: 7px 8px 7px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
}
.service-chip button {
  background: rgba(0,0,0,0.12);
  border: none;
  color: inherit;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 12px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.selected-services-empty {
  font-size: 14px;
  color: var(--text-soft);
}
.selected-services-empty a { color: var(--accent); text-decoration: underline; }

.contact-form {
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-row { display: flex; gap: 14px; }
.form-row input, .form-row select { flex: 1; }
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text);
  font-family: var(--sans);
  font-size: 14.5px;
}
.contact-form textarea { resize: vertical; min-height: 90px; }
.hidden-field { display: none; }

.form-status { font-size: 14px; min-height: 20px; }
.form-status.success { color: #1a7f37; }
.form-status.error { color: #d1242f; }
[data-theme="dark"] .form-status.success { color: #63e6be; }
[data-theme="dark"] .form-status.error { color: #ff8a8a; }

/* Footer */
.footer {
  background: #14181a;
  color: #b7c2c1;
  text-align: center;
  padding: 28px 24px;
  font-size: 13px;
}
.footer a { text-decoration: underline; opacity: 0.85; }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gold);
  z-index: 300;
}

@media (max-width: 860px) {
  .space-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 320px; }
  .style-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: flex; }
  .form-row, .quiz-row { flex-direction: column; }
  .hero-stats { gap: 8px; }
  .hero-stat { padding: 0 18px; }
  section { padding: 64px 20px; }
  .service-card { align-items: flex-start; }
  .service-meta { flex-direction: column; align-items: flex-end; gap: 8px; }
}
