/* ========================================================= */
/* 1. OSNOVNE NASTAVITVE IN PISAVA (RESET & BASE)            */
/* ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #050507;
  color: #ffffff;
  overflow-x: hidden;
}

.brand-section {
  scroll-margin-top: 100px;
}

/* ========================================================= */
/* 2. ZGORNJA NAVIGACIJA IN HEADER                           */
/* ========================================================= */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: rgba(10, 10, 14, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 10000;
  display: flex;
  align-items: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.3s ease;
  will-change: transform;
}

.top-header.header-hidden {
  transform: translateY(-100%);
}

.header-container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 2px;
  color: #ff003c;
  text-decoration: none;
  display: none;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.main-nav {
  display: flex;
  gap: 30px;
  align-items: center;
  margin: 0 auto;
}

.main-nav a, 
.dropbtn {
  color: #e1e1f0;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  transition: color 0.3s;
  cursor: pointer;
}

.main-nav a:hover, 
.dropdown:hover .dropbtn {
  color: #00f0ff;
}

.main-nav > a,
.main-nav > .dropdown > .dropbtn {
  position: relative;
}

.main-nav > a::after,
.main-nav > .dropdown > .dropbtn::after {
  content: '';
  position: absolute;
  left: -5px;
  right: -5px;
  bottom: -10px;
  height: 4px;
  border-radius: 0;
  opacity: 0;
  transform: scaleX(0.35);
  background: linear-gradient(90deg, #00f0ff, #52c4eb 44%, #d82c59 58%, #ff003c);
  clip-path: polygon(0 50%, 12% 0, 88% 0, 100% 50%, 88% 100%, 12% 100%);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.48);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.main-nav > a.nav-current,
.main-nav > .dropdown > .dropbtn.nav-current {
  color: #fff;
}

.main-nav > a.nav-current::after,
.main-nav > .dropdown > .dropbtn.nav-current::after {
  opacity: 1;
  transform: scaleX(1);
}

.arrow-down, 
.arrow-right {
  display: inline-block;
  font-size: 0.6rem;
  margin-left: 6px;
  transition: transform 0.3s ease;
}

/* ========================================================= */
/* 3. PADAJOČI MENIJI (DESKTOP DROPDOWNS)                     */
/* ========================================================= */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #0d0d12;
  min-width: 240px;
  box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.8);
  border: 1px solid #222230;
  border-radius: 6px;
  padding: 10px 0;
  z-index: 10001 !important;
  max-height: 80vh;
  overflow-y: auto;
}

.sub-dropdown-header {
  padding: 10px 20px 4px 20px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #ff003c;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 1px solid #1a1a26;
  margin-top: 8px;
}

.sub-dropdown-header:first-child {
  margin-top: 0;
}

.dropdown-content a, 
.sub-dropbtn {
  color: #aaa;
  padding: 10px 20px;
  text-decoration: none;
  display: block;
  font-size: 0.8rem;
  transition: background 0.2s, color 0.2s;
  font-weight: 700;
}

.dropdown-content a:hover, 
.sub-dropdown:hover .sub-dropbtn {
  background-color: #161622;
  color: #00f0ff;
}

.sub-dropdown {
  position: relative;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  left: 100%;
  top: -5px;
  background-color: #0d0d12;
  min-width: 210px;
  box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.85);
  border: 1px solid #222230;
  border-radius: 6px;
  padding: 8px 0;
  z-index: 10002 !important;
}

.sub-dropdown-content a {
  padding: 10px 18px;
  font-size: 0.78rem;
  color: #ccc;
  font-weight: 700;
  letter-spacing: 1px;
}

.sub-dropdown-content a:hover {
  color: #00f0ff;
  background-color: #161622;
}

@media (min-width: 901px) {
  .dropdown:hover .dropdown-content {
    display: block;
  }
  .sub-dropdown:hover .sub-dropdown-content {
    display: block;
  }
}

.dropdown-content:hover ~ #hover-preview,
.dropdown-content #hover-preview {
  display: none !important;
}

/* ========================================================= */
/* 4. HERO SEKCIJA & ANIMACIJA PRIŽIGA LUČI                  */
/* ========================================================= */
.hero-section {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  background-color: #000;
  margin-top: 0;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img picture {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero-bg-img picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-img-off {
  z-index: 1;
}

.hero-img-on {
  z-index: 2;
  opacity: 0;
  animation: turnOnLights 3.5s ease-in-out 0.8s forwards;
}

@keyframes turnOnLights {
  0% {
    opacity: 0;
    filter: brightness(0.7);
  }
  60% {
    opacity: 0.7;
    filter: brightness(1.2);
  }
  100% {
    opacity: 1;
    filter: brightness(1);
  }
}

/* ========================================================= */
/* 5. VRTLJIVI TRAK Z LOGOTIPI (PARTNERS BAR)                */
/* ========================================================= */
.partners-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 10;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.partners-title {
  color: #888899;
  font-weight: 900;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  padding: 0 25px;
  background: rgba(5, 5, 8, 0.95);
  z-index: 10;
  white-space: nowrap;
  box-shadow: 10px 0 20px rgba(5, 5, 8, 0.95);
}

.logo-ticker-container {
  display: flex;
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: scrollLogos 80s linear infinite; 
}

.partners-bar:hover .logo-ticker-track {
  animation-play-state: paused;
}

.logo-ticker-track img {
  height: 38px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.85) grayscale(0.1);
  transition: filter 0.3s, transform 0.3s;
}

.logo-ticker-track img:hover {
  filter: brightness(1) grayscale(0);
  transform: scale(1.15);
}

@keyframes scrollLogos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ========================================================= */
/* 6. KATALOG PRODUKTOV IN LEBDEČI PREDOGLED                 */
/* ========================================================= */
.container {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;
}

.section-header {
  margin-bottom: 40px;
  border-left: 5px solid #ff003c;
  padding-left: 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 900;
  letter-spacing: 2px;
  word-break: break-word;
  overflow-wrap: break-word;
}

.section-subtitle {
  color: #777788;
  margin-top: 5px;
  font-size: 0.9rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

/* KARTICA PRODUKTA */
.product-card {
  background: #0d0d12;
  border: 1px solid #1a1a24;
  border-radius: 12px;
  padding: 25px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.4s, box-shadow 0.4s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: #00f0ff;
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.product-card.featured-card {
  grid-column: 1 / -1;
}

/* OKVIR GLAVNE SLIKE - OBIČAJNE KARTICE (4:3) */
.product-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  position: relative;
  overflow: hidden !important;
  border-radius: 12px;
  margin-bottom: 15px;
  background-color: #0d0d12;
  padding: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* OKVIR GLAVNE SLIKE - IZPOSTAVLJENA KARTICA (PANORAMSKO & OMEJENA VIŠINA) */
.product-card.featured-card .product-img-box {
  width: 100%;
  aspect-ratio: 19 / 12;
  max-height: 500px;
  height: auto !important;
}

.product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  cursor: pointer;
  display: block;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.product-img-box img:hover {
  transform: scale(1.02);
}

/* GALERIJA SLIČIC ZNOTRAJ KARTICE */
.card-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 100%;
  overflow: hidden;
}

.card-gallery-thumbs .thumb,
.card-gallery-thumbs img {
  flex: 1 1 0%;
  min-width: 0;
  height: 65px !important;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.6;
  border: 2px solid #1a1a24;
  transition: all 0.25s ease;
}

.card-gallery-thumbs .thumb:hover,
.card-gallery-thumbs .thumb.active,
.card-gallery-thumbs img.active {
  opacity: 1;
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

.card-badge {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #ff003c;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.product-card p {
  color: #888899;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 25px;
  flex-grow: 1;
}

/* ELEGANTNI NEON GUMB ZA POVPRAŠEVANJA */
.btn-add-item {
  width: 100%;
  padding: 12px 18px;
  background: rgba(10, 10, 15, 0.7);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: #00f0ff;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  margin-top: auto;
}

.btn-add-item i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.btn-add-item:hover {
  background: rgba(0, 240, 255, 0.12);
  border-color: #00f0ff;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4), inset 0 0 10px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.btn-add-item:hover i {
  transform: scale(1.2) rotate(90deg);
}

.btn-add-item.added {
  background: linear-gradient(135deg, #00f0ff 0%, #00a8ff 100%);
  color: #000000;
  border-color: #00f0ff;
  font-weight: 800;
  box-shadow: 0 0 22px rgba(0, 240, 255, 0.6);
  animation: pulseSelect 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-add-item.added i {
  transform: scale(1.1);
}

.btn-add-item.added:hover {
  background: linear-gradient(135deg, #33f3ff 0%, #1ab1ff 100%);
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.8);
  transform: translateY(-2px);
}

.btn-add-item.added:hover i {
  transform: scale(1.2) rotate(0deg);
}

@keyframes pulseSelect {
  0% { transform: scale(0.95); }
  50% { transform: scale(1.04); }
  100% { transform: scale(1); }
}

#hover-preview {
  position: fixed;
  display: none;
  width: 250px;
  height: 140px;
  border: 2px solid #ff003c;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(255, 0, 60, 0.5);
  pointer-events: none !important;
  z-index: 900 !important;
  background-color: #0d0d12;
  padding: 15px;
}

#hover-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-img-box img,
.card-gallery-thumbs .thumb {
  content-visibility: auto;
}
/* MREŽA ZA DVE KARTICI V DRUGEM SEKTORJU (VIDEO + SHOWROOM) */
.showcase-dual-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
}

/* STILI ZA MREŽO Z 7 SLIČICAMI */
.card-gallery-thumbs.thumbs-grid-7 {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  width: 100%;
  overflow-x: auto;
}

.card-gallery-thumbs.thumbs-grid-7 .thumb {
  flex: 1 1 0%;
  min-width: 0;
  height: 52px !important;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.6;
  border: 1px solid #1a1a24;
  transition: all 0.2s ease;
}

.card-gallery-thumbs.thumbs-grid-7 .thumb:hover,
.card-gallery-thumbs.thumbs-grid-7 .thumb.active {
  opacity: 1;
  border-color: #00f0ff;
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .showcase-dual-grid {
    grid-template-columns: 1fr;
  }
}
/* ========================================================= */
/* 7. BEFORE / AFTER INTERAKTIVNI DRSNIK                     */
/* ========================================================= */
.ba-slider-container {
  position: relative;
  width: 100%;
  max-width: 1000px;
  height: 500px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #1a1a24;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6);
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: ew-resize;
  background-color: #0d0d12;
}

.ba-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ba-image img,
.ba-image picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ba-image-before-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  overflow: hidden;
  z-index: 2;
}

.ba-image-before-wrapper .ba-image-before,
.ba-image-before-wrapper picture.ba-image-before {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--container-width, 1000px);
  max-width: none !important;
  height: 100%;
}

.ba-image-before-wrapper .ba-image-before img {
  width: var(--container-width, 1000px);
  max-width: none !important;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.ba-badge {
  position: absolute;
  top: 20px;
  padding: 6px 14px;
  background: rgba(13, 13, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  border-radius: 4px;
  pointer-events: none;
  white-space: nowrap;
}

.ba-badge-before {
  left: 20px;
  border-left: 3px solid #888899;
  z-index: 3;
}

.ba-badge-after {
  right: 20px;
  border-right: 3px solid #ff003c;
  color: #00f0ff;
  z-index: 1;
}

.ba-handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 40px;
  height: 100%;
  margin-left: -20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.ba-line {
  width: 4px;
  height: 100%;
  background: #00f0ff;
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.9);
}

.ba-circle {
  width: 44px;
  height: 44px;
  background: #0d0d12;
  border: 2px solid #00f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 8px;
  color: #00f0ff;
  font-size: 0.75rem;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.6);
  flex-shrink: 0;
}

/* ========================================================= */
/* 8. HITRE VIZUALNE BLIŽNJICE DO KATEGORIJ                 */
/* ========================================================= */
.category-showcase {
  position: relative;
  padding: 85px 24px 95px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 15%, rgba(0, 240, 255, 0.07), transparent 34%),
    radial-gradient(circle at 88% 80%, rgba(255, 0, 60, 0.07), transparent 36%),
    #08080c;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.category-showcase-inner {
  width: min(1380px, 100%);
  margin: 0 auto;
}

.category-showcase-header {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.category-showcase-kicker {
  display: inline-block;
  margin-bottom: 11px;
  color: #00f0ff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 3px;
}

.category-showcase-header h2 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 900;
  letter-spacing: 2px;
  line-height: 1.1;
}

.category-showcase-header p {
  margin: 0;
  color: #8d8d9e;
  font-size: 0.95rem;
  line-height: 1.65;
}

.category-shortcuts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}

.category-card {
  position: relative;
  isolation: isolate;
  flex: 0 1 calc((100% - 44px) / 3);
  min-width: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 14px;
  background: #101017;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    box-shadow 0.45s ease;
}

.category-card::before {
  content: '';
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #00f0ff, #087dff);
  transform: scaleX(0.26);
  transform-origin: left;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.category-card:nth-child(even)::before {
  background: linear-gradient(90deg, #ff003c, #ff315f);
}

.category-card > img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  filter: saturate(0.95) brightness(0.9);
  transition:
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.55s ease;
}

.category-card-overlay {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.04) 10%, rgba(5, 5, 8, 0.42) 53%, rgba(5, 5, 8, 0.97) 100%),
    linear-gradient(90deg, rgba(0, 240, 255, 0.09), transparent 42%);
}

.category-card:nth-child(even) .category-card-overlay {
  background:
    linear-gradient(180deg, rgba(5, 5, 8, 0.04) 10%, rgba(5, 5, 8, 0.42) 53%, rgba(5, 5, 8, 0.97) 100%),
    linear-gradient(90deg, rgba(255, 0, 60, 0.08), transparent 42%);
}

.category-card-content {
  position: absolute;
  z-index: 2;
  left: 22px;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.category-card-content small {
  margin-bottom: 8px;
  color: #00f0ff;
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 1.4px;
  line-height: 1.4;
}

.category-card:nth-child(even) .category-card-content small {
  color: #ff315f;
}

.category-card-content strong {
  font-size: clamp(1.05rem, 1.45vw, 1.42rem);
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1.15;
}

.category-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  opacity: 0;
  color: #fff;
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 1.1px;
  transform: translateY(8px);
  padding-right: 10px;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease,
    max-height 0.35s ease,
    margin-top 0.35s ease;
}

.category-card-link .category-arrow {
  color: #00f0ff;
  flex: 0 0 auto;
  font-size: 1rem;
  font-weight: 900;
  line-height: 0.8;
}

.category-card:nth-child(even) .category-card-link .category-arrow {
  color: #ff315f;
}

@media (hover: hover) and (pointer: fine) {
  .category-card:hover {
    transform: translateY(-9px);
    border-color: rgba(0, 240, 255, 0.58);
    box-shadow: 0 24px 54px rgba(0, 240, 255, 0.11);
  }

  .category-card:nth-child(even):hover {
    border-color: rgba(255, 0, 60, 0.52);
    box-shadow: 0 24px 54px rgba(255, 0, 60, 0.1);
  }

  .category-card:hover::before {
    transform: scaleX(1);
  }

  .category-card:hover > img {
    transform: scale(1.065);
    filter: saturate(1.04) brightness(1);
  }

  .category-card:hover .category-card-link {
    max-height: 30px;
    margin-top: 13px;
    opacity: 1;
    transform: translateY(0);
  }

}

@media (max-width: 1180px) {
  .category-card {
    flex-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 760px) {
  .category-showcase {
    padding: 62px 16px 70px;
  }

  .category-showcase-header {
    margin-bottom: 30px;
  }

  .category-shortcuts {
    gap: 14px;
  }

  .category-card {
    flex-basis: 100%;
    aspect-ratio: 4 / 3;
  }

  .category-card-link {
    max-height: 30px;
    margin-top: 12px;
    opacity: 1;
    transform: none;
  }
}

/* ========================================================= */
/* 9. PAS ZAUPANJA                                          */
/* ========================================================= */
.trust-strip {
  position: relative;
  padding: 25px 24px;
  overflow: hidden;
  background: linear-gradient(90deg, #09090e, #0e0e15 50%, #09090e);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  width: min(760px, 75%);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #00f0ff, #ff003c, transparent);
  opacity: 0.75;
}

.trust-strip-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.trust-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 0;
  padding: 5px 28px;
}

.trust-item + .trust-item {
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.trust-icon {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 255, 0.32);
  border-radius: 50%;
  background: rgba(0, 240, 255, 0.055);
  color: #00f0ff;
  font-size: 0.9rem;
  box-shadow: inset 0 0 16px rgba(0, 240, 255, 0.05);
}

.trust-item:nth-child(even) .trust-icon {
  border-color: rgba(255, 0, 60, 0.35);
  background: rgba(255, 0, 60, 0.055);
  color: #ff315f;
}

.trust-item > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.trust-item strong {
  color: #fff;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.95px;
  line-height: 1.3;
}

.trust-item small {
  color: #777787;
  font-size: 0.65rem;
  line-height: 1.45;
}

@media (max-width: 900px) {
  .trust-strip {
    padding: 17px 16px;
  }

  .trust-strip-inner {
    grid-template-columns: 1fr;
    width: min(540px, 100%);
  }

  .trust-item {
    justify-content: flex-start;
    padding: 13px 8px;
  }

  .trust-item + .trust-item {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    border-left: 0;
  }
}

/* ========================================================= */
/* 10. KONTAKTNA SEKCIJA IN OBRAZEC POVPRAŠEVANJA           */
/* ========================================================= */
.contact-section {
  padding: 70px 20px;
  background-color: #08080c;
  border-top: 1px solid #14141d;
  text-align: center;
}

.contact-container {
  max-width: 650px;
  margin: 0 auto;
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1.5px;
}

.contact-section p {
  color: #888899;
  margin-bottom: 30px;
  font-size: 0.95rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row-2 {
  display: flex;
  gap: 15px;
}

.form-row-2 .form-group {
  flex: 1;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  background-color: #121218;
  border: 1px solid #222230;
  border-radius: 6px;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23ff003c' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
}

.form-group select option {
  background-color: #121218;
  color: #fff;
  padding: 10px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #ff003c;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.25);
}

.submit-btn {
  padding: 16px;
  background: linear-gradient(45deg, #ff003c, #b3002a);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 0, 60, 0.4);
}

/* ========================================================= */
/* 9. STRAN V IZDELAVI (UNDER CONSTRUCTION BANNER)           */
/* ========================================================= */
.under-construction-banner {
  background-color: #111;
  color: #00f0ff;
  text-align: center;
  padding: 12px 15px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  border-bottom: 2px solid #ff003c;
  position: relative;
  z-index: 10;
  text-transform: uppercase;
}

/* ========================================================= */
/* 10. NOGA (FOOTER & KONTAKTI)                              */
/* ========================================================= */
.site-footer {
  background-color: #030304;
  color: #888;
  padding: 50px 20px 30px 20px;
  text-align: center;
  border-top: 1px solid #111118;
}

.footer-brand {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 3px;
  color: #ff003c;
  margin-bottom: 12px;
}

.footer-desc {
  color: #888899;
  font-size: 0.9rem;
  margin-bottom: 25px;
}

.contact-details {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.contact-phone-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #0e0e14;
  border: 1px solid #1f1f2e;
  padding: 10px 20px;
  border-radius: 6px;
  transition: border-color 0.3s;
}

.contact-item:hover {
  border-color: #00f0ff;
}

.contact-icon {
  color: #ff003c;
  font-size: 0.9rem;
}

.contact-item a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.contact-item a span {
  color: #00f0ff;
  font-weight: 600;
  font-size: 0.85rem;
  margin-left: 4px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 25px 0;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0e0e14;
  border: 1px solid #222230;
  color: #fff;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #00f0ff;
  border-color: #00f0ff;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.5);
  transform: translateY(-3px);
}

.footer-divider {
  width: 100px;
  border: 0;
  height: 1px;
  background: #1a1a24;
  margin: 20px auto;
}

.footer-bottom-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 25px;
  width: 100%;
  margin-top: 15px;
}

.footer-bottom-row .copy {
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: #888;
  line-height: 1;
  display: flex;
  align-items: center;
}

.footer-bottom-row .developed-by {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  font-size: 0.85rem;
  color: #888;
  line-height: 1;
}

.footer-bottom-row .developed-by span {
  display: inline-block;
  line-height: 1;
}

.footer-bottom-row .footer-logo {
  height: 60px;
  width: auto;
  display: block;
  object-fit: contain;
  opacity: 1;
  margin: 0;
}

/* ========================================================= */
/* 11. GALERIJA PROJEKTOV & FILTRI                           */
/* ========================================================= */
.project-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.filter-btn {
  background: #0e0e14;
  border: 1px solid #222230;
  color: #aaa;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
  background: #ff003c;
  color: #fff;
  border-color: #ff003c;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.4);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.project-card {
  background: #0d0d12;
  border: 1px solid #1a1a24;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: #00f0ff;
  box-shadow: 0 15px 35px rgba(0, 240, 255, 0.15);
}

.project-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #14141d;
  cursor: pointer;
}

.project-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
  transform: scale(1.08);
}

.project-overlay-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.5);
  width: 50px;
  height: 50px;
  background: rgba(0, 240, 255, 0.9);
  color: #000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.project-img-wrapper:hover .project-overlay-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.project-info {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.project-tag {
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 1.5px;
  color: #ff003c;
  text-transform: uppercase;
}

.project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.project-desc {
  color: #888899;
  font-size: 0.88rem;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.btn-view-project {
  display: inline-block;
  text-align: center;
  padding: 10px 18px;
  background: transparent;
  border: 1px solid #222230;
  color: #e1e1f0;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1px;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
}

.project-card:hover .btn-view-project {
  border-color: #00f0ff;
  color: #00f0ff;
}

/* MODALNO OKNO IN CTA BANER */
.project-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(10px);
  z-index: 3000;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.project-modal.active {
  display: flex;
}

.modal-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: #0d0d12;
  border: 1px solid #222230;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.9);
}

.modal-img-container {
  width: 100%;
  max-height: 500px;
  overflow: hidden;
  background: #000;
}

.modal-img-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.modal-body {
  padding: 25px;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s;
}

.modal-close:hover {
  color: #ff003c;
}

.project-cta-banner {
  margin-top: 80px;
  background: linear-gradient(135deg, #0d0d14 0%, #151522 100%);
  border: 1px solid #222230;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
}

.project-cta-banner h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.project-cta-banner p {
  color: #888899;
  margin-bottom: 25px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ========================================================= */
/* 13. KARTICA "O NAS" IN POPUP OKNO                        */
/* ========================================================= */
.about-feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 38px;
  padding: 22px;
  overflow: visible;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  background:
    linear-gradient(120deg, rgba(0, 240, 255, 0.055), transparent 38%),
    linear-gradient(300deg, rgba(255, 0, 60, 0.055), transparent 38%),
    #0d0d13;
  text-align: left;
  box-shadow: 0 22px 50px rgba(0, 0, 0, 0.22);
}

.about-feature::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: 0;
  left: 22px;
  height: 1px;
  background: linear-gradient(90deg, #00f0ff, transparent 45%, #ff003c);
  opacity: 0.58;
}

.about-feature-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(0, 240, 255, 0.11), rgba(255, 0, 60, 0.07));
  color: #00f0ff;
  font-size: 1.25rem;
  box-shadow: inset 0 0 18px rgba(0, 240, 255, 0.07);
}

.about-feature-copy > span {
  display: block;
  margin-bottom: 6px;
  color: #ff315f;
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 1.8px;
}

.about-feature-copy h3 {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  line-height: 1.25;
}

.about-feature-copy p {
  margin: 7px 0 0;
  color: #7f7f90;
  font-size: 0.72rem;
  line-height: 1.55;
}

.about-hover-container {
  position: relative;
  display: inline-block;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  background: rgba(255, 0, 60, 0.08);
  border: 1px solid rgba(255, 0, 60, 0.7);
  color: #fff;
  padding: 12px 16px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.about-btn i {
  color: #ff315f;
  font-size: 0.68rem;
  transition: transform 0.3s ease, color 0.3s ease;
}

.about-btn:hover {
  background: #ff003c;
  box-shadow: 0 0 15px rgba(255, 0, 60, 0.5);
}

.about-btn:hover i {
  color: #fff;
  transform: translateX(3px);
}

.about-popover {
  display: none;
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 90%;
  max-width: 420px;
  background: #0d0d12;
  border: 1px solid #222230;
  border-top: 3px solid #ff003c;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 0, 60, 0.15);
  z-index: 10020;
  text-align: left;
}

.about-backdrop {
  position: fixed;
  z-index: 10010;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: rgba(0, 0, 0, 0.68);
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity 0.22s ease;
}

.about-backdrop[hidden] {
  display: none;
}

.about-backdrop.is-visible {
  opacity: 1;
}

.popover-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.popover-header h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.popover-close {
  display: block;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 1.3rem;
  cursor: pointer;
}

.about-popover p {
  color: #aaaabb;
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.about-popover.show {
  display: block;
  animation: fadeInModal 0.2s ease-out forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 700px) {
  .about-feature {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 15px;
    padding: 19px;
  }

  .about-feature .about-hover-container {
    grid-column: 1 / -1;
    width: 100%;
  }

  .about-feature .about-btn {
    width: 100%;
    justify-content: center;
  }

  .about-feature-mark {
    width: 48px;
    height: 48px;
  }
}

/* ========================================================= */
/* 13. LEBDEČA VRSTICA IN ZLOŽLJIV PANEL (BASKET DRAWER)     */
/* ========================================================= */
.floating-bar {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  animation: slideUp 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.floating-bar-content {
  background: rgba(10, 10, 15, 0.95);
  border: 1px solid #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.4);
  padding: 12px 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(10px);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.floating-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.basket-arrow {
  font-size: 0.8rem;
  color: #00f0ff;
  transition: transform 0.3s ease;
  margin-left: 5px;
}

.basket-arrow.open {
  transform: rotate(180deg);
}

.basket-drawer {
  display: none;
  width: 100%;
  min-width: 300px;
  max-width: 360px;
  background: rgba(10, 10, 15, 0.98);
  border: 1px solid #00f0ff;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -10px 25px rgba(0, 240, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 15px;
  margin-bottom: -1px;
  animation: slideUpDrawer 0.25s ease-out forwards;
}

.basket-drawer.active {
  display: block;
}

.basket-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 800;
  color: #888899;
  letter-spacing: 1px;
}

.close-drawer-btn {
  background: transparent;
  border: none;
  color: #ff003c;
  font-size: 1.2rem;
  cursor: pointer;
  line-height: 1;
}

.basket-items-list {
  list-style: none;
  max-height: 200px;
  overflow-y: auto;
  margin-top: 10px;
  padding-right: 5px;
}

.basket-items-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.82rem;
  color: #fff;
  font-weight: 600;
}

.basket-items-list li:last-child {
  border-bottom: none;
}

.remove-item-btn {
  background: rgba(255, 0, 60, 0.15);
  border: 1px solid #ff003c;
  color: #ff003c;
  border-radius: 4px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: all 0.2s ease;
  margin-left: 10px;
  flex-shrink: 0;
}

.remove-item-btn:hover {
  background: #ff003c;
  color: #fff;
  box-shadow: 0 0 10px rgba(255, 0, 60, 0.6);
}

.floating-btn {
  background: #00f0ff;
  color: #000;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.floating-btn:hover {
  background: #ffffff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes slideUp {
  from { transform: translateY(50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUpDrawer {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================================= */
/* 14. ODZIVNOST ZA MOBILNE NAPRAVE IN TABLICE               */
/* ========================================================= */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.4rem;
    letter-spacing: 1px;
  }

  .product-img-box,
  .product-card.featured-card .product-img-box {
    width: 100%;
    aspect-ratio: 4 / 3 !important;
    height: auto !important;
  }

  .product-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    transform: scale(1) !important;
  }

  .card-gallery-thumbs {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
  }

  .card-gallery-thumbs .thumb {
    flex: 0 0 22%;
    height: 55px !important;
    scroll-snap-align: start;
  }

  .card-gallery-thumbs::-webkit-scrollbar {
    display: none;
  }
  
  .card-gallery-thumbs {
    -ms-overflow-style: none;
    scrollbar-width: none;
  }
}

@media (max-width: 900px) {
  .brand-logo {
    display: block;
    max-width: 70%;
    word-break: break-word;
    font-size: 0.9rem;
  }

  .header-container {
    padding: 0 15px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero-section {
    height: 100vh;
    height: 100svh;
    width: 100%;
    overflow: hidden;
    position: relative;
  }

  .hero-bg-img picture img,
  .hero-bg-img img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    object-position: center;
  }

  .partners-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 48px;
    background: rgba(5, 5, 8, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
  }

  .partners-title {
    font-size: 0.6rem;
    padding: 0 10px;
    letter-spacing: 1px;
  }

  .logo-ticker-track {
    gap: 35px;
    animation-duration: 80s !important;
  }

  .logo-ticker-track img {
    height: 24px;
  }

  .main-nav {
    position: fixed;
    top: 65px;
    left: 0;
    width: 100%;
    height: calc(100vh - 65px);
    height: calc(100dvh - 65px);
    background-color: rgba(10, 10, 14, 0.98);
    backdrop-filter: blur(15px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 25px;
    gap: 15px;
    overflow-y: auto;
    display: none;
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a, 
  .dropbtn {
    font-size: 1rem;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .dropdown {
    width: 100%;
  }

  .dropdown-content {
    position: static;
    transform: none;
    background: #111118;
    border: 1px solid #222230;
    box-shadow: none;
    padding: 10px 15px;
    margin-top: 8px;
    border-radius: 6px;
    min-width: 100%;
    max-height: none;
    display: none;
  }

  .dropdown-content.open {
    display: block;
  }

  .sub-dropdown-content {
    position: static;
    background: #181824;
    border: none;
    box-shadow: none;
    padding: 5px 15px;
    margin-top: 5px;
    border-radius: 4px;
    display: none;
  }

  .sub-dropdown-content.open {
    display: block;
  }

  .arrow-rotate {
    transform: rotate(180deg);
  }

  #hover-preview {
    display: none !important;
  }

  .contact-details {
    flex-direction: column;
    gap: 12px;
  }

  .contact-phone-grid {
    flex-direction: column;
    width: 100%;
  }

  .contact-item {
    width: 100%;
    justify-content: center;
  }

  .ba-slider-container {
    height: 320px;
  }

  .ba-image img,
  .ba-image picture img,
  .ba-image-before-wrapper .ba-image-before img {
    object-position: 50% 65% !important;
    transform: scale(1.3) !important;
    transform-origin: center center;
  }

  .ba-badge {
    top: 12px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .popover-close {
    display: block;
  }

  .floating-bar {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .basket-drawer {
    min-width: 100%;
    max-width: 100%;
  }

  .floating-bar-content {
    justify-content: space-between;
    padding: 10px 15px;
    font-size: 0.8rem;
    width: 100%;
  }
}

@media (max-width: 650px) {
  .form-row-2 {
    flex-direction: column;
    gap: 15px;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 360px) {
  .brand-logo {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }

  .header-container {
    padding: 0 10px;
  }

  .mobile-toggle {
    font-size: 1.3rem;
  }
}

/* Skrito proti-spam polje kontaktnega obrazca. */
.form-hp {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* ========================================================= */
/* 16. DISKRETNE PREMIUM ANIMACIJE                           */
/* ========================================================= */

/* ========================================================= */
/* 15. STRAN 404                                             */
/* ========================================================= */

.error-page {
  min-height: 100svh;
  overflow: hidden;
  background: #020305;
  color: #fff;
}

.error-background,
.error-background img,
.error-overlay {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

.error-background img {
  object-fit: cover;
  object-position: center;
}

.error-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.52) 60%, rgba(0, 0, 0, 0.76)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.72), transparent 55%);
}

.error-shell {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  padding: 34px 0 70px;
}

.error-brand {
  align-self: flex-start;
  color: #fff;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  text-decoration: none;
  text-shadow: 0 0 18px rgba(0, 181, 255, 0.55);
}

.error-content {
  width: min(720px, 100%);
  margin: auto 0;
  padding-top: 55px;
}

.error-code {
  margin: 0 0 -18px;
  color: transparent;
  font-size: clamp(7.5rem, 19vw, 15rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: -0.07em;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.26);
  text-shadow: 0 0 48px rgba(0, 181, 255, 0.13);
}

.error-kicker {
  margin: 0 0 10px;
  color: #00b5ff;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.24em;
}

.error-content h1 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.error-content > p:not(.error-code):not(.error-kicker) {
  max-width: 610px;
  margin: 24px 0 0;
  color: #c9cdd3;
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  line-height: 1.7;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.error-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.error-btn-primary {
  border-color: #00b5ff;
  background: #00b5ff;
  color: #020305;
}

.error-btn-secondary {
  background: rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(8px);
}

@media (hover: hover) and (pointer: fine) {
  .error-btn:hover {
    transform: translateY(-3px);
  }

  .error-btn-secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 600px) {
  .error-shell {
    width: min(100% - 30px, 1180px);
    padding: 24px 0 42px;
  }

  .error-content {
    padding-top: 36px;
  }

  .error-code {
    margin-bottom: -8px;
    font-size: clamp(7rem, 39vw, 10rem);
  }

  .error-actions,
  .error-btn {
    width: 100%;
  }
}

/* Elementi ostanejo vidni, če JavaScript ni na voljo. */
.motion-ready .scroll-reveal {
  opacity: 0;
  translate: 0 26px;
  transition:
    opacity 0.65s ease var(--reveal-delay, 0ms),
    translate 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
  will-change: opacity, translate;
}

.motion-ready .scroll-reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

/* Gladek prehod med glavno in galerijsko sliko. */
.product-img-box img {
  transition:
    opacity 0.32s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.32s ease;
  will-change: opacity, transform;
}

.product-img-box img.is-switching {
  opacity: 0;
  transform: scale(1.025);
  filter: brightness(0.82);
}

/* Diskreten svetlobni prehod čez CTA gumbe. */
.btn-add-item,
.submit-btn,
.btn-view-project,
.about-btn,
.floating-btn,
.filter-btn {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.btn-add-item::after,
.submit-btn::after,
.btn-view-project::after,
.about-btn::after,
.floating-btn::after,
.filter-btn::after {
  content: '';
  position: absolute;
  z-index: 2;
  top: -60%;
  bottom: -60%;
  left: -45%;
  width: 28%;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-220%) skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.46),
    rgba(255, 255, 255, 0.05),
    transparent
  );
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}

@media (hover: hover) and (pointer: fine) {
  .product-card:hover .product-img-box img,
  .project-card:hover .project-img-wrapper img {
    transform: scale(1.045);
  }

  .product-card:hover .product-img-box img.is-switching {
    transform: scale(1.025);
  }

  .btn-add-item:hover::after,
  .submit-btn:hover::after,
  .btn-view-project:hover::after,
  .about-btn:hover::after,
  .floating-btn:hover::after,
  .filter-btn:hover::after {
    opacity: 1;
    transform: translateX(620%) skewX(-18deg);
  }
}

/* Na napravah na dotik ni lepljivih hover animacij. */
@media (hover: none), (pointer: coarse) {
  .product-card:hover,
  .project-card:hover,
  .btn-add-item:hover,
  .submit-btn:hover,
  .social-links a:hover {
    transform: none;
  }

  .product-img-box img:hover,
  .product-card:hover .product-img-box img,
  .project-card:hover .project-img-wrapper img {
    transform: scale(1);
  }
}

/* Diskreten gumb se pokaže šele, ko obiskovalec zapusti vrh strani. */
.back-to-top {
  position: fixed;
  z-index: 9990;
  right: 22px;
  bottom: 92px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(0, 240, 255, 0.45);
  border-radius: 50%;
  background: rgba(9, 9, 14, 0.88);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.94);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35), inset 0 0 18px rgba(0, 240, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.back-to-top::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border-bottom: 1px solid rgba(255, 0, 60, 0.8);
  pointer-events: none;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

@media (hover: hover) and (pointer: fine) {
  .back-to-top:hover {
    transform: translateY(-4px);
    border-color: #00f0ff;
    box-shadow: 0 10px 30px rgba(0, 240, 255, 0.16);
  }
}

@media (max-width: 900px) {
  .main-nav > a::after,
  .main-nav > .dropdown > .dropbtn::after {
    top: 50%;
    right: auto;
    bottom: auto;
    left: -10px;
    width: 3px;
    height: 70%;
    transform: translateY(-50%) scaleY(0.35);
    clip-path: none;
    border-radius: 10px;
  }

  .main-nav > a.nav-current,
  .main-nav > .dropdown > .dropbtn.nav-current {
    padding-left: 12px;
    color: #00f0ff;
    background: linear-gradient(90deg, rgba(0, 240, 255, 0.08), transparent 65%);
  }

  .main-nav > a.nav-current::after,
  .main-nav > .dropdown > .dropbtn.nav-current::after {
    transform: translateY(-50%) scaleY(1);
  }

  .back-to-top {
    right: 14px;
    bottom: 86px;
    width: 42px;
    height: 42px;
  }
}

/* Uporabnikova sistemska nastavitev ima prednost pred dekorativnimi učinki. */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .motion-ready .scroll-reveal,
  .motion-ready .scroll-reveal.is-visible {
    opacity: 1;
    translate: none;
  }
}
