/* ==========================================================================
   Mitja Kralj s.p. – Košnja brežin & Urejanje okolice (Podravje, Ptuj)
   Production Stylesheet — Authentic Slovenian Small-Business Aesthetic
   ========================================================================== */

:root {
  /* ── 1. Color Palette (Styrian / Podravje Nature-Inspired) ── */
  --forest-dark:     #1b2513; /* Deep pine / shadow - high contrast */
  --forest-primary:  #3b4e23; /* Classic olive green */
  --forest-mid:      #526b34; /* Meadow green */
  --forest-light:    #748f4b; /* Leaf green */
  --grass-bright:    #9bb859; /* Sunlit grass accent */
  --clay-accent:     #b85d38; /* Warm terracotta clay accent */
  
  /* Backgrounds & Surfaces */
  --bg-cream:        #f9f6ef; /* Warm limestone cream */
  --surface-white:   #ffffff;
  --surface-cream:   #f2ede0;
  --surface-card:    #ffffff;
  --surface-hover:   #f6f3eb;

  /* Typography / Text Colors (WCAG AA Compliant) */
  --text-heading:    #161e0f; /* Ratio > 13:1 on cream */
  --text-body:       #334123; /* Ratio > 7.5:1 on cream */
  --text-muted:      #5b6d48; /* Ratio > 4.6:1 on cream (passes AA 4.5:1) */
  --text-on-dark:    #fdfdfc;
  --text-sub-dark:   rgba(255, 255, 255, 0.78);

  /* Borders & Shadows */
  --border-subtle:   rgba(59, 78, 35, 0.12);
  --border-medium:   rgba(59, 78, 35, 0.24);
  --border-focus:    #3b4e23;
  --shadow-sm:       0 2px 8px rgba(27, 37, 19, 0.05);
  --shadow-md:       0 8px 24px rgba(27, 37, 19, 0.08);
  --shadow-lg:       0 16px 40px rgba(27, 37, 19, 0.12);
  --shadow-glow:     0 4px 20px rgba(155, 184, 89, 0.35);

  /* Radii */
  --radius-sm:       8px;
  --radius-md:       14px;
  --radius-lg:       20px;
  --radius-pill:     9999px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-norm: 0.25s ease;
  --transition:      0.25s ease;

  /* Olive / Forest Palette Aliases */
  --olive-dark:      #25331a;
  --olive:           #3b4e23;
  --olive-mid:       #526b34;
  --olive-light:     #748f4b;
  --olive-bright:    #9bb859;
  --grass-light:     #cde092;
  --cream-dark:      #e8e0d0;
  --cream:           #f2ede0;
  --cream-light:     #f9f6ef;
  --white:           #ffffff;
  --border:          rgba(59, 78, 35, 0.14);
  --border-olive:    rgba(59, 78, 35, 0.28);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-cream);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 0.9375rem; /* 15px */
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 3px solid var(--forest-primary);
  outline-offset: 2px;
}

/* ── Typography Helpers ── */
h1, h2, h3, h4 {
  color: var(--text-heading);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

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

/* ── Layout Container ── */
.inner {
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
}

/* ── Sections ── */
.sec {
  padding: 96px 32px;
  border-bottom: 1px solid var(--border-subtle);
  position: relative;
}
.sec-white  { background-color: var(--surface-white); }
.sec-cream  { background-color: var(--bg-cream); }
.sec-dark   { background-color: var(--forest-dark); color: var(--text-on-dark); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem; /* 12px */
  font-weight: 700;
  color: var(--forest-mid);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.eyebrow svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
}
.eyebrow-w {
  color: var(--grass-bright);
}

.sec-title {
  font-size: clamp(1.75rem, 3.5vw, 2.375rem); /* 28px - 38px */
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 12px;
  letter-spacing: -0.03em;
}
.sec-title-w {
  color: var(--text-on-dark);
}

.sec-sub {
  font-size: 1rem; /* 16px */
  color: var(--text-muted);
  margin-bottom: 48px;
  max-width: 620px;
  line-height: 1.7;
}
.sec-sub-w {
  color: var(--text-sub-dark);
}

/* ── Accessibility Skip Link ── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--forest-dark);
  color: var(--text-on-dark);
  padding: 12px 24px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  transition: top var(--transition-fast);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 0;
}

/* ── 2. Navigation Bar ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 72px;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-norm);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-mark {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--forest-primary), var(--forest-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(27, 37, 19, 0.15);
  flex-shrink: 0;
}
.nav-logo-mark svg {
  width: 24px;
  height: 24px;
}

.nav-logo-name {
  font-size: 1.0625rem; /* 17px */
  font-weight: 800;
  color: var(--forest-dark);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.nav-logo-sub {
  font-size: 0.6875rem; /* 11px */
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.2px;
}

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

.nav-links a {
  font-size: 0.875rem; /* 14px */
  font-weight: 600;
  color: var(--text-body);
  text-decoration: none;
  transition: color var(--transition-fast);
  padding: 6px 0;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--forest-primary);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
  transform-origin: center;
}
.nav-links a:hover {
  color: var(--forest-dark);
}
.nav-links a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  background: var(--forest-primary);
  color: var(--text-on-dark);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}
.nav-cta:hover {
  background: var(--forest-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(27, 37, 19, 0.2);
}

.nav-hamburger {
  display: none;
  background: transparent;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 8px;
  line-height: 0;
  color: var(--forest-dark);
}
.nav-hamburger svg {
  width: 24px;
  height: 24px;
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--surface-white);
  padding: 20px 24px;
  border-bottom: 2px solid var(--border-medium);
  box-shadow: var(--shadow-lg);
  z-index: 199;
  flex-direction: column;
  gap: 12px;
}
.nav-mobile-menu.active {
  display: flex;
}
.nav-mobile-menu a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}
.nav-mobile-menu a:last-child {
  border-bottom: none;
}
.nav-mobile-call {
  color: var(--forest-primary) !important;
  font-weight: 700 !important;
}

/* ── 3. Hero Section ── */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--forest-dark);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background-image: url('../img/hero.jpg');
  background-size: cover;
  background-position: center 52%;
  opacity: 0.85;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    rgba(21, 29, 14, 0.92) 0%,
    rgba(21, 29, 14, 0.75) 50%,
    rgba(21, 29, 14, 0.35) 100%
  );
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 160px;
  background: linear-gradient(to top, var(--bg-cream) 0%, transparent 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  padding: 110px 32px 64px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.375rem); /* 36px - 54px */
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-on-dark);
  margin-bottom: 20px;
}
.hero h1 em {
  color: var(--grass-bright);
  font-style: normal;
}

.hero-sub {
  font-size: 1.0625rem; /* 17px */
  color: var(--text-sub-dark);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: var(--grass-bright);
  color: var(--forest-dark);
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  box-shadow: 0 4px 16px rgba(155, 184, 89, 0.3);
}
.btn-primary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.btn-primary:hover {
  background: #a9c766;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(155, 184, 89, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.btn-secondary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
}

/* Hero Right Card */
.hero-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hcard-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hstats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.hstat {
  background: var(--surface-cream);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
}

.hstat-l {
  font-size: 0.6875rem; /* 11px */
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.hstat-v {
  font-size: 1.375rem; /* 22px */
  font-weight: 800;
  color: var(--forest-primary);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.hstat-v--sm {
  font-size: 1.125rem; /* 18px for longer words like Podravje */
}

.hstat-s {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.hphone {
  background: var(--forest-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.hphone-l {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grass-bright);
  display: inline-block;
  box-shadow: 0 0 8px var(--grass-bright);
}

.hphone-n {
  font-size: 1.1875rem; /* 19px */
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.hphone-btn {
  background: var(--grass-bright);
  color: var(--forest-dark);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast);
  flex-shrink: 0;
}
.hphone-btn:hover {
  background: #a9c766;
}

.hcard-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-weight: 600;
}
.hcard-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--forest-mid);
}

/* ── 4. Storitve (Services) ── */
.svc-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}

.svc-split-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-subtle);
}
.svc-split-img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.svc-split-text p {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 28px;
}

/* Services Grid */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.svc-item {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.svc-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.svc-item-img-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}
.svc-item-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.svc-item:hover .svc-item-img-wrap img {
  transform: scale(1.04);
}

.svc-item-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.svc-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--forest-primary);
}
.svc-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.svc-item h3 {
  font-size: 1.125rem; /* 18px */
  margin-bottom: 8px;
}

.svc-item p {
  font-size: 0.875rem; /* 14px */
  color: var(--text-muted);
  line-height: 1.7;
}

.svc-item-tag {
  margin-top: auto;
  padding-top: 16px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest-mid);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.svc-item-tag svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* ── 5. Postopek (Process Steps) ── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  margin-top: 48px;
}

.step-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.step-num {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--surface-cream);
  border: 2px solid var(--forest-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--forest-primary);
  box-shadow: 0 0 0 6px rgba(59, 78, 35, 0.08);
}

.step-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── 6. Cene (Transparent Pricing Cards) ── */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}
.price-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.price-card--featured {
  background: linear-gradient(145deg, #2a3b1b 0%, #1a2510 100%);
  border: 1.5px solid rgba(155, 184, 89, 0.45);
  color: #ffffff;
  box-shadow: 0 12px 36px rgba(27, 37, 19, 0.25);
  justify-content: space-between;
}
.price-card--featured h3 {
  color: #ffffff !important;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}
.price-card--featured p {
  color: #edf2e4 !important;
  font-size: 0.9375rem;
  line-height: 1.75;
  font-weight: 450;
}

.price-card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: var(--surface-cream);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--forest-primary);
}
.price-card-icon svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.price-card--featured .price-card-icon {
  background: rgba(155, 184, 89, 0.2);
  border: 1px solid rgba(155, 184, 89, 0.5);
  color: #c4e478;
}

.price-card h3 {
  font-size: 1.125rem;
  margin-bottom: 10px;
}

.price-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.price-notice {
  background: var(--surface-white);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.price-notice svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest-mid);
  flex-shrink: 0;
}
.price-notice p {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.6;
}

/* ── 7. Galerija (Gallery with Lightbox) ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--forest-dark);
  cursor: zoom-in;
}

.gallery-item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
}

.gallery-pill {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
}
.gp-prej {
  background: rgba(20, 28, 14, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.gp-potem {
  background: var(--grass-bright);
  color: var(--forest-dark);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(20, 28, 14, 0.92) 0%, transparent 100%);
  padding: 36px 20px 18px;
  z-index: 2;
}
.gallery-cap p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
}

/* Lightbox Modal */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(14, 20, 10, 0.88);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
  cursor: zoom-out;
}
.lightbox-overlay.active {
  display: flex;
}
.lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: var(--radius-md);
  object-fit: contain;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  cursor: pointer;
  font-size: 24px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ── 8. Recenzije (Testimonials) ── */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.review-stars {
  display: flex;
  gap: 4px;
  color: #f59e0b; /* Warm gold star */
  margin-bottom: 16px;
}
.review-stars svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.review-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 20px;
  font-style: italic;
}

.review-author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-heading);
}

.review-service {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.review-card--action {
  background: linear-gradient(135deg, var(--forest-primary), var(--forest-dark));
  border: none;
  color: #ffffff;
  justify-content: space-between;
  gap: 24px;
}
.review-card--action h3 {
  color: #ffffff;
  font-size: 1.1875rem;
  margin-bottom: 8px;
}
.review-card--action p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.btn-facebook {
  background: var(--grass-bright);
  color: var(--forest-dark);
  font-size: 0.8125rem;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  transition: background-color var(--transition-fast);
}
.btn-facebook svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.btn-facebook:hover {
  background: #a9c766;
}

/* ── 8.5. Pogosta vprašanja (FAQ - SEO Rich Snippets) ── */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.faq-item {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}
.faq-item:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
}

.faq-q {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-heading);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.35;
}
.faq-q svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-a {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.75;
  padding-left: 34px;
}

/* ── Območja delovanja (Local SEO Badges) ── */
.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

.area-badge {
  background: var(--surface-cream);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 6px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--forest-dark);
  letter-spacing: 0.2px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}
.area-badge svg {
  width: 13px;
  height: 13px;
  stroke: var(--forest-primary);
}
.area-badge:hover {
  background: #e6dfcf;
  border-color: var(--forest-primary);
}

/* ── 9. CTA Band ── */
.cta-band {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-primary) 100%);
  padding: 72px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-size: clamp(1.625rem, 3vw, 2.125rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.cta-text p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  max-width: 600px;
}

.cta-btns {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ── 10. Kontakt (Contact & Form) ── */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-wrap h2 {
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  margin-bottom: 12px;
}

.contact-sub {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 32px;
}

.c-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.c-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-medium);
  transform: translateX(2px);
}

.c-ico {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--surface-cream);
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--forest-primary);
}
.c-ico svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}
.c-ico--wa {
  color: #16a34a;
}
.c-ico--fb {
  color: #1877f2;
}

.c-lbl {
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-bottom: 2px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-val {
  font-size: 0.9375rem;
  color: var(--text-heading);
  font-weight: 700;
}
.c-val-sm {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-body);
}

/* Contact Form Card */
.form-card {
  background: var(--surface-white);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-card label {
  font-size: 0.75rem;
  color: var(--text-heading);
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  background: var(--bg-cream);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-heading);
  font-size: 0.9375rem;
  padding: 13px 16px;
  min-height: 48px; /* Touch target minimum */
  font-family: inherit;
  font-weight: 500;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast);
}

.form-card textarea {
  min-height: 104px;
  resize: vertical;
}

.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  background-color: var(--surface-white);
  border-color: var(--forest-primary);
  box-shadow: 0 0 0 3px rgba(59, 78, 35, 0.15);
}

.form-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.form-note svg {
  width: 16px;
  height: 16px;
  stroke: var(--forest-mid);
}

.btn-form {
  background: var(--forest-primary);
  color: var(--text-on-dark);
  font-size: 0.9375rem;
  font-weight: 800;
  padding: 15px;
  min-height: 50px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  width: 100%;
  font-family: inherit;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.btn-form:hover {
  background: var(--forest-dark);
}
.btn-form:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.btn-form .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Form Alerts */
.form-success, .form-error {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  display: none;
}
.form-success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}
.form-error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}
.form-success.active, .form-error.active {
  display: block;
}

/* Honeypot hidden input */
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

/* ── 11. Footer ── */
footer {
  background: #141c0e;
  padding: 44px 32px 36px;
  border-top: 1px solid rgba(155, 184, 89, 0.2);
}

.footer-wrap {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  color: #9bb859;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.footer-contact-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.footer-contact-links a:hover {
  color: #9bb859;
  text-decoration: underline;
}

.footer-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 4px;
}

.footer-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.footer-bottom strong {
  color: #ffffff;
  font-weight: 700;
}

.footer-privacy-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: inherit;
  text-decoration: underline;
  transition: color var(--transition-fast);
}
.footer-privacy-btn:hover {
  color: #9bb859;
}

.footer-admin-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.footer-admin-link:hover {
  color: #9bb859;
  text-decoration: underline;
}

/* ── 12. Modal (Privacy Policy) ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(14, 20, 10, 0.75);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: var(--surface-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px;
  width: 100%;
  max-height: 85vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: var(--surface-cream);
  border: none;
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  cursor: pointer;
  font-size: 18px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}
.modal-close:hover {
  background: var(--border-medium);
  color: var(--text-heading);
}

.modal-box h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.modal-box h3 {
  font-size: 0.9375rem;
  margin: 20px 0 8px;
}

.modal-box p, .modal-box li {
  font-size: 0.8125rem;
  color: var(--text-body);
  line-height: 1.75;
}
.modal-box a {
  color: var(--forest-primary);
  font-weight: 600;
  text-decoration: underline;
}
.modal-box a:hover {
  color: var(--forest-dark);
}

.modal-box ul {
  padding-left: 20px;
  margin-top: 6px;
}

.modal-box .modal-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.modal-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 18px 0;
}

.form-privacy-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: -6px;
}
.form-privacy-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-size: 0.75rem;
  color: var(--forest-primary);
  font-family: inherit;
  text-decoration: underline;
  font-weight: 700;
}
.form-privacy-btn:hover {
  color: var(--forest-dark);
}

.btn-primary--block {
  margin-top: 20px;
  width: 100%;
  justify-content: center;
}

/* ── 13. Responsive Breakpoints ── */

/* Tablet & Mobile (<= 960px) */
@media (max-width: 960px) {
  nav {
    padding: 0 24px;
    height: 68px;
  }
  .nav-links {
    display: none;
  }
  .nav-hamburger {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  
  .hero {
    min-height: auto;
    padding-bottom: 48px;
  }
  .hero-content {
    grid-template-columns: 1fr;
    padding: 92px 24px 32px;
    gap: 40px;
  }
  
  .sec {
    padding: 64px 24px;
  }
  
  .svc-split {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }
  .svc-split-img img {
    height: 280px;
  }
  .svc-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .step-card {
    text-align: left;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    padding: 24px 20px;
  }
  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    font-size: 1.125rem;
  }
  
  .price-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  
  .gallery {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .faq-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .cta-band {
    padding: 56px 24px;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }
  .cta-btns {
    width: 100%;
  }
  .btn-cta-main, .btn-secondary {
    flex: 1;
    justify-content: center;
  }
  
  .contact-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  footer {
    padding: 32px 24px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Small Mobile (<= 560px) */
@media (max-width: 560px) {
  .hero h1 {
    font-size: 2rem; /* 32px */
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary, .btn-secondary {
    width: 100%;
    justify-content: center;
  }
  
  .hstats {
    grid-template-columns: 1fr 1fr;
  }
  .hphone {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .hphone-btn {
    width: 100%;
    text-align: center;
  }
  
  .form-card {
    padding: 24px 18px;
  }
  
  .modal-box {
    padding: 28px 20px;
  }
}

/* ==============================================================================
   8. DEDICATED GALLERY SYSTEM & MASONRY (galerija.html)
   ============================================================================== */

.gallery-hero {
  background: #1b2513;
  background: linear-gradient(145deg, #141c0e 0%, #1f2b15 45%, #2c3c1d 100%);
  color: #ffffff;
  padding: 135px 24px 72px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(155, 184, 89, 0.25);
}

.gallery-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(155, 184, 89, 0.18) 0%, transparent 60%),
              radial-gradient(circle at 15% 85%, rgba(59, 78, 35, 0.35) 0%, transparent 50%);
  pointer-events: none;
}

.gallery-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.gallery-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #cde092;
  margin-bottom: 20px;
}

.gallery-breadcrumbs a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.gallery-breadcrumbs a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.gallery-hero-title {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 18px;
  color: #ffffff !important;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.gallery-hero-title span {
  color: #9bb859 !important;
  text-shadow: 0 0 25px rgba(155, 184, 89, 0.35);
}

.gallery-hero-sub {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 780px;
  line-height: 1.65;
  margin-bottom: 32px;
}

.gallery-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gh-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}

.gh-badge svg {
  width: 16px;
  height: 16px;
  stroke: #9bb859;
}

/* ── Filter Bar ── */
.gallery-filter-section {
  background: var(--cream);
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 90;
  backdrop-filter: blur(12px);
}

.gallery-filter-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.filter-pills-list {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-pill {
  appearance: none;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 9px 18px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.filter-pill:hover {
  background: var(--cream-light);
  border-color: var(--olive-mid);
  transform: translateY(-1px);
}

.filter-pill.active {
  background: var(--forest-dark);
  color: #ffffff;
  border-color: var(--forest-dark);
  box-shadow: 0 4px 14px rgba(27, 37, 19, 0.25);
}

.filter-count {
  font-size: 0.75rem;
  background: rgba(74, 94, 48, 0.12);
  color: var(--forest-dark);
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.25s ease;
}

.filter-pill.active .filter-count {
  background: var(--grass-bright);
  color: var(--forest-dark);
}

.gallery-counter-tag {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* ── Masonry Grid Layout ── */
.gallery-content-section {
  padding: 48px 0 80px;
  background: var(--cream-light);
  min-height: 500px;
}

.gallery-masonry-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.gallery-masonry-grid {
  column-count: 3;
  column-gap: 24px;
  width: 100%;
}

@media (max-width: 1024px) {
  .gallery-masonry-grid {
    column-count: 2;
    column-gap: 20px;
  }
}

@media (max-width: 640px) {
  .gallery-masonry-grid {
    column-count: 1;
    column-gap: 0;
  }
}

/* ── Gallery Card ── */
.gallery-card {
  break-inside: avoid;
  break-inside: avoid-column;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: block;
  width: 100%;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-olive);
}

.gallery-media-wrapper {
  position: relative;
  overflow: hidden;
  background: var(--forest-dark);
  cursor: zoom-in;
}

.gallery-media-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-media-img {
  transform: scale(1.05);
}

.gallery-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 14, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(2px);
}

.gallery-card:hover .gallery-media-overlay {
  opacity: 1;
}

.zoom-circle {
  width: 48px;
  height: 48px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  transform: scale(0.8);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.zoom-circle svg {
  width: 22px;
  height: 22px;
  stroke: var(--forest-dark);
}

.gallery-card:hover .zoom-circle {
  transform: scale(1);
}

.gallery-badge-top {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(20, 28, 14, 0.85);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.gallery-card-content {
  padding: 20px;
}

.gallery-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.meta-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.meta-aspect {
  background: var(--cream);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  color: var(--text-body);
}

.meta-tag.tag-ba {
  background: var(--grass-bright);
  color: var(--forest-dark);
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--forest-dark);
  line-height: 1.35;
  margin-bottom: 8px;
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: var(--text-body);
  line-height: 1.55;
}

/* ── Interactive Before / After Split Slider ── */
.ba-slider-container {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  user-select: none;
  background: var(--forest-dark);
  cursor: ew-resize;
}

.ba-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ba-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-before {
  width: 50%;
  z-index: 2;
  border-right: 2px solid #ffffff;
}

.ba-before img {
  width: 100%;
  min-width: 100%;
}

.ba-label {
  position: absolute;
  bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 6px;
  z-index: 3;
}

.ba-label-before {
  left: 12px;
  background: rgba(20, 28, 14, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.ba-label-after {
  right: 12px;
  background: var(--grass-bright);
  color: var(--forest-dark);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: #ffffff;
  z-index: 4;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: ew-resize;
}

.ba-handle-circle {
  width: 38px;
  height: 38px;
  background: var(--white);
  border: 2px solid var(--forest-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
  color: var(--forest-dark);
  gap: 2px;
}

.ba-handle-circle svg {
  width: 12px;
  height: 12px;
}

.btn-expand-lightbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  background: var(--cream);
  color: var(--forest-dark);
  border: 1px solid var(--border-olive);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-expand-lightbox:hover {
  background: var(--forest-dark);
  color: var(--white);
  border-color: var(--forest-dark);
}

/* ── Fullscreen Lightbox Modal ── */
.gallery-lightbox-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(14, 20, 10, 0.94);
  backdrop-filter: blur(12px);
  padding: 24px;
  flex-direction: column;
  justify-content: space-between;
  animation: fadeIn 0.25s ease;
}

.gallery-lightbox-modal.active {
  display: flex;
}

.lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff;
  padding-bottom: 12px;
}

.lightbox-meta-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lightbox-badge {
  background: var(--grass-bright);
  color: var(--forest-dark);
  font-weight: 800;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.lightbox-counter {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  font-weight: 600;
}

.lightbox-btn-close {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-btn-close:hover {
  background: #ffffff;
  color: var(--forest-dark);
  transform: rotate(90deg);
}

.lightbox-stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  min-height: 0;
}

.lightbox-stage img {
  max-width: 90vw;
  max-height: 68vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
  user-select: none;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(20, 28, 14, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(6px);
  z-index: 10;
}

.lightbox-nav-btn:hover {
  background: var(--grass-bright);
  color: var(--forest-dark);
  border-color: var(--grass-bright);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 12px; }
.lightbox-next { right: 12px; }

.lightbox-bottombar {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  color: #ffffff;
  padding-top: 14px;
}

.lightbox-bottombar h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #ffffff;
}

.lightbox-bottombar p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

/* ── Homepage Preview Showcase Card ── */
.featured-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 900px) {
  .featured-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .featured-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-teaser-cta-wrap {
  text-align: center;
  margin-top: 44px;
}

.btn-gallery-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--forest-dark);
  color: #ffffff;
  padding: 16px 36px;
  border-radius: var(--radius-pill);
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-olive);
  transition: all 0.3s ease;
}

.btn-gallery-all:hover {
  background: var(--olive);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--grass-bright);
}

.btn-gallery-all svg {
  transition: transform 0.25s ease;
}

.btn-gallery-all:hover svg {
  transform: translateX(4px);
}

/* ── Floating Admin Button ── */
.floating-admin-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(20, 28, 14, 0.92);
  color: #ffffff;
  border: 1px solid rgba(155, 184, 89, 0.4);
  backdrop-filter: blur(10px);
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  z-index: 1000;
  transition: all 0.25s ease;
}

.floating-admin-btn svg {
  stroke: var(--grass-bright);
}

.floating-admin-btn:hover {
  background: var(--forest-dark);
  color: var(--grass-bright);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  border-color: var(--grass-bright);
}