/* ============================================================
   DAČA BARBER STUDIO — Stilovi
   ============================================================ */

/* Google Fonts se učitavaju iz HTML-a */

/* ââ Varijable ────────────────────────────────────────────────────────── */
:root {
  --gold:       #c8a96e;
  --gold-light: #e0c48a;
  --gold-dark:  #a88840;
  --bg-1:       #0d0d0d;
  --bg-2:       #141414;
  --bg-3:       #1a1a1a;
  --bg-4:       #222222;
  --border:     #2a2a2a;
  --text-1:     #ffffff;
  --text-2:     #c0c0c0;
  --text-3:     #808080;
  --danger:     #e74c3c;
  --success:    #27ae60;
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --shadow:     0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold:0 4px 24px rgba(200,169,110,0.2);
  --transition: 0.3s ease;
  --max-w:      1200px;
  --nav-h:      100px;
  /* Logo: vlastite dimenzije (ne vezane za --nav-h); može da prelazi ispod/hešera. */
  --nav-logo-img-height: clamp(144px, 22vw, 212px);
  --nav-logo-img-max-width: min(96vw, 1120px);
  --nav-content-offset: max(var(--nav-h), calc(var(--nav-logo-img-height) + 12px));
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-1);
  color: var(--text-1);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }

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

ul { list-style: none; }

/* ââ Tipografija ────────────────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p { color: var(--text-2); }

/* ââ Utiliteti ────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 100px 0; }

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.section-title {
  margin-bottom: 16px;
}

.section-subtitle {
  color: var(--text-2);
  font-size: 1.05rem;
  max-width: 580px;
}

.section-header {
  margin-bottom: 60px;
}

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

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

.gold { color: var(--gold); }

/* ââ Dugmad ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--gold);
  color: #000;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: #000;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.8rem;
}

.btn-lg {
  padding: 18px 44px;
  font-size: 0.95rem;
}

/* ââ Navigacija ──────────────────────────────────────────────────────────â */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  min-height: var(--nav-h);
  max-height: var(--nav-h);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  overflow: visible;
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: rgba(13, 13, 13, 0.97);
  box-shadow: 0 2px 30px rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  min-height: 100%;
  box-sizing: border-box;
  overflow: visible;
}

/* Logo krupnjeg formata — visina —  visina navigacione trake (vidi --nav-logo-img-*). */
.nav-logo {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-self: flex-start;
  justify-content: flex-start;
  gap: 0;
  line-height: 1;
  text-decoration: none;
  max-height: none;
  padding: 0;
  margin: 6px 0 0;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo .nav-logo-img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: var(--nav-logo-img-height);
  max-height: none;
  max-width: var(--nav-logo-img-max-width);
  min-width: 0;
  object-fit: contain;
  object-position: left top;
  align-self: flex-start;
}

.nav-logo .name {
  font-family: 'Playfair Display', serif;
  font-size: 2.9rem;
  font-weight: 700;
  color: var(--text-1);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-1);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: transparent;
  border: none;
  color: var(--gold);
  -webkit-tap-highlight-color: transparent;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gold);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.hamburger:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* ââ Hero ──────────────────────────────────────────────────────────────────â */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg,
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-bg {
  background-image: url('../assets/hero-mobile.webp');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.5);
}

@media (min-width: 769px) {
  .hero-bg {
    background-image: url('../assets/hero-desktop.webp');
  }
}

.hero-bg-video,
.hero > video {
  filter: brightness(0.55) saturate(0.9);
  z-index: 0;
}

.hero.loaded .hero-bg,
.hero.loaded .hero-bg-video { transform: scale(1); }

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    105deg,
    rgba(13,13,13,0.7) 40%,
    rgba(13,13,13,0.22) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: var(--nav-content-offset);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,169,110,0.12);
  border: 1px solid rgba(200,169,110,0.3);
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero-badge i { font-size: 0.65rem; }

.hero-title {
  color: var(--text-1);
  margin-bottom: 24px;
  max-width: 720px;
}

.hero-title em {
  font-style: normal;
  color: var(--gold);
}

.hero-desc {
  font-size: 1.05rem;
  max-width: 520px;
  margin-bottom: 24px;
  color: var(--text-2);
}

/* Isti tip naslova kao u .cta-banner */
.hero-cta-line {
  color: var(--text-1);
  margin: 0 0 20px;
  max-width: 720px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-social {
  position: absolute;
  bottom: 48px;
  right: 48px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.hero-social a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-2);
  transition: all var(--transition);
}

.hero-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-scroll {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-top: clamp(28px, 5vw, 40px);
  width: 100%;
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 1.2rem; color: var(--gold); }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

/* ââ Statistike ──────────────────────────────────────────────────────────â */
.stats {
  background: var(--bg-2);
  padding: 70px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}

.stat-item {
  background: var(--bg-2);
  padding: 40px 30px;
  text-align: center;
  transition: background var(--transition);
}

.stat-item:hover { background: var(--bg-3); }

.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
}

/* ââ Usluge ────────────────────────────────────────────────────────────── */
.services { background: var(--bg-1); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.services-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 24px;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border);
  background: var(--bg-2);
  color: var(--text-3);
  font-size: 0.95rem;
  line-height: 1.55;
}

.services-empty strong {
  color: var(--gold);
  font-weight: 600;
}

.service-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  group: true;
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover img { transform: scale(1.08); }

.service-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  transition: all var(--transition);
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gold);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.2rem;
  color: #000;
}

.service-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--text-1);
  margin-bottom: 6px;
}

.service-card-desc {
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 16px;
  opacity: 1;
  transform: none;
  transition: color var(--transition);
}

.service-card:hover .service-card-desc {
  color: var(--text-1);
}

.service-card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold);
}

/* ââ Zašto Mi ────────────────────────────────────────────────────────────── */
.why-us {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}

.why-us::before {
  content: '"';
  position: absolute;
  top: -40px;
  right: 5%;
  font-family: 'Playfair Display', serif;
  font-size: 300px;
  color: rgba(200,169,110,0.04);
  line-height: 1;
  pointer-events: none;
}

.why-us-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.why-us-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.why-us-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}

.why-us-image-badge {
  position: absolute;
  bottom: 32px;
  right: -20px;
  background: var(--gold);
  color: #000;
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow);
}

.why-us-image-badge .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1;
}

.why-us-image-badge .lbl {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 40px;
}

.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--bg-3);
  border: 1px solid var(--border);
  transition: all var(--transition);
}

.feature-item:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateX(6px);
}

.feature-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: rgba(200,169,110,0.1);
  border: 1px solid rgba(200,169,110,0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}

.feature-text h4 {
  color: var(--text-1);
  margin-bottom: 6px;
}

.feature-text p {
  font-size: 0.9rem;
  color: var(--text-3);
}

/* ââ Galerija ────────────────────────────────────────────────────────────── */
.gallery { background: var(--bg-1); }

.gallery .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
  align-items: stretch;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  background: var(--bg-3);
  transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.gallery-item:hover {
  border-color: rgba(200, 169, 110, 0.35);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  transform: translateY(-2px);
}

.gallery-item:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay i {
  font-size: 2rem;
  color: var(--gold);
}

/* Lightbox — uvećana slika iz galerije */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(16px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  background: rgba(13, 13, 13, 0.94);
  cursor: zoom-out;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: min(96vw, 1400px);
  max-height: min(90vh, 900px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
  cursor: default;
}

.gallery-lightbox-close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text-1);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  z-index: 1;
}

.gallery-lightbox-close:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.gallery-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: var(--text-1);
  font-size: 1.45rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  z-index: 1;
}

.gallery-lightbox-nav:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.gallery-lightbox-prev {
  left: max(14px, env(safe-area-inset-left));
}

.gallery-lightbox-next {
  right: max(14px, env(safe-area-inset-right));
}

/* ââ Cenik ────────────────────────────────────────────────────────────────── */
.pricing { background: var(--bg-2); }

.pricing-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.pricing-tab {
  padding: 10px 26px;
  border: 1px solid var(--border);
  border-radius: 100px;
  background: transparent;
  color: var(--text-2);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}

.pricing-tab.active,
.pricing-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

.pricing-panels { position: relative; }

.pricing-panel { display: none; }
.pricing-panel.active { display: block; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  border-color: var(--gold-dark);
  background: var(--bg-4);
}

.pricing-card.featured::before {
  content: 'Popularno';
  position: absolute;
  top: 18px;
  right: -32px;
  z-index: 2;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 40px;
  transform: rotate(45deg);
  pointer-events: none;
}

.pricing-card.featured .pricing-card-header {
  position: relative;
  z-index: 1;
  padding-top: 0.5rem;
  padding-right: 3.25rem;
}

.pricing-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-4px);
}

.pricing-card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 24px;
}

.pricing-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--text-1);
}

.pricing-card-price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}

.pricing-card-price small {
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text-3);
}

.pricing-card-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.pricing-card-items li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-2);
}

.pricing-card-items li i {
  color: var(--gold);
  font-size: 0.75rem;
}

/* ââ Tim ────────────────────────────────────────────────────────────────── */
.team { background: var(--bg-1); }

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 360px));
  justify-content: center;
  gap: 28px;
}

.team-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition);
}

.team-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-6px);
}

.team-card-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.team-card:hover .team-card-image img { transform: scale(1.06); }

.team-card-social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  padding: 32px 20px 16px;
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  pointer-events: auto;
}

.team-card-social a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(200,169,110,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--gold);
  transition: all var(--transition);
}

.team-card-social a:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
}

.team-card-body {
  padding: 24px;
  text-align: center;
}

.team-card-name {
  font-size: 1.2rem;
  margin-bottom: 4px;
  color: var(--text-1);
}

.team-card-role {
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.team-card-bio {
  font-size: 0.875rem;
  color: var(--text-3);
}

/* ââ Recenzije ────────────────────────────────────────────────────────── */
.testimonials { background: var(--bg-2); }

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 24px;
}

.testimonial-card {
  min-width: calc(50% - 12px);
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px;
  transition: border-color var(--transition);
}

.testimonial-card.active { border-color: var(--gold-dark); }

.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.stars i { color: var(--gold); font-size: 0.9rem; }

.testimonial-text {
  font-size: 1rem;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 28px;
  font-style: italic;
}

.testimonial-text::before { content: '"'; }
.testimonial-text::after { content: '"'; }

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  border: 2px solid var(--gold-dark);
}

.testimonial-info .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-1);
}

.testimonial-info .date {
  font-size: 0.8rem;
  color: var(--text-3);
}

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.carousel-btn {
  width: 48px;
  height: 48px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.carousel-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 100px;
  background: var(--border);
  cursor: pointer;
  transition: all var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  width: 28px;
}

/* ââ CTA Banner ──────────────────────────────────────────────────────────â */
.cta-banner {
  background: linear-gradient(135deg, var(--bg-3) 0%, var(--bg-2) 100%);
  padding: 80px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(200,169,110,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 { margin-bottom: 16px; }

.cta-banner p {
  margin-bottom: 36px;
  font-size: 1.05rem;
}

/* ââ Footer ────────────────────────────────────────────────────────────── */
.footer {
  background: var(--bg-1);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .name {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}

.footer-brand .tagline {
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.8;
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--text-3);
  transition: all var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-1);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-3);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: flex-start;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 0.9rem;
  margin-top: 3px;
  min-width: 16px;
}

.footer-contact-item span {
  font-size: 0.9rem;
  color: var(--text-3);
  line-height: 1.6;
}

.footer-hours {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-3);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.footer-hours-row .day { color: var(--text-2); }
.footer-hours-row .time { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: var(--text-3);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.82rem;
  color: var(--text-3);
  transition: color var(--transition);
}

.footer-bottom-links a:hover { color: var(--gold); }

/* ââ Scroll Reveal Animacije ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Kartice tima: samo opacity (bez transform na parentu) da hover socijalnih radi ispravno */
.reveal-fade {
  opacity: 0;
  transition: opacity 0.7s ease;
}

.reveal-fade.visible {
  opacity: 1;
}

/* ââ Back to top ────────────────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--gold);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 500;
  opacity: 0;
  transform: translateY(20px);
  transition: all var(--transition);
  border: none;
  box-shadow: var(--shadow-gold);
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.back-to-top:hover { background: var(--gold-light); }

/* ============================================================
   BOOKING PAGE — Stilovi za zakazivanje.html
   ============================================================ */

.booking-page {
  min-height: 100vh;
  background: var(--bg-1);
  padding-top: var(--nav-content-offset);
}

.booking-hero {
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--bg-1) 100%);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.booking-hero h1 { margin-bottom: 12px; }
.booking-hero p { margin-bottom: 0; }

.booking-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 24px;
}

/* Progress bar */
.booking-progress {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 60px;
  gap: 0;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 0 0 auto;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-3);
  transition: all var(--transition);
  position: relative;
  z-index: 1;
}

.progress-step.active .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}

.progress-step.completed .step-num {
  border-color: var(--gold);
  background: var(--gold);
  color: #000;
}

.step-label {
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

.progress-step.active .step-label,
.progress-step.completed .step-label { color: var(--gold); }

.booking-progress .step-spacer {
  flex: 1 1 auto;
  min-width: 12px;
  height: 2px;
  background: var(--border);
  margin: 23px 0 0;
  padding: 0;
  border: none;
  border-radius: 0;
  transition: background var(--transition);
  align-self: flex-start;
}

.booking-progress .step-spacer.filled { background: var(--gold); }

/* Step panels */
.booking-step { display: none; }
.booking-step.active { display: block; }

.booking-step-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
  color: var(--text-1);
}

.booking-step-desc {
  color: var(--text-3);
  font-size: 0.9rem;
  margin-bottom: 32px;
}

/* Usluge grid */
.booking-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.booking-service-item {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  cursor: pointer;
  transition: all var(--transition);
}

.booking-service-main {
  display: flex;
  align-items: center;
  gap: 16px;
}

.booking-service-item:hover,
.booking-service-item.selected {
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}

.booking-service-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  background: rgba(200,169,110,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--gold);
}

.booking-service-info h4 {
  color: var(--text-1);
  font-size: 1rem;
  margin-bottom: 4px;
}

.booking-service-info .meta {
  font-size: 0.8rem;
  color: var(--text-3);
}

.booking-service-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--gold);
  font-size: 1.1rem;
  white-space: nowrap;
}

.booking-service-addon {
  display: none;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  align-items: center;
  gap: 10px;
  cursor: pointer;
  width: 100%;
}

.booking-service-addon-text {
  flex: 1;
  min-width: 0;
}

.booking-service-addon-price {
  margin-left: auto;
  font-weight: 700;
  color: var(--gold);
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.booking-service-item.selected .booking-service-addon {
  display: flex;
}

.booking-service-addon-checkbox {
  margin: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.booking-service-addon strong {
  color: var(--text-1);
  font-size: 0.9rem;
}

.booking-service-addon small {
  display: block;
  color: var(--text-3);
  font-size: 0.78rem;
  margin-top: 2px;
}

.subscription-date-wrap .subscription-date {
  color: var(--text-1);
  color-scheme: dark;
  min-height: 44px;
  -webkit-appearance: none;
  appearance: none;
}

.subscription-date-display {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
  color: var(--text-2);
  letter-spacing: 0.02em;
}

.subscription-beard-row {
  margin: 4px 0 14px;
}

.form-group label.subscription-beard-check {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  margin-bottom: 0;
  text-transform: none;
  letter-spacing: normal;
  font-size: 0.9rem;
  color: var(--text-1);
  white-space: nowrap;
  cursor: pointer;
  width: fit-content;
}

.form-group label.subscription-beard-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
}

/* Majstori grid */
.booking-barbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.booking-barber-item {
  background: var(--bg-2);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 16px;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.booking-barber-item:hover,
.booking-barber-item.selected {
  border-color: var(--gold);
  background: rgba(200,169,110,0.05);
}

.booking-barber-avatar {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 14px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  background: var(--bg-3);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
}

.booking-barber-item.selected .booking-barber-avatar {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(200, 169, 110, 0.35), 0 6px 22px rgba(0, 0, 0, 0.35);
}

.booking-barber-avatar img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0;
  border: none;
  /* object-position nije dovoljan na nekim uploadima — transform pomera lice ulevo u krugu */
  transform: scale(1.14) translate(-4%, 5%);
  transform-origin: center center;
}

.booking-barber-avatar--icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--gold);
}

.booking-barber-item.selected .booking-barber-avatar--icon {
  border-color: var(--gold);
}

.booking-barber-item .barber-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-1);
  margin-bottom: 4px;
}

.booking-barber-item .barber-spec {
  font-size: 0.78rem;
  color: var(--text-3);
}

/* Kalendar */
.booking-calendar-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}

.calendar-wrapper {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.calendar-header h4 {
  font-size: 1rem;
  color: var(--text-1);
}

.calendar-nav-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--text-2);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.calendar-nav-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.calendar-days-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 8px;
}

.calendar-days-header span {
  font-size: 0.7rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  padding: 4px 0;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}

.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  color: var(--text-2);
}

.cal-day:hover { background: var(--bg-3); }
.cal-day.today { color: var(--gold); font-weight: 700; }
.cal-day.selected { background: var(--gold); color: #000; font-weight: 700; border-radius: var(--radius-sm); }
.cal-day.selected:hover { background: var(--gold); color: #000; }
.cal-day.disabled { color: var(--bg-4); cursor: not-allowed; }
.cal-day.other-month { color: var(--bg-4); }
.cal-day--unavailable { color: var(--bg-4); cursor: default; pointer-events: none; opacity: 0.3; }

.time-slots-wrapper {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
}

.time-slots-wrapper h4 {
  font-size: 1rem;
  color: var(--text-1);
  margin-bottom: 20px;
}

.time-slots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.time-slot {
  padding: 10px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
}

.time-slot:hover { border-color: var(--gold); color: var(--gold); }
.time-slot.selected { background: var(--gold); color: #000; border-color: var(--gold); font-weight: 700; }
.time-slot.taken { background: var(--bg-1); color: var(--bg-4); cursor: not-allowed; text-decoration: line-through; }

/* Forma */
.booking-form {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 32px;
}

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

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-2);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
}

.form-group textarea { resize: vertical; min-height: 100px; }

/* Telefon: pozivni + lokalni broj */
.phone-input-wrapper {
  position: relative;
  display: flex;
  align-items: stretch;
  width: 100%;
}

.phone-dial-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 12px 12px 12px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  color: var(--text-1);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.phone-dial-btn:hover,
.phone-dial-btn:focus-visible {
  border-color: var(--gold);
  background: var(--bg-2);
}

.phone-dial-flag {
  font-size: 1.1rem;
  line-height: 1;
}

.phone-dial-code {
  font-weight: 600;
  white-space: nowrap;
}

.phone-dial-arrow {
  font-size: 0.65rem;
  color: var(--text-3);
  margin-left: 2px;
}

.phone-input-wrapper input[type="tel"] {
  flex: 1;
  min-width: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.phone-input-wrapper:focus-within .phone-dial-btn,
.phone-input-wrapper:focus-within input[type="tel"] {
  border-color: var(--gold);
}

.phone-dial-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 200;
  min-width: 220px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.phone-dial-dropdown[hidden] {
  display: none;
}

.phone-dial-option {
  padding: 10px 14px;
  font-size: 0.88rem;
  color: var(--text-1);
  cursor: pointer;
  transition: background var(--transition);
}

.phone-dial-option:hover,
.phone-dial-option:focus {
  background: var(--bg-3);
  outline: none;
}

/* Rezime */
.booking-summary {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.booking-summary h4 {
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.summary-row:last-child { border-bottom: none; }
.summary-row .key { color: var(--text-3); flex: 0 0 auto; white-space: nowrap; }
.summary-row .value { color: var(--text-1); font-weight: 500; text-align: right; word-break: break-word; }

.summary-value-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  min-width: 0;
}

.summary-line-price {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.summary-row.total .value { color: var(--gold); font-size: 1.1rem; font-weight: 700; }

/* Uspešno zakazivanje */
.booking-success {
  text-align: center;
  padding: 60px 24px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(39,174,96,0.15);
  border: 2px solid var(--success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  font-size: 2rem;
  color: var(--success);
}

.booking-success h2 { margin-bottom: 12px; }
.booking-success p { max-width: 480px; margin: 0 auto 32px; }

/* Navigacija između koraka */
.step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

/* ============================================================
   ADMIN PAGE — Stilovi za admin.html
   ============================================================ */

.admin-layout {
  display: flex;
  min-height: 100vh;
  background: var(--bg-1);
}

.admin-sidebar {
  width: 260px;
  min-width: 260px;
  background: var(--bg-2);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  overflow-y: auto;
}

.sidebar-logo {
  padding: 28px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-sidebar-close {
  display: none;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--text-2);
  cursor: pointer;
  transition: all var(--transition);
}

.admin-sidebar-close:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.admin-sidebar-overlay {
  display: none;
}

.sidebar-logo .name {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-1);
}

.sidebar-logo .role {
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-nav {
  flex: 1;
  padding: 20px 12px;
}

.sidebar-nav-label {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-3);
  padding: 8px 12px;
  margin-bottom: 4px;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--text-3);
  transition: all var(--transition);
  margin-bottom: 2px;
}

.sidebar-nav a i {
  width: 18px;
  text-align: center;
  font-size: 0.9rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: rgba(200,169,110,0.1);
  color: var(--gold);
}

.sidebar-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}

.sidebar-footer-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dark);
}

.sidebar-footer-info .sf-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-1);
}

.sidebar-footer-info .sf-role {
  font-size: 0.72rem;
  color: var(--text-3);
}

.sidebar-footer-logout {
  margin-left: auto;
  color: var(--text-3);
  font-size: 1rem;
  transition: color var(--transition);
  cursor: pointer;
}

.sidebar-footer-logout:hover { color: var(--danger); }

.admin-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.admin-topbar {
  background: var(--bg-2);
  border-bottom: 1px solid var(--border);
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.admin-topbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.admin-mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  color: var(--gold);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: all var(--transition);
}

.admin-mobile-menu-btn:hover,
.admin-mobile-menu-btn:focus-visible {
  border-color: var(--gold);
  outline: none;
}

.admin-topbar h2 {
  font-size: 1.2rem;
  color: var(--text-1);
}

.admin-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-notif {
  position: relative;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg-3);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-2);
  transition: all var(--transition);
}

.topbar-notif:hover { border-color: var(--gold); color: var(--gold); }

.notif-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-content {
  flex: 1;
  padding: 32px;
  overflow-y: auto;
}

/* Admin stat kartice */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

#dashboard-bookings-table {
  scroll-margin-top: 16px;
}

.day-overview-filters {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.day-overview-filters select,
.day-overview-filters input[type="date"] {
  width: auto;
  min-width: 200px;
}

.day-overview-filters select:first-of-type {
  min-width: 160px;
}

.day-overview-beard-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.87rem;
  color: var(--text-2);
  cursor: pointer;
  white-space: nowrap;
  padding: 8px 0;
}

.day-overview-beard-label input[type="checkbox"] {
  accent-color: var(--gold);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.day-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.day-overview-grid.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.day-overview-col {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px;
}

.day-overview-col-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.day-overview-col-header strong {
  color: var(--text-1);
  font-size: 0.95rem;
}

.day-overview-col-header span {
  color: var(--text-3);
  font-size: 0.78rem;
}

.day-overview-empty {
  color: var(--text-3);
  font-size: 0.84rem;
}

.day-overview-slots {
  max-height: 360px;
  overflow-y: auto;
  padding-right: 4px;
}

.day-overview-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 8px;
  border-bottom: 1px solid var(--border);
}

.day-overview-slot:last-child {
  border-bottom: none;
}

.day-overview-time {
  min-width: 42px;
  font-size: 0.8rem;
  color: var(--text-3);
  font-weight: 600;
}

.day-overview-label {
  color: var(--text-2);
  font-size: 0.82rem;
  min-width: 0;
}

a.day-overview-label {
  color: var(--gold);
  text-decoration: none;
}

a.day-overview-label:hover {
  text-decoration: underline;
}

.day-overview-slot.booked .day-overview-label {
  color: var(--gold);
}

.day-overview-subscription-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(200, 169, 110, 0.45);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(200, 169, 110, 0.1);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.day-overview-no-show-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 7px;
  border: 1px solid rgba(231, 76, 60, 0.5);
  border-radius: 999px;
  color: #ffb3aa;
  background: rgba(231, 76, 60, 0.14);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.day-overview-no-show-badge.is-current {
  color: #ffd1cc;
  border-color: rgba(231, 76, 60, 0.75);
  background: rgba(231, 76, 60, 0.24);
}

.day-overview-slot.free .day-overview-label {
  color: var(--text-2);
}

.day-overview-slot.break,
.day-overview-slot.blocked {
  background: rgba(255, 255, 255, 0.02);
}

.day-overview-slot.break .day-overview-label,
.day-overview-slot.blocked .day-overview-label {
  color: var(--text-3);
}

.day-overview-note {
  margin-top: 10px;
  font-size: 0.76rem;
  color: var(--text-3);
}

.dashboard-charts-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  margin: 24px 0;
}

.admin-stat-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: all var(--transition);
}

.admin-stat-card:hover {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

a.admin-stat-card-link {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a.admin-stat-card-link:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

a.admin-stat-card-link.is-active {
  border-color: var(--gold-dark);
  box-shadow: var(--shadow-gold);
}

.admin-stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin-stat-header .icon {
  width: 44px;
  height: 44px;
  background: rgba(200,169,110,0.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--gold);
}

.admin-stat-header .trend {
  font-size: 0.78rem;
  color: var(--success);
  display: flex;
  align-items: center;
  gap: 4px;
}

.admin-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}

.admin-stat-label {
  font-size: 0.8rem;
  color: var(--text-3);
}

/* Tabela */
.admin-table-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 24px;
}

.admin-table-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.admin-table-header h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-1);
}

.admin-table-header .filters {
  display: flex;
  gap: 8px;
}

.admin-table-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.filter-btn {
  padding: 6px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 100px;
  color: var(--text-3);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #000;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background: var(--bg-3);
}

thead th {
  padding: 12px 20px;
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  font-weight: 600;
}

tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: var(--bg-3); }

tbody td {
  padding: 16px 20px;
  font-size: 0.875rem;
  color: var(--text-2);
}

tbody td:first-child { color: var(--text-1); font-weight: 500; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.status-badge.pending {
  background: rgba(255,166,0,0.12);
  color: #f0a500;
  border: 1px solid rgba(255,166,0,0.2);
}

.status-badge.confirmed {
  background: rgba(39,174,96,0.12);
  color: #27ae60;
  border: 1px solid rgba(39,174,96,0.2);
}

.status-badge.cancelled {
  background: rgba(231,76,60,0.12);
  color: #e74c3c;
  border: 1px solid rgba(231,76,60,0.2);
}

.table-actions {
  display: flex;
  gap: 6px;
}

.tbl-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all var(--transition);
}

.tbl-btn.approve { color: var(--success); }
.tbl-btn.approve:hover { background: rgba(39,174,96,0.15); border-color: var(--success); }

.tbl-btn.reject { color: var(--danger); }
.tbl-btn.reject:hover { background: rgba(231,76,60,0.15); border-color: var(--danger); }

.tbl-btn.edit { color: var(--gold); }
.tbl-btn.edit:hover { background: rgba(200,169,110,0.15); border-color: var(--gold); }

/* Admin section tabs */
.admin-section { display: none; }
.admin-section.active { display: block; }

/* Forma u admin panelu */
.admin-form-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.admin-form-card h3 {
  font-size: 1rem;
  font-family: 'Inter', sans-serif;
  color: var(--text-1);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.admin-grid-2,
.admin-grid-3,
.admin-grid-4,
.admin-grid-wide-side {
  display: grid;
  gap: 16px;
}

.admin-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.admin-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.admin-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.admin-grid-wide-side { grid-template-columns: 2fr 1fr; }
.admin-grid-end { align-items: end; }
.admin-grid-center { align-items: center; }

/* ââ Admin dinamički dodaci (iz admin.html inline) ────────── */

/* Mini chart bars */
.chart-bar-wrapper { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-top: 16px; }
.chart-bar {
  flex: 1;
  background: linear-gradient(to top, var(--gold-dark), var(--gold));
  border-radius: 3px 3px 0 0;
  opacity: 0.8;
  transition: opacity var(--transition), box-shadow var(--transition);
  cursor: pointer;
  min-height: 4px;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.chart-bar:hover,
.chart-bar.is-tip-active { opacity: 1; }
.chart-bar.is-tip-active {
  box-shadow: 0 0 0 2px var(--gold), 0 4px 12px rgba(0, 0, 0, 0.35);
}
.chart-bar:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.chart-labels { display: flex; gap: 6px; margin-top: 8px; }
.chart-labels span { flex: 1; text-align: center; font-size: 0.62rem; color: var(--text-3); }

.chart-tip {
  position: fixed;
  z-index: 10050;
  max-width: min(280px, calc(100vw - 16px));
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: var(--bg-1);
  border: 1px solid var(--gold);
  color: var(--text-1);
  font-size: 0.8rem;
  line-height: 1.4;
  text-align: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  pointer-events: none;
}

/* Donut */
.donut-placeholder { width: 120px; height: 120px; border-radius: 50%; background: conic-gradient(var(--gold) 0deg 216deg, #27ae60 216deg 288deg, #e74c3c 288deg 360deg); position: relative; margin: 0 auto 16px; }
.donut-placeholder::after { content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--bg-2); }
.donut-legend-scroll { max-height: 280px; overflow-y: auto; padding-right: 4px; }

.legend-item { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: var(--text-2); }
.legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* Stat bar redovi (dashboard: usluge/klijenti) */
.stat-bar-row { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid var(--border); font-size:0.82rem; }
.stat-bar-row:last-child { border-bottom:none; }
.stat-bar-label { flex:1; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; color:var(--text-2); }
.stat-bar-track { width:120px; height:6px; background:var(--border); border-radius:3px; flex-shrink:0; }
.stat-bar-fill { height:100%; background:var(--gold); border-radius:3px; }
.stat-bar-count { min-width:24px; text-align:right; color:var(--text-1); font-weight:600; }

/* Radno vreme toggle */
.toggle-switch { position: relative; width: 40px; height: 22px; cursor: pointer; display: inline-block; }
.toggle-switch input { display: none; }
.toggle-track { display: block; width: 100%; height: 100%; background: var(--bg-4); border-radius: 100px; transition: background var(--transition); position: relative; }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--text-3); transition: all var(--transition); }
.toggle-switch input:checked + .toggle-track { background: var(--gold); }
.toggle-switch input:checked + .toggle-track::after { left: calc(100% - 19px); background: #000; }

.hours-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 0.875rem; flex-wrap: wrap; }
.hours-row .day-name { width: 100px; color: var(--text-2); }
.hours-row input[type="time"] { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 6px 10px; color: var(--text-1); font-family: 'Inter', sans-serif; font-size: 0.85rem; cursor: pointer; }
.closed-label { font-size: 0.8rem; color: var(--danger); font-weight: 500; }

/* Galerija u adminu */
.admin-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.admin-gallery-item { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; background: var(--bg-3); }
.admin-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.admin-gallery-item:hover img { transform: scale(1.06); }
.admin-gallery-item-actions { position: absolute; inset: 0; background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; gap: 8px; opacity: 0; transition: opacity var(--transition); }
.admin-gallery-item:hover .admin-gallery-item-actions { opacity: 1; }
.gallery-action-btn { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: rgba(0,0,0,0.4); color: var(--text-1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.gallery-action-btn.delete:hover { background: var(--danger); border-color: var(--danger); }
.gallery-action-btn.edit:hover { background: var(--gold); border-color: var(--gold); color: #000; }

/* Upload zona */
.upload-zone { border: 2px dashed var(--border); border-radius: var(--radius-md); padding: 40px; text-align: center; cursor: pointer; transition: all var(--transition); margin-bottom: 20px; background: var(--bg-2); }
.upload-zone:hover { border-color: var(--gold-dark); background: rgba(200,169,110,0.04); }
.upload-zone i { font-size: 2rem; color: var(--gold); margin-bottom: 12px; display: block; }
.upload-zone p { font-size: 0.9rem; color: var(--text-3); margin: 0; }
.upload-zone span { font-size: 0.8rem; color: var(--text-3); }

/* Kartice frizera u adminu */
.admin-barbers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; margin-bottom: 24px; }
.admin-barber-card { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 20px; text-align: center; transition: all var(--transition); }
.admin-barber-card:hover { border-color: var(--gold-dark); }
.admin-barber-card img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; border: 2px solid var(--gold-dark); }
.admin-barber-card-name { font-size: 0.95rem; font-weight: 600; color: var(--text-1); margin-bottom: 2px; }
.admin-barber-card-role { font-size: 0.75rem; color: var(--gold); margin-bottom: 16px; }
.admin-barber-card-stats { display: flex; justify-content: center; gap: 20px; margin-bottom: 16px; font-size: 0.8rem; }
.admin-barber-card-stats .stat { color: var(--text-3); }
.admin-barber-card-stats .stat strong { display: block; color: var(--text-1); font-size: 1rem; }

/* Inline edit */
.inline-edit-form { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; margin-bottom: 16px; }
.inline-form-row { display: grid; grid-template-columns: 1fr 1fr 120px 120px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.inline-form-row input, .inline-form-row select, .inline-form-row textarea { background: var(--bg-4); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-1); font-size: 0.85rem; font-family: 'Inter', sans-serif; width: 100%; }
.inline-form-row input:focus, .inline-form-row select:focus, .inline-form-row textarea:focus { outline: none; border-color: var(--gold-dark); }

/* Settings */
.settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.settings-section { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; }
.settings-section h4 { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; padding-bottom: 12px; border-bottom: 1px solid var(--border); }
.settings-field { margin-bottom: 16px; }
.settings-field label { display: block; font-size: 0.78rem; letter-spacing: 1px; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; }
.settings-field input, .settings-field textarea, .settings-field select { width: 100%; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; color: var(--text-1); font-family: 'Inter', sans-serif; font-size: 0.875rem; outline: none; transition: border-color var(--transition); }
.settings-field input:focus, .settings-field textarea:focus, .settings-field select:focus { border-color: var(--gold-dark); }
.settings-field textarea { min-height: 80px; resize: vertical; }

.settings-field input[type="checkbox"],
.settings-field input[type="radio"] {
  width: auto;
  max-width: none;
  padding: 0;
}

/* Majstor + dodatak brade u jednom redu (admin novi termin) */
.admin-grid-2 .nt-majstor-row {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
.admin-grid-2 .nt-majstor-row > .settings-field {
  margin-bottom: 0;
}

/* Novi termin (admin): dodatak brada — zbijen checkbox + tekst */
.settings-field.nt-beard-field > .nt-beard-heading {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 8px;
}
.settings-field.nt-beard-field label.nt-beard-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  margin: 0;
  padding: 10px 14px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-1);
  letter-spacing: normal;
  text-transform: none;
  max-width: 100%;
  box-sizing: border-box;
}
.settings-field.nt-beard-field label.nt-beard-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 2px;
  accent-color: var(--gold-dark);
}
.settings-field.nt-beard-field label.nt-beard-check span {
  flex: 1;
  line-height: 1.35;
}
.settings-field.nt-beard-field .nt-beard-help {
  margin: 8px 0 0;
  padding: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: var(--text-3);
}

/* Flash poruke */
.flash-container { margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px; }
.flash { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 0.9rem; display: flex; align-items: center; gap: 10px; border: 1px solid var(--border); }
.flash i { font-size: 1rem; }
.flash-success { background: rgba(39,174,96,0.12); border-color: #27ae60; color: #8ce5a6; }
.flash-error   { background: rgba(231,76,60,0.12); border-color: var(--danger); color: #ff9d92; }
.flash-info    { background: rgba(200,169,110,0.10); border-color: var(--gold-dark); color: var(--gold); }

/* Login ekran */
.login-wrapper { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; background: linear-gradient(135deg, var(--bg-1) 0%, var(--bg-2) 100%); }
.login-card { background: var(--bg-2); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 420px; box-shadow: 0 20px 60px rgba(0,0,0,0.4); }
.login-logo { text-align: center; margin-bottom: 32px; }
.login-logo .name { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 700; color: var(--gold); }
.login-logo .role { font-size: 0.7rem; letter-spacing: 3px; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
.login-form .settings-field { margin-bottom: 18px; }
.login-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.back-to-site { text-align: center; margin-top: 20px; font-size: 0.8rem; color: var(--text-3); }
.back-to-site a { color: var(--gold); text-decoration: none; }

/* Admin utility */
.admin-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-toolbar .filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.admin-toolbar select, .admin-toolbar input { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 8px 12px; color: var(--text-1); font-family: 'Inter', sans-serif; font-size: 0.85rem; outline: none; }
.badge { display: inline-block; padding: 3px 10px; border-radius: 100px; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.5px; }
.badge.pending   { background: rgba(240,165,0,0.15); color: #f0a500; }
.badge.confirmed { background: rgba(39,174,96,0.15); color: #27ae60; }
.badge.cancelled { background: rgba(231,76,60,0.15); color: var(--danger); }
.badge.completed { background: rgba(255,255,255,0.1); color: var(--text-2); }
.badge.no_show { background: rgba(231,76,60,0.2); color: #ffb3aa; }

.admin-empty { text-align: center; padding: 60px 20px; color: var(--text-3); }
.admin-empty i { font-size: 2.2rem; color: var(--text-3); margin-bottom: 12px; display: block; }

/* Radno vreme — grid */
.hours-editor { display: grid; gap: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  :root {
    --nav-logo-img-height: clamp(132px, 20vw, 188px);
    --nav-logo-img-max-width: min(94vw, 980px);
  }

  .nav-inner { padding: 0 20px; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-us-layout { grid-template-columns: 1fr; gap: 40px; }
  .why-us-image-badge { right: 20px; }
}

@media (max-width: 768px) {
  :root {
    --nav-logo-img-height: clamp(136px, 38vw, 188px);
    --nav-logo-img-max-width: min(96vw, 820px);
  }

  .nav-inner { padding: 0 12px; }

  .nav-logo {
    gap: 0;
    min-width: 0;
  }

  .nav-links, .nav-cta .btn { display: none; }
  .hamburger { display: flex; }

  .nav-cta {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(13,13,13,0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 999;
  }

  .nav-cta.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: inline-flex;
    padding: 12px 0;
    font-size: 1rem;
    line-height: 1.2;
    width: auto;
  }

  .nav-links a::after {
    bottom: 6px;
  }

  .nav-cta .btn { display: inline-flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .services .service-card-overlay {
    padding: 14px;
  }

  .services .service-card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    font-size: 1rem;
  }

  .services .service-card-title {
    font-size: clamp(0.95rem, 3.2vw, 1.1rem);
    margin-bottom: 4px;
  }

  .services .service-card-desc {
    font-size: 0.78rem;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .services .service-card-price {
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .gallery-item {
    aspect-ratio: auto;
    align-self: start;
  }

  .gallery-item img {
    height: auto;
    object-fit: contain;
    object-position: center;
    display: block;
  }

  .gallery-item:hover img {
    transform: none;
  }

  .gallery-lightbox-nav {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }

  .team-grid { grid-template-columns: repeat(2, 1fr); }

  .testimonial-card { min-width: calc(100%); }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .login-wrapper {
    min-height: 100dvh;
    align-items: flex-start;
    justify-content: center;
    padding: 16px;
    overflow-x: hidden;
  }
  .login-card {
    width: 100%;
    max-width: 100%;
    padding: 24px 16px;
  }
  .login-form .settings-field input {
    font-size: 16px; /* sprečava iOS zoom + skok layout-a na fokus */
  }
  .day-overview-grid { grid-template-columns: 1fr; }
  .day-overview-filters select,
  .day-overview-filters input[type="date"] { width: 100%; min-width: 0; }

  .booking-services-grid { grid-template-columns: 1fr; }
  .booking-barbers-grid { grid-template-columns: repeat(2, 1fr); }
  .booking-calendar-layout { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .booking-container { padding: 48px 16px; }

  /* Spreči horizontalni scroll pri fokusu inputa na mobilnom. */
  .booking-form,
  .booking-summary,
  .booking-info-card,
  .phone-input-wrapper {
    max-width: 100%;
    min-width: 0;
  }

  /* iOS Safari zoom-uje input < 16px, što može da izazove "bočni" pomeraj. */
  .booking-form .form-group input,
  .booking-form .form-group textarea,
  .booking-form .form-group select,
  .booking-form .phone-dial-btn {
    font-size: 16px;
  }

  .step-nav {
    gap: 10px;
  }

  .step-nav > .btn-outline {
    flex: 0 0 auto;
    padding: 10px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
  }

  .step-nav > .btn-primary {
    flex: 1 1 0;
    min-width: 0;
    padding: 10px 12px;
    font-size: 0.68rem;
    letter-spacing: 0.5px;
    justify-content: center;
    line-height: 1.25;
  }

  .step-nav > .btn-primary.btn-lg {
    padding: 11px 14px;
    font-size: 0.72rem;
  }

  #step-2 .step-nav > .btn-outline,
  #step-2 .step-nav > .btn-primary {
    flex: 1 1 0;
    padding: 13px 14px;
    font-size: 0.76rem;
    justify-content: center;
  }

  body.admin-menu-open {
    overflow: hidden;
  }

  .admin-layout {
    display: block;
    min-height: 100vh;
  }

  .admin-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 11000;
    width: min(86vw, 320px);
    min-width: 0;
    max-width: 320px;
    height: 100dvh;
    display: flex;
    transform: translateX(-100%);
    transition: transform var(--transition);
    box-shadow: 18px 0 60px rgba(0, 0, 0, 0.45);
  }

  .admin-sidebar.is-open {
    transform: translateX(0);
  }

  .admin-sidebar-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .admin-sidebar-overlay {
    position: fixed;
    inset: 0;
    z-index: 10999;
    display: block;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition), visibility var(--transition);
  }

  .admin-sidebar-overlay.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .admin-main {
    overflow: visible;
  }

  .admin-topbar {
    padding: 14px 16px;
    gap: 12px;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar-title {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-mobile-menu-btn {
    display: inline-flex;
    flex-shrink: 0;
  }

  .admin-topbar h2 {
    font-size: 1.05rem;
  }

  .admin-topbar-actions {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
  }

  .admin-topbar-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }

  .admin-content {
    padding: 16px;
    overflow-x: hidden;
  }

  .admin-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar .filters {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .admin-toolbar .filters > *,
  .admin-toolbar > .btn,
  .admin-toolbar select,
  .admin-toolbar input {
    width: 100%;
  }

  .admin-grid-2,
  .admin-grid-3,
  .admin-grid-4,
  .admin-grid-wide-side,
  .admin-form-card [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }

  .admin-form-card [style*="display:flex"],
  .admin-toolbar [style*="display:flex"] {
    flex-wrap: wrap;
  }

  .admin-form-card form[style*="display:flex"] > *,
  .admin-form-card [style*="display:flex"][style*="gap:10px"] > .btn {
    flex: 1 1 100% !important;
  }

  .admin-form-card .btn,
  .admin-form-card button[type="submit"],
  .admin-form-card a.btn {
    justify-content: center;
  }

  .admin-stats-grid {
    gap: 12px;
    margin-bottom: 18px;
  }

  .admin-stat-card {
    padding: 16px;
  }

  .admin-stat-header {
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .admin-stat-header .icon {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .admin-stat-header .trend {
    font-size: 0.68rem;
    text-align: right;
    line-height: 1.3;
  }

  .admin-stat-number {
    font-size: 1.7rem;
  }

  .admin-stat-label {
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .dashboard-charts-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin: 18px 0;
  }

  .admin-form-card {
    padding: 18px;
    margin-bottom: 16px;
  }

  .admin-form-card h3 {
    margin-bottom: 16px;
    padding-bottom: 12px;
    line-height: 1.35;
  }

  .settings-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .settings-section {
    padding: 18px;
  }

  .settings-section h4 {
    line-height: 1.35;
  }

  .chart-bar-wrapper {
    gap: 4px;
  }

  .donut-placeholder {
    width: 104px;
    height: 104px;
  }

  .donut-placeholder::after {
    width: 60px;
    height: 60px;
  }

  .admin-table-header {
    padding: 16px;
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-table-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .admin-table-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 9px 12px;
    font-size: 0.72rem;
  }

  .admin-responsive-table,
  .admin-responsive-table thead,
  .admin-responsive-table tbody,
  .admin-responsive-table tr,
  .admin-responsive-table th,
  .admin-responsive-table td {
    display: block;
  }

  .admin-responsive-table thead {
    display: none;
  }

  .admin-responsive-table tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
  }

  .admin-responsive-table tbody tr:hover {
    background: var(--bg-2);
  }

  .admin-responsive-table tbody td {
    display: block !important;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--text-2);
    text-align: left;
    word-break: break-word;
  }

  .admin-responsive-table tbody td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--text-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .admin-responsive-table tbody td:first-child {
    color: var(--text-2);
    font-weight: 400;
  }

  .admin-responsive-table tbody td:last-child {
    border-bottom: none;
  }

  .admin-responsive-table tbody td[style*="display:flex"] {
    display: flex !important;
    gap: 8px;
    flex-wrap: wrap;
  }

  .admin-responsive-table tbody td[style*="display:flex"]::before {
    flex-basis: 100%;
  }

  .dashboard-bookings-table,
  .dashboard-bookings-table thead,
  .dashboard-bookings-table tbody,
  .dashboard-bookings-table tr,
  .dashboard-bookings-table th,
  .dashboard-bookings-table td {
    display: block;
  }

  .dashboard-bookings-table thead {
    display: none;
  }

  .dashboard-bookings-table tbody tr {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    background: var(--bg-2);
  }

  .dashboard-bookings-table tbody tr:hover {
    background: var(--bg-2);
  }

  .dashboard-bookings-table tbody td {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-align: left;
    word-break: break-word;
  }

  .dashboard-bookings-table tbody td::before {
    content: '';
    display: block;
    margin-bottom: 4px;
    color: var(--text-3);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
  }

  .dashboard-bookings-table tbody td:nth-child(1)::before { content: 'Klijent'; }
  .dashboard-bookings-table tbody td:nth-child(2)::before { content: 'Usluga'; }
  .dashboard-bookings-table tbody td:nth-child(3)::before { content: 'Majstor'; }
  .dashboard-bookings-table tbody td:nth-child(4)::before { content: 'Termin'; }
  .dashboard-bookings-table tbody td:nth-child(5)::before { content: 'Status'; }
  .dashboard-bookings-table tbody td:nth-child(6)::before { content: 'Akcije'; }

  .dashboard-bookings-table tbody td:first-child {
    color: var(--text-2);
    font-weight: 400;
  }

  .dashboard-bookings-table tbody td:last-child {
    border-bottom: none;
  }

  .dashboard-bookings-table .tbl-btn {
    margin-top: 2px;
  }

  .admin-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .admin-barbers-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .admin-barber-card {
    padding: 16px;
  }

  .admin-barber-card-stats {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hours-row {
    align-items: flex-start;
    gap: 10px;
  }

  .hours-row .day-name {
    width: 100%;
    font-weight: 600;
    color: var(--text-1);
  }

  .hours-row input[type="time"] {
    flex: 1 1 120px;
    min-width: 0;
  }

  .upload-zone {
    padding: 28px 16px;
  }

  .nt-calendar {
    padding: 10px !important;
  }

  .nt-calendar-days,
  .nt-calendar-grid {
    gap: 4px !important;
  }

  .nt-cal-day {
    min-height: 32px !important;
    padding: 0 !important;
    font-size: 0.78rem;
  }

  #nt-slots-grid {
    gap: 6px !important;
  }

  .nt-slot-btn {
    flex: 1 1 calc(33.333% - 6px);
    padding: 8px 6px !important;
    text-align: center;
  }

  .hero {
    align-items: flex-start;
    padding-top: calc(var(--nav-logo-img-height) + 4px);
  }

  .hero-content {
    padding-top: 0;
  }

  .hero-badge {
    margin-bottom: 20px;
  }

  .hero-social { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; }
  .booking-barbers-grid { grid-template-columns: 1fr; }
  .admin-stats-grid { grid-template-columns: 1fr; }

  .admin-gallery-grid {
    grid-template-columns: 1fr;
  }

  .admin-topbar-actions .btn,
  .admin-table-actions .btn {
    flex-basis: 100%;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 400px;
    margin-inline: auto;
  }

  .gallery-lightbox {
    padding-inline: 58px;
  }

  .gallery-lightbox-close {
    width: 42px;
    height: 42px;
  }
}

