/* ===== Unique Barber — Elbasan ===== */

:root {
  --black: #0e0d0c;
  --charcoal: #1a1816;
  --charcoal-2: #242120;
  --gold: #c9a227;
  --gold-light: #e6c35c;
  --red: #8c1c1c;
  --cream: #f3ece1;
  --grey: #9a938a;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--black);
  color: var(--cream);
  font-family: 'Poppins', system-ui, sans-serif;
  line-height: 1.5;
}

h1, h2, h3, .brand-name {
  font-family: 'Bebas Neue', 'Poppins', sans-serif;
  letter-spacing: .5px;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

.hidden { display: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #1a1502;
}
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost {
  border-color: rgba(243,236,225,.35);
  color: var(--cream);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn-block { width: 100%; margin-top: 6px; }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14,13,12,.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(201,162,39,.2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 8px; font-size: 24px; }
.brand-mark { font-size: 22px; }
.brand-name em { color: var(--gold); font-style: normal; }
.main-nav { display: flex; gap: 26px; }
.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey);
  transition: color .2s ease;
}
.main-nav a:hover { color: var(--gold-light); }
.nav-cta { padding: 10px 20px; font-size: 13px; }

.barber-pole {
  height: 4px;
  background: repeating-linear-gradient(
    -45deg,
    var(--red) 0 12px,
    var(--cream) 12px 24px,
    #1e3a5f 24px 36px
  );
  background-size: 200% 100%;
  animation: pole-scroll 6s linear infinite;
}
@keyframes pole-scroll {
  from { background-position: 0 0; }
  to { background-position: -101.8% 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(circle at 30% 20%, #2a2622 0%, var(--black) 70%);
  background-size: cover;
  background-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(14,13,12,.4) 0%, rgba(14,13,12,.95) 100%);
}
.hero-content { max-width: 640px; }
.eyebrow {
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 14px;
}
.hero h1 {
  font-size: 56px;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.hero-sub { color: var(--grey); font-size: 17px; max-width: 480px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 26px; }
.hero-hours {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--grey);
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(201,162,39,.25);
  padding: 8px 16px;
  border-radius: 999px;
}
.dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #4caf50;
  box-shadow: 0 0 8px #4caf50;
}
.dot.closed { background: #a13a3a; box-shadow: 0 0 8px #a13a3a; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-title {
  font-size: 38px;
  text-transform: uppercase;
  margin: 0 0 10px;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
}
.section-sub {
  text-align: center;
  color: var(--grey);
  max-width: 560px;
  margin: 0 auto 46px;
  font-size: 15px;
}

/* ---------- Services ---------- */
.services-section { background: var(--charcoal); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.service-card {
  background: var(--charcoal-2);
  border: 1px solid rgba(201,162,39,.18);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color .2s ease, transform .2s ease;
}
.service-card:hover { border-color: var(--gold); transform: translateY(-3px); }
.service-card h3 { margin: 0 0 8px; font-size: 20px; text-transform: none; }
.service-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  color: var(--gold-light);
}
.service-price span { font-size: 14px; color: var(--grey); font-family: 'Poppins', sans-serif; }

/* ---------- Barbers ---------- */
.barbers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  max-width: 640px;
  margin: 0 auto;
}
.barber-card {
  text-align: center;
  background: var(--charcoal-2);
  border: 1px solid rgba(201,162,39,.18);
  border-radius: var(--radius);
  padding: 30px 20px;
}
.barber-avatar {
  width: 84px; height: 84px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--red));
  display: flex; align-items: center; justify-content: center;
  font-size: 30px;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--black);
}
.barber-card h3 { margin: 0 0 4px; font-size: 22px; }
.barber-card p { color: var(--grey); margin: 0; font-size: 14px; }
.barber-call {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  color: var(--gold-light);
  border-bottom: 1px solid rgba(230,195,92,.4);
}
.barber-call:hover { color: var(--gold); border-color: var(--gold); }

/* ---------- Booking ---------- */
.booking-section { background: var(--black); }
.booking-mode-toggle { text-align: center; margin-bottom: 30px; }
.mode-link {
  background: none; border: none; cursor: pointer;
  color: var(--grey); font-size: 13px; text-decoration: underline;
  font-family: 'Poppins', sans-serif;
}
.mode-link:hover { color: var(--gold-light); }

.booking-card {
  background: var(--charcoal);
  border: 1px solid rgba(201,162,39,.2);
  border-radius: 16px;
  padding: 36px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}
.booking-step { margin-bottom: 30px; }
.booking-step h3 {
  display: flex; align-items: center; gap: 10px;
  font-size: 18px;
  text-transform: none;
  margin: 0 0 14px;
}
.step-hint { font-size: 12px; color: var(--grey); font-weight: 400; }
.child-check {
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--grey);
  margin-bottom: 14px; cursor: pointer;
}
.child-check input { accent-color: var(--gold); width: 16px; height: 16px; }
.service-total { margin-top: 12px; font-weight: 600; color: var(--gold-light); }
.step-num {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}
.option-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.option-btn {
  border: 1px solid rgba(243,236,225,.25);
  background: var(--charcoal-2);
  color: var(--cream);
  padding: 12px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  transition: all .15s ease;
}
.option-btn:hover { border-color: var(--gold); }
.option-btn:disabled { opacity: .4; cursor: not-allowed; }
.option-btn:disabled:hover { border-color: rgba(243,236,225,.25); }
.option-btn.selected {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}
.option-btn .opt-price { display: block; font-size: 12px; opacity: .75; margin-top: 2px; }

.date-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(243,236,225,.25);
  background: var(--charcoal-2);
  color: var(--cream);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}

.time-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(78px, 1fr));
  gap: 8px;
}
.hint-text { color: var(--grey); font-size: 14px; margin: 0; }
.time-slot {
  padding: 10px 6px;
  text-align: center;
  border-radius: 8px;
  border: 1px solid rgba(243,236,225,.2);
  background: var(--charcoal-2);
  color: var(--cream);
  font-size: 13px;
  cursor: pointer;
  transition: all .15s ease;
}
.time-slot:hover:not(.taken):not(.blocked-slot) { border-color: var(--gold); }
.time-slot.selected { background: var(--gold); border-color: var(--gold); color: var(--black); font-weight: 600; }
.time-slot.taken, .time-slot.blocked-slot {
  opacity: .35;
  cursor: not-allowed;
  text-decoration: line-through;
}
.time-slot.blocked-mode { border-color: var(--red); }
.time-slot.blocked-mode.blocked-slot {
  opacity: 1;
  background: rgba(140,28,28,.35);
  text-decoration: none;
  border-color: var(--red);
}

.form-row { display: flex; gap: 10px; flex-wrap: wrap; }
.form-row input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(243,236,225,.25);
  background: var(--charcoal-2);
  color: var(--cream);
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
}
.form-row input::placeholder { color: var(--grey); }

.booking-feedback {
  min-height: 20px;
  font-size: 14px;
  margin-top: 16px;
  text-align: center;
}
.booking-feedback.success { color: #7cc47f; }
.booking-feedback.error { color: #e08080; }
.pay-note { text-align: center; color: var(--grey); font-size: 13px; margin-top: 14px; }

.barber-pin-gate {
  max-width: 420px;
  margin: 26px auto 0;
  background: var(--charcoal-2);
  border: 1px solid var(--red);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}
.barber-pin-gate input { text-align: center; letter-spacing: 4px; }
.error-text { color: #e08080; font-size: 13px; margin-top: 10px; }

/* ---------- Gallery ---------- */
.gallery-section { background: var(--charcoal); }
.gallery-placeholder-note { font-style: italic; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(201,162,39,.2);
  cursor: pointer;
}
.gallery-grid img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-grid figure:hover img { transform: scale(1.08); }
.gallery-grid figure:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 2px; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(10,9,8,.94);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: var(--shadow);
}
.lightbox-close, .lightbox-nav {
  position: absolute;
  background: rgba(36,33,32,.85);
  border: 1px solid rgba(243,236,225,.25);
  color: var(--cream);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s ease, color .2s ease;
}
.lightbox-close:hover, .lightbox-nav:hover { border-color: var(--gold); color: var(--gold-light); }
.lightbox-close { top: 22px; right: 22px; width: 42px; height: 42px; font-size: 18px; }
.lightbox-nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox-prev { left: 18px; }
.lightbox-next { right: 18px; }
@media (max-width: 640px) {
  .lightbox-nav { width: 42px; height: 42px; font-size: 24px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--charcoal-2); border-top: 1px solid rgba(201,162,39,.2); padding-top: 50px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
}
.footer-brand { font-size: 22px; display: flex; align-items: center; gap: 8px; }
.footer-col h4 {
  color: var(--gold-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 12px;
  font-family: 'Poppins', sans-serif;
}
.footer-col p { color: var(--grey); font-size: 14px; margin: 0 0 8px; }
.footer-col a:hover { color: var(--gold-light); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(243,236,225,.25);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: border-color .2s ease, color .2s ease;
}
.social-links a:hover { border-color: var(--gold); color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(243,236,225,.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px;
  color: var(--grey);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .main-nav { display: none; }
  .hero { padding: 90px 0 60px; }
  .hero h1 { font-size: 40px; }
  .booking-card { padding: 24px 18px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .social-links { justify-content: center; }
}
