/* ==============================================
   HELIORA D.O.O. — Eleganten dizajn
   Pisave: Cormorant Garamond (naslovi) + Inter (besedilo)
   Barvna paleta: kremna, zlato-oranžna, temno siva
   ============================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ---- CSS spremenljivke ---- */
:root {
  --gold:        #c8973a;
  --gold-light:  #e8b96a;
  --gold-dark:   #a07828;
  --cream:       #faf8f4;
  --cream-dark:  #f0ece4;
  --text:        #1c1a17;
  --text-muted:  #6b6560;
  --text-light:  #9e9890;
  --dark:        #0f0e0c;
  --dark-mid:    #1a1815;
  --border:      #e4dfd6;
  --white:       #ffffff;
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, sans-serif;
  --radius:      4px;
  --radius-lg:   12px;
  --shadow-sm:   0 2px 12px rgba(0,0,0,0.06);
  --shadow-md:   0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg:   0 20px 60px rgba(0,0,0,0.14);
  --transition:  0.3s ease;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- Container ---- */
.container {
  max-width: 1280px;
  width: 90%;
  margin: 0 auto;
}

/* ---- Skupne komponente ---- */
.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text);
}

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

/* ---- Gumbi ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,151,58,0.35);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}
.btn-outline:hover {
  background: var(--text);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-full { width: 100%; text-align: center; }

/* ---- Fade-in animacija ---- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   HEADER
   ================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(250, 248, 244, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  height: 40px;
  width: auto;
  transition: transform var(--transition);
}
.logo:hover .logo-img { transform: scale(1.04); }
.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text);
}

/* Nav */
.nav {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  position: relative;
  transition: color var(--transition);
  padding-bottom: 2px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-link:hover,
.nav-link.active { color: var(--text); }
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Header desna stran */
.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

/* Jezikovni preklopnik */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-light);
  cursor: pointer;
  padding: 4px 2px;
  transition: color var(--transition);
}
.lang-btn.active { color: var(--gold); }
.lang-btn:hover { color: var(--text); }
.lang-sep { color: var(--border); font-size: 12px; }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.bar {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--text);
  transition: all var(--transition);
  transform-origin: center;
}
.hamburger.active .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.active .bar:nth-child(2) { opacity: 0; }
.hamburger.active .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ================================================
   HERO
   ================================================ */
.hero {
  position: relative;
  background: var(--cream);
  padding: 100px 0 80px;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-bg-line {
  position: absolute;
  top: 0; right: 18%;
  width: 1px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--border) 30%, var(--border) 70%, transparent);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.0;
  margin-bottom: 28px;
  letter-spacing: -2px;
}
.hero-title-main {
  display: block;
  font-size: clamp(64px, 9vw, 120px);
  color: var(--text);
}
.hero-title-sub {
  display: block;
  font-size: clamp(28px, 4vw, 52px);
  color: var(--gold);
  font-style: italic;
  letter-spacing: 0.02em;
  margin-top: -8px;
}

.hero-tagline {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 40px;
}

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

.hero-visual {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.hero-img-wrap {
  position: relative;
  display: inline-block;
}
.hero-img {
  max-width: 380px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}
.hero-img:hover { transform: translateY(-6px); }
.hero-img-deco {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.35;
  z-index: 0;
  pointer-events: none;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ================================================
   O NAS
   ================================================ */
.about {
  padding: 120px 0;
  background: var(--white);
}

.about-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: start;
}

.about-divider {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 24px 0 32px;
}

.about-left p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 18px;
}
.about-left p strong { color: var(--text); font-weight: 600; }

.about-quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  border-left: 2px solid var(--gold);
  padding-left: 20px;
  margin-top: 32px;
  line-height: 1.5;
}

/* Statistike */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 40px;
}
.stat-item {
  padding: 28px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.stat-item:first-child { border-top: 1px solid var(--border); }
.stat-number {
  font-family: var(--font-serif);
  font-size: 52px;
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  min-width: 80px;
}
.stat-plus {
  font-size: 28px;
  color: var(--gold);
}
.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  display: none;
  align-items: center;
  justify-content: center;
  border: 1px dashed var(--border);
}
.placeholder-inner { text-align: center; color: var(--text-light); }
.placeholder-icon { font-size: 32px; display: block; margin-bottom: 8px; opacity: 0.4; }

/* ================================================
   BLAGOVNE ZNAMKE — mreža 4 + 4
   ================================================ */
.brands {
  padding: 120px 0;
  background: var(--cream);
}

/* Mreža: 4 stolpci, 2 vrstici = 8 kartic */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--border);
}

.brand-card {
  background: var(--white);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: background var(--transition);
}
.brand-card:hover { background: var(--cream); }

.brand-num {
  font-family: var(--font-serif);
  font-size: 12px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.brand-logo-wrap {
  height: 64px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}
.brand-logo-wrap img {
  max-height: 56px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter var(--transition);
}
.brand-card:hover .brand-logo-wrap img { filter: grayscale(0%); }

.brand-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.brand-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  flex-grow: 1;
  margin-bottom: 24px;
}

.brand-link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  transition: color var(--transition), letter-spacing var(--transition);
  margin-top: auto;
}
.brand-link:hover {
  color: var(--gold-dark);
  letter-spacing: 0.12em;
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  background: var(--dark);
  color: #c8c4bc;
}

.footer-top {
  padding: 80px 0 60px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.footer-logo {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
  opacity: 0.85;
}
.footer-tagline {
  font-size: 14px;
  color: #7a766e;
  line-height: 1.6;
  max-width: 200px;
}

.site-footer h3 {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--white);
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}

.contact-list { display: flex; flex-direction: column; gap: 14px; }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: #9e9890;
  line-height: 1.5;
}
.contact-icon {
  color: var(--gold);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 1px;
}
.contact-list a { transition: color var(--transition); }
.contact-list a:hover { color: var(--gold); }

.map-container {
  width: 100%;
  height: 200px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(100%) invert(90%) contrast(85%);
  opacity: 0.75;
}

.contact-form { display: flex; flex-direction: column; gap: 12px; }
.form-group { position: relative; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--white);
  transition: border-color var(--transition), background var(--transition);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: #5a564e; }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.contact-form textarea { resize: vertical; min-height: 110px; }
.contact-form .btn-primary { margin-top: 4px; font-size: 12px; padding: 13px 24px; }

.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.copy, .footer-made {
  font-size: 12px;
  color: #8a8680;
  letter-spacing: 0.04em;
}

.footer-made-link {
  color: #8a8680;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.footer-made-link:hover {
  color: var(--gold );
}


/* ================================================
   RESPONZIVNOST
   ================================================ */

/* Velik tablet — 3 stolpci */
@media (max-width: 1200px) {
  .brands-grid { grid-template-columns: repeat(4, 1fr); }
  .brand-card { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* Tablet — 2 stolpca za brands */
@media (max-width: 900px) {
  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { gap: 48px; }
}

/* Mobilni */
@media (max-width: 768px) {
  /* Header */
  .nav {
    display: none;
    position: absolute;
    top: 72px;
    left: 0; right: 0;
    background: rgba(250,248,244,0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 5%;
    gap: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    z-index: 199;
  }
  .nav.open { display: flex; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 80px 0 60px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .hero-visual { justify-content: center; }
  .hero-tagline { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-img { max-width: 280px; }
  .hero-bg-line { display: none; }
  .hero-scroll-hint { display: none; }

  /* O nas */
  .about { padding: 80px 0; }
  .about-inner { grid-template-columns: 1fr; gap: 48px; }
  .about-right { order: -1; }
  .about-img-placeholder { display: none; }
  .about-stats { flex-direction: row; flex-wrap: wrap; }
  .stat-item { flex: 1 1 140px; border-bottom: none; border-top: 1px solid var(--border); padding: 20px 12px; }

  /* Blagovne znamke — 1 stolpec na mobilnem */
  .brands { padding: 80px 0; }
  .brands-grid { grid-template-columns: 1fr; }
  .brand-card { padding: 28px 22px; }

  /* Footer */
  .footer-top { padding: 60px 0 40px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ================================================
   TOAST OBVESTILO (po pošiljanju obrazca)
   ================================================ */
#form-toast {
  position: fixed;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--text);
  color: var(--white);
  padding: 16px 28px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  max-width: 90vw;
  border-left: 3px solid var(--gold);
}
#form-toast.toast-error {
  border-left-color: #c0392b;
}
#form-toast.toast-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 480px) {
  .hero-title-main { font-size: 56px; }
  .hero-title-sub  { font-size: 26px; }
  .btn { padding: 12px 24px; font-size: 12px; }
  .about-stats { flex-direction: column; }
  .stat-item { flex: none; }
  .brands-grid { grid-template-columns: 1fr; }
}
