/* ==========================================================================
   ATELIER BARBER // SALİH BAŞER
   THEME: SALİH TEMA · NOSTALJİ SAYFASI TEMASI (NAVY #11122B / BLUE GLOW #336699)
   Self-contained Turkish-safe typography (Inter / system-ui) — zero glyph mismatch
   ========================================================================== */

:root {
  color-scheme: dark;

  /* Salih / Nostalji Navy Core Backgrounds */
  --bg-primary: #11122b;
  --bg-darkest: #11122b;
  --bg-dark: #0e152a;
  --bg-card: rgba(25, 33, 62, 0.82);
  --bg-card-hover: rgba(32, 43, 80, 0.92);
  --bg-card-active: rgba(38, 54, 98, 0.96);

  /* Salih Signature Steel Blue (#336699) & Glow Accents */
  --border-accent: #336699;
  --accent-blue: #4b8cd4;
  --accent-glow: rgba(51, 102, 153, 0.45);
  --emerald-glow: #4b8cd4;
  --emerald-bright: #8ac8ff;
  --emerald-deep: #336699;
  --moss-green: #67aafa;

  /* Signature Steel Blue / Cyber Sky */
  --blue-rai: #336699;
  --blue-cyan: #77b9fb;
  --blue-soft: #a7d4ff;

  /* Nostalji Violet Accent */
  --purple-glow: #a59af4;
  --purple-soft: #b8aaf1;

  /* Warm Brass & Gold (for ratings / prices) */
  --gold-trim: #e3bd58;
  --gold-light: #f1ce70;
  --gold-dark: #b58d2d;

  /* Neutral Text & Borders (Nostalji hierarchy) */
  --text-main: #dceaf7;
  --text-primary: #dceaf7;
  --text-bright: #ffffff;
  --text-secondary: #a8b8cd;
  --text-muted: #8e9fba;
  --border-subtle: rgba(51, 102, 153, 0.38);
  --border-active: #5389bb;
  --border-gold: rgba(227, 189, 88, 0.42);

  /* Turkish-Safe Self-Contained Fonts (Nostalji Page Standard — No Cinzel Broken Turkish Glyphs) */
  --font: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-serif: var(--font);
  --font-sans: var(--font);
  --font-mono: var(--font);

  /* Nostalji Shared Shadows */
  --shadow-emerald: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 27px rgba(51, 102, 153, 0.28), inset 0 1px 0 rgba(204, 230, 255, 0.16);
  --shadow-blue: 0 14px 34px rgba(0, 0, 0, 0.28), 0 0 27px rgba(51, 102, 153, 0.28), inset 0 1px 0 rgba(204, 230, 255, 0.16);
  --shadow-gold: 0 0 20px rgba(227, 189, 88, 0.22);
}

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

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

::selection {
  background: #336699;
  color: #ffffff;
}

body {
  margin: 0;
  color: var(--text-main);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(ellipse at 18% 12%, rgba(108, 92, 231, 0.18), transparent 48%),
    radial-gradient(ellipse at 82% 28%, rgba(51, 102, 153, 0.22), transparent 52%),
    radial-gradient(ellipse at 50% 80%, rgba(25, 33, 62, 0.5), transparent 60%),
    linear-gradient(rgba(108, 140, 212, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108, 140, 212, 0.04) 1px, transparent 1px);
  background-size: auto, auto, auto, 32px 32px, 32px 32px;
  background-attachment: fixed;
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #8ac8ff;
  outline-offset: 4px;
}

/* Small native Salih/Nostalji arrow cursor for fine pointers */
@media (hover: hover) and (pointer: fine) {
  body, a, button, select, summary, label, [role="button"] {
    cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Cdefs%3E%3Cfilter%20id%3D%22g%22%20x%3D%22-60%25%22%20y%3D%22-60%25%22%20width%3D%22220%25%22%20height%3D%22220%25%22%3E%3CfeGaussianBlur%20stdDeviation%3D%221.5%22%2F%3E%3C%2Ffilter%3E%3C%2Fdefs%3E%3Cpath%20d%3D%22M6%205%20L22%2014%20L14%2016%20L10%2023%20Z%22%20fill%3D%22%23336699%22%20stroke%3D%22%23336699%22%20stroke-width%3D%223%22%20filter%3D%22url%28%23g%29%22%2F%3E%3Cpath%20d%3D%22M6%205%20L22%2014%20L14%2016%20L10%2023%20Z%22%20fill%3D%22%23000%22%20stroke%3D%22%23fff%22%20stroke-width%3D%222%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E") 6 5, auto !important;
  }
  input:not([type]), input:is([type="text"], [type="search"], [type="email"], [type="url"], [type="tel"], [type="password"], [type="number"]), textarea {
    cursor: text !important;
  }
  button:disabled, input:disabled, select:disabled, textarea:disabled {
    cursor: not-allowed !important;
  }
}

/* Ambient Canvas in Background */
.ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.55;
}

/* ==========================================================================
   NOSTALJİ CRT SCREEN SCANLINES & VIGNETTE OVERLAY
   ========================================================================== */
.crt-overlay {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  user-select: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(2, 8, 17, 0.12) 3px,
    rgba(2, 8, 17, 0.12) 4px
  );
}

.crt-vignette {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  background: radial-gradient(
    circle at center,
    transparent 62%,
    rgba(10, 15, 34, 0.45) 90%,
    rgba(5, 8, 20, 0.78) 100%
  );
}

body.crt-active .crt-overlay,
body.crt-active .crt-vignette {
  display: block;
}

/* App Wrapper */
.app-wrapper {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* ==========================================================================
   NAVIGATION BAR (Nostalji Masthead Style + Animated Wordmark)
   ========================================================================== */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 18, 43, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 5%;
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
}

/* Mini Barber Pole in Nav (Salih Navy / Sky / White) */
.barber-pole-mini {
  width: 22px;
  height: 40px;
  border-radius: 11px;
  border: 1.5px solid #5389bb;
  background: #0e152a;
  overflow: hidden;
  box-shadow: 0 0 14px rgba(75, 140, 212, 0.35);
  position: relative;
  flex: none;
}

.pole-cylinder {
  width: 100%;
  height: 200%;
  background: repeating-linear-gradient(
    45deg,
    #336699,
    #336699 6px,
    #edf6ff 6px,
    #edf6ff 12px,
    #77b9fb 12px,
    #77b9fb 18px
  );
  animation: poleRoll 2.5s linear infinite;
}

@keyframes poleRoll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.brand-title {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.9px;
  line-height: 1.15;
  color: #edf6ff;
  text-shadow: 0 2px 0 #1c3554, 0 0 22px rgba(115, 177, 242, 0.2);
  position: relative;
  padding-bottom: 6px;
}

.brand-title em {
  font-style: normal;
  font-size: 0.85em;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: #a7d4ff;
  margin-left: 0.18em;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .brand-title em {
    background: linear-gradient(110deg, #77b9fb 8%, #b8aaf1 30%, #b2dcff 45%, #f2f9ff 50%, #b2dcff 55%, #77b9fb 74%);
    background-size: 260% 100%;
    background-position: 100% 50%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brand-light 9s ease-in-out infinite;
  }
}

.brand-title::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, #336699, #8ac8ff 48%, rgba(163, 147, 232, 0.65) 70%, transparent);
  opacity: 0.75;
}

.brand-title::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 24px;
  height: 3px;
  border-radius: 50%;
  background: #c7e6ff;
  box-shadow: 0 0 8px #77b9fb, 0 0 15px rgba(144, 126, 220, 0.5);
  animation: brand-trace 9s ease-in-out infinite;
  pointer-events: none;
}

@keyframes brand-light {
  0%, 18% { background-position: 100% 50%; }
  60%, 100% { background-position: 0% 50%; }
}

@keyframes brand-trace {
  0%, 12% { left: 0; opacity: 0; transform: scaleX(0.4); }
  23% { opacity: 0.85; }
  65% { left: calc(100% - 24px); opacity: 0; transform: scaleX(1); }
  100% { left: calc(100% - 24px); opacity: 0; }
}

.brand-subtitle {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin-top: 5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  color: #9cacc2;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.2s ease;
  padding: 8px 13px;
  border-radius: 7px;
  border: 1px solid transparent;
  position: relative;
}

.nav-link:hover {
  color: #dceaf7;
  border-color: var(--border-accent);
  background: rgba(51, 102, 153, 0.16);
}

.nav-link.highlight {
  color: #d9ecff;
  font-weight: 600;
  border-color: rgba(75, 140, 212, 0.48);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.55), rgba(51, 102, 153, 0.25));
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* ==========================================================================
   BUTTONS (Nostalji Page Standard)
   ========================================================================== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #336699, #28578e);
  color: #ffffff;
  font-family: var(--font);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 12px 19px;
  border-radius: 9px;
  border: 1px solid rgba(118, 181, 247, 0.45);
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(51, 102, 153, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.btn-primary:hover:not(:disabled) {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #427eb6, #336699);
  box-shadow: 0 8px 30px rgba(75, 140, 212, 0.36);
}

.btn-primary:disabled {
  opacity: 0.42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(51, 102, 153, 0.22);
  color: #dceeff;
  border: 1px solid #4b8cd4;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(51, 102, 153, 0.42);
  border-color: #8ac8ff;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(75, 140, 212, 0.25);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(25, 33, 62, 0.5);
  color: #c3d4e8;
  border: 1px solid var(--border-subtle);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
}

.btn-outline:hover {
  border-color: var(--border-accent);
  color: #ffffff;
  background: var(--bg-card-hover);
}

.btn-icon {
  background: rgba(25, 33, 62, 0.55);
  border: 1px solid var(--border-subtle);
  color: #c3d4e8;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 7px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: rgba(51, 102, 153, 0.28);
  color: #ffffff;
  border-color: #4b8cd4;
}

.btn-portal {
  color: #a8d1fb;
  text-decoration: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  padding: 8px 13px;
  border: 1px solid rgba(75, 140, 212, 0.35);
  background: rgba(51, 102, 153, 0.14);
  border-radius: 7px;
  transition: all 0.2s;
}

.btn-portal:hover {
  color: #ffffff;
  border-color: #77b9fb;
  background: rgba(51, 102, 153, 0.35);
}

.crt-indicator {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #74b6ff;
  box-shadow: 0 0 0 4px rgba(75, 140, 212, 0.14), 0 0 12px #4b8cd4;
}

body:not(.crt-active) .crt-indicator {
  background: #64748b;
  box-shadow: none;
}

/* ==========================================================================
   SHARED NAVY GLASS PANELS (Nostalji Page Signature)
   ========================================================================== */
.service-card,
.master-card,
.booking-card,
.contact-card,
.hero-status-card,
.ticket-modal,
.my-bookings-modal {
  border: 2px solid #336699;
  background: linear-gradient(145deg, rgba(41, 61, 94, 0.38), rgba(17, 26, 49, 0.22)), rgba(25, 33, 62, 0.82);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24), 0 0 22px rgba(51, 102, 153, 0.18), inset 0 1px 0 rgba(192, 222, 255, 0.12);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

/* ==========================================================================
   HERO SECTION (Nostalji Hero Layout + Period CRT Cabinet)
   ========================================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  max-width: 1440px;
  margin: 0 auto;
  padding: 58px 5% 64px;
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 56px;
  align-items: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  width: 620px;
  height: 620px;
  right: -80px;
  top: -130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(51, 102, 153, 0.2), transparent 65%);
  pointer-events: none;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 13px;
  border: 1px solid rgba(75, 140, 212, 0.32);
  border-radius: 50px;
  background: rgba(51, 102, 153, 0.12);
  color: #a8d1fb;
  font: 500 12px/1.4 var(--font);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #80b9f5;
  box-shadow: 0 0 10px #4b8cd4;
  animation: pulseBlue 2s infinite;
}

@keyframes pulseBlue {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(38px, 4.1vw, 58px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -2.2px;
  color: var(--text-bright);
  margin: 0 0 20px;
}

.gradient-text {
  font-style: normal;
  font-weight: 600;
  color: #83b9ff;
  background: linear-gradient(110deg, #b2dcff 0%, #67aafa 52%, #a59af4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(75, 140, 212, 0.16));
  display: inline-block;
}

.hero-description {
  font-size: 15px;
  color: #a8b8cd;
  line-height: 1.85;
  max-width: 540px;
  margin-bottom: 28px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-cta-group .btn-primary {
  padding: 14px 21px;
  font-size: 13px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 560px;
}

.feature-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(51, 102, 153, 0.45);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.14), rgba(17, 26, 49, 0.1)), rgba(12, 24, 45, 0.65);
  padding: 10px 13px;
  border-radius: 9px;
  font-size: 13px;
  color: #c8d9ed;
}

.chip-icon {
  font-size: 16px;
}

/* Hero Visual Column */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Barber Pole Hero Size (Salih Navy / Sky / Silver-Gold) */
.barber-pole-hero {
  width: 56px;
  height: 210px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 0 32px rgba(75, 140, 212, 0.38));
  margin-bottom: 20px;
}

.pole-cap {
  width: 68px;
  height: 18px;
  background: linear-gradient(180deg, #dce4e8, #627080 55%, #344354);
  border-radius: 10px;
  border: 1px solid #a7b1bc;
  box-shadow: 0 0 15px rgba(119, 185, 251, 0.32);
}

.pole-top {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.pole-bottom {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.pole-glass {
  width: 46px;
  height: 174px;
  border-left: 2px solid rgba(192, 222, 255, 0.45);
  border-right: 2px solid rgba(192, 222, 255, 0.45);
  background: #090d1d;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.9);
}

.pole-glass::after {
  content: '';
  position: absolute;
  top: 0;
  left: 12%;
  width: 28%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.45), transparent);
  pointer-events: none;
}

.pole-stripes {
  width: 100%;
  height: 300%;
  background: repeating-linear-gradient(
    45deg,
    #336699 0px,
    #336699 18px,
    #edf6ff 18px,
    #edf6ff 36px,
    #77b9fb 36px,
    #77b9fb 54px
  );
  animation: poleRollHero 3s linear infinite;
}

@keyframes poleRollHero {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

.hero-status-card {
  width: 100%;
  max-width: 390px;
  border-radius: 14px;
  padding: 20px 22px;
}

.hero-status-card:hover {
  border-color: #5389bb;
  box-shadow: var(--shadow-blue);
}

.status-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.status-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #74b6ff;
  box-shadow: 0 0 0 4px rgba(75, 140, 212, 0.14), 0 0 12px #4b8cd4;
}

.status-title {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: #80b9f5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.status-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.status-label {
  color: var(--text-muted);
}

.status-val {
  font-weight: 600;
  color: #edf6ff;
}

.text-emerald { color: #8ac8ff; }
.text-cyan { color: #a7d4ff; }
.text-gold { color: var(--gold-light); }
.text-muted { color: var(--text-muted); }

.status-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 12px 0;
}

.status-tagline {
  font-size: 12px;
  color: #9fb6ce;
  text-align: center;
}

/* ==========================================================================
   COMMON SECTION HEADERS (Nostalji Typography Hierarchy)
   ========================================================================== */
.section-header {
  margin-bottom: 32px;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  font: 600 12px/1.4 var(--font);
  letter-spacing: 0.04em;
  color: #80b9f5;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font: 600 clamp(26px, 2.6vw, 36px)/1.2 var(--font);
  color: var(--text-bright);
  letter-spacing: -1.2px;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 620px;
}

.section-header.text-center .section-sub {
  margin: 0 auto;
}

/* ==========================================================================
   SERVICES CATALOG SECTION
   ========================================================================== */
.services-section {
  max-width: 1440px;
  margin: 56px auto;
  padding: 0 5%;
}

.service-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.filter-btn {
  min-height: 36px;
  padding: 8px 15px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: rgba(25, 33, 62, 0.45);
  color: #9cacc2;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn:hover {
  border-color: var(--border-accent);
  background: rgba(51, 102, 153, 0.18);
  color: #dceaf7;
}

.filter-btn.active {
  border-color: rgba(75, 140, 212, 0.52);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.6), rgba(51, 102, 153, 0.28));
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.16);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 24px;
}

.service-card {
  border-radius: 14px;
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: #5389bb;
  background: linear-gradient(145deg, rgba(49, 76, 113, 0.44), rgba(20, 31, 56, 0.26)), rgba(25, 33, 62, 0.9);
  box-shadow: var(--shadow-blue);
}

.card-top {
  margin-bottom: 18px;
}

.card-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.card-category-badge {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8bbdf0;
  background: rgba(51, 102, 153, 0.24);
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid rgba(118, 181, 247, 0.26);
}

.card-duration {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}

.card-title {
  font-family: var(--font);
  font-size: 20px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  color: #f3f8ff;
  font-weight: 600;
  margin-bottom: 10px;
}

.card-desc {
  font-size: 14px;
  color: #afbdd0;
  line-height: 1.7;
}

.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
  margin-top: auto;
}

.card-price {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.4px;
  color: var(--gold-light);
}

.btn-card-book {
  background: rgba(51, 102, 153, 0.24);
  border: 1px solid #4b8cd4;
  color: #dceeff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 15px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-card-book:hover {
  background: rgba(51, 102, 153, 0.5);
  color: #ffffff;
  border-color: #8ac8ff;
  box-shadow: 0 0 18px rgba(75, 140, 212, 0.25);
}

/* ==========================================================================
   MASTERS / STYLISTS SECTION
   ========================================================================== */
.masters-section {
  max-width: 1440px;
  margin: 56px auto;
  padding: 0 5%;
}

.masters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 24px;
}

.master-card {
  border-radius: 14px;
  padding: 24px;
  display: flex;
  gap: 20px;
}

.master-card:hover {
  border-color: #5389bb;
  background: linear-gradient(145deg, rgba(49, 76, 113, 0.44), rgba(20, 31, 56, 0.26)), rgba(25, 33, 62, 0.9);
  transform: translateY(-4px);
  box-shadow: var(--shadow-blue);
}

.master-avatar-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.master-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #4b8cd4;
  box-shadow: 0 0 18px rgba(51, 102, 153, 0.35);
}

.avatar-ahmet {
  background: linear-gradient(135deg, #1e3a5f, #336699);
  border-color: #77b9fb;
}

.avatar-murat {
  background: linear-gradient(135deg, #243963, #4b8cd4);
  border-color: #a7d4ff;
}

.avatar-emre {
  background: linear-gradient(135deg, #2d2a6e, #6c5ce7);
  border-color: #b8aaf1;
}

.avatar-initials {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.master-badge {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(51, 102, 153, 0.22);
  color: #a8d1fb;
  border: 1px solid rgba(75, 140, 212, 0.35);
  white-space: nowrap;
}

.master-info {
  flex: 1;
}

.master-name {
  font-family: var(--font);
  font-size: 21px;
  letter-spacing: -0.5px;
  color: #f3f8ff;
  font-weight: 600;
  margin-bottom: 4px;
}

.master-title {
  font-family: var(--font);
  font-size: 13px;
  font-weight: 500;
  color: #8bbdf0;
  margin-bottom: 12px;
}

.master-bio {
  font-size: 14px;
  color: #afbdd0;
  line-height: 1.65;
  margin-bottom: 14px;
}

.master-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.master-tags .tag {
  font-size: 11px;
  font-weight: 500;
  color: #c8def3;
  background: rgba(17, 26, 49, 0.65);
  border: 1px solid rgba(51, 102, 153, 0.35);
  padding: 4px 9px;
  border-radius: 5px;
}

.btn-select-master {
  background: rgba(51, 102, 153, 0.22);
  border: 1px solid #4b8cd4;
  color: #dceeff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  text-align: center;
}

.btn-select-master:hover {
  background: linear-gradient(135deg, #336699, #28578e);
  color: #ffffff;
  border-color: #8ac8ff;
  box-shadow: 0 0 18px rgba(75, 140, 212, 0.28);
}

/* ==========================================================================
   ONLINE BOOKING ENGINE SECTION
   ========================================================================== */
.booking-section {
  max-width: 1140px;
  margin: 56px auto;
  padding: 0 5%;
}

.booking-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  opacity: 0.58;
  transition: opacity 0.2s;
}

.step-item.active {
  opacity: 1;
}

.step-item.completed .step-num {
  background: #336699;
  border-color: #77b9fb;
  color: #ffffff;
}

.step-num {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(25, 33, 62, 0.7);
  border: 1px solid var(--border-subtle);
  color: #dceaf7;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-item.active .step-num {
  background: linear-gradient(135deg, #4b8cd4, #336699);
  border-color: #a7d4ff;
  color: #ffffff;
  box-shadow: 0 0 14px rgba(75, 140, 212, 0.45);
}

.step-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
}

.step-item.active .step-label {
  color: #ffffff;
}

.step-line {
  width: 38px;
  height: 2px;
  background: var(--border-subtle);
}

/* Booking Card & Panes */
.booking-card {
  border-radius: 16px;
  padding: 30px 32px;
  min-height: 480px;
}

.step-pane {
  display: none;
}

.step-pane.active {
  display: block;
  animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.pane-header {
  margin-bottom: 24px;
}

.pane-title {
  font-family: var(--font);
  font-size: 22px;
  letter-spacing: -0.6px;
  color: #f3f8ff;
  font-weight: 600;
  margin-bottom: 6px;
}

.pane-hint {
  font-size: 13px;
  color: var(--text-muted);
}

.pane-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
  margin-top: 26px;
}

/* Step 1: Services Selection List */
.service-select-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 14px;
  max-height: 410px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #56799a #101e33;
}

.service-select-list::-webkit-scrollbar,
.time-slots-grid::-webkit-scrollbar {
  width: 6px;
}

.service-select-list::-webkit-scrollbar-thumb,
.time-slots-grid::-webkit-scrollbar-thumb {
  background: rgba(75, 140, 212, 0.4);
  border-radius: 3px;
}

.select-service-item {
  border: 2px solid rgba(51, 102, 153, 0.55);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.13), rgba(17, 26, 49, 0.08)), rgba(12, 24, 45, 0.65);
  border-radius: 11px;
  padding: 16px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s;
  position: relative;
}

.select-service-item:hover {
  background: var(--bg-card-hover);
  border-color: #5389bb;
}

.select-service-item.selected {
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.42), rgba(25, 39, 72, 0.85));
  border-color: #8ac8ff;
  box-shadow: 0 0 20px rgba(75, 140, 212, 0.3);
}

.item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 8px;
}

.item-name {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: #f3f8ff;
}

.item-price {
  font-family: var(--font);
  font-weight: 700;
  color: var(--gold-light);
  font-size: 16px;
  white-space: nowrap;
}

.item-desc {
  font-size: 13px;
  color: #afbdd0;
  line-height: 1.55;
  margin-bottom: 12px;
}

.item-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8bbdf0;
}

/* Step 2: Barber Select List */
.barber-select-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.barber-opt {
  border: 2px solid rgba(51, 102, 153, 0.55);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.13), rgba(17, 26, 49, 0.08)), rgba(12, 24, 45, 0.65);
  border-radius: 12px;
  padding: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 14px;
  transition: all 0.2s;
  position: relative;
}

.barber-opt:hover {
  background: var(--bg-card-hover);
  border-color: #5389bb;
}

.barber-opt.active {
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.42), rgba(25, 39, 72, 0.85));
  border-color: #8ac8ff;
  box-shadow: 0 0 20px rgba(75, 140, 212, 0.3);
}

.opt-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #162442;
  border: 1.5px solid #4b8cd4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font);
  color: #ffffff;
  font-size: 16px;
  flex: none;
}

.barber-opt.active .opt-avatar {
  border-color: #8ac8ff;
  background: #336699;
  color: #ffffff;
}

.opt-details {
  flex: 1;
}

.opt-name {
  font-family: var(--font);
  font-size: 15px;
  font-weight: 600;
  color: #f3f8ff;
  margin-bottom: 3px;
}

.opt-role {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.opt-radio {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: transparent;
  flex: none;
}

.barber-opt.active .opt-radio {
  background: #4b8cd4;
  color: #ffffff;
  font-weight: 700;
  border-color: #8ac8ff;
}

/* Step 3: Date & Time */
.date-selector-container {
  margin-bottom: 26px;
}

.date-label, .time-label {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #80b9f5;
  margin-bottom: 12px;
}

.date-pills {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.date-pill {
  min-width: 92px;
  background: rgba(17, 26, 49, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 12px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.date-pill:hover {
  border-color: #5389bb;
  background: var(--bg-card-hover);
}

.date-pill.active {
  background: linear-gradient(135deg, #336699, #4b8cd4);
  border-color: #a7d4ff;
  box-shadow: 0 0 16px rgba(75, 140, 212, 0.38);
}

.date-pill .day-name {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.date-pill.active .day-name {
  color: #e6f3ff;
}

.date-pill .day-num {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.date-pill .month-name {
  font-size: 11px;
  color: var(--text-secondary);
}

.date-pill.active .month-name {
  color: #dceeff;
}

/* Time Slots Grid */
.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 10px;
  max-height: 220px;
  overflow-y: auto;
}

.time-slot-btn {
  background: rgba(17, 26, 49, 0.72);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 11px 8px;
  color: #dceaf7;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.time-slot-btn:hover:not(:disabled) {
  background: rgba(51, 102, 153, 0.35);
  border-color: #77b9fb;
  color: #ffffff;
}

.time-slot-btn.active {
  background: linear-gradient(135deg, #336699, #4b8cd4);
  color: #ffffff;
  font-weight: 700;
  border-color: #a7d4ff;
  box-shadow: 0 0 14px rgba(75, 140, 212, 0.45);
}

.time-slot-btn:disabled {
  opacity: 0.32;
  cursor: not-allowed;
  border-color: rgba(255, 255, 255, 0.06);
  text-decoration: line-through;
}

/* Step 4: Checkout Layout */
.checkout-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 28px;
}

.summary-card {
  border: 2px solid rgba(51, 102, 153, 0.72);
  background: linear-gradient(135deg, rgba(51, 102, 153, 0.15), rgba(17, 26, 49, 0.1)), rgba(12, 24, 45, 0.75);
  box-shadow: inset 0 1px 0 rgba(181, 216, 255, 0.08), 0 0 14px rgba(51, 102, 153, 0.14);
  border-radius: 12px;
  padding: 22px;
}

.summary-title {
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  color: #80b9f5;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 10px;
}

.s-label {
  color: var(--text-muted);
}

.s-val {
  font-weight: 600;
  text-align: right;
  color: #edf6ff;
}

.summary-divider {
  height: 1px;
  background: var(--border-subtle);
  margin: 14px 0;
}

.summary-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 10px;
}

.s-total-price {
  font-family: var(--font);
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-light);
}

.summary-note {
  font-size: 12px;
  color: var(--text-muted);
}

/* Checkout Form */
.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-label {
  font-size: 12px;
  font-weight: 600;
  color: #b9cbe0;
}

.form-input, .form-textarea {
  background: rgba(17, 18, 43, 0.88);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 12px 14px;
  color: var(--text-main);
  font-family: var(--font);
  font-size: 13px;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
}

.form-input::placeholder, .form-textarea::placeholder {
  color: #8394ae;
  opacity: 1;
}

.form-input:focus, .form-textarea:focus {
  outline: none;
  border-color: #4b8cd4;
  box-shadow: 0 0 0 3px rgba(75, 140, 212, 0.16);
}

.form-checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.form-checkbox-row input {
  accent-color: #336699;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
}

.btn-submit {
  padding: 13px 22px;
  font-size: 13px;
}

/* ==========================================================================
   CONTACT & LOCATION SECTION
   ========================================================================== */
.contact-section {
  max-width: 1440px;
  margin: 48px auto 64px;
  padding: 0 5%;
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.contact-card {
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-card:hover {
  border-color: #5389bb;
  box-shadow: var(--shadow-blue);
}

.contact-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.contact-title {
  font-family: var(--font);
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 600;
  color: #f3f8ff;
}

.contact-desc {
  font-size: 14px;
  color: #afbdd0;
  line-height: 1.7;
}

.contact-sub {
  font-size: 12px;
  color: #8ac8ff;
}

.hours-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.hours-list strong {
  color: #ffffff;
}

/* ==========================================================================
   FOOTER (Nostalji Footer Style)
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  background: rgba(17, 18, 43, 0.9);
  padding: 28px 5%;
  margin-top: auto;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.6px;
  color: #dceaf7;
}

.footer-copy {
  font-size: 12px;
  color: #8e9fba;
  margin-top: 4px;
}

.footer-right {
  display: flex;
  gap: 14px;
  font-family: var(--font);
  font-size: 12px;
}

.crt-tag {
  color: #8ac8ff;
}

.theme-tag {
  color: #a7d4ff;
}

/* ==========================================================================
   MODALS: CONFIRMATION TICKET & LOOKUP
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 23, 0.85);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.hidden {
  display: none;
}

.ticket-modal, .my-bookings-modal {
  border-radius: 16px;
  width: 100%;
  max-width: 520px;
  padding: 28px;
  position: relative;
  animation: modalScale 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScale {
  from { opacity: 0; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  min-width: 38px;
  min-height: 38px;
  border: 1px solid var(--border-subtle);
  border-radius: 7px;
  background: #1b2845;
  font-size: 20px;
  color: var(--text-bright);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  background: #28426b;
}

.ticket-header {
  text-align: center;
  margin-bottom: 20px;
}

.ticket-success-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(51, 102, 153, 0.28);
  border: 1px solid rgba(118, 181, 247, 0.4);
  color: #a8d1fb;
  padding: 5px 12px;
  border-radius: 50px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.ticket-title {
  font-family: var(--font);
  font-size: 24px;
  letter-spacing: -0.6px;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 12px;
}

.ticket-ref-box {
  background: rgba(51, 102, 153, 0.22);
  border: 1px dashed #77b9fb;
  padding: 8px 16px;
  border-radius: 8px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.ref-label {
  font-family: var(--font);
  font-size: 11px;
  color: #a7d4ff;
}

.ref-code {
  font-family: var(--font);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 1px;
}

.ticket-body {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.t-label {
  color: var(--text-muted);
}

.ticket-qr-simulation {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(11, 17, 35, 0.65);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: 9px;
}

.qr-matrix {
  width: 88px;
  height: 88px;
  border: 2px solid #4b8cd4;
  position: relative;
  background: #090d1d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-square {
  position: absolute;
  width: 20px;
  height: 20px;
  border: 3px solid #8ac8ff;
  background: transparent;
}

.sq-tl { top: 4px; left: 4px; }
.sq-tr { top: 4px; right: 4px; }
.sq-bl { bottom: 4px; left: 4px; }

.qr-lines {
  width: 26px;
  height: 26px;
  background: repeating-linear-gradient(
    90deg,
    #8ac8ff,
    #8ac8ff 4px,
    transparent 4px,
    transparent 8px
  );
}

.qr-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
}

.ticket-actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.ticket-actions button {
  flex: 1;
}

/* My Bookings Modal */
.modal-head {
  margin-bottom: 18px;
}

.modal-tag {
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #80b9f5;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.modal-title {
  font-family: var(--font);
  font-size: 22px;
  letter-spacing: -0.5px;
  color: #ffffff;
  font-weight: 600;
}

.modal-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.lookup-input-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.bookings-list-container {
  max-height: 340px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.empty-hint {
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  padding: 28px;
}

.appt-card {
  background: rgba(17, 26, 49, 0.78);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.appt-card.status-cancelled {
  opacity: 0.55;
  border-color: rgba(239, 68, 68, 0.35);
}

.appt-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.appt-id {
  font-family: var(--font);
  font-weight: 700;
  color: #8ac8ff;
  font-size: 14px;
}

.appt-badge {
  font-size: 11px;
  font-weight: 600;
  font-family: var(--font);
  padding: 3px 8px;
  border-radius: 5px;
}

.appt-badge.confirmed {
  background: rgba(51, 102, 153, 0.35);
  color: #a8d1fb;
}

.appt-badge.cancelled {
  background: rgba(239, 68, 68, 0.22);
  color: #fca5a5;
}

.appt-service {
  font-weight: 600;
  color: #ffffff;
  font-size: 15px;
}

.appt-meta-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-cancel-appt {
  background: rgba(239, 68, 68, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.42);
  color: #fca5a5;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 11px;
  border-radius: 6px;
  cursor: pointer;
  align-self: flex-end;
  margin-top: 6px;
}

.btn-cancel-appt:hover {
  background: rgba(239, 68, 68, 0.32);
  color: #ffffff;
}

/* Spinner */
.spinner-inline {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  display: inline-block;
}

.spinner-inline.hidden {
  display: none;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Responsive Rules */
@media (max-width: 960px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-top: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-features {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .masters-grid {
    grid-template-columns: 1fr;
  }

  .booking-card {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
