/* ========================================
   FotoAnigo - Glavni CSS
   ======================================== */

:root {
  --color-primary: #1a1a1a;
  --color-primary-light: #333;
  --color-accent: #185FA5;
  --color-accent-light: #E6F1FB;
  --color-text: #1a1a1a;
  --color-text-secondary: #666;
  --color-text-tertiary: #999;
  --color-bg: #ffffff;
  --color-bg-secondary: #f7f6f3;
  --color-bg-tertiary: #f1efe8;
  --color-border: rgba(0, 0, 0, 0.08);
  --color-border-strong: rgba(0, 0, 0, 0.15);
  
  --color-viber: #7360F2;
  --color-viber-bg: #F3EDFB;
  --color-whatsapp: #25D366;
  --color-whatsapp-bg: #E5F5EA;
  
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.06);
  
  --container-max: 1200px;
  --container-narrow: 720px;
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }

h1 { font-size: clamp(28px, 5vw, 44px); }
h2 { font-size: clamp(22px, 4vw, 32px); }
h3 { font-size: clamp(17px, 2.5vw, 20px); }

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

.container-narrow { max-width: var(--container-narrow); }

/* ========================================
   NAVIGACIJA
   ======================================== */

.navbar {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(255, 255, 255, 0.95);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  height: 57px;
  text-decoration: none;
}

.logo img {
  height: 100%;
  width: auto;
  max-width: 234px;
  object-fit: contain;
  display: block;
}

.footer .logo {
  height: 62px;
  margin-bottom: 4px;
}

.logo-accent { color: var(--color-accent); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
  border-radius: var(--radius-md);
  transition: background 0.15s;
}

.nav-links a:hover, .nav-links a.active {
  background: var(--color-bg-secondary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 18px;
  transition: transform 0.15s;
}

.nav-icon-btn.viber { background: var(--color-viber-bg); color: var(--color-viber); }
.nav-icon-btn.whatsapp { background: var(--color-whatsapp-bg); color: var(--color-whatsapp); }
.nav-icon-btn:hover { transform: translateY(-1px); }

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--color-text);
  cursor: pointer;
  padding: 4px;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 22px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.15s;
  white-space: nowrap;
}

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-large { padding: 16px 28px; font-size: 15px; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--color-primary);
  color: white;
}
.btn-primary:hover { background: var(--color-primary-light); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn-outline:hover { background: var(--color-bg-secondary); }

.btn-white {
  background: white;
  color: var(--color-text);
}
.btn-white:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-outline-white:hover { background: rgba(255, 255, 255, 0.1); }

.btn-viber {
  background: var(--color-viber);
  color: white;
}
.btn-viber:hover { background: #5d4ed4; }

.btn-whatsapp {
  background: var(--color-whatsapp);
  color: white;
}
.btn-whatsapp:hover { background: #1fb855; }

/* ========================================
   HERO SLIDER
   ======================================== */

.hero-slider {
  position: relative;
  height: clamp(480px, 75vh, 680px);
  overflow: hidden;
  background: #0a0a0a;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1s ease, visibility 1s ease;
  background-size: cover;
  background-position: center;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Cinematic overlay - mračan na lijevoj strani, postupno transparentan desno */
.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.39) 0%, 
    rgba(0, 0, 0, 0.28) 35%, 
    rgba(0, 0, 0, 0.13) 70%, 
    rgba(0, 0, 0, 0.05) 100%);
  z-index: 1;
}

/* Suptilni vinjeta efekt */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 0 clamp(24px, 5vw, 80px);
  max-width: 100%;
  transform: translateY(-50px);
}

.slide-content > * {
  max-width: 540px;
}

/* Lagani lijevi gradijent - slika ostaje vidljiva, tekst i dalje čitljiv */
.slide::before {
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.22) 0%, 
    rgba(0, 0, 0, 0.12) 35%, 
    transparent 70%) !important;
}

/* Eyebrow s linijom */
.slide-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 28px;
}

.slide-eyebrow::before {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: rgba(255, 255, 255, 0.6);
}

.slide-content h1 {
  color: white;
  font-family: 'Playfair Display', 'Inter', serif;
  font-size: clamp(38px, 6.5vw, 72px);
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 22px 0;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7), 0 1px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h1 .accent {
  font-style: italic;
  font-weight: 400;
  color: #e8b4a8;
  display: inline;
}

.slide-content p {
  font-size: clamp(14px, 1.6vw, 17px);
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.65;
  margin: 0 0 36px 0;
  max-width: 480px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7), 0 1px 3px rgba(0, 0, 0, 0.5);
  font-weight: 400;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* Cinematic minimal "link" dugme */
.slide-btn-link {
  background: transparent;
  color: white;
  border: none;
  padding: 0 0 6px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  cursor: pointer;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid white;
  transition: gap 0.25s, opacity 0.2s;
  text-decoration: none;
}

.slide-btn-link:hover {
  gap: 14px;
  opacity: 0.85;
}

.slide-btn-link i {
  font-size: 16px;
}

/* Scroll cue donji lijevi */
.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: clamp(24px, 6vw, 80px);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  font-weight: 500;
}

.scroll-cue i {
  font-size: 14px;
  animation: scrollBounce 2s ease infinite;
}

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

/* Paginacija donji desni - elegantna */
.slide-pagination {
  position: absolute;
  bottom: 32px;
  right: clamp(24px, 6vw, 80px);
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 5;
}

.slide-pagination-num {
  font-size: 12px;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  min-width: 56px;
}

.slide-pagination-num .current {
  color: white;
}

.slide-pagination-num .separator {
  margin: 0 4px;
  opacity: 0.4;
}

.slide-pagination-arrows {
  display: flex;
  gap: 10px;
}

.slide-arrow {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: white;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: background 0.2s, border-color 0.2s;
  position: static;
  transform: none;
}

.slide-arrow:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Klizni indikator (progress bar) - umjesto dotova */
.slide-progress {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 5;
}

.slide-progress-fill {
  height: 100%;
  background: rgba(255, 255, 255, 0.85);
  width: 0%;
  transition: width 0.1s linear;
}

/* Skriveno dot navigation - više se ne koristi, ali ostavljamo za kompatibilnost */
.slide-dots {
  display: none;
}

/* ========================================
   STATISTIKE
   ======================================== */

.stats {
  background: var(--color-bg);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
}


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

.stat-item { text-align: center; }

.stat-number {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

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

/* ========================================
   SECTION HEADER
   ======================================== */

.section-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 20px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 12px;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.section-eyebrow.accent { color: var(--color-accent); }

/* ========================================
   USLUGE
   ======================================== */

.services { padding: 64px 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  /* iOS/Safari clipping fix - forsira composite layer */
  transform: translateZ(0);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
  border-color: var(--color-border-strong);
}

.service-card:hover .service-image {
  transform: scale(1.05);
}

.service-card.featured {
  border: 2px solid var(--color-accent);
}

.badge-new {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 12px;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.service-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e0;
  position: relative;
  transition: transform 0.4s ease;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.service-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.15), transparent 50%);
  pointer-events: none;
  border-top-left-radius: var(--radius-lg);
  border-top-right-radius: var(--radius-lg);
}

.service-icon-overlay {
  position: absolute;
  bottom: -22px;
  left: 22px;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  z-index: 2;
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  border: 3px solid white;
}

.service-card-body {
  padding: 32px 24px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 600;
}

.service-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin: 0 0 16px;
  line-height: 1.5;
  flex: 1;
}

.service-link {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap 0.15s;
}

.service-card:hover .service-link {
  gap: 8px;
}

/* ========================================
   GALERIJA PREVIEW (početna)
   ======================================== */

.gallery-preview {
  background: var(--color-bg-secondary);
  padding: 64px 0;
}

.gallery-grid-preview {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gal-thumb {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
  display: block;
  text-decoration: none;
}

.gal-thumb:hover { transform: scale(1.02); }

.gal-thumb-image {
  background-size: cover;
  background-position: center;
  background-color: #e5e5e0;
}

.gal-thumb-placeholder {
  position: relative;
}

.gal-thumb-placeholder::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.gal-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity 0.25s;
}

.gal-thumb-image .gal-thumb-overlay {
  opacity: 0;
}

.gal-thumb-image:hover .gal-thumb-overlay {
  opacity: 1;
}

/* Placeholderi i fallback gradijenti uvijek imaju overlay */
.gal-thumb-placeholder .gal-thumb-overlay,
.gal-thumb:not(.gal-thumb-image) .gal-thumb-overlay {
  opacity: 1;
}

.gal-thumb-overlay span {
  color: white;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ========================================
   GALERIJA STRANICA
   ======================================== */

.gallery-section { padding: 40px 0 80px; }

.filter-bar {
  display: flex;
  gap: 8px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-bar::-webkit-scrollbar { display: none; }

.filter-btn {
  padding: 8px 18px;
  background: var(--color-bg-secondary);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.filter-btn:hover { border-color: var(--color-border-strong); }

.filter-btn.active {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.filter-btn span { opacity: 0.7; }

.gallery-full {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.gal-item {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-md);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.2s;
}

.gal-item:hover { transform: scale(1.02); }

.gal-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gal-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 14px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent 50%);
}

.gal-overlay span {
  color: white;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-load-more {
  display: flex;
  margin: 32px auto 0;
}

/* ========================================
   BEFORE / AFTER COMPARATOR
   ======================================== */

.before-after-section {
  padding: 64px 0;
  background: var(--color-bg-secondary);
}

.before-after-wrapper {
  max-width: 800px;
  margin: 32px auto 0;
}

.before-after {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  user-select: none;
  cursor: ew-resize;
}

.ba-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.ba-after {
  z-index: 1;
}

.ba-before {
  z-index: 2;
  clip-path: inset(0 50% 0 0);
}

.ba-label {
  position: absolute;
  top: 16px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ba-label-before {
  left: 16px;
}

.ba-label-after {
  right: 16px;
}

.ba-slider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: white;
  z-index: 3;
  transform: translateX(-50%);
  pointer-events: none;
}

.ba-slider-line {
  width: 100%;
  height: 100%;
  background: white;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
}

.ba-slider-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  cursor: ew-resize;
  pointer-events: auto;
  color: #4F7517;
  font-size: 18px;
  gap: 0;
}

.ba-slider-handle i {
  font-size: 18px;
  margin: 0 -3px;
}

.ba-slider-handle:hover {
  transform: translate(-50%, -50%) scale(1.05);
}

@media (max-width: 768px) {
  .before-after-section {
    padding: 40px 0;
  }
  
  .before-after-wrapper {
    margin-top: 20px;
  }
  
  .ba-slider-handle {
    width: 42px;
    height: 42px;
  }
  
  .ba-slider-handle i {
    font-size: 16px;
  }
  
  .ba-label {
    font-size: 10px;
    padding: 5px 11px;
    top: 12px;
  }
  
  .ba-label-before { left: 12px; }
  .ba-label-after { right: 12px; }
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: lbFadeIn 0.2s ease;
}

@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lb-image-container {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lb-close, .lb-prev, .lb-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  transition: background 0.15s;
  z-index: 10;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lb-close:hover, .lb-prev:hover, .lb-next:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }

.lb-counter {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 13px;
  background: rgba(0, 0, 0, 0.5);
  padding: 6px 14px;
  border-radius: 14px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (max-width: 768px) {
  .lb-close, .lb-prev, .lb-next {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .lb-close { top: 14px; right: 14px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-image-container { max-width: 96%; }
}

/* ========================================
   CTA SEKCIJA (početna)
   ======================================== */

.cta-section { padding: 64px 0; }

.cta-box {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-xl);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.cta-content h2 { margin: 4px 0 14px; }

.cta-content p {
  color: var(--color-text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cta-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.step-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.step-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.step-title {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}

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

/* ========================================
   PAGE HEADER (unutarnje stranice)
   ======================================== */

.page-header {
  background: var(--color-bg-secondary);
  padding: 48px 0;
  text-align: center;
}

.page-header h1 { margin: 4px 0 12px; }

.page-header p {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Sakrij page-header tekstove dok se ne učitaju iz JSON-a (sprječava flicker hardkodiranih vrijednosti).
   Pravilo cilja samo elemente sa data-content - stranice bez data-content (galerija, kontakt, usluge) se ne sakrivaju. */
.page-header [data-content],
.page-header [data-html] {
  opacity: 0;
  transition: opacity 0.15s ease;
}
body.loaded .page-header [data-content],
body.loaded .page-header [data-html] {
  opacity: 1;
}

.wedding-header {
  background: linear-gradient(135deg, #FBEAF0, #f7f6f3);
}

/* ========================================
   QUALITY PROMISE - online izrada
   ======================================== */

.quality-promise {
  padding: 40px 0 0;
}

.promise-box {
  background: linear-gradient(135deg, #FBEAF0 0%, #F3EDFB 100%);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  max-width: 1000px;
  margin: 0 auto;
}

.promise-image {
  background-size: cover;
  background-position: center;
  min-height: 380px;
  position: relative;
}

.promise-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(75, 21, 40, 0.15));
}

.promise-content {
  padding: 40px;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promise-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 18px;
  font-size: 26px;
  color: #993556;
  box-shadow: 0 4px 14px rgba(153, 53, 86, 0.12);
}

.promise-content h2 {
  font-size: clamp(20px, 2.5vw, 26px);
  margin: 0 0 16px;
  color: #4B1528;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.promise-content p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #5C2D40;
  margin: 0 0 12px;
}

.promise-content p:last-child {
  margin-bottom: 0;
}

.promise-content strong {
  color: #4B1528;
  font-weight: 600;
}

.promise-tagline {
  font-style: italic;
  font-size: 15px !important;
  color: #993556 !important;
  padding-top: 14px;
  border-top: 1px solid rgba(153, 53, 86, 0.15);
  margin-top: 8px;
}

/* ========================================
   PROCES IZRADE - galerija slike
   ======================================== */

.process-showcase {
  padding: 64px 0;
  background: var(--color-bg-secondary);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.showcase-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.showcase-content h2 {
  margin: 8px 0 16px;
}

.showcase-content p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 14px;
}

.showcase-features {
  list-style: none;
  margin-top: 20px;
}

.showcase-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 14px;
}

.showcase-features li i {
  font-size: 20px;
  color: #1D9E75;
  flex-shrink: 0;
  margin-top: 1px;
}

@media (max-width: 768px) {
  .promise-box {
    grid-template-columns: 1fr;
  }
  
  .promise-image {
    min-height: 240px;
    aspect-ratio: 4 / 3;
  }
  
  .promise-content {
    padding: 28px 24px;
  }
  
  .promise-icon {
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-bottom: 14px;
  }
  
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .showcase-content {
    text-align: center;
  }
  
  .showcase-features li {
    text-align: left;
  }
  
  .process-showcase {
    padding: 40px 0;
  }
}

/* ========================================
   CONTACT CARDS GRID - kontakt stranica
   ======================================== */

.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.contact-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  position: relative;
}

.contact-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: var(--color-border-strong);
}

.contact-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  color: var(--color-text);
}

.contact-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.contact-card-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-accent);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.15s;
  margin-top: 4px;
}

.contact-card:hover .contact-card-link {
  gap: 9px;
}

@media (max-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .contact-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 16px;
    row-gap: 6px;
    padding: 18px 18px;
    align-items: start;
  }
  
  .contact-card-icon {
    grid-row: 1 / 4;
    grid-column: 1;
    width: 48px;
    height: 48px;
    font-size: 22px;
    margin-top: 2px;
  }
  
  .contact-card h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 16px;
  }
  
  .contact-card p {
    grid-column: 2;
    grid-row: 2;
    font-size: 13.5px;
    line-height: 1.5;
  }
  
  .contact-card-link {
    grid-column: 2;
    grid-row: 3;
    font-size: 13.5px;
    margin-top: 2px;
  }
}

/* ========================================
   MAP SECTION - Google maps na kontakt
   ======================================== */

.map-section {
  padding: 0 0 80px;
  background: var(--color-bg);
}

.map-header {
  text-align: center;
  margin-bottom: 32px;
}

.map-header h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin: 8px 0 12px;
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.map-header p {
  color: var(--color-text-secondary);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

.map-wrapper {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--color-border);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 450px;
  border: 0;
}

.map-overlay-card {
  position: absolute;
  top: 16px;
  right: 16px;
  background: white;
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 260px;
  z-index: 2;
}

.map-overlay-icon {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  flex-shrink: 0;
}

.map-overlay-content {
  flex: 1;
  min-width: 0;
}

.map-overlay-title {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--color-text);
  margin-bottom: 2px;
  line-height: 1.25;
}

.map-overlay-address {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.35;
  margin-bottom: 8px;
}

.map-overlay-address i {
  font-size: 12px;
  color: #185FA5;
  margin-top: 1px;
  flex-shrink: 0;
}

.map-directions-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.map-directions-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(24, 95, 165, 0.3);
}

.map-directions-btn i {
  font-size: 13px;
}

@media (max-width: 768px) {
  .map-section {
    padding: 0 0 50px;
  }
  
  .map-wrapper iframe {
    height: 380px;
  }
  
  .map-overlay-card {
    position: relative;
    top: auto;
    right: auto;
    margin: -36px 14px 0;
    max-width: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    padding: 14px 16px;
  }
  
  .map-overlay-title {
    font-size: 14.5px;
  }
  
  .map-overlay-address {
    font-size: 12.5px;
  }
  
  .map-directions-btn {
    padding: 8px 14px;
    font-size: 13px;
  }
  
  .map-wrapper {
    border-radius: 14px;
    overflow: visible;
  }
  
  .map-wrapper iframe {
    border-radius: 14px;
  }
}

/* ========================================
   CONTACT INFO - kontakt stranica
   ======================================== */

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.contact-info-card {
  background: var(--color-bg-secondary);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
}

.contact-info-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 14px;
}

.contact-info-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.contact-info-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin: 0 0 12px;
}

.contact-info-card p strong {
  color: var(--color-text);
  font-weight: 500;
}

.contact-info-card a {
  color: var(--color-text);
  font-weight: 500;
  border-bottom: 1px dotted var(--color-text-tertiary);
}

.contact-info-card a:hover {
  border-bottom-style: solid;
  color: var(--color-accent);
}

.contact-info-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  color: var(--color-accent) !important;
  font-weight: 500;
  border-bottom: none !important;
  margin-top: 4px;
}

.contact-info-link:hover {
  text-decoration: underline;
}

.contact-bottom-note {
  margin-top: 40px;
  text-align: center;
  padding: 24px;
  border-top: 1px solid var(--color-border);
}

.contact-bottom-note p {
  color: var(--color-text-secondary);
  font-size: 14px;
  margin: 0 0 4px;
}

.contact-signature {
  font-style: italic;
  font-size: 16px !important;
  color: var(--color-text) !important;
  margin-top: 8px !important;
}

.contact-signature strong {
  letter-spacing: 0.05em;
  color: var(--color-accent);
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  
  /* Manje prostora ispod "Vaš FOTO ANIGO" potpisa */
  .contact-bottom-note {
    margin-top: 20px;
    padding: 14px 12px 12px;
  }
  
  .contact-bottom-note p {
    font-size: 13px;
  }
  
  .contact-signature {
    font-size: 15px !important;
    margin-top: 6px !important;
  }
}

/* ========================================
   OBJECTS GALLERY - fotografiranje objekata
   ======================================== */

.objects-gallery {
  padding: 64px 0;
  background: var(--color-bg-secondary);
}

.objects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 14px;
}

.object-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.object-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.object-item.object-large {
  grid-column: span 2;
  grid-row: span 2;
  height: 100%;
}

.object-item.object-wide {
  grid-column: span 2;
}

.object-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.object-overlay span {
  color: white;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.object-overlay span i {
  font-size: 18px;
}

/* ========================================
   OBJEKTI - PORTFOLIO GALERIJA (kategorije + galerije)
   ======================================== */

.og-portfolio {
  padding: 64px 0;
}

.og-category-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 8px;
}

.og-category-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: #ece9e2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s, outline-color 0.2s;
  outline: 3px solid transparent;
  outline-offset: -3px;
}

.og-category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.og-category-card.active {
  outline-color: #854F0B;
}

.og-category-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.og-category-card:hover .og-category-card-image {
  transform: scale(1.05);
}

.og-category-card-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  color: #c9a876;
  background: linear-gradient(135deg, #FAEEDA, #f7f6f3);
}

.og-category-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
}

.og-category-card.no-cover .og-category-card-overlay {
  background: none;
}

.og-category-card:not(.no-cover) .og-category-card-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
}

.og-category-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 600;
}

.og-category-card:not(.no-cover) .og-category-card-name { color: white; }
.og-category-card.no-cover .og-category-card-name { color: #4A2C06; }

.og-category-card-count {
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

.og-category-card:not(.no-cover) .og-category-card-count { color: rgba(255, 255, 255, 0.85); }
.og-category-card.no-cover .og-category-card-count { color: #854F0B; }

.og-select-hint {
  text-align: center;
  padding: 30px 20px;
  color: var(--color-text-secondary);
  font-size: 14.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.og-select-hint i {
  color: var(--color-accent, #185FA5);
}

.og-category-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 18px;
}

.og-category-heading i {
  color: #854F0B;
}

.og-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.og-gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  background-color: #ece9e2;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}

.og-gallery-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.og-gallery-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s;
}

.og-gallery-card:hover .og-gallery-card-image {
  transform: scale(1.05);
}

.og-gallery-card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75), transparent 55%);
}

.og-gallery-card-name {
  color: white;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
}

.og-gallery-card-count {
  color: rgba(255, 255, 255, 0.85);
  font-size: 12.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
}

@media (max-width: 968px) {
  .og-cards-row,
  .og-category-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .og-portfolio {
    padding: 40px 0;
  }

  .og-cards-row,
  .og-category-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .og-gallery-card-name,
  .og-category-card-name {
    font-size: 15px;
  }

  .og-category-heading {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .og-cards-row {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 768px) {
  .objects-gallery {
    padding: 40px 0;
  }
  
  .objects-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: 10px;
  }
  
  .object-item.object-large {
    grid-column: span 2;
    grid-row: span 1;
  }
  
  .object-item.object-wide {
    grid-column: span 2;
  }
  
  .object-overlay {
    opacity: 1;
    padding: 12px;
  }
  
  .object-overlay span {
    font-size: 12px;
  }
}

/* ========================================
   ONLINE IZRADA - FORMA
   ======================================== */

.order-section { padding: 40px 0 80px; }

.send-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  padding: 4px;
  background: var(--color-bg-secondary);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.send-tab {
  padding: 10px;
  background: transparent;
  color: var(--color-text-secondary);
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.15s;
}

.send-tab.active {
  background: var(--color-bg);
  color: var(--color-text);
  box-shadow: var(--shadow-sm);
}

.tab-content { display: none; }
.tab-content.active { display: block; }

.upload-area {
  border: 2px dashed var(--color-border-strong);
  border-radius: var(--radius-lg);
  padding: 40px 20px;
  text-align: center;
  background: var(--color-bg-secondary);
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 16px;
}

.upload-area:hover, .upload-area.dragover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

.upload-icon {
  font-size: 40px;
  color: var(--color-text-secondary);
  display: block;
  margin-bottom: 12px;
}

.upload-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 4px;
}

.upload-subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

.upload-hint {
  font-size: 11px;
  color: var(--color-text-tertiary);
}

/* === UPLOAD SIZE INFO (progress traka) === */
.upload-size-info {
  margin: 12px 0 16px;
  padding: 10px 14px;
  background: linear-gradient(135deg, #F5F9FF, #EAF1F9);
  border: 1px solid #d9e3ee;
  border-radius: 10px;
}

.upload-size-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  margin-bottom: 6px;
  gap: 8px;
  flex-wrap: wrap;
}

.upload-size-text {
  color: var(--color-text);
}

.upload-size-text strong {
  color: #185FA5;
  font-weight: 700;
}

.upload-size-remaining {
  font-size: 11.5px;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

.upload-size-bar {
  height: 6px;
  background: #e8ecf2;
  border-radius: 3px;
  overflow: hidden;
}

.upload-size-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #185FA5, #2E7BC4);
  transition: width 0.25s ease, background 0.25s ease;
  border-radius: 3px;
}

@media (max-width: 480px) {
  .upload-size-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
}

.file-preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 8px;
  margin-bottom: 16px;
}

.file-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--color-bg-secondary);
}

.file-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.file-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.message-app-card {
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 16px;
  border: 1px solid;
}

.viber-card {
  background: var(--color-viber-bg);
  border-color: rgba(115, 96, 242, 0.2);
}

.whatsapp-card {
  background: var(--color-whatsapp-bg);
  border-color: rgba(37, 211, 102, 0.2);
}

.app-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.app-card-header i { font-size: 28px; }

.message-app-card p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 16px;
  color: var(--color-text-secondary);
}

.app-card-btn {
  display: block;
  text-align: center;
  padding: 14px;
  color: white;
  text-decoration: none;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 12px;
}

.viber-btn { background: var(--color-viber); }
.whatsapp-btn { background: var(--color-whatsapp); }

.app-card-note {
  font-size: 12px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.4;
}

.form-section { margin-bottom: 24px; }

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--color-text);
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-bg);
  margin-bottom: 8px;
  transition: border-color 0.15s;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

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

.form-hint {
  font-size: 12px;
  color: var(--color-text-tertiary);
  margin-top: 8px;
  display: flex;
  align-items: flex-start;
  gap: 4px;
  line-height: 1.4;
}

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

.format-option { cursor: pointer; }
.format-option input { display: none; }

.format-card {
  padding: 14px;
  border: 1px solid var(--color-border-strong);
  background: var(--color-bg);
  border-radius: var(--radius-md);
  text-align: center;
  transition: all 0.15s;
}

.format-option input:checked + .format-card,
.format-option.active .format-card {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
}

/* Selected format koji ima badge "Popularno" - tamnija pozadina */
.format-option input:checked + .format-card:has(.format-badge),
.format-option.active .format-card:has(.format-badge) {
  background: #BFD8EE;
}

.format-size {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.format-price {
  font-size: 12px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

.format-option input:checked + .format-card .format-size,
.format-option.active .format-card .format-size {
  color: #0C447C;
}

.format-option input:checked + .format-card .format-price,
.format-option.active .format-card .format-price {
  color: #185FA5;
}

.paper-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.paper-option {
  position: relative;
  padding: 12px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.15s;
}

.paper-option input { display: none; }

/* 1. Papir koji je 'Popularno' za odabrani format - svjetla plava da se ističe kao preporuka.
      Aktivira se samo kad NIJE selected (kad je selected, prevladava pravilo ispod). */
.paper-option:has(.paper-popular-badge):not(.active):not(:has(input:checked)) {
  background: var(--color-accent-light);
  border-color: var(--color-accent);
}

/* 2. Selected papir - TAMNIJA plava (prevladava nad 'Popularno'). 
      Bilo da je popularan ili ne, ako je odabran, tamniji je. */
.paper-option:has(input:checked),
.paper-option.active {
  border-color: var(--color-accent);
  background: #BFD8EE;
  color: #0C447C;
  font-weight: 500;
}

/* Disabled paper - greyed out, nije moguće kliknuti */
.paper-option.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
  background: #f5f5f0;
  color: #999;
  pointer-events: auto; /* zadržavamo da tooltip radi */
}

.paper-option.is-disabled:hover {
  border-color: var(--color-border-strong);
  background: #f5f5f0;
}

/* Popular badge na paper - identičan stil kao .format-badge (unutar bordera, bez ikone) */
.paper-popular-badge {
  position: absolute;
  top: -10px;
  right: 8px;
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.paper-option.is-disabled .paper-popular-badge {
  display: none;
}

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

.qty-display {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-accent);
}

/* === QTY AUTO DISPLAY (kad je upload aktivan) === */
.qty-auto-display {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: linear-gradient(135deg, #F5F9FF, #EAF1F9);
  border: 1px solid #d9e3ee;
  border-radius: 14px;
  margin-top: 8px;
}

.qty-auto-display > i {
  font-size: 32px;
  color: #185FA5;
  flex-shrink: 0;
}

.qty-auto-count {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.1;
}

.qty-auto-count #qtyAutoNumber {
  color: #185FA5;
  font-size: 28px;
}

.qty-auto-hint {
  font-size: 12.5px;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* === QTY MANUAL INPUT === */
.qty-input-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-top: 8px;
  max-width: 220px;
}

.qty-input-large {
  width: 100%;
  font-size: 22px;
  font-weight: 700;
  padding: 14px 60px 14px 18px;
  border: 2px solid #d9e3ee;
  border-radius: 12px;
  color: var(--color-text);
  transition: border-color 0.15s;
}

.qty-input-large:focus {
  outline: none;
  border-color: #185FA5;
}

.qty-input-suffix {
  position: absolute;
  right: 14px;
  font-size: 13px;
  color: var(--color-text-secondary);
  pointer-events: none;
}

.qty-slider {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  background: var(--color-border);
  border-radius: 2px;
  outline: none;
}

.qty-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
  box-shadow: 0 0 0 1px var(--color-accent);
}

.qty-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: var(--color-accent);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid white;
}

.qty-bounds {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-text-tertiary);
  margin-top: 6px;
}

.total-box {
  background: linear-gradient(135deg, #FAFAF7, #F0F4F8);
  border: 1px solid #E0E5EB;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
}

.total-breakdown {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-bottom: 14px;
  border-bottom: 1px dashed rgba(0,0,0,0.1);
  margin-bottom: 14px;
  font-size: 14px;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-text-secondary);
}

.breakdown-row span:last-child {
  font-weight: 500;
  color: var(--color-text);
}

.breakdown-discount span:last-child,
.discount-value {
  color: #2a7a2a !important;
  font-weight: 600 !important;
}

.total-final {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}

.total-price {
  font-size: 28px;
  font-weight: 700;
  color: #185FA5;
  letter-spacing: -0.02em;
}

.total-time {
  text-align: right;
  font-size: 14px;
  font-weight: 500;
}

.total-time > div:last-child {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--color-text);
}

.qty-discount-hint {
  margin-top: 10px;
  padding: 10px 14px;
  background: #FFF8E1;
  border-left: 3px solid #F4B400;
  border-radius: 6px;
  font-size: 13px;
  color: #5C4400;
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-discount-hint i {
  font-size: 16px;
  flex-shrink: 0;
}

.qty-discount-hint strong {
  color: #1a1a1a;
}

/* === SAKRIVANJE CIJENA (kad admin isključi prikaz cijena u online izradi) === */
/* Aktivira se kada body ima klasu .prices-hidden, postavljanu iz order-form.js */
body.prices-hidden .format-price,
body.prices-hidden .tier-table-section,
body.prices-hidden .qty-discount-hint,
body.prices-hidden .delivery-price-block,
body.prices-hidden .total-box {
  display: none !important;
}

/* === TIER TABLE - tablica cijena po količini === */
.tier-table-section {
  margin-bottom: 24px;
  padding: 16px 18px;
  background: linear-gradient(135deg, #F5F9FF, #EAF1F9);
  border-radius: 14px;
  border: 1px solid #d9e3ee;
}

.tier-table-title {
  font-size: 13px;
  font-weight: 600;
  color: #185FA5;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-table-title i {
  font-size: 16px;
}

.tier-rows {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.tier-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: white;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
  transition: all 0.2s;
}

.tier-row.is-active-tier {
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  border-color: #185FA5;
  box-shadow: 0 4px 12px rgba(24, 95, 165, 0.25);
  transform: scale(1.02);
}

.tier-range {
  font-weight: 500;
  color: var(--color-text);
}

.tier-row.is-active-tier .tier-range {
  color: white;
  font-weight: 600;
}

.tier-price {
  font-weight: 700;
  color: #185FA5;
  font-size: 15px;
}

.tier-price small {
  font-weight: 400;
  font-size: 11px;
  color: var(--color-text-secondary);
  margin-left: 2px;
}

.tier-row.is-active-tier .tier-price {
  color: white;
}

.tier-row.is-active-tier .tier-price small {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 480px) {
  .tier-table-section {
    padding: 12px 14px;
  }
  .tier-row {
    padding: 7px 10px;
    font-size: 13px;
  }
  .tier-price {
    font-size: 14px;
  }
}

.format-badge {
  position: absolute;
  top: -10px;
  right: 8px;
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.format-card {
  position: relative;
}

/* === DELIVERY OPTIONS === */
.delivery-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.delivery-option {
  cursor: pointer;
  display: block;
}

.delivery-option input[type="radio"] {
  display: none;
}

.delivery-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: white;
  transition: border-color 0.15s, background 0.15s;
}

.delivery-option:hover .delivery-card {
  border-color: #b0c8e0;
  background: #fafcff;
}

.delivery-option.active .delivery-card {
  border-color: #185FA5;
  background: linear-gradient(135deg, #f5f9ff, #fff);
  box-shadow: 0 0 0 3px rgba(24, 95, 165, 0.08);
}

.delivery-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #E6F1FB;
  color: #185FA5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.delivery-option.active .delivery-icon {
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
}

.delivery-content {
  flex: 1;
  min-width: 0;
}

.delivery-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.delivery-desc {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.delivery-price-block {
  flex-shrink: 0;
}

.delivery-price {
  font-size: 14px;
  font-weight: 600;
  color: #185FA5;
}

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

@media (max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .delivery-card { padding: 12px 14px; gap: 10px; }
  .delivery-icon { width: 38px; height: 38px; font-size: 18px; }
  .delivery-name { font-size: 14px; }
  .delivery-desc { font-size: 12px; }
}

/* === BLOG === */
.blog-section {
  padding: 64px 0;
  background: var(--color-bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.blog-card {
  background: white;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.08);
}

.blog-card-image {
  width: 100%;
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #e5e5e0;
  position: relative;
}

.blog-card-image-fallback {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: rgba(0,0,0,0.15);
}

.blog-card-image[style*="url('')"] .blog-card-image-fallback,
.blog-card-image:not([style*="url("]) .blog-card-image-fallback {
  display: flex;
}

.blog-card-content {
  padding: 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-date {
  font-size: 12px;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 8px;
}

.blog-card-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-text);
  margin: 0 0 10px;
  line-height: 1.3;
  font-family: 'Playfair Display', serif;
}

.blog-card-excerpt {
  font-size: 14.5px;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin: 0 0 16px;
  flex: 1;
}

.blog-card-readmore {
  font-size: 13.5px;
  font-weight: 600;
  color: #185FA5;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.15s;
}

.blog-card:hover .blog-card-readmore {
  gap: 10px;
}

/* Single post */
.blog-post {
  padding: 40px 0 80px;
  background: white;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--color-text-secondary);
  text-decoration: none;
  margin-bottom: 24px;
  font-weight: 500;
}

.back-link:hover {
  color: #185FA5;
}

.blog-post-meta {
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 14px;
}

.blog-post-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.blog-post h1 {
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 30px;
  color: var(--color-text);
}

.blog-post-cover {
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  margin-bottom: 36px;
  display: none;
}

.blog-post-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text);
  max-width: 720px;
}

.blog-post-body p {
  margin: 0 0 18px;
}

.blog-post-body h2,
.blog-post-body h3 {
  margin: 32px 0 14px;
  font-family: 'Playfair Display', serif;
  color: var(--color-text);
}

.blog-post-body h3 {
  font-size: 22px;
  font-weight: 600;
}

.blog-post-body img {
  max-width: 100%;
  border-radius: 10px;
  margin: 20px 0;
}

.blog-post-body a {
  color: #185FA5;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .blog-section { padding: 40px 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 18px; }
  .blog-post h1 { font-size: 28px; }
  .blog-post-cover { height: 220px; }
  .blog-post-body { font-size: 15px; }
}

/* === BLOG END === */


.testimonials-section {
  padding: 64px 0;
  background: var(--color-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: 1100px;
  margin: 36px auto 0;
}

.testimonial-card {
  background: white;
  padding: 28px 26px;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.06);
}

.testimonial-card::before {
  content: "\""; 
  position: absolute;
  top: 14px;
  right: 22px;
  font-size: 70px;
  line-height: 1;
  color: rgba(24, 95, 165, 0.08);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  pointer-events: none;
}

.testimonial-stars {
  color: #F4B400;
  font-size: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  margin-top: 4px;
}

.testimonial-author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #185FA5, #2E7BC4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.testimonial-author-name {
  font-weight: 600;
  color: var(--color-text);
  font-size: 14.5px;
}

.testimonial-author-role {
  font-size: 12.5px;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .testimonials-section { padding: 44px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 16px; }
  .testimonial-card { padding: 22px 20px; }
}

/* === TESTIMONIALS SECTION END === */


.order-success-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.order-success-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.order-success-box {
  position: relative;
  background: white;
  border-radius: 18px;
  padding: 40px 36px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
}

@keyframes modalSlideUp {
  from { transform: translateY(30px) scale(0.95); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.order-success-box .success-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 76px;
  color: #2a7a2a;
  animation: iconBounce 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 0.15s both;
}

@keyframes iconBounce {
  from { transform: scale(0); }
  to { transform: scale(1); }
}

.order-success-box h2 {
  font-size: 24px;
  margin-bottom: 8px;
  color: var(--color-text);
  font-weight: 700;
}

.order-success-box > p {
  color: var(--color-text-secondary);
  font-size: 15px;
  margin-bottom: 24px;
  line-height: 1.5;
}

.success-order-info {
  background: linear-gradient(135deg, #f5f9ff, #e6f1fb);
  border: 1px dashed #b0c8e0;
  padding: 14px 18px;
  border-radius: 12px;
  margin-bottom: 24px;
}

.success-order-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #185FA5;
  font-weight: 600;
  margin-bottom: 4px;
}

.success-order-id {
  font-size: 22px;
  font-weight: 700;
  color: #185FA5;
  font-family: monospace;
  letter-spacing: 0.05em;
}

.success-steps {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  text-align: left;
}

.success-step {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  background: #fafaf6;
  border-radius: 10px;
  font-size: 14px;
  color: var(--color-text);
}

.success-step i {
  font-size: 22px;
  color: #185FA5;
  flex-shrink: 0;
}

.success-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.success-actions .btn {
  flex: 1;
  max-width: 160px;
}

.success-help {
  font-size: 13px;
  color: var(--color-text-secondary);
}

.success-help a {
  color: #185FA5;
  text-decoration: none;
  font-weight: 600;
}

.success-help a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .order-success-box { padding: 30px 22px; }
  .order-success-box h2 { font-size: 20px; }
  .order-success-box .success-icon { font-size: 60px; width: 60px; height: 60px; }
  .success-order-id { font-size: 18px; }
  .success-actions { flex-direction: column; }
  .success-actions .btn { max-width: none; }
}

.form-status {
  margin-top: 16px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 14px;
  display: none;
}

.form-status.success {
  display: block;
  background: #E1F5EE;
  color: #085041;
  border: 1px solid #9FE1CB;
}

.form-status.error {
  display: block;
  background: #FCEBEB;
  color: #791F1F;
  border: 1px solid #F7C1C1;
}

/* ========================================
   KAKO RADI
   ======================================== */

.how-it-works {
  background: var(--color-bg-secondary);
  padding: 64px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  border: 1px solid var(--color-border);
}

.step-icon-large {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
}

.step-card h3 { margin-bottom: 8px; }

.step-card p {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ========================================
   PAKETI ZA VJENČANJA
   ======================================== */

.packages { padding: 64px 0; }

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  align-items: stretch;
}

.package-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.package-card.featured {
  border: 2px solid var(--color-accent);
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.package-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.package-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.package-tier {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
}

.package-name {
  font-size: 20px;
  font-weight: 600;
  margin-top: 2px;
}

.package-icon { font-size: 32px; }

.package-desc {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 18px;
  line-height: 1.5;
}

.package-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 20px;
}

.price-amount {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 16px;
  color: var(--color-text-secondary);
}

.package-features {
  list-style: none;
  margin-bottom: 24px;
  flex: 1;
}

.package-features li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  padding: 6px 0;
  color: var(--color-text);
}

.package-features li i {
  font-size: 18px;
  color: #1D9E75;
  flex-shrink: 0;
  margin-top: 1px;
}

.package-features li.disabled {
  color: var(--color-text-tertiary);
}

.package-features li.disabled i {
  color: var(--color-text-tertiary);
}

.package-features li.disabled span {
  text-decoration: line-through;
}

/* ========================================
   ADDONS
   ======================================== */

.addons {
  background: var(--color-bg-secondary);
  padding: 64px 0;
}

.addons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.addon-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.addon-item > i { font-size: 26px; }

.addon-content { flex: 1; }

.addon-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--color-text);
}

.addon-desc {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.addon-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

/* ========================================
   WEDDING CTA
   ======================================== */

.wedding-cta { padding: 64px 0; }

.wedding-cta-box {
  background: linear-gradient(135deg, #FBEAF0, #f7f6f3);
  border-radius: var(--radius-xl);
  padding: 48px 32px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.wedding-cta-box > i {
  font-size: 44px;
  color: #993556;
  margin-bottom: 16px;
}

.wedding-cta-box h3 {
  font-size: 22px;
  margin-bottom: 8px;
  color: #4B1528;
}

.wedding-cta-box p {
  color: #72243E;
  margin-bottom: 24px;
  line-height: 1.6;
}

.wedding-cta-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  background: var(--color-bg-tertiary);
  padding: 48px 0 12px;
  border-top: 1px solid var(--color-border);
}

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

.footer-brand p {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 320px;
}

.footer-tagline {
  font-size: 14px !important;
  color: var(--color-text) !important;
  font-weight: 500;
  font-style: italic;
  margin-top: 14px !important;
  margin-bottom: 2px !important;
  letter-spacing: 0.01em;
}

.footer-brand .footer-tagline + p {
  margin-top: 2px;
}

.footer-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
}

.footer-links a, .footer-links li {
  color: var(--color-text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

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

.social-icons {
  display: flex;
  gap: 8px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  font-size: 16px;
  transition: transform 0.15s;
}

.social-icons a:hover { transform: translateY(-2px); }

.footer-bottom {
  padding-top: 12px;
  border-top: 1px solid var(--color-border);
  text-align: center;
  font-size: 12px;
  color: var(--color-text-tertiary);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--color-text-tertiary);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: #185FA5;
}

/* ========================================
   CUSTOM SVG ikone za Viber, WhatsApp i Messenger
   (zamjenjuju Tabler font ikone koje nisu pouzdane)
   ======================================== */

.ti-brand-viber,
.ti-brand-whatsapp,
.ti-brand-messenger {
  display: inline-block !important;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  font-family: inherit !important;
}

.ti-brand-viber::before,
.ti-brand-whatsapp::before,
.ti-brand-messenger::before {
  content: none !important;
  display: none !important;
}

.ti-brand-viber {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-2.5 2.5-5.5 3.6-7.4 3.1-2.8-.7-3.5-4-3.5-8.9l.1-85.7c-.1 0-.1 0 0 0-101.7-28.2-95.7-134.4-94.7-189.2 1-54.8 11.7-99.7 42.7-130.3 55.8-50.4 170.5-43 170.5-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 43.6 209.3z'/><path fill='black' d='M291.9 116.4c-3.1-.1-3.7 4.6-.3 4.9 28 1.5 51.2 11 69.7 30.7 16.9 18.1 25.2 38.5 25.5 65.5 0 3.4 4.7 3.5 4.7 0-.4-28.4-9.5-50.9-27.4-70-19-19.7-43.6-30.3-72.2-31.1zM355.7 207.3c-.7-31.6-15.6-58-43.5-78.2-13.7-9.7-32.3-15-46.6-15.6-3.4-.1-3.6 4.7-.3 4.9 14.3 1 31.8 5.5 46 14.7 27.7 17.9 41 41.6 41.7 74.3.1 3.4 2.8 3.4 2.7-.1zM340.5 213.1c-.1-29.5-15.5-44.6-44.4-46.4-3.4-.2-3.7 4.7-.3 4.9 26.9 1.7 38.1 13.6 38.4 41.6 0 3.5 4.4 3.4 4.3-.1zM332.8 313.4c-9.6-1.6-14.4 5.2-15.6 6.7-15.4 18.6-41.3 5.5-44.7 3.7-72.7-37.5-105.3-122.8-105.5-123.4-1-3.7-1.8-13.5 4.7-19.7 7.1-7 16-9.9 19.5-22.8 2.6-9.7-21.6-67-26.2-72.4-3.8-4.6-12.5-9.1-21.7-6.6-22.8 6.4-49 26.9-46.5 73.8 5.8 35 22.7 80.4 56.8 130.4 32.6 47.7 86.9 89.6 142.5 110.4l.5.2c0 .1.5.3 1.5.6 4.3 1.5 12 4.1 21.8 5.7 17 3.3 47.2 4.6 65.4-13.7 19.7-19.5 21.5-50.9 6.4-69.6-13.3-15.4-44.2-26.7-58.9-3.3z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='black' d='M444 49.9C431.3 38.2 379.9.9 265.3.4c0 0-135.1-8.1-200.9 52.3C27.8 89.3 14.9 143 13.5 209.5c-1.4 66.5-3.1 191.1 117 224.9h.1l-.1 51.6s-.8 20.9 13 25.1c16.6 5.2 26.4-10.7 42.3-27.8 8.7-9.4 20.7-23.2 29.8-33.7 82.2 6.9 145.3-8.9 152.5-11.2 16.6-5.4 110.5-17.4 125.7-142 15.8-128.6-7.6-209.8-49.8-246.5zM457.9 287c-12.9 104-89 110.6-103 115.1-6 1.9-61.5 15.7-131.2 11.2 0 0-52 62.7-68.2 79-2.5 2.5-5.5 3.6-7.4 3.1-2.8-.7-3.5-4-3.5-8.9l.1-85.7c-.1 0-.1 0 0 0-101.7-28.2-95.7-134.4-94.7-189.2 1-54.8 11.7-99.7 42.7-130.3 55.8-50.4 170.5-43 170.5-43 96.9.4 143.3 29.6 154.1 39.4 35.7 30.6 53.9 103.8 43.6 209.3z'/><path fill='black' d='M291.9 116.4c-3.1-.1-3.7 4.6-.3 4.9 28 1.5 51.2 11 69.7 30.7 16.9 18.1 25.2 38.5 25.5 65.5 0 3.4 4.7 3.5 4.7 0-.4-28.4-9.5-50.9-27.4-70-19-19.7-43.6-30.3-72.2-31.1zM355.7 207.3c-.7-31.6-15.6-58-43.5-78.2-13.7-9.7-32.3-15-46.6-15.6-3.4-.1-3.6 4.7-.3 4.9 14.3 1 31.8 5.5 46 14.7 27.7 17.9 41 41.6 41.7 74.3.1 3.4 2.8 3.4 2.7-.1zM340.5 213.1c-.1-29.5-15.5-44.6-44.4-46.4-3.4-.2-3.7 4.7-.3 4.9 26.9 1.7 38.1 13.6 38.4 41.6 0 3.5 4.4 3.4 4.3-.1zM332.8 313.4c-9.6-1.6-14.4 5.2-15.6 6.7-15.4 18.6-41.3 5.5-44.7 3.7-72.7-37.5-105.3-122.8-105.5-123.4-1-3.7-1.8-13.5 4.7-19.7 7.1-7 16-9.9 19.5-22.8 2.6-9.7-21.6-67-26.2-72.4-3.8-4.6-12.5-9.1-21.7-6.6-22.8 6.4-49 26.9-46.5 73.8 5.8 35 22.7 80.4 56.8 130.4 32.6 47.7 86.9 89.6 142.5 110.4l.5.2c0 .1.5.3 1.5.6 4.3 1.5 12 4.1 21.8 5.7 17 3.3 47.2 4.6 65.4-13.7 19.7-19.5 21.5-50.9 6.4-69.6-13.3-15.4-44.2-26.7-58.9-3.3z'/></svg>");
}

.ti-brand-whatsapp {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M.057 24l1.687-6.163c-1.041-1.804-1.588-3.849-1.587-5.946.003-6.556 5.338-11.891 11.893-11.891 3.181.001 6.167 1.24 8.413 3.488 2.245 2.248 3.481 5.236 3.48 8.414-.003 6.557-5.338 11.892-11.893 11.892-1.99-.001-3.951-.5-5.688-1.448l-6.305 1.654zm6.597-3.807c1.676.995 3.276 1.591 5.392 1.592 5.448 0 9.886-4.434 9.889-9.885.002-5.462-4.415-9.89-9.881-9.892-5.452 0-9.887 4.434-9.889 9.884-.001 2.225.651 3.891 1.746 5.634l-.999 3.648 3.742-.981zm11.387-5.464c-.074-.124-.272-.198-.57-.347-.297-.149-1.758-.868-2.031-.967-.272-.099-.47-.149-.669.149-.198.297-.768.967-.941 1.165-.173.198-.347.223-.644.074-.297-.149-1.255-.462-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.297-.347.446-.521.151-.172.2-.296.3-.495.099-.198.05-.372-.025-.521-.075-.148-.669-1.611-.916-2.206-.242-.579-.487-.501-.669-.51l-.57-.01c-.198 0-.52.074-.792.372s-1.04 1.016-1.04 2.479 1.065 2.876 1.213 3.074c.149.198 2.095 3.2 5.076 4.487.71.306 1.263.489 1.694.626.712.226 1.36.194 1.872.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413z'/></svg>");
}

.ti-brand-messenger {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 0C5.373 0 0 4.974 0 11.111c0 3.498 1.744 6.614 4.469 8.652V24l4.088-2.242c1.092.301 2.246.464 3.443.464 6.627 0 12-4.975 12-11.111S18.627 0 12 0zm1.191 14.963l-3.055-3.26-5.963 3.26L10.732 8l3.131 3.26L19.752 8l-6.561 6.963z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='black' d='M12 0C5.373 0 0 4.974 0 11.111c0 3.498 1.744 6.614 4.469 8.652V24l4.088-2.242c1.092.301 2.246.464 3.443.464 6.627 0 12-4.975 12-11.111S18.627 0 12 0zm1.191 14.963l-3.055-3.26-5.963 3.26L10.732 8l3.131 3.26L19.752 8l-6.561 6.963z'/></svg>");
}

/* ========================================
   FLOATING CHAT BUTTONS
   ======================================== */

.floating-chat {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 50;
}

.float-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-size: 26px;
  color: white;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

.float-btn:hover { transform: scale(1.05); }
.float-btn.viber { background: var(--color-viber); }
.float-btn.whatsapp { background: var(--color-whatsapp); }

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

@media (max-width: 968px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    transform: translateY(-110%);
    transition: transform 0.2s;
    z-index: 99;
  }
  
  .nav-links.open { transform: translateY(0); }
  
  .nav-links a {
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }
  
  .mobile-menu-toggle { display: block; }
  
  .nav-actions .btn { display: none; }
}

@media (max-width: 768px) {
  .hero-slider {
    height: clamp(295px, 50vh, 370px);
  }
  
  /* Dijagonalni overlay - zatamnjenje gore-lijevo (gdje je tekst), slika čišća dolje-desno */
  .slide::before {
    background: linear-gradient(150deg, 
      rgba(0, 0, 0, 0.62) 0%, 
      rgba(0, 0, 0, 0.42) 30%, 
      rgba(0, 0, 0, 0.18) 58%, 
      transparent 82%) !important;
  }
  
  .slide::after {
    background: rgba(0, 0, 0, 0.1) !important;
  }
  
  /* Tekst gore umjesto centrirano */
  .slide-content {
    padding: 15px 24px 0;
    justify-content: flex-start;
    transform: none;
  }
  
  .slide-eyebrow {
    font-size: 10px;
    margin-bottom: 18px;
    gap: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
  }
  
  .slide-eyebrow::before {
    width: 30px;
  }
  
  .slide-content h1 {
    font-size: clamp(32px, 9vw, 46px);
    margin-bottom: 16px;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  .slide-content p {
    font-size: 14px;
    margin-bottom: 26px;
    line-height: 1.55;
    max-width: 200px;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 1px 3px rgba(0, 0, 0, 0.7);
  }
  
  .slide-actions {
    width: 100%;
  }
  
  /* Mobilni - skrij scroll cue, ali zadrži paginaciju */
  .scroll-cue {
    display: none;
  }
  
  .slide-pagination {
    bottom: 22px;
    right: 24px;
    gap: 14px;
  }
  
  .slide-pagination-num {
    font-size: 11px;
    min-width: 50px;
  }
  
  .slide-arrow {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  
  .gallery-grid-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gallery-full {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta-box {
    grid-template-columns: 1fr;
    padding: 32px 24px;
    gap: 28px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  
  .footer-brand {
    grid-column: span 2;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .services { padding: 40px 0; }
  .gallery-preview { padding: 40px 0; }
  .cta-section { padding: 40px 0; }
  .packages { padding: 40px 0; }
  .addons { padding: 40px 0; }
  .wedding-cta { padding: 40px 0; }
  .how-it-works { padding: 40px 0; }
  
  .page-header { padding: 32px 0; }
  
  .wedding-cta-box {
    padding: 32px 20px;
  }
}

@media (max-width: 480px) {
  .nav-actions .nav-icon-btn { display: none; }
  
  .slide-content { padding: 0 20px; text-align: left; align-items: flex-start; }
  
  /* Manje arrows na 480px */
  .slide-arrow {
    width: 34px;
    height: 34px;
    font-size: 14px;
  }
  
  .slide-pagination-num {
    font-size: 10px;
    min-width: 44px;
  }
  
  .slide-badge {
    padding: 5px 12px;
    font-size: 11px;
  }
  
  .gallery-grid-preview { gap: 8px; }
  .gallery-full { gap: 8px; }
  
  .filter-bar { gap: 6px; }
  .filter-btn { padding: 6px 14px; font-size: 12px; }
  
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: span 1; }
  
  .floating-chat { bottom: 16px; right: 16px; }
  .float-btn { width: 48px; height: 48px; font-size: 22px; }
}

/* ============================================================
   MOBILE OVERRIDES - kompletna mobilna optimizacija
   (na samom kraju da override-a sve prethodno)
   ============================================================ */

@media (max-width: 768px) {
  /* === NAVBAR - povećan da logo stane === */
  .navbar {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  }
  
  .nav-container {
    padding: 8px 16px;
    gap: 12px;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .logo {
    height: 64px;
    overflow: visible;
    align-items: center;
    display: flex;
    flex: 0 1 auto;
  }
  
  .logo img {
    max-height: 64px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    display: block;
  }
  
  .nav-actions {
    display: none !important;
  }
  
  .mobile-menu-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-bg-secondary);
    color: var(--color-text);
    font-size: 22px;
    border: 1px solid var(--color-border);
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.2s;
  }
  
  .mobile-menu-toggle:hover,
  .mobile-menu-toggle:active {
    background: var(--color-bg-tertiary);
    transform: scale(0.96);
  }
  
  .nav-links {
    position: fixed !important;
    top: 80px;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: linear-gradient(180deg, #FAFAF7 0%, #F4F2EC 100%);
    flex-direction: column !important;
    padding: 20px 16px 28px !important;
    gap: 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-120%);
    transition: transform 0.3s ease, opacity 0.25s ease;
    z-index: 99;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    flex: none !important;
    justify-content: flex-start !important;
  }
  
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .nav-links li {
    list-style: none;
    width: 100%;
  }
  
  .nav-links a {
    display: flex !important;
    align-items: center;
    gap: 14px;
    padding: 15px 18px !important;
    font-size: 15px;
    font-weight: 500;
    color: var(--color-text);
    border-radius: 12px;
    width: 100%;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
  }
  
  .nav-links a::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-text-tertiary);
    flex-shrink: 0;
    transition: all 0.2s;
    box-shadow: 0 0 0 0 rgba(24, 95, 165, 0);
  }
  
  .nav-links a:hover,
  .nav-links a:active {
    background: rgba(255, 255, 255, 0.95);
    transform: translateX(4px);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  }
  
  .nav-links a:hover::before,
  .nav-links a:active::before {
    background: var(--color-accent);
  }
  
  .nav-links a.active {
    background: linear-gradient(135deg, #185FA5, #2E7BC4);
    color: white;
    font-weight: 600;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(24, 95, 165, 0.25);
  }
  
  .nav-links a.active::before {
    background: white;
    width: 8px;
    height: 8px;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  }
  
  /* Subtle "menu" label above items */
  .nav-links::before {
    content: "MENI";
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--color-text-tertiary);
    padding: 0 18px 12px;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  
  /* Dodatni separator iznad slidera */
  .navbar + section,
  .navbar + main,
  .navbar + div {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }
  
  .hero-slider {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
  }
  
  .nav-actions .nav-icon-btn,
  .nav-actions .btn {
    display: none;
  }

  /* === HERO SLIDER (Cinematic minimal mobilni) === */
  .hero-slider {
    height: auto;
    min-height: 310px;
  }
  
  .slide-content {
    padding: 15px 24px 0;
    justify-content: flex-start;
    min-height: 310px;
  }
  
  .slide-eyebrow {
    font-size: 9.5px;
    margin-bottom: 14px;
    gap: 10px;
  }
  
  .slide-eyebrow::before {
    width: 24px;
  }
  
  .slide-content h1 {
    font-size: 32px;
    line-height: 1.05;
    margin-bottom: 14px;
  }
  
  .slide-content p {
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 24px;
    max-width: 200px;
  }
  
  .slide-actions {
    width: auto;
  }
  
  .slide-btn-link {
    font-size: 12px;
  }
  
  .slide-pagination {
    bottom: 18px;
    right: 20px;
    gap: 12px;
  }
  
  .slide-pagination-num {
    font-size: 10px;
    min-width: 44px;
  }
  
  .slide-arrow {
    width: 32px;
    height: 32px;
    font-size: 14px;
    border-width: 1px;
  }
  
  .slide-dots {
    bottom: 12px;
  }

  /* === STATISTIKE === */
  .stats {
    padding: 28px 0;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
  
  .stat-number {
    font-size: 26px;
  }
  
  .stat-label {
    font-size: 12px;
  }

  /* === SEKCIJE - manji padding === */
  .services,
  .gallery-preview,
  .cta-section,
  .packages,
  .addons,
  .wedding-cta,
  .how-it-works,
  .quality-promise,
  .process-showcase,
  .objects-gallery {
    padding: 36px 0;
  }
  
  .quality-promise {
    padding-top: 28px;
  }
  
  .page-header {
    padding: 28px 0 24px;
  }
  
  .page-header h1 {
    font-size: 26px;
    margin-bottom: 8px;
  }
  
  .page-header p {
    font-size: 14px;
  }
  
  .section-header {
    margin-bottom: 24px;
  }
  
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }

  /* === KARTICE USLUGA === */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .service-card {
    border-radius: 16px;
  }
  
  .service-image,
  .service-image::after {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
  }
  
  .service-card-body {
    padding: 28px 18px 20px;
  }
  
  .service-card h3 {
    font-size: 17px;
  }
  
  .service-card p {
    font-size: 14px;
    margin-bottom: 12px;
  }
  
  .service-icon-overlay {
    width: 46px;
    height: 46px;
    font-size: 22px;
    bottom: -18px;
    left: 18px;
  }
  
  .service-icon {
    width: 48px;
    height: 48px;
    font-size: 24px;
    margin-bottom: 14px;
  }
  
  .badge-new {
    top: -8px;
    right: 16px;
    font-size: 10px;
    padding: 3px 10px;
  }

  /* === QUALITY PROMISE === */
  .promise-box {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
  }
  
  .promise-image {
    min-height: 200px;
    aspect-ratio: 16 / 10;
  }
  
  .promise-content {
    padding: 24px 20px;
  }
  
  .promise-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    margin-bottom: 12px;
  }
  
  .promise-content h2 {
    font-size: 19px;
    margin-bottom: 12px;
  }
  
  .promise-content p {
    font-size: 14px;
    line-height: 1.6;
  }
  
  .promise-tagline {
    font-size: 14px !important;
  }

  /* === PROCESS SHOWCASE === */
  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .showcase-image {
    aspect-ratio: 4 / 3;
    order: -1;
  }
  
  .showcase-content h2 {
    font-size: 22px;
    margin: 6px 0 12px;
  }
  
  .showcase-content p {
    font-size: 14px;
  }
  
  .showcase-features li {
    font-size: 14px;
    padding: 6px 0;
  }

  /* === OBJECTS GALLERY === */
  .objects-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 10px;
  }
  
  .object-item,
  .object-item.object-large,
  .object-item.object-wide {
    grid-column: span 1;
    grid-row: span 1;
    aspect-ratio: 4 / 3;
    height: auto;
  }
  
  .object-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 60%);
    padding: 12px;
  }
  
  .object-overlay span {
    font-size: 12px;
  }

  /* === GALERIJA === */
  .gallery-grid-preview,
  .gallery-full {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }
  
  .filter-bar {
    margin-bottom: 18px;
  }

  /* === CTA / WEDDING CTA === */
  .cta-box {
    grid-template-columns: 1fr;
    padding: 28px 20px;
    gap: 22px;
  }
  
  .cta-content h2 {
    font-size: 22px;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }
  
  .wedding-cta-box {
    padding: 28px 20px;
  }
  
  .wedding-cta-box > i {
    font-size: 36px;
  }
  
  .wedding-cta-box h3 {
    font-size: 19px;
  }
  
  .wedding-cta-box p {
    font-size: 14px;
  }
  
  .wedding-cta-buttons {
    flex-direction: column;
    width: 100%;
  }
  
  .wedding-cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  /* === STEP CARDS === */
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .step-card {
    padding: 20px;
  }

  /* === PAKETI === */
  .packages-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .package-card {
    padding: 22px;
  }
  
  .package-card.featured {
    transform: none;
  }
  
  .price-amount {
    font-size: 30px;
  }

  /* === ADDONS === */
  .addons-grid {
    grid-template-columns: 1fr;
  }

  /* === ONLINE IZRADA FORMA === */
  .order-section {
    padding: 24px 0 60px;
  }
  
  .send-tab {
    font-size: 12px;
    padding: 10px 6px;
  }
  
  .send-tab i {
    font-size: 14px;
  }
  
  .upload-area {
    padding: 28px 16px;
  }
  
  .upload-icon {
    font-size: 32px;
  }
  
  .format-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .format-card {
    padding: 12px 8px;
  }
  
  .total-price {
    font-size: 22px;
  }

  /* === KONTAKT === */
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .contact-info-card {
    padding: 22px 18px;
  }

  /* === FOOTER === */
  .footer {
    padding: 28px 0 10px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 16px;
  }
  
  .footer-brand {
    grid-column: span 1;
    margin-bottom: 0;
  }
  
  .footer-brand p {
    font-size: 13px;
    line-height: 1.55;
  }
  
  .footer .logo {
    height: 48px;
    margin-bottom: 8px;
  }
  
  .footer .logo img {
    max-width: 160px;
  }
  
  .footer-title {
    font-size: 13px;
    margin-bottom: 10px;
  }
  
  .footer-links {
    gap: 7px;
    font-size: 13px;
  }
  
  .footer-links li {
    align-items: center;
    line-height: 1.35;
  }
  
  .social-icons {
    gap: 8px;
    flex-wrap: wrap;
  }
  
  .social-icons a {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  
  .footer-bottom {
    padding-top: 14px;
    padding-bottom: 0;
    margin-top: 4px;
    font-size: 11px;
  }
  
  .footer-bottom p {
    margin: 0;
  }

  /* === FLOATING DUGMIĆI === */
  .floating-chat {
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }
  
  .float-btn {
    width: 46px;
    height: 46px;
    font-size: 22px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.18);
  }
}

/* === EXTRA SMALL MOBILE === */
@media (max-width: 380px) {
  .nav-container {
    padding: 8px 12px;
  }
  
  .logo {
    height: 36px;
  }
  
  .logo img {
    max-width: 120px;
  }
  
  .slide-content h1 {
    font-size: 26px;
  }
  
  .slide-actions {
    flex-direction: column;
  }
  
  .slide-actions .btn {
    width: 100%;
  }
  
  .promise-content {
    padding: 20px 16px;
  }
  
  .promise-content h2 {
    font-size: 17px;
  }
  
  .container {
    padding: 0 14px;
  }
  
  .floating-chat {
    bottom: 12px;
    right: 12px;
  }
  
  .float-btn {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}
