/* ==========================================================================
   THEME VARIABLES: DARK MODE (Default) & LIGHT MODE (PC & Mobile)
   ========================================================================== */
:root,
[data-theme="dark"] {
  --bg-deep: #050608;
  --bg-surface: #0b0d13;
  --bg-card: rgba(16, 19, 27, 0.9);
  --bg-elevated: #111520;
  --bg-input: rgba(6, 8, 12, 0.92);
  --border-subtle: rgba(255, 232, 185, 0.14);
  --border-glow: rgba(247, 185, 85, 0.42);

  --gold-light: #ffefc2;
  --gold-primary: #f5c163;
  --gold-warm: #e29d38;
  --gold-accent-text: #f5c163;

  --text-main: #f7f5f0;
  --text-muted: rgba(247, 245, 240, 0.68);
  --text-dim: rgba(247, 245, 240, 0.45);

  --header-bg: rgba(8, 10, 15, 0.88);
  --drawer-bg: #0b0e15;
  --footer-bg: #040508;
  --shadow-card: 0 16px 38px rgba(0, 0, 0, 0.45);

  --font-display: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-sans: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-pill: 999px;
}

/* SVIJETLA TEMA (Light Mode za PC i Mobitel) */
[data-theme="light"] {
  --bg-deep: #f6f3ec;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-elevated: #efeae0;
  --bg-input: #f9f7f2;
  --border-subtle: rgba(180, 130, 45, 0.22);
  --border-glow: rgba(196, 132, 24, 0.55);

  --gold-light: #f5c163;
  --gold-primary: #d49220;
  --gold-warm: #b57410;
  --gold-accent-text: #a66708;

  --text-main: #151821;
  --text-muted: #4a5060;
  --text-dim: #767d8e;

  --header-bg: rgba(255, 255, 255, 0.94);
  --drawer-bg: #fbf9f5;
  --footer-bg: #ece7dc;
  --shadow-card: 0 14px 34px rgba(20, 24, 34, 0.08);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-deep);
  color: var(--text-main);
  font-family: var(--font-sans);
  -webkit-text-size-adjust: 100%;
  transition: background-color 0.25s ease, color 0.25s ease;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  min-height: 100vh;
  min-height: 100dvh;
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
  transition: background-color 0.25s ease, color 0.25s ease;
}

/* Subtle Ambient Bokeh Canvas (PC Dark Mode only) */
#ambient-lights-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.7;
}

[data-theme="light"] #ambient-lights-canvas {
  display: none !important;
}

/* Subtle Hanging Architectural String Lights (Top Garland) */
.string-lights-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 92px;
  pointer-events: none;
  z-index: 25;
  overflow: hidden;
}

.string-lights-svg {
  width: 100%;
  height: 100%;
  display: block;
}

.string-lights-svg .wire {
  fill: none;
  stroke: rgba(255, 232, 185, 0.2);
  stroke-width: 1.2;
}

.string-lights-svg .socket-cord {
  stroke: rgba(255, 232, 185, 0.25);
  stroke-width: 1.1;
}

/* ==========================================================================
   NAVIGATION HEADER (Logo + Pošalji upit + Hamburger meni)
   ========================================================================== */
.site-header {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  left: 0;
  width: 100%;
  z-index: 50;
  padding: 0 24px;
}

.header-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 10px 16px 10px 22px;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: var(--shadow-card);
  transition: background 0.25s ease, border-color 0.25s ease;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex-shrink: 1;
}

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

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

.nav-cta {
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
  color: #090a0d;
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(245, 193, 99, 0.32);
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(245, 193, 99, 0.5);
}

/* Hamburger Button */
.hamburger-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(245, 193, 99, 0.1);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.hamburger-btn:hover {
  border-color: var(--gold-primary);
  background: rgba(245, 193, 99, 0.2);
}

.hamburger-box {
  width: 18px;
  height: 14px;
  position: relative;
  display: block;
}

.hamburger-line {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--text-main);
  transition: transform 0.25s ease, top 0.25s ease, opacity 0.2s ease;
}

.hamburger-line.line-1 { top: 0; }
.hamburger-line.line-2 { top: 6px; }
.hamburger-line.line-3 { top: 12px; }

.hamburger-btn.is-open .line-1 {
  top: 6px;
  transform: rotate(45deg);
}
.hamburger-btn.is-open .line-2 {
  opacity: 0;
}
.hamburger-btn.is-open .line-3 {
  top: 6px;
  transform: rotate(-45deg);
}

/* ==========================================================================
   HAMBURGER SLIDE-OVER DRAWER MENU
   ========================================================================== */
.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(3, 5, 8, 0.65);
  opacity: 0;
  transition: opacity 0.28s ease;
}

.nav-drawer-backdrop.is-visible {
  opacity: 1;
}

.nav-drawer-backdrop[hidden] {
  display: none !important;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  z-index: 85;
  background: var(--drawer-bg);
  border-left: 1px solid var(--border-subtle);
  box-shadow: -16px 0 50px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  transform: translate3d(102%, 0, 0);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s ease;
}

.nav-drawer.is-open {
  transform: translate3d(0, 0, 0);
}

.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(18px, env(safe-area-inset-top)) 20px 16px;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-drawer-header .brand-logo img {
  height: 22px;
}

.nav-drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: rgba(245, 193, 99, 0.08);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.nav-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px max(24px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Postavke u hamburger meniju: Svijetli/Tamni mod + Jezik (HR / EN) */
.drawer-settings-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
}

.drawer-setting-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.drawer-setting-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.drawer-segmented {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border-radius: var(--radius-pill);
  background: var(--bg-deep);
  border: 1px solid var(--border-subtle);
}

.seg-btn {
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

[data-theme="dark"] #drawer-theme-switch .seg-btn[data-mode="dark"],
[data-theme="light"] #drawer-theme-switch .seg-btn[data-mode="light"],
#drawer-lang-switch .seg-btn.active {
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  color: #090a0d;
}

.drawer-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-accent-text);
}

.drawer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 600;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.drawer-nav-item:hover {
  border-color: var(--gold-primary);
  transform: translateX(3px);
}

.drawer-nav-highlight {
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  color: #090a0d;
  border-color: transparent;
}

.drawer-contact-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.drawer-contact-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
}

.drawer-contact-pill svg {
  color: var(--gold-accent-text);
  flex-shrink: 0;
}

.drawer-socials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 4px;
}

.drawer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(245, 193, 99, 0.12);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
}

/* ==========================================================================
   HERO VIDEO SHOWCASE
   ========================================================================== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 620px;
  max-height: 1120px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  z-index: 2;
}

.video-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #040507;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transform: translateZ(0);
  transition: opacity 0.35s ease-out;
}

.hero-video.active {
  opacity: 1;
  z-index: 2;
}

.video-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(5, 6, 8, 0.52) 0%, rgba(5, 6, 8, 0.08) 38%, rgba(5, 6, 8, 0.56) 72%, rgba(5, 6, 8, 0.94) 100%),
    radial-gradient(circle at 50% 45%, transparent 40%, rgba(5, 6, 8, 0.48) 100%);
  pointer-events: none;
}

.hero-content-container {
  position: relative;
  z-index: 5;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px max(28px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.hero-minimal-copy {
  max-width: 720px;
}

.ambient-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  background: rgba(10, 12, 18, 0.84);
  border: 1px solid rgba(255, 232, 185, 0.22);
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  color: #ffefc2;
  margin-bottom: 16px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #f5c163;
  box-shadow: 0 0 10px #f5c163;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.8vw, 4.1rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  color: #f7f5f0;
  text-shadow: 0 8px 26px rgba(0, 0, 0, 0.65);
}

.gold-gradient-text {
  background: linear-gradient(125deg, #fff6d6 0%, #f5c163 50%, #e29d38 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="light"] .section-heading .gold-gradient-text {
  background: linear-gradient(125deg, #c88214 0%, #a36205 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  color: #090a0d;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 8px 26px rgba(245, 193, 99, 0.32);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(245, 193, 99, 0.5);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius-pill);
  background: rgba(14, 17, 25, 0.85);
  border: 1px solid rgba(255, 232, 185, 0.22);
  color: #f7f5f0;
  font-weight: 600;
  font-size: 0.94rem;
  text-decoration: none;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.btn-glass:hover {
  border-color: #f5c163;
  background: rgba(245, 193, 99, 0.16);
}

/* Video Playlist Control Bar */
.video-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 14px;
  background: rgba(10, 12, 18, 0.88);
  border: 1px solid rgba(255, 232, 185, 0.18);
  border-radius: var(--radius-lg);
}

.video-nav-arrows {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.video-ctrl-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: #f7f5f0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.video-ctrl-btn:hover {
  border-color: #f5c163;
  color: #ffefc2;
  background: rgba(245, 193, 99, 0.18);
}

.video-playlist-pills {
  position: relative; /* Nužno za točan izračun pozicije aktivnog naslova videa */
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.video-playlist-pills::-webkit-scrollbar {
  display: none;
}

.video-pill {
  position: relative;
  flex: 0 0 auto;
  width: max-content;
  padding: 9px 13px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(247, 245, 240, 0.72);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: left;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.video-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.video-pill.active {
  color: #ffefc2;
  font-weight: 600;
  border-color: rgba(245, 193, 99, 0.65);
  background: rgba(245, 193, 99, 0.18);
}

.video-pill-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  position: relative;
  z-index: 2;
}

.video-pill-index {
  font-size: 0.7rem;
  opacity: 0.7;
}

.video-pill-title {
  white-space: nowrap;
}

/* GPU-ubrzani indikator napretka (transform: scaleX umjesto width — 0% CPU Layout/Paint troška) */
.video-pill-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, #e29d38, #ffefc2);
  transform-origin: left center;
  transform: scaleX(0);
  will-change: transform;
}

/* Subtle Glowing Section Divider */
.glow-divider {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 14px auto;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 0 24px;
}

.glow-divider::before {
  content: '';
  position: absolute;
  left: 24px;
  right: 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.glow-node {
  position: relative;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-primary);
  box-shadow: 0 0 10px 2px rgba(245, 193, 99, 0.45);
}

.glow-node.large {
  width: 9px;
  height: 9px;
  box-shadow: 0 0 14px 3px rgba(245, 193, 99, 0.6);
}

/* ==========================================================================
   USLUGE (Bento Grid)
   ========================================================================== */
.section-container {
  position: relative;
  z-index: 2;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 28px;
}

.visual-grid-section {
  padding: 56px 0;
  scroll-margin-top: 76px;
}

.section-intro {
  max-width: 680px;
  margin-bottom: 34px;
}

.section-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-top: 8px;
}

.bento-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 320px;
  gap: 20px;
}

.bento-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #0b0d13;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.bento-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-3px);
}

.bento-card.bento-wide {
  grid-column: span 2;
}

.bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.bento-card:hover img {
  transform: scale(1.04);
}

.bento-num {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  padding: 4px 11px;
  border-radius: var(--radius-pill);
  background: rgba(8, 10, 15, 0.8);
  border: 1px solid rgba(245, 193, 99, 0.4);
  color: #ffefc2;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.05) 0%, rgba(5, 6, 8, 0.42) 45%, rgba(5, 6, 8, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 26px;
}

.bento-tag {
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: #f5c163;
  margin-bottom: 5px;
  font-weight: 700;
}

.bento-overlay h3 {
  font-family: var(--font-display);
  font-size: 1.36rem;
  font-weight: 600;
  color: #f7f5f0;
  line-height: 1.22;
  margin-bottom: 6px;
}

.bento-desc {
  font-size: 0.86rem;
  color: rgba(247, 245, 240, 0.78);
  line-height: 1.45;
  max-width: 520px;
  margin-bottom: 12px;
}

.bento-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffefc2;
  letter-spacing: 0.02em;
}

.bento-cta svg {
  color: #f5c163;
  transition: transform 0.25s ease;
}

.bento-card:hover .bento-cta svg {
  transform: translateX(4px);
}

/* ==========================================================================
   KONTAKT & FORMA ZA UPIT
   ========================================================================== */
.contact-section {
  padding: 58px 0 84px;
  scroll-margin-top: 76px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.22fr;
  gap: 42px;
  align-items: start;
}

.eyebrow-gold {
  display: inline-block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-accent-text);
  font-weight: 700;
  margin-bottom: 8px;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.6rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--text-main);
}

.contact-lead {
  font-size: 0.94rem;
  color: var(--text-muted);
  margin: 10px 0 24px;
  line-height: 1.55;
}

.contact-cards-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.contact-item-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: var(--text-main);
  transition: border-color 0.25s ease, transform 0.25s ease, background 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.contact-item-card:hover {
  border-color: var(--border-glow);
  transform: translateX(4px);
}

.contact-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(245, 193, 99, 0.14);
  border: 1px solid rgba(245, 193, 99, 0.32);
  color: var(--gold-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-body {
  flex: 1;
  min-width: 0;
}

.contact-label {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold-accent-text);
  font-weight: 700;
  margin-bottom: 2px;
}

.contact-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-main);
  word-break: break-word;
}

.contact-subvalue {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-card-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(245, 193, 99, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--gold-accent-text);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.contact-item-card:hover .contact-card-arrow {
  background: rgba(245, 193, 99, 0.25);
  transform: translateX(2px);
}

/* Social Showcase Card */
.social-showcase-card {
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.social-showcase-media {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.social-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.social-showcase-card:hover .social-showcase-media img {
  transform: scale(1.04);
}

.social-showcase-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.08) 0%, rgba(5, 6, 8, 0.86) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 20px 14px;
}

.social-showcase-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #f5c163;
  margin-bottom: 3px;
}

.social-showcase-caption {
  font-size: 0.96rem;
  font-weight: 600;
  color: #f7f5f0;
  line-height: 1.3;
}

.social-links-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 16px;
}

.social-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(245, 193, 99, 0.1);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.social-pill svg {
  color: var(--gold-accent-text);
  flex-shrink: 0;
}

.social-pill:hover {
  color: #090a0d;
  border-color: #f5c163;
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  transform: translateY(-2px);
}

.social-pill:hover svg {
  color: #090a0d;
}

/* Inquiry Form Panel */
.inquiry-form-panel {
  position: relative;
  scroll-margin-top: 84px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.inquiry-form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
}

.form-header-block {
  margin-bottom: 22px;
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text-main);
}

.form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.field-group {
  margin-bottom: 18px;
}

.field-label {
  display: block;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.topic-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-chip {
  padding: 9px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.topic-chip:hover {
  border-color: var(--gold-primary);
  color: var(--text-main);
}

.topic-chip.active {
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  border-color: transparent;
  color: #090a0d;
  font-weight: 700;
}

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

.inquiry-form input[type="text"],
.inquiry-form input[type="tel"],
.inquiry-form input[type="email"],
.inquiry-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-input);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.inquiry-form input:focus,
.inquiry-form textarea:focus {
  outline: none;
  border-color: var(--gold-primary);
}

.btn-submit {
  width: 100%;
  padding: 15px 22px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  color: #090a0d;
  font-family: var(--font-sans);
  font-size: 0.96rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 26px rgba(245, 193, 99, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(245, 193, 99, 0.45);
}

.form-feedback {
  margin-top: 12px;
  font-size: 0.88rem;
  text-align: center;
  color: var(--gold-accent-text);
  min-height: 20px;
}

/* ==========================================================================
   FOOTER, COOKIE BANNER & LEGAL MODAL
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 46px 0 max(36px, env(safe-area-inset-bottom));
  background: var(--footer-bg);
  position: relative;
  z-index: 2;
  transition: background 0.25s ease;
}

.footer-symmetric {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.footer-brand-link {
  display: inline-block;
}

.footer-logo {
  height: 28px;
  width: auto;
  display: block;
}

.footer-company-details {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 12px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-quick-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  margin-top: 4px;
}

.footer-quick-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 500;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.footer-quick-links a:hover {
  color: var(--gold-accent-text);
  border-color: var(--gold-primary);
}

.footer-dot {
  color: var(--gold-primary);
  font-size: 0.75rem;
  user-select: none;
}

.footer-divider {
  width: 100%;
  max-width: 560px;
  height: 1px;
  margin: 6px 0 2px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

.footer-bottom-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.79rem;
  color: var(--text-dim);
}

.footer-legal-btn {
  background: none;
  border: none;
  padding: 0;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  cursor: pointer;
}

.footer-legal-btn:hover {
  color: var(--gold-accent-text);
  text-decoration: underline;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  right: 20px;
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 90;
  max-width: 420px;
  padding: 12px 16px;
  border-radius: 16px;
  background: var(--drawer-bg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.cookie-banner[hidden] {
  display: none !important;
}

.cookie-banner-text {
  font-size: 0.79rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.cookie-link-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 4px;
  color: var(--gold-accent-text);
  font-family: var(--font-sans);
  font-size: 0.79rem;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

.cookie-accept-btn {
  flex-shrink: 0;
  padding: 7px 16px;
  border: none;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  color: #090a0d;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

/* Legal Modal */
.legal-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(3, 4, 6, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.legal-modal-backdrop[hidden] {
  display: none !important;
}

.legal-modal-dialog {
  width: 100%;
  max-width: 680px;
  max-height: 84vh;
  background: var(--drawer-bg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

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

.legal-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.legal-tab {
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.legal-tab.active {
  background: linear-gradient(135deg, #ffefc2, #f5c163);
  border-color: transparent;
  color: #090a0d;
  font-weight: 700;
}

.legal-close-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.legal-modal-body {
  padding: 24px;
  overflow-y: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.legal-pane h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 12px;
}

.legal-pane h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-accent-text);
  margin: 18px 0 6px;
}

.legal-pane p,
.legal-pane ul {
  margin-bottom: 10px;
}

.legal-pane ul {
  padding-left: 20px;
}

.legal-pane a {
  color: var(--gold-accent-text);
}

/* ==========================================================================
   RESPONSIVE & MOBILE DESIGN (PC, Tableti i Mobiteli)
   ========================================================================== */

@media (max-width: 1100px) {
  .section-container {
    padding: 0 22px;
  }
  .hero-content-container {
    padding: 0 22px 28px;
  }
  .bento-gallery {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 280px;
    gap: 16px;
  }
  .bento-card.bento-wide {
    grid-column: span 2;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  #ambient-lights-canvas {
    display: none !important;
  }
  .string-lights-wrapper {
    height: 56px;
  }
  .header-inner {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Mobilna navigacijska traka: Smanjen logo + Pošalji upit + Hamburger meni 100% UNUTAR trake */
  .site-header {
    top: max(10px, env(safe-area-inset-top));
    padding: 0 12px;
  }
  .header-inner {
    padding: 7px 10px 7px 14px;
    gap: 8px;
  }
  .brand-logo img {
    height: 15px;
    max-width: 112px;
    width: auto;
  }
  .header-actions {
    gap: 8px;
  }
  .nav-cta {
    padding: 7px 13px;
    font-size: 0.78rem;
  }
  .hamburger-btn {
    width: 34px;
    height: 34px;
  }
  .hamburger-box {
    width: 16px;
    height: 12px;
  }
  .hamburger-line.line-2 { top: 5px; }
  .hamburger-line.line-3 { top: 10px; }
  .hamburger-btn.is-open .line-1,
  .hamburger-btn.is-open .line-3 {
    top: 5px;
  }

  /* Hero sekcija na mobitelu */
  .hero-video-section {
    min-height: 550px;
  }
  .hero-content-container {
    padding: 0 14px max(18px, env(safe-area-inset-bottom));
    gap: 14px;
  }
  .ambient-badge {
    font-size: 0.69rem;
    padding: 5px 11px;
    margin-bottom: 8px;
    max-width: 100%;
  }
  .ambient-badge span:last-child {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .hero-title {
    font-size: clamp(1.75rem, 7.2vw, 2.35rem);
    margin-bottom: 14px;
  }
  .hero-actions {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 8px;
  }
  .btn-primary,
  .btn-glass {
    width: 100%;
    padding: 12px 12px;
    font-size: 0.83rem;
    white-space: nowrap;
  }

  .video-controls-bar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 16px;
  }
  .video-nav-arrows {
    gap: 4px;
  }
  .video-ctrl-btn {
    width: 31px;
    height: 31px;
  }
  .video-pill {
    padding: 7px 11px;
    font-size: 0.76rem;
  }

  /* Sekcija Usluge na mobitelu */
  .section-container {
    padding: 0 16px;
  }
  .visual-grid-section {
    padding: 36px 0 42px;
  }
  .section-intro {
    margin-bottom: 22px;
  }
  .section-heading {
    font-size: 1.65rem;
    line-height: 1.18;
  }
  .section-subtitle {
    font-size: 0.88rem;
  }
  .bento-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 16px;
  }
  .bento-card,
  .bento-card.bento-wide {
    grid-column: span 1;
    height: 238px;
    border-radius: 18px;
  }
  .bento-card.bento-wide {
    height: 262px;
  }
  .bento-overlay {
    padding: 18px 20px;
  }
  .bento-overlay h3 {
    font-size: 1.22rem;
    margin-bottom: 4px;
  }
  .bento-desc {
    font-size: 0.81rem;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* Kontakt i Forma za upit na mobitelu */
  .contact-section {
    padding: 36px 0 56px;
  }
  .contact-grid {
    gap: 28px;
  }
  .contact-lead {
    font-size: 0.88rem;
    margin: 8px 0 18px;
  }
  .contact-cards-list {
    gap: 10px;
    margin-bottom: 18px;
  }
  .contact-item-card {
    padding: 14px 16px;
    gap: 13px;
    border-radius: 16px;
  }
  .contact-icon {
    width: 42px;
    height: 42px;
  }
  .contact-value {
    font-size: 0.96rem;
  }

  .social-showcase-media {
    height: 155px;
  }
  .social-links-row {
    padding: 12px;
    gap: 10px;
  }
  .social-pill {
    padding: 13px 14px;
    font-size: 0.9rem;
  }

  .inquiry-form-panel {
    padding: 24px 18px;
    border-radius: 20px;
  }
  .form-title {
    font-size: 1.35rem;
  }
  .form-subtitle {
    font-size: 0.83rem;
  }
  .topic-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .topic-chip {
    text-align: center;
    padding: 10px 8px;
    font-size: 0.77rem;
    border-radius: 12px;
  }
  .topic-chip:first-child {
    grid-column: span 2;
  }
  .form-row-two {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .btn-submit {
    padding: 15px 16px;
    font-size: 0.9rem;
  }

  /* Podnožje na mobitelu */
  .site-footer {
    padding: 36px 0 max(28px, env(safe-area-inset-bottom));
  }
  .footer-company-details {
    flex-direction: column;
    gap: 4px;
    font-size: 0.81rem;
  }
  .footer-company-details .footer-dot {
    display: none;
  }
  .footer-quick-links {
    gap: 8px;
  }
  .footer-quick-links a {
    font-size: 0.79rem;
    padding: 6px 12px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: max(12px, env(safe-area-inset-bottom));
    max-width: none;
  }
  .legal-modal-dialog {
    max-height: 90vh;
  }
  .legal-modal-body {
    padding: 18px 16px;
  }
}

@media (max-width: 360px) {
  .brand-logo img {
    height: 13px;
    max-width: 96px;
  }
  .nav-cta {
    padding: 6px 10px;
    font-size: 0.73rem;
  }
  .hamburger-btn {
    width: 32px;
    height: 32px;
  }
  .hero-actions {
    grid-template-columns: 1fr;
  }
  .topic-chips {
    grid-template-columns: 1fr;
  }
  .topic-chip:first-child {
    grid-column: span 1;
  }
}
