/* ═══════════════════════════════════════════════════════════════════
   LUVAS — Premium Design System
   BMW-style luxury minimalism | Tiffany blue #5ba3c9
   ═══════════════════════════════════════════════════════════════════ */

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

:root {
  --blue:      #5ba3c9;
  --blue-dk:   #4a8fb5;
  --blue-lt:   #d4eaf5;
  --dark:      #080c14;
  --dark-mid:  #11181f;
  --text:      #1a1a2e;
  --text-mid:  #444455;
  --text-lt:   #777788;
  --bg:        #f5f5f5;
  --bg-white:  #ffffff;
  --border:    #e0e0e6;
  --serif:     'Cormorant Garamond', Georgia, serif;
  --sans:      'Inter', system-ui, sans-serif;
  --header-h:  72px;
  --trans:     0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; font-family: var(--sans); }

.container {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.bg-light { background: var(--bg); }

/* ─── TYPOGRAPHY ────────────────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.1;
  color: var(--text);
  margin-bottom: 28px;
}

.section-lead {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-mid);
  max-width: 780px;
  margin-bottom: 56px;
}

/* ─── BUTTONS ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: var(--trans);
  white-space: nowrap;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}
.btn-primary:hover { background: var(--blue-dk); transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.85);
}

.btn-primary-sm {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 28px;
  background: var(--blue);
  color: #fff;
  transition: var(--trans);
  flex-shrink: 0;
}
.btn-primary-sm:hover { background: var(--blue-dk); transform: translateY(-1px); }

.btn-full { width: 100%; }

/* ─── HEADER ────────────────────────────────────────────────────── */
#header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-white);
  border-bottom: 2px solid var(--blue);
  transition: box-shadow var(--trans);
}

#header.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.09); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
  gap: 24px;
}

.logo-link { display: flex; align-items: center; flex-shrink: 0; }
.logo { height: 60px; width: auto; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

.main-nav a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  transition: color var(--trans);
}
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--blue);
  transition: width var(--trans);
}
.main-nav a:hover { color: var(--text); }
.main-nav a:hover::after { width: 100%; }

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lt);
  padding: 6px 0;
  transition: color var(--trans);
}
.lang-opt {
  cursor: pointer;
  transition: color var(--trans);
  padding: 2px 4px;
}
.lang-opt:hover,
.lang-opt.active { color: var(--blue); }
.lang-sep { color: var(--border); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  padding: 4px 0;
}
.hamburger span {
  display: block;
  height: 1.5px;
  background: var(--text);
  transition: var(--trans);
}
.hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1), padding 0.3s;
}
.mobile-nav.open {
  max-height: 400px;
  padding: 12px 0 20px;
}
.mobile-nav-link {
  display: block;
  padding: 14px 24px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-bottom: 1px solid var(--border);
  transition: color var(--trans), background var(--trans);
}
.mobile-nav-link:last-child { border-bottom: none; }
.mobile-nav-link:hover { color: var(--blue); background: var(--bg); }

/* ─── HERO ──────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    url('../img/background.png') center / cover no-repeat,
    linear-gradient(135deg, #0d1821 0%, #1a3045 50%, #0f2333 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8,12,20,0.88) 0%,
    rgba(8,12,20,0.75) 55%,
    rgba(8,12,20,0.62) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 40px 24px;
  max-width: 900px;
  width: 100%;
}

.hero-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.9s 0.2s ease forwards;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.05;
}

/* ─── HERO SLIDER ───────────────────────────────────────── */
.hero-slider {
  display: grid;
  grid-template-areas: 'stack';
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.9s 0.4s ease forwards;
}
.hero-slide {
  grid-area: stack;
  opacity: 0;
  transition: opacity 0.95s ease;
  pointer-events: none;
}
.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

/* ─── HERO WATERMARK ────────────────────────────────────── */
.hero-watermark {
  position: absolute;
  right: -80px;
  top: 50%;
  transform: translateY(-50%) rotate(-14deg);
  opacity: 0.055;
  z-index: 1;
  pointer-events: none;
}
.hero-watermark img {
  width: min(500px, 46vw);
  height: auto;
  filter: brightness(0) invert(1);
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  letter-spacing: 0.04em;
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp 0.9s 0.6s ease forwards;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.9s 0.8s ease forwards;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-indicator span {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.4));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SERVIS (PRIMARY SECTION) ──────────────────────────────────── */
#servis {
  padding: clamp(80px, 10vw, 140px) 0;
  background: var(--bg-white);
}

.servis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-bottom: 48px;
  background: var(--border);
}

.servis-card {
  background: var(--bg-white);
  padding: 40px 32px;
  position: relative;
  transition: box-shadow var(--trans), transform var(--trans);
}
.servis-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(91,163,201,0.12); z-index: 1; }

.servis-card-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
}

.servis-card-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 24px;
}
.servis-card-icon svg { width: 100%; height: 100%; }

.servis-card h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.servis-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-mid);
}

.servis-highlight {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 32px 40px;
  background: var(--bg);
  border-left: 3px solid var(--blue);
  flex-wrap: wrap;
}
.sh-line { width: 0; }
.sh-body {
  display: flex;
  align-items: center;
  gap: 40px;
  flex: 1;
  flex-wrap: wrap;
}
.sh-body p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text);
  flex: 1;
  min-width: 260px;
}

/* ─── USLUGE ────────────────────────────────────────────────────── */
#usluge { padding: clamp(80px, 10vw, 140px) 0; }

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

.usluga-card {
  background: var(--bg);
  padding: 48px 32px;
  transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}
.usluga-card:hover {
  background: var(--bg-white);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  z-index: 1;
}

.usluga-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 28px;
}
.usluga-icon svg { width: 100%; height: 100%; }

.usluga-card h3 {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
}

.usluga-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ─── O NAMA ────────────────────────────────────────────────────── */
#o-nama { padding: clamp(80px, 10vw, 140px) 0; }

.o-nama-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.o-nama-img {
  position: relative;
  overflow: hidden;
}
.o-nama-img::before {
  content: '';
  position: absolute;
  inset: -8px -8px auto auto;
  width: 120px;
  height: 120px;
  border-top: 3px solid var(--blue);
  border-right: 3px solid var(--blue);
  z-index: 1;
  pointer-events: none;
}
.o-nama-img::after {
  content: '';
  position: absolute;
  inset: auto auto -8px -8px;
  width: 120px;
  height: 120px;
  border-bottom: 3px solid var(--blue);
  border-left: 3px solid var(--blue);
  z-index: 1;
  pointer-events: none;
}
.o-nama-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s ease;
}
.o-nama-img:hover img { transform: scale(1.02); }

.o-nama-content p {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
  margin-bottom: 20px;
}

.o-nama-quote {
  border-left: 3px solid var(--blue);
  padding: 20px 28px;
  margin: 36px 0;
  background: var(--bg);
}
.o-nama-quote p {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-style: italic;
  line-height: 1.7;
  color: var(--text);
  margin: 0;
}

.o-nama-stats {
  display: flex;
  gap: 40px;
  padding-top: 8px;
  flex-wrap: wrap;
}

.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 300;
  color: var(--blue);
  letter-spacing: 0.04em;
  line-height: 1;
}
.stat-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-lt);
}

/* ─── QUOTE SECTION ─────────────────────────────────────────────── */
#quote-section {
  background: var(--dark);
  padding: clamp(80px, 12vw, 140px) 0;
}

.quote-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  padding: 0 24px;
  text-align: center;
}

.quote-deco-line {
  width: min(240px, 80%);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

#quote-section blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4.5vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: #fff;
}

/* ─── GALERIJA ──────────────────────────────────────────────────── */
#galerija { padding: clamp(80px, 10vw, 140px) 0; }

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

.gallery-item {
  position: relative;
  overflow: hidden;
  background: var(--bg-white);
  aspect-ratio: 4/3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  inset: auto 0 0;
  padding: 12px 16px;
  background: rgba(8,12,20,0.8);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  transform: translateY(100%);
  transition: transform 0.35s ease;
  border-top: 2px solid var(--blue);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ─── GALLERY LOGO ITEM ─────────────────────────────────── */
.gallery-logo {
  grid-column: 1 / -1;
  aspect-ratio: auto;
  background: var(--dark);
  cursor: default;
}
.gallery-logo-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
  height: 180px;
}
.gallery-logo-img {
  height: 60px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.82;
  transition: opacity var(--trans), transform 0.5s ease;
}
.gallery-logo:hover .gallery-logo-img {
  opacity: 1;
  transform: scale(1.04);
}
.gallery-logo-tagline {
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
}

/* ─── INSTAGRAM ─────────────────────────────────────────── */
#instagram { padding: clamp(80px, 10vw, 140px) 0; }

.ig-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 52px;
  gap: 24px;
  flex-wrap: wrap;
}
.ig-brand {
  display: flex;
  align-items: center;
  gap: 24px;
}
.ig-icon-wrap {
  width: 52px;
  height: 52px;
  color: var(--blue);
  flex-shrink: 0;
}
.ig-icon-wrap svg { width: 100%; height: 100%; }
.ig-handle {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-lt);
  margin-top: 6px;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: var(--border);
  margin-bottom: 48px;
}
.ig-post {
  aspect-ratio: 1;
  background: var(--dark-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}
.ig-post::before {
  content: '';
  position: absolute;
  inset: 0;
  transition: background var(--trans);
  background: linear-gradient(135deg, rgba(91,163,201,0.07) 0%, rgba(8,12,20,0.55) 100%);
}
.ig-post:hover::before {
  background: linear-gradient(135deg, rgba(91,163,201,0.25) 0%, rgba(8,12,20,0.45) 100%);
}
.ig-post-icon {
  width: 44px;
  height: 44px;
  color: rgba(255,255,255,0.18);
  transition: color var(--trans), transform var(--trans);
  position: relative;
  z-index: 1;
}
.ig-post-icon svg { width: 100%; height: 100%; }
.ig-post:hover .ig-post-icon {
  color: var(--blue);
  transform: scale(1.18);
}
.ig-post-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  text-align: center;
  z-index: 1;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--trans), transform var(--trans);
}
.ig-post:hover .ig-post-label { opacity: 1; transform: translateY(0); }
.ig-cta { text-align: center; }
.ig-note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-lt);
  margin-top: 22px;
  letter-spacing: 0.03em;
}

/* ─── KONTAKT ───────────────────────────────────────────────────── */
#kontakt { padding: clamp(80px, 10vw, 140px) 0; }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: stretch;
}

.kontakt-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.info-block {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 2px;
}
.info-icon svg { width: 100%; height: 100%; }

.info-block h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-lt);
  margin-bottom: 6px;
}
.info-block p,
.info-block address { font-size: 0.93rem; line-height: 1.75; color: var(--text-mid); }
.info-link {
  font-size: 1rem;
  color: var(--text);
  font-weight: 400;
  transition: color var(--trans);
}
.info-link:hover { color: var(--blue); }

.badge-avail {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--blue);
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.map-wrap {
  border: 1px solid var(--border);
  overflow: hidden;
  flex: 1;
  min-height: 220px;
  display: flex;
  flex-direction: column;
}
.map-wrap iframe {
  display: block;
  flex: 1;
  width: 100%;
  min-height: 220px;
}

/* ─── FORMA ─────────────────────────────────────────────────────── */
.kontakt-form-wrap {
  padding: 48px;
  background: var(--bg);
  border-top: 3px solid var(--blue);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

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

label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-lt);
}

input, select, textarea {
  font-family: var(--sans);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 13px 16px;
  outline: none;
  transition: border-color var(--trans), box-shadow var(--trans);
  width: 100%;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(91,163,201,0.12);
}
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23777788' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
textarea { resize: vertical; min-height: 120px; }

#contactForm .btn { margin-top: 8px; }

.form-msg {
  margin-top: 16px;
  font-size: 13px;
  padding: 12px 16px;
  display: none;
}
.form-msg.success { display: block; background: #eaf6ee; color: #2d7a46; border-left: 3px solid #2d7a46; }
.form-msg.error   { display: block; background: #fdeaea; color: #b33;     border-left: 3px solid #b33; }

/* ─── FOOTER ────────────────────────────────────────────────────── */
#footer {
  background: var(--dark);
  color: rgba(255,255,255,0.65);
}

.footer-accent-line {
  height: 3px;
  background: var(--blue);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 64px 0 48px;
  align-items: start;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.85;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
  max-width: 280px;
}
.footer-tagline {
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-top: 8px;
}

.footer-nav h4,
.footer-contact-col h4 {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-nav a {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
  transition: color var(--trans);
}
.footer-nav a:hover { color: var(--blue); }

.footer-contact-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-contact-col address,
.footer-contact-col p {
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.footer-contact-col a {
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  transition: color var(--trans);
}
.footer-contact-col a:hover { color: var(--blue); }
.footer-avail {
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

/* ─── IMG MIRROR ────────────────────────────────────────────────── */
.img-mirror { transform: scaleX(-1); }
.o-nama-img:hover .img-mirror { transform: scaleX(-1) scale(1.02); }

/* ─── REVEAL ANIMATION ──────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .servis-grid { grid-template-columns: repeat(2, 1fr); }
  .usluge-grid { grid-template-columns: repeat(2, 1fr); }
  .o-nama-grid { gap: 48px; }
}

@media (max-width: 900px) {
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  .o-nama-grid { grid-template-columns: 1fr; }
  .o-nama-img { order: -1; }

  .kontakt-grid { grid-template-columns: 1fr; gap: 48px; }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }

  .ig-header { flex-direction: column; align-items: flex-start; }
  .ig-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .logo { height: 40px; }

  .servis-grid { grid-template-columns: 1fr; gap: 2px; }
  .usluge-grid { grid-template-columns: 1fr; }

  .hero-watermark { display: none; }

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

  .servis-card { padding: 32px 24px; }
  .usluga-card { padding: 36px 24px; }

  .servis-highlight { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sh-body { flex-direction: column; gap: 20px; }

  .kontakt-form-wrap { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 0 36px; }

  .hero-cta { flex-direction: column; align-items: center; }
  .btn { padding: 14px 28px; }

  .o-nama-stats { gap: 28px; }

  #quote-section blockquote p { font-size: clamp(1.4rem, 5.5vw, 2rem); }
}

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

/* ══════════════════════════════════════════════════════════════
   DARK MODE
   ══════════════════════════════════════════════════════════════ */
body.dark {
  --text:      #e8eaf0;
  --text-mid:  #aab0c0;
  --text-lt:   #6a7080;
  --bg:        #0f1520;
  --bg-white:  #141c28;
  --border:    #1e2a3a;
  --dark:      #080c14;
  --dark-mid:  #0d1520;
}

body.dark #header          { background: var(--bg-white); border-color: var(--blue); }
body.dark .mobile-nav      { background: var(--bg-white); border-color: var(--border); }
body.dark .mobile-nav-link { border-color: var(--border); }
body.dark .kontakt-form-wrap { background: var(--bg); }
body.dark input,
body.dark select,
body.dark textarea          { background: var(--bg-white); border-color: var(--border); color: var(--text); }
body.dark .o-nama-quote     { background: var(--bg); }
body.dark .servis-highlight { background: var(--bg); }
body.dark .testi-card       { background: var(--bg-white); border-color: var(--border); }
body.dark .faq-item         { border-color: var(--border); }
body.dark .faq-item[open] .faq-q { color: var(--blue); }
body.dark .sh-body p        { color: var(--text); }

/* ─── THEME TOGGLE ─────────────────────────────────────────── */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  color: var(--text-lt);
  transition: color var(--trans);
  flex-shrink: 0;
}
.theme-toggle:hover { color: var(--blue); }
.theme-toggle svg   { width: 18px; height: 18px; display: none; }
body:not(.dark) .icon-sun  { display: block; }
body.dark        .icon-moon { display: block; }

/* ══════════════════════════════════════════════════════════════
   PAGE LOADER
   ══════════════════════════════════════════════════════════════ */
#page-loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.loader-logo {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  animation: loaderPulse 1.4s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.55; transform: scale(0.97); }
  50%       { opacity: 1;    transform: scale(1); }
}
.loader-track {
  width: 160px;
  height: 1px;
  background: rgba(255,255,255,0.1);
  overflow: hidden;
}
.loader-fill {
  height: 100%;
  background: var(--blue);
  animation: loaderBar 1.2s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes loaderBar {
  from { width: 0; }
  to   { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   GLASSMORPHISM — SERVIS & USLUGE CARDS
   ══════════════════════════════════════════════════════════════ */
#servis {
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(91,163,201,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 80% 60%, rgba(91,163,201,0.05) 0%, transparent 60%),
    var(--bg-white);
}

.servis-card {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 4px 24px rgba(91,163,201,0.07), inset 0 1px 0 rgba(255,255,255,0.6);
}
.servis-card:hover {
  background: rgba(255,255,255,0.88);
  box-shadow: 0 16px 40px rgba(91,163,201,0.16), inset 0 1px 0 rgba(255,255,255,0.8);
}
body.dark .servis-card {
  background: rgba(20,28,40,0.72);
  border-color: rgba(91,163,201,0.14);
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
body.dark .servis-card:hover {
  background: rgba(20,28,40,0.9);
}

#usluge {
  background:
    radial-gradient(ellipse 70% 50% at 80% 20%, rgba(91,163,201,0.06) 0%, transparent 65%),
    var(--bg);
}

.usluga-card {
  background: rgba(245,245,245,0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.6);
  transition: background var(--trans), box-shadow var(--trans), transform var(--trans);
}
.usluga-card:hover {
  background: rgba(255,255,255,0.95);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(91,163,201,0.12);
}
body.dark .usluga-card {
  background: rgba(15,21,32,0.8);
  border-color: rgba(91,163,201,0.1);
}
body.dark .usluga-card:hover {
  background: rgba(20,28,40,0.95);
}

/* ══════════════════════════════════════════════════════════════
   SVG ICON ANIMATIONS on hover
   ══════════════════════════════════════════════════════════════ */
.servis-card:hover .servis-card-icon svg circle { stroke-dasharray: 120; stroke-dashoffset: 0; animation: drawCircle 0.6s ease forwards; }
.servis-card:hover .servis-card-icon svg path   { animation: drawPath 0.5s 0.1s ease forwards; }

@keyframes drawCircle {
  from { stroke-dashoffset: 120; }
  to   { stroke-dashoffset: 0; }
}
@keyframes drawPath {
  from { opacity: 0.4; }
  to   { opacity: 1; }
}

.usluga-card:hover .usluga-icon svg path,
.usluga-card:hover .usluga-icon svg rect,
.usluga-card:hover .usluga-icon svg circle,
.usluga-card:hover .usluga-icon svg line {
  stroke: var(--blue-dk);
  transition: stroke 0.3s ease;
}

/* ══════════════════════════════════════════════════════════════
   3D TILT EFFECT — JS applies --rx / --ry via inline style
   ══════════════════════════════════════════════════════════════ */
.servis-card,
.usluga-card,
.testi-card {
  will-change: transform;
  transform-style: preserve-3d;
}


/* ══════════════════════════════════════════════════════════════
   GALLERY — masonry + lightbox cursor
   ══════════════════════════════════════════════════════════════ */
.gallery-grid {
  display: block;
  columns: 3;
  column-gap: 3px;
  background: none;
}
.gallery-item {
  display: block;
  break-inside: avoid;
  margin-bottom: 3px;
  aspect-ratio: unset;
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1), filter 0.4s ease;
}
.gallery-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.06) saturate(1.1);
}
.gallery-item:hover .gallery-caption { transform: translateY(0); }

/* ══════════════════════════════════════════════════════════════
   LIGHTBOX
   ══════════════════════════════════════════════════════════════ */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8,12,20,0.96);
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(6px);
}
#lightbox:not([hidden]) { opacity: 1; }
#lightbox[hidden]        { display: none; }

.lb-figure {
  max-width: min(90vw, 1100px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
#lb-img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease;
}
#lb-caption {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.lb-close, .lb-prev, .lb-next {
  position: fixed;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--trans);
  z-index: 9001;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: rgba(91,163,201,0.25); }
.lb-close { top: 24px; right: 24px; }
.lb-prev  { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next  { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-close svg, .lb-prev svg, .lb-next svg { width: 20px; height: 20px; }

/* ══════════════════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ══════════════════════════════════════════════════════════════ */
.wa-btn {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform var(--trans), box-shadow var(--trans);
}
.wa-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
}
.wa-btn svg { width: 30px; height: 30px; color: #fff; }

/* ══════════════════════════════════════════════════════════════
   MOBILE STICKY CTA BAR
   ══════════════════════════════════════════════════════════════ */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 700;
  background: var(--dark);
  border-top: 2px solid var(--blue);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}
.mcta-call, .mcta-wa {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff;
  transition: background var(--trans);
}
.mcta-call { background: var(--blue); }
.mcta-call:hover { background: var(--blue-dk); }
.mcta-wa  { background: #1a8c45; }
.mcta-wa:hover  { background: #157a3a; }
.mcta-call svg, .mcta-wa svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIJALI
   ══════════════════════════════════════════════════════════════ */
#testimonijali { padding: clamp(80px, 10vw, 140px) 0; }

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

.testi-card {
  position: relative;
  background: var(--bg-white);
  border: 1px solid var(--border);
  padding: 40px 36px 36px;
  border-top: 3px solid var(--blue);
  transition: transform var(--trans), box-shadow var(--trans);
}
.testi-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(91,163,201,0.12);
}

.testi-quote-mark {
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.8;
  color: var(--blue);
  opacity: 0.25;
  margin-bottom: 20px;
  pointer-events: none;
  user-select: none;
}

.testi-text {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.75;
  color: var(--text-mid);
  margin-bottom: 28px;
}

.testi-footer {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.testi-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text);
}
.testi-role {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}

/* ══════════════════════════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════════════════════════ */
#faq { padding: clamp(80px, 10vw, 140px) 0; background: var(--bg-white); }
body.dark #faq { background: var(--bg-white); }

.faq-list {
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--text);
  cursor: pointer;
  list-style: none;
  gap: 20px;
  transition: color var(--trans);
  user-select: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '';
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235ba3c9' stroke-width='1.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.faq-item[open] > .faq-q { color: var(--blue); }
.faq-item[open] > .faq-q::after { transform: rotate(180deg); }

.faq-a {
  overflow: hidden;
}
.faq-a p {
  padding: 0 0 24px;
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-mid);
}

/* ══════════════════════════════════════════════════════════════
   TYPEWRITER CURSOR
   ══════════════════════════════════════════════════════════════ */
.tw-cursor {
  display: inline-block;
  width: 2px;
  height: 0.85em;
  background: var(--blue);
  margin-left: 3px;
  vertical-align: middle;
  animation: twBlink 0.75s step-end infinite;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE — new sections
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .testi-grid { grid-template-columns: 1fr; gap: 20px; }
  .mobile-cta-bar { display: flex; }
  .wa-btn { bottom: 88px; }
}

@media (max-width: 640px) {
  .testi-card { padding: 32px 24px 28px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
}

