/* ============================================================
   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:      155px;
}

/* ── 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;
  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;
}

/* Logo iznad tagline-a; visina loga i hedera usklađene. */
.nav-logo {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-self: center;
  justify-content: center;
  gap: 0;
  line-height: 1;
  text-decoration: none;
  max-height: 100%;
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  min-width: 0;
}

.nav-logo .nav-logo-img {
  display: block;
  flex: 0 0 auto;
  width: auto;
  height: 125px;
  max-height: 125px;
  max-width: min(60vw, 480px);
  min-width: 0;
  object-fit: contain;
  object-position: left center;
  align-self: flex-start;
}

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

.nav-logo .tagline {
  display: block;
  margin: 0;
  padding: 0;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  text-align: left;
  color: var(--gold);
  line-height: 1;
  align-self: flex-start;
  white-space: nowrap;
  max-width: none;
  flex: 0 0 auto;
  box-sizing: border-box;
}

.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;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-1);
  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); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1585747860715-2ba37e788b70?w=1920&q=80');
  background-size: cover;
  background-position: center 30%;
  filter: brightness(0.35);
  transform: scale(1.05);
  transition: transform 8s ease;
}

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

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

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

.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: absolute;
  bottom: 48px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-3);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.hero-scroll i { font-size: 1.2rem; }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) 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(4, 1fr);
  gap: 20px;
}

.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: 20px;
  right: -30px;
  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);
}

.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-duration {
  font-size: 0.8rem;
  color: var(--text-3);
  margin-top: 4px;
}

.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;
  transform: translateY(100%);
  transition: transform var(--transition);
  pointer-events: none;
}

.team-card:hover .team-card-social {
  transform: translateY(0);
  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;
  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-h);
}

.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: center;
  justify-content: center;
  margin-bottom: 60px;
  gap: 0;
}

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

.progress-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: calc(50% + 24px);
  top: 24px;
  width: calc(100% - 48px);
  height: 1px;
  background: var(--border);
  transition: background var(--transition);
}

.progress-step.completed:not(:last-child)::after {
  background: var(--gold);
}

.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;
  height: 1px;
  background: var(--border);
  margin-bottom: 28px;
  transition: background var(--transition);
  max-width: 80px;
}

.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);
  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;
}

/* 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;
}

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

.booking-barber-item img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  border: 2px solid var(--border);
}

.booking-barber-item.selected img { 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; }

/* 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;
  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); }
.summary-row .value { color: var(--text-1); font-weight: 500; }
.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;
}

/* ============================================================
   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);
}

.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 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;
}

.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;
}

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

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

.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 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); cursor: pointer; min-height: 4px; }
.chart-bar:hover { opacity: 1; }
.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); }

/* 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 { display: flex; flex-direction: column; gap: 8px; }
.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; }

/* 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; }

/* 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); }

.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-h: 135px; }

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

  .nav-logo .nav-logo-img {
    height: 104px;
    max-height: 104px;
    max-width: min(55vw, 390px);
  }

  .nav-logo .tagline {
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .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-h: 105px; }

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

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

  .nav-logo .nav-logo-img {
    height: 78px;
    max-height: 78px;
    max-width: min(48vw, 300px);
  }

  .nav-logo .tagline {
    font-size: clamp(0.55rem, 1.8vw, 0.68rem);
    letter-spacing: 0.03em;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .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 a {
    padding: 12px 0;
    font-size: 1rem;
    width: 100%;
  }

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

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

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

  .gallery-item {
    aspect-ratio: 1;
  }

  .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; }

  .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; }

  .admin-sidebar { display: none; }

  .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; }

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

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

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

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