/* ==========================================================================
   For Men's Hair Club — Stylesheet
   Tema: Koyu & Klasik (siyah + altın/bakır, vintage berber)
   ========================================================================== */

:root {
  /* Renkler */
  --bg:        #0d0d0f;
  --bg-2:      #141416;
  --bg-3:      #1b1b1e;
  --ink:       #f4f1ea;
  --ink-soft:  #b9b4a9;
  --ink-dim:   #6f6a60;
  --gold:      #c9a24b;
  --gold-2:    #e4c877;
  --copper:    #b87333;
  --line:      rgba(201, 162, 75, 0.18);
  --line-soft: rgba(255, 255, 255, 0.07);
  --danger:    #c0563f;
  --ok:        #6a9955;

  /* Tipografi */
  --f-display: "Bebas Neue", "Oswald", sans-serif;
  --f-serif:   "Cormorant Garamond", Georgia, serif;
  --f-body:    "Oswald", "Segoe UI", system-ui, sans-serif;

  /* Ölçü */
  --container: 1160px;
  --radius:    4px;
  --shadow:    0 20px 60px rgba(0, 0, 0, 0.5);
  --ease:      cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--f-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  font-size: 16.5px;
  line-height: 1.75;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[hidden] { display: none !important; } /* CSS'in display kuralı 'hidden'ı ezmesin */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.86rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.35s var(--ease);
  white-space: nowrap;
}
.btn-lg { padding: 17px 38px; font-size: 0.88rem; }
.btn-block { width: 100%; }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1408;
  box-shadow: 0 6px 22px rgba(201, 162, 75, 0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(201, 162, 75, 0.45);
  filter: brightness(1.06);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none !important; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), padding 0.4s var(--ease);
  padding-block: 18px;
}
.site-header.scrolled {
  background: rgba(13, 13, 15, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--line-soft);
  padding-block: 10px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }

.brand { display: flex; align-items: center; gap: 10px; }
.brand-pole { font-size: 1.7rem; line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 0.9; }
.brand-name {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.14em;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--f-display);
  font-size: 1.35rem;
  letter-spacing: 0.28em;
  color: var(--gold);
}

.nav { display: flex; align-items: center; gap: 30px; }
.nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color 0.3s;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after { width: 100%; }
.nav-cta { margin-left: 6px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px; height: 2px;
  background: var(--ink);
  transition: all 0.3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background:
    radial-gradient(1200px 600px at 70% 10%, rgba(201, 162, 75, 0.10), transparent 60%),
    linear-gradient(180deg, #101012, #0a0a0b 60%, #0d0d0f);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(201,162,75,0.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, transparent, rgba(0,0,0,0.4));
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-block: 120px; }
.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--f-display);
  font-size: clamp(3rem, 8vw, 6.5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
.hero-lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 520px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 56px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 40px; }
.hero-meta-item { display: flex; flex-direction: column; }
.hero-meta-item strong {
  font-family: var(--f-display);
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: var(--gold-2);
}
.hero-meta-item span { font-size: 0.85rem; color: var(--ink-soft); }

.scroll-cue {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: var(--gold);
  z-index: 2;
  animation: bob 1.8s var(--ease) infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Section base ---------- */
.section { padding-block: 100px; position: relative; }
.section-dark { background: var(--bg-2); }
.section-booking { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }

.section-head { text-align: center; max-width: 640px; margin: 0 auto 60px; }
.section-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  color: var(--gold);
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--f-display);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--ink);
  margin-bottom: 18px;
}
.section-desc { color: var(--ink-soft); font-size: 1.08rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease), background 0.4s;
  position: relative;
  overflow: hidden;
}
.section-dark .service-card { background: var(--bg-3); }
.service-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(var(--gold), var(--copper));
  transform: scaleY(0); transform-origin: top;
  transition: transform 0.4s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line);
}
.service-card:hover::before { transform: scaleY(1); }
.service-ico { font-size: 2rem; margin-bottom: 14px; }
.service-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.service-name {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: var(--ink);
}
.service-price {
  font-family: var(--f-display);
  font-size: 1.4rem;
  color: var(--gold-2);
  white-space: nowrap;
}
.service-desc { color: var(--ink-soft); font-size: 1rem; margin-bottom: 12px; }
.service-dur { font-size: 0.8rem; color: var(--ink-dim); letter-spacing: 0.1em; text-transform: uppercase; }

/* ---------- Team ---------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.team-card {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s;
}
.team-card:hover { transform: translateY(-6px); border-color: var(--line); }
.team-photo {
  aspect-ratio: 1 / 1;
  background:
    radial-gradient(circle at 50% 35%, rgba(201,162,75,0.15), transparent 60%),
    repeating-linear-gradient(45deg, #202024 0 14px, #191a1d 14px 28px);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.4rem;
  color: var(--ink-dim);
}
.team-info { padding: 20px; text-align: center; }
.team-name { font-family: var(--f-display); font-size: 1.5rem; letter-spacing: 0.06em; }
.team-role { color: var(--gold-2); font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Booking ---------- */
.booking-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 40px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.booking-step { margin-bottom: 38px; }
.booking-step-head { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.step-num {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-2);
  font-family: var(--f-display);
  font-size: 1.1rem;
}
.booking-step-head h3 {
  font-family: var(--f-display);
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  font-weight: 400;
}

/* Selectable chips (services & barbers in booking) */
.booking-services, .booking-barbers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.pick {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px 16px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  text-align: left;
  display: flex; flex-direction: column; gap: 3px;
  color: var(--ink); /* butonlar rengi miras almaz — açıkça ata (yoksa siyah kalır) */
}
.pick-title { color: var(--ink); }
.pick:hover { border-color: var(--line); transform: translateY(-2px); }
.pick.is-active {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(201,162,75,0.14), transparent);
  box-shadow: inset 0 0 0 1px var(--gold);
}
.pick-title { font-family: var(--f-body); font-weight: 500; letter-spacing: 0.04em; font-size: 1.03rem; }
.pick-meta { font-size: 0.88rem; color: var(--ink-soft); }
.pick-price { color: var(--gold-2); font-weight: 500; }

/* Date & time */
.booking-datetime { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.calendar {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 18px;
}
.calendar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-month { font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0.06em; }
.cal-nav {
  width: 34px; height: 34px;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 1.2rem; cursor: pointer;
  transition: all 0.3s;
}
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-2); }
.cal-nav:disabled { opacity: 0.3; cursor: not-allowed; }
.calendar-weekdays, .calendar-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.calendar-weekdays {
  margin-bottom: 8px;
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-dim); text-align: center;
}
.cal-day {
  aspect-ratio: 1 / 1;
  display: grid; place-items: center;
  background: var(--bg-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--ink);
}
.cal-day:hover:not(.is-disabled):not(.is-empty) {
  border-color: var(--gold); color: var(--gold-2); background: var(--bg-3);
}
.cal-day.is-empty { background: transparent; border-color: transparent; cursor: default; }
.cal-day.is-disabled { background: transparent; color: var(--ink-dim); opacity: 0.4; cursor: not-allowed; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--gold); }
.cal-day.is-selected {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1408; font-weight: 600; border-color: transparent;
}

.timeslots-label { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 14px; }
.timeslots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; }
.slot {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 10px 6px;
  font-size: 0.95rem;
  color: var(--ink);
  cursor: pointer;
  text-align: center;
  transition: all 0.25s;
}
.slot:hover:not(:disabled) { border-color: var(--gold); color: var(--gold-2); }
.slot.is-active {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #1a1408; font-weight: 600; border-color: transparent;
}
.slot:disabled { opacity: 0.3; cursor: not-allowed; text-decoration: line-through; }

/* Form */
.booking-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea {
  background: var(--bg-3);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.02rem;
  transition: border-color 0.3s;
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-dim); }
.field.invalid input { border-color: var(--danger); }

/* .hidden özniteliği, display değeri kesin olarak ayarlanmış (flex/inline-flex gibi)
   bazı bileşenlerde işe yaramayabiliyor — bu yüzden JS ile gösterip gizlerken
   .u-hidden class'ı kullanılıyor, !important ile her zaman kazanması garanti edilir. */
.u-hidden { display: none !important; }

.verify-row, .verify-code-row { display: flex; gap: 10px; }
.verify-row input, .verify-code-row input { flex: 1; min-width: 0; }
.verify-row .btn, .verify-code-row .btn { flex-shrink: 0; padding: 0 18px; font-size: 0.82rem; }
.verify-code-row { margin-top: 10px; }
.verify-code-row input { letter-spacing: 4px; text-align: center; }
.verify-hint {
  font-size: 0.82rem;
  line-height: 1.4;
  color: #e08a72;
  background: rgba(192, 86, 63, 0.12);
  border: 1px solid rgba(192, 86, 63, 0.4);
  border-radius: var(--radius);
  padding: 10px 12px;
  margin: 8px 0 0;
}
.verify-status { font-size: 0.85rem; margin: 8px 0 0; min-height: 1.2em; }
.verify-status.is-ok { color: #6fae7a; }
.verify-status.is-error { color: var(--danger); }
.verify-status.is-pending { color: var(--ink-soft); }
@media (max-width: 520px) {
  .verify-row, .verify-code-row { flex-wrap: wrap; }
  .verify-row .btn, .verify-code-row .btn { flex: 1; }
}

/* Summary */
.booking-summary {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  margin-top: 8px;
}
.summary-row { display: flex; justify-content: space-between; padding: 9px 0; color: var(--ink-soft); font-size: 1rem; }
.summary-row strong { color: var(--ink); font-weight: 500; }
.summary-total { border-top: 1px dashed var(--line-soft); margin-top: 8px; padding-top: 16px; font-size: 1.05rem; }
.summary-total strong { color: var(--gold-2); font-family: var(--f-display); font-size: 1.4rem; }
.booking-summary .btn { margin-top: 20px; }
.booking-hint { text-align: center; font-size: 0.84rem; color: var(--ink-dim); margin-top: 12px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  background: var(--bg-3);
  transition: border-color 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery-item:hover { border-color: var(--line); transform: translateY(-4px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery-empty { color: var(--ink-dim); text-align: center; padding: 30px 0; grid-column: 1 / -1; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: stretch; }
.contact-info .section-title, .contact-info .section-eyebrow { text-align: left; }
.contact-list { margin: 26px 0 30px; display: grid; gap: 20px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; color: var(--ink-soft); }
.contact-list strong { color: var(--ink); }
.contact-list a:hover { color: var(--gold-2); }
.contact-ico { font-size: 1.3rem; line-height: 1.4; }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.social {
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 9px 18px;
  font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  transition: all 0.3s;
}
.social:hover { border-color: var(--gold); color: var(--gold-2); }
.contact-map { min-height: 340px; }
.map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 340px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  /* Koyu temaya uyum için haritayı karanlık moda çevir */
  filter: invert(0.88) hue-rotate(180deg) saturate(0.85) brightness(0.9) contrast(0.9);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--line-soft); padding-block: 30px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0.14em; }
.footer-copy { color: var(--ink-dim); font-size: 0.85rem; }
.footer-staff-link { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer-staff-link:hover { color: var(--ink-soft); }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 30px;
  transform: translate(-50%, 120%);
  background: linear-gradient(135deg, var(--bg-3), var(--bg-2));
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 16px 24px;
  max-width: 420px;
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.5s var(--ease), opacity 0.4s var(--ease), visibility 0.4s;
}
.toast.show { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; }
.toast strong { color: var(--gold-2); }
.toast small { color: var(--ink-soft); display: block; margin-top: 4px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 26px;
    padding: 40px;
    background: rgba(13, 13, 15, 0.98);
    backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav.open { transform: none; }
  .nav-link { font-size: 1.05rem; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .booking-datetime { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 560px) {
  .section { padding-block: 64px; }
  .hero-content { padding-block: 96px; }
  .hero-lead { margin-bottom: 28px; }
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-bottom: 44px; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { gap: 20px 28px; }
  .booking-card { padding: 24px 16px; }
  .booking-form { grid-template-columns: 1fr; }
  .booking-step-head h3 { font-size: 1.3rem; }
  .slot { padding: 13px 6px; }
  .footer-inner { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   BERBER PANELİ (panel.html)
   ========================================================================== */
.panel-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--f-display); font-size: 1.3rem; letter-spacing: 0.18em; color: var(--ink);
}
.panel-brand .brand-pole { font-size: 1.5rem; }

/* --- Giriş --- */
.panel-login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.panel-login-card {
  width: 100%; max-width: 400px;
  background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 40px 32px;
  box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 18px;
}
.panel-login-card .panel-brand { justify-content: center; margin-bottom: 2px; }
.panel-login-sub { text-align: center; color: var(--ink-soft); font-size: 0.85rem; margin-top: -8px; }
.panel-login-err { color: var(--danger); font-size: 0.88rem; text-align: center; min-height: 1em; }

/* --- Üst bar --- */
.panel-header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 24px; background: var(--bg-2); border-bottom: 1px solid var(--line-soft);
  position: sticky; top: 0; z-index: 10; flex-wrap: wrap;
}
.panel-header-actions { display: flex; gap: 10px; }
.panel-header .btn { padding: 9px 18px; font-size: 0.75rem; }

.panel-container { max-width: 820px; margin: 0 auto; padding: 26px 24px 60px; }

/* --- Kapalı günler --- */
.panel-closed {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 24px;
}
.panel-section-title { font-family: var(--f-display); font-size: 1.25rem; letter-spacing: 0.06em; color: var(--ink); margin-bottom: 4px; }
.panel-hint-sm { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 14px; }
.closed-add { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.closed-add input[type="date"] {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--ink); font-family: var(--f-body); font-size: 0.95rem; padding: 10px 12px; color-scheme: dark;
}
.closed-add input[type="date"]:focus { outline: none; border-color: var(--gold); }
.closed-add .btn { padding: 10px 20px; }
.closed-list { display: flex; flex-wrap: wrap; gap: 8px; }
.closed-empty { color: var(--ink-dim); font-size: 0.85rem; }
.closed-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(192,86,63,0.14); border: 1px solid rgba(192,86,63,0.4); color: #e08a72;
  border-radius: 999px; padding: 6px 6px 6px 14px; font-size: 0.85rem;
}
.closed-chip button {
  background: none; border: none; color: inherit; cursor: pointer; font-size: 0.85rem;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; padding: 0;
}
.closed-chip button:hover { background: rgba(192,86,63,0.35); }

/* --- Filtreler --- */
.panel-filters { display: flex; align-items: center; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.chip {
  background: var(--bg-3); border: 1px solid var(--line-soft); color: var(--ink-soft);
  border-radius: 999px; padding: 8px 18px; font-family: var(--f-body);
  font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: all 0.25s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold-2); }
.chip.is-active { background: linear-gradient(135deg, var(--gold), var(--gold-2)); color: #1a1408; border-color: transparent; }
.panel-count { margin-left: auto; color: var(--ink-dim); font-size: 0.82rem; }

/* --- Liste --- */
.panel-empty { color: var(--ink-dim); text-align: center; padding: 40px 0; }
.panel-day { margin-bottom: 26px; }
.panel-day-title {
  font-family: var(--f-display); font-size: 1.2rem; letter-spacing: 0.06em; color: var(--gold-2);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--line-soft);
}

.rv {
  display: flex; align-items: center; gap: 16px;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 10px;
  transition: border-color 0.25s;
}
.rv:hover { border-color: var(--line); }
.rv.is-cancelled { opacity: 0.5; }
.rv-time {
  font-family: var(--f-display); font-size: 1.6rem; color: var(--ink);
  min-width: 66px; text-align: center; letter-spacing: 0.04em;
}
.rv-info { flex: 1; min-width: 0; }
.rv-line1 { display: flex; align-items: center; gap: 10px; margin-bottom: 3px; }
.rv-line1 strong { font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.cust-link { cursor: pointer; border-bottom: 1px dashed var(--line); }
.cust-link:hover { color: var(--gold-2); border-bottom-color: var(--gold); }
.rv-line2 { color: var(--ink-soft); font-size: 0.95rem; }
.rv-line3 { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.85rem; margin-top: 4px; }
.rv-line3 a { color: var(--gold-2); }
.rv-note { color: var(--ink-dim); }

.rv-status { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; }
.st-yeni  { background: rgba(201,162,75,0.18); color: var(--gold-2); }
.st-geldi { background: rgba(106,153,85,0.18); color: #9cc77f; }
.st-iptal { background: rgba(192,86,63,0.18); color: #e08a72; }

.rv-actions { display: flex; flex-direction: column; gap: 6px; }
.btn-mini {
  border: 1px solid var(--line-soft); background: var(--bg-3); color: var(--ink-soft);
  border-radius: var(--radius); padding: 6px 12px; font-family: var(--f-body);
  font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer;
  transition: all 0.25s;
}
.btn-mini.st-geldi:hover { border-color: #6a9955; color: #9cc77f; }
.btn-mini.st-iptal:hover { border-color: var(--danger); color: #e08a72; }
.btn-mini.st-sil:hover { border-color: var(--ink-soft); color: var(--ink); }

@media (max-width: 540px) {
  .panel-header { justify-content: center; text-align: center; }
  .panel-container { padding: 20px 16px 50px; }
  .closed-add { flex-direction: column; align-items: stretch; }
  .closed-add input[type="date"], .closed-add .btn { width: 100%; }
  .rv { flex-wrap: wrap; }
  .rv-time { min-width: 52px; font-size: 1.3rem; }
  .rv-actions { flex-direction: row; width: 100%; }
  .btn-mini { flex: 1; }
}

/* --- Panel: Ciro Raporu --- */
.panel-revenue {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 24px;
}
.revenue-presets { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.revenue-custom { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.revenue-custom input[type="date"] {
  background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--ink); font-family: var(--f-body); padding: 6px 10px;
}
.revenue-custom span { color: var(--ink-soft); }
.revenue-summary { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; }
.revenue-stat { display: flex; flex-direction: column; gap: 4px; }
.revenue-stat-label { font-size: 0.8rem; color: var(--ink-soft); letter-spacing: 0.04em; text-transform: uppercase; }
.revenue-stat-value { font-family: var(--f-display); font-size: 1.8rem; color: var(--gold-2); letter-spacing: 0.03em; }

/* --- Panel: Galeri Yönetimi --- */
.panel-gallery {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 24px;
}
.gallery-upload { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.gallery-upload input[type="file"] {
  color: var(--ink-soft); font-size: 0.85rem;
}
.panel-gallery-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px;
}
.panel-gallery-item { position: relative; aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-soft); }
.panel-gallery-item img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; transition: transform .2s ease; }
.panel-gallery-item img:hover { transform: scale(1.03); }

.fmhc-lightbox {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  align-items: center; justify-content: center;
  padding: 56px 32px;
  background: rgba(8,8,9,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.fmhc-lightbox.is-open { display: flex; }
.fmhc-lightbox.is-visible { opacity: 1; }
.fmhc-lightbox-frame {
  position: relative;
  max-width: 100%; max-height: 100%;
  display: flex; align-items: center; justify-content: center;
  transform: scale(0.94);
  transition: transform 0.25s var(--ease);
}
.fmhc-lightbox.is-visible .fmhc-lightbox-frame { transform: scale(1); }
.fmhc-lightbox img {
  display: block;
  max-width: 100%; max-height: calc(100dvh - 112px);
  border-radius: var(--radius);
  border: 1px solid var(--line-soft);
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  background: var(--bg-2);
}
.fmhc-lightbox-close {
  position: absolute; top: -18px; right: -18px;
  background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--ink);
  width: 40px; height: 40px; border-radius: 50%; cursor: pointer; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
}
.fmhc-lightbox-close:hover { border-color: var(--gold); color: var(--gold-2); transform: scale(1.06); }
.fmhc-lightbox-close:active { transform: scale(0.95); }

@media (max-width: 640px) {
  .fmhc-lightbox { padding: 0; }
  .fmhc-lightbox-frame { width: 100%; height: 100%; max-width: 100%; max-height: 100%; }
  .fmhc-lightbox img {
    max-height: 100dvh; max-width: 100vw; width: 100%; height: 100%;
    object-fit: contain; border-radius: 0; border: none;
  }
  .fmhc-lightbox-close {
    top: max(14px, env(safe-area-inset-top));
    right: max(14px, env(safe-area-inset-right));
    width: 44px; height: 44px; font-size: 1.2rem;
    background: rgba(10,10,11,0.7);
  }
}

/* --- Genel modal (Müşteri Geçmişi vb.) --- */
.fmhc-modal {
  display: none;
  position: fixed; inset: 0; z-index: 999;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(8,8,9,0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}
.fmhc-modal.is-open { display: flex; }
.fmhc-modal.is-visible { opacity: 1; }
.fmhc-modal-card {
  position: relative;
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 24px; width: 100%; max-width: 540px; max-height: min(80vh, 640px);
  overflow-y: auto;
  box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  transform: scale(0.94);
  transition: transform 0.25s var(--ease);
}
.fmhc-modal.is-visible .fmhc-modal-card { transform: scale(1); }
.fmhc-modal-close { position: absolute; top: 14px; right: 14px; }
.cust-modal-stats {
  display: flex; gap: 14px; flex-wrap: wrap; margin: 10px 0 18px;
  font-size: 0.88rem; color: var(--ink-soft);
}
.cust-hist-list { display: flex; flex-direction: column; gap: 10px; }
.cust-hist-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  padding: 10px 12px; background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  font-size: 0.88rem;
}
.cust-hist-date { color: var(--ink); font-weight: 500; min-width: 150px; }
.cust-hist-mid { color: var(--ink-soft); flex: 1; min-width: 160px; }

@media (max-width: 640px) {
  .fmhc-modal-card { max-height: 85dvh; padding: 20px 16px; }
  .cust-hist-row { font-size: 0.85rem; }
}

.panel-gallery-item button {
  position: absolute; top: 4px; right: 4px;
  background: rgba(13,13,15,0.75); border: 1px solid var(--danger); color: #e08a72;
  border-radius: 50%; width: 24px; height: 24px; cursor: pointer; font-size: 0.8rem;
}
.panel-gallery-item button:hover { background: rgba(192,86,63,0.35); }

/* --- Panel: Fiyat Yönetimi --- */
.panel-prices {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 24px; overflow-x: auto;
}
.price-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.price-table th, .price-table td { padding: 8px 10px; text-align: center; border-bottom: 1px solid var(--line-soft); }
.price-table th { color: var(--gold-2); font-family: var(--f-display); font-weight: 400; letter-spacing: 0.05em; }
.price-table td:first-child, .price-table th:first-child { text-align: left; color: var(--ink-soft); }
.price-input {
  width: 76px; background: var(--bg-3); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--ink); font-family: var(--f-body); font-size: 0.9rem; padding: 6px 8px; text-align: center;
}
.price-input:focus { outline: none; border-color: var(--gold); }
.panel-prices .btn { margin-top: 14px; }

/* --- Panel: Blacklist --- */
.panel-blacklist {
  background: var(--bg-2); border: 1px solid var(--line-soft); border-radius: var(--radius);
  padding: 20px; margin-bottom: 24px;
}
.blacklist-row {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 0.9rem; color: var(--ink-soft);
}
.blacklist-row:last-child { border-bottom: none; }
.blacklist-row strong { color: var(--ink); }

/* --- İptal sayfası --- */
.cancel-card {
  max-width: 520px; margin: 120px auto; background: var(--bg-2); border: 1px solid var(--line);
  border-radius: 8px; padding: 40px 32px; box-shadow: var(--shadow); text-align: center;
}
.cancel-card .section-title { font-size: 2rem; margin-bottom: 20px; }
.cancel-rows { text-align: left; margin: 20px 0; display: grid; gap: 8px; }
.cancel-rows .summary-row { border-bottom: 1px dashed var(--line-soft); }
.cancel-msg { margin-top: 18px; color: var(--gold-2); }
