/* ============================================================
   UJET SPOMIN — premium design system
   Playfair Display (display) / Inter (body)
   ============================================================ */

/* Pisave so lokalne, da obisk strani ne zahteva klica zunanjim ponudnikom. */
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../assets/fonts/cormorant-normal-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../assets/fonts/cormorant-normal-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url('../assets/fonts/cormorant-italic-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url('../assets/fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../assets/fonts/montserrat-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: 'Montserrat'; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url('../assets/fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/great-vibes-ext.woff2') format('woff2');
  unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF;
}
@font-face {
  font-family: 'Great Vibes'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('../assets/fonts/great-vibes-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #faf7f2;
  --bg-alt: #f3ede4;
  --surface: #ffffff;
  --ink: #2b2622;
  --ink-soft: #5b5248;
  --muted: #6f6659;
  --line: #e5dccf;
  --gold: #b08d57;
  --gold-deep: #96733f;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.5);
  --shadow-soft: 0 8px 40px rgba(43, 38, 34, 0.08);
  --shadow-lift: 0 20px 60px rgba(43, 38, 34, 0.16);
  --radius: 4px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, 'Segoe UI', sans-serif;
  --font-script: 'Great Vibes', cursive;
}

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

html { scroll-behavior: smooth; font-size: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 500; line-height: 1.15; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 clamp(18px, 3.6vw, 43px); }

/* -------- accessibility -------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: var(--bg); padding: 12px 20px;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* -------- header -------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.site-header.scrolled {
  background: var(--glass);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; max-width: 1188px; margin: 0 auto; padding: 0 clamp(18px, 3.6vw, 43px);
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { height: 38px; width: auto; }
.logo-text { font-family: var(--font-display); font-size: 18px; letter-spacing: 3px; text-transform: uppercase; }
.logo-text small { display: block; font-family: var(--font-body); font-size: 9px; letter-spacing: 4px; color: var(--muted); }

.nav-links { display: flex; gap: 6px; list-style: none; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 10px 14px; color: var(--ink-soft); position: relative; transition: color 0.25s;
  white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 6px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 30px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg);
  text-decoration: none; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase;
  border-radius: var(--radius); transition: all 0.35s var(--ease); cursor: pointer;
}
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn-gold:hover { background: var(--gold-deep); }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn-sm { padding: 10px 20px; font-size: 11px; letter-spacing: 2px; }

.nav-burger {
  background: none; border: none; color: var(--ink-soft); padding: 10px; border-radius: 50%;
  display: inline-flex; transition: color 0.25s, background 0.25s;
}
.nav-burger { display: none; }

/* -------- hero -------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; text-align: center; overflow: hidden; color: #f5efe6;
  background: #221c17; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -14% 0 -6%; z-index: -1;
  background:
    radial-gradient(ellipse at 25% 20%, rgba(176, 141, 87, 0.35), transparent 55%),
    radial-gradient(ellipse at 80% 75%, rgba(120, 90, 60, 0.4), transparent 50%),
    linear-gradient(160deg, #221c17 0%, #382e25 45%, #191512 100%);
  background-color: #221c17; will-change: transform;
}
.hero-bg picture { display: block; width: 100%; height: 100%; }
.hero-bg img { width: 100%; height: 100%; min-width: 100%; min-height: 100%; object-fit: cover; opacity: 0.55; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(180deg, rgba(20,16,13,0.5) 0%, rgba(20,16,13,0.38) 45%, rgba(20,16,13,0.66) 100%);
}
.hero-inner, .hero-scroll { position: relative; z-index: 1; }
.hero-inner { max-width: 792px; padding: 108px 22px 72px; }
.hero-kicker {
  font-size: 12px; letter-spacing: 6px; text-transform: uppercase; color: var(--gold);
  margin-bottom: 28px; display: inline-flex; align-items: center; gap: 16px;
}
.hero-kicker::before, .hero-kicker::after { content: ''; width: 48px; height: 1px; background: var(--gold); }
.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5rem); font-weight: 500; margin-bottom: 26px;
  text-wrap: balance;
}
.hero h1 em { font-style: italic; color: #e6cfa9; }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.2rem); font-weight: 300; color: rgba(245, 239, 230, 0.85); max-width: 620px; margin: 0 auto 44px; }
.hero-ctas { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero .btn-outline { color: #f5efe6; border-color: rgba(245,239,230,0.6); }
.hero .btn-outline:hover { background: #f5efe6; color: var(--ink); border-color: #f5efe6; }
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(245,239,230,0.7); font-size: 11px; letter-spacing: 3px; text-transform: uppercase;
  text-decoration: none; display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.hero-scroll span { display: block; width: 1px; height: 44px; background: linear-gradient(to bottom, transparent, var(--gold)); animation: scrollPulse 2.2s infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.4; transform: scaleY(0.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* -------- sections -------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 640px; margin: 0 auto clamp(48px, 6vw, 80px); text-align: center; }
.kicker { font-size: 11px; letter-spacing: 5px; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 20px; text-wrap: balance; }
.section-head p { color: var(--ink-soft); font-weight: 300; }

/* reveal on scroll — skrito samo, ko JS doda razred .js (varovalo za no-JS) */
html.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 0.12s; } .reveal-d2 { transition-delay: 0.24s; } .reveal-d3 { transition-delay: 0.36s; }

/* -------- about -------- */
.about-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-photo { position: relative; }
.about-photo[hidden] { display: none; }
.about-grid--no-image { grid-template-columns: minmax(0, 860px); justify-content: center; }
.about-grid--no-image .about-text { width: 100%; margin-inline: auto; }
.about-grid--no-image .about-text h2 { max-width: 19ch; }
.about-grid--no-image .about-stats { padding-top: 24px; border-top: 1px solid var(--line); justify-content: space-between; }
.about-photo .frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.about-photo .frame img, .about-photo .frame svg { width: 100%; height: 100%; object-fit: cover; }
.about-photo::before {
  content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 1px solid var(--gold);
  border-radius: var(--radius); z-index: -1; opacity: 0.5;
}
.about-text h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); margin-bottom: 24px; }
.about-text p { color: var(--ink-soft); margin-bottom: 18px; font-weight: 300; }
.about-sign { font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--gold-deep); margin-top: 10px; }
.about-stats { display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 36px; }
.stat b { display: block; font-family: var(--font-display); font-size: 2.2rem; font-weight: 500; color: var(--ink); }
.stat span { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }

/* -------- services -------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.service-card {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 40px 32px; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s;
  cursor: pointer;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); border-color: var(--gold); }
.service-card .num {
  font-family: var(--font-display); font-style: italic; font-size: 2.6rem; color: var(--line);
  transition: color 0.4s; line-height: 1; margin-bottom: 22px; display: block;
}
.service-card:hover .num { color: var(--gold); }
.service-card h3 { font-size: 1.35rem; margin-bottom: 12px; }
.service-card p { color: var(--ink-soft); font-size: 0.94rem; font-weight: 300; margin-bottom: 20px; }
.service-card .service-link { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold-deep); text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.service-card .service-link svg { transition: transform 0.3s var(--ease); }
.service-card:hover .service-link svg { transform: translateX(6px); }

/* -------- gallery -------- */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter-btn {
  background: none; border: 1px solid var(--line); border-radius: 999px; padding: 9px 22px;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.filter-btn:hover { border-color: var(--gold); color: var(--gold-deep); }
.filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.filter-count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px;
  margin-left: 8px; padding-inline: 6px; border-radius: 999px; background: rgba(176,141,87,.13);
  color: var(--gold-deep); font: 600 10px/1 var(--font-body); letter-spacing: 0;
}
.filter-btn.active .filter-count { background: rgba(255,255,255,.16); color: #fff; }

.masonry {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
  align-items: start;
  padding: 12px clamp(4px, 1vw, 14px) 0;
  scroll-margin-top: 98px;
}
.masonry-item {
  position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5;
  border: 1px solid rgba(176, 141, 87, 0.22); border-radius: 6px; cursor: zoom-in;
  background: var(--bg-alt); box-shadow: 0 12px 34px rgba(43, 38, 34, 0.12);
}
.masonry-item.is-featured {
  z-index: 2; transform: translateY(-16px) scale(1.035);
  border: 3px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 70px rgba(43, 38, 34, 0.22), 0 0 0 1px rgba(176, 141, 87, 0.25);
}
.masonry-item img, .masonry-item svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s; display: block; }
.masonry-item:hover img, .masonry-item:hover svg, .masonry-item.is-featured img { transform: scale(1.045); }
.masonry-item .cap {
  position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(23, 18, 14, 0.75));
  color: #f5efe6; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  opacity: 0; transform: translateY(10px); transition: all 0.4s var(--ease);
}
.masonry-item:hover .cap { opacity: 1; transform: none; }
.gallery-footer { display: grid; justify-items: center; gap: 18px; margin-top: 42px; }
.gallery-count { min-height: 20px; color: var(--muted); font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; }
.gallery-pager { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
.gallery-pager[hidden] { display: none; }
.gallery-page-btn {
  min-width: 44px; height: 44px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-soft);
  font: 500 14px/1 var(--font-body); cursor: pointer; transition: background .22s, color .22s, border-color .22s, transform .22s;
}
.gallery-page-btn:hover:not(:disabled), .gallery-page-btn:focus-visible { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-2px); }
.gallery-page-btn[aria-current="page"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery-page-btn:disabled { opacity: .35; cursor: default; }
.gallery-page-gap { color: var(--muted); padding-inline: 2px; }

/* -------- lightbox -------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center;
  background: rgba(16, 13, 11, 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.lightbox.open { display: flex; animation: lbIn 0.35s var(--ease); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox img { max-width: min(92vw, 1400px); max-height: 86vh; object-fit: contain; border-radius: 2px; box-shadow: 0 30px 90px rgba(0,0,0,0.5); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox figcaption { color: rgba(245,239,230,0.7); font-size: 13px; letter-spacing: 1px; }
.lb-btn {
  position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15);
  color: #f5efe6; width: 52px; height: 52px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; transition: background 0.25s; backdrop-filter: blur(6px);
}
.lb-btn:hover { background: rgba(176, 141, 87, 0.5); }
.lb-close { top: 24px; right: 24px; }
.lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lb-download { bottom: 24px; right: 24px; width: auto; padding: 0 22px; border-radius: 999px; gap: 10px; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; text-decoration: none; height: 46px; }

/* -------- process -------- */
.process-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 36px; counter-reset: step; }
.process-step { text-align: center; position: relative; padding: 0 12px; }
.process-step .circle {
  width: 84px; height: 84px; margin: 0 auto 24px; border-radius: 50%;
  border: 1px solid var(--gold); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.7rem; font-style: italic; color: var(--gold-deep);
  background: var(--surface); transition: all 0.4s var(--ease); position: relative;
}
.process-step:hover .circle { background: var(--gold); color: #fff; transform: scale(1.08); box-shadow: 0 12px 32px rgba(176,141,87,0.35); }
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; }
.process-showcase { overflow: hidden; }
.process-track { position: relative; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.process-track::before {
  content: ''; position: absolute; left: 12.5%; right: 12.5%; top: 38px;
  height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.7;
}
.process-card { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.process-index {
  display: flex; align-items: center; justify-content: center; width: 76px; height: 76px;
  margin: 0 auto 24px; border: 1px solid rgba(176,141,87,0.62); border-radius: 50%;
  background: var(--surface); color: var(--gold-deep); font: italic 1.55rem var(--font-display);
  box-shadow: 0 8px 24px rgba(43,38,34,0.08); transition: transform .3s var(--ease), background .3s;
}
.process-card:hover .process-index { transform: translateY(-4px); background: #fffaf2; }
.process-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.process-card p { max-width: 220px; margin: 0 auto; color: var(--ink-soft); font-size: .92rem; font-weight: 300; }

/* -------- why us -------- */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 22px; }
.why-item {
  display: flex; gap: 20px; padding: 28px; background: var(--glass); border: 1px solid var(--glass-border);
  border-radius: var(--radius); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft); transition: transform 0.35s var(--ease);
}
.why-item:hover { transform: translateY(-4px); }
.why-item svg { flex: 0 0 28px; height: 28px; color: var(--gold); }
.why-item h3 { font-size: 1.05rem; margin-bottom: 6px; font-family: var(--font-body); font-weight: 600; }
.why-item p { font-size: 0.9rem; color: var(--ink-soft); font-weight: 300; }

/* -------- testimonials -------- */
.testi-wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); max-width: 760px; margin: 0 auto; text-align: center; min-height: 240px; }
.testi { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity 0.7s var(--ease), visibility 0s linear 0.7s; pointer-events: none; }
.testi.active { opacity: 1; visibility: visible; transition-delay: 0s; pointer-events: auto; }
.testi blockquote { font-family: var(--font-display); font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-style: italic; font-weight: 400; margin-bottom: 28px; text-wrap: balance; }
.testi .stars { color: var(--gold); letter-spacing: 6px; margin-bottom: 20px; font-size: 15px; }
.testi cite { font-style: normal; font-size: 13px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); }
.testi-dots { grid-area: 2 / 1; display: flex; justify-content: center; gap: 10px; margin-top: 36px; }
.testi-dot { width: 8px; height: 8px; border-radius: 50%; border: 1px solid var(--gold); background: transparent; padding: 0; transition: background 0.3s; }
.testi-dot.active { background: var(--gold); }
.testimonials-compact { padding-block: 24px 26px; }
.testimonials-compact .section-head { margin-bottom: 12px; }
.testimonials-compact .section-head h2 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 0; }
.testimonials-compact .testi-wrap { min-height: 112px; }
.testimonials-compact .testi blockquote { font-size: clamp(.95rem, 2vw, 1.12rem); line-height: 1.42; margin: 0 auto 10px; max-width: 56ch; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.testimonials-compact .testi .stars { margin-bottom: 7px; font-size: 13px; }
.testimonials-compact .testi cite { font-size: 11px; }
.testimonials-compact .testi-dots { margin-top: 11px; }

/* -------- FAQ -------- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; background: none; border: none; text-align: left; display: flex;
  justify-content: space-between; align-items: center; gap: 20px; padding: 24px 4px;
  font-size: 1.05rem; font-weight: 500; color: var(--ink); transition: color 0.25s;
}
.faq-q:hover { color: var(--gold-deep); }
.faq-q svg { flex: 0 0 20px; transition: transform 0.35s var(--ease); color: var(--gold); }
.faq-item.open .faq-q svg { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.45s var(--ease); }
.faq-a p { padding: 0 4px 24px; color: var(--ink-soft); font-weight: 300; max-width: 640px; }

/* -------- booking -------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 3.5vw, 44px); box-shadow: var(--shadow-soft);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.cal-head h3 { font-size: 1.2rem; text-transform: capitalize; }
.cal-nav { background: none; border: 1px solid var(--line); border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; color: var(--ink-soft); transition: all 0.25s; }
.cal-nav:hover { border-color: var(--gold); color: var(--gold-deep); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; text-align: center; }
.cal-grid .dow { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); padding: 8px 0; }
.cal-day {
  aspect-ratio: 1; border: none; background: none; border-radius: 50%; font-size: 14px;
  color: var(--ink); transition: all 0.2s; position: relative; min-width: 40px;
}
.cal-day:not([disabled]):hover { background: var(--bg-alt); }
.cal-day[disabled] { color: var(--line); cursor: default; }
.cal-day.has-slots::after { content: ''; position: absolute; bottom: 5px; left: 50%; transform: translateX(-50%); width: 4px; height: 4px; border-radius: 50%; background: var(--gold); }
.cal-day.selected { background: var(--ink); color: var(--bg); }
.cal-day.selected::after { background: var(--gold); }

.slots { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; min-height: 44px; }
.slot-btn {
  border: 1px solid var(--line); background: none; border-radius: 999px; padding: 10px 20px;
  font-size: 14px; color: var(--ink); transition: all 0.25s;
}
.slot-btn:hover { border-color: var(--gold); }
.slot-btn.selected { background: var(--gold); border-color: var(--gold); color: #fff; }
.slots-empty { color: var(--muted); font-size: 14px; font-style: italic; }

.form-grid { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--bg); color: var(--ink); font: inherit; font-size: 15px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(176, 141, 87, 0.15);
}
.field textarea { resize: vertical; min-height: 100px; }
.form-msg { padding: 14px 18px; border-radius: var(--radius); font-size: 14px; display: none; }
.form-msg.ok { display: block; background: rgba(94, 145, 91, 0.12); color: #4c7a49; border: 1px solid rgba(94,145,91,0.3); }
.form-msg.err { display: block; background: rgba(178, 76, 66, 0.1); color: #a34a40; border: 1px solid rgba(178,76,66,0.3); }
.booking-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.booking-actions .btn { flex: 1 1 220px; }
.booking-summary { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: var(--ink-soft); padding: 14px 18px; background: var(--bg-alt); border-radius: var(--radius); }
.booking-summary b { color: var(--gold-deep); font-weight: 600; }

/* -------- contact -------- */
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 5vw, 64px); }
.contact-list { list-style: none; display: grid; gap: 26px; margin-top: 34px; }
.contact-list li { display: flex; gap: 18px; align-items: flex-start; }
.contact-list svg { flex: 0 0 22px; height: 22px; color: var(--gold); margin-top: 3px; }
.contact-list b { display: block; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.contact-list a { text-decoration: none; transition: color 0.25s; }
.contact-list a:hover { color: var(--gold-deep); }
.map-frame { border: 0; width: 100%; height: 100%; min-height: 380px; border-radius: var(--radius); filter: grayscale(0.6) sepia(0.12); box-shadow: var(--shadow-soft); }
.map-card { min-height: 380px; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 16px; padding: clamp(28px, 5vw, 56px); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, #fffdf9, var(--bg-alt)); box-shadow: var(--shadow-soft); }
.map-card h3 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.map-card p { max-width: 34ch; color: var(--ink-soft); font-weight: 300; }
.map-card .btn { align-self: flex-start; }
.privacy-note { font-size: 12px; line-height: 1.55; color: var(--muted); }
.privacy-note a { color: var(--gold-deep); }

.socials { display: flex; gap: 12px; margin-top: 36px; }
.socials a {
  width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 50%;
  display: flex; align-items: center; justify-content: center; color: var(--ink-soft);
  transition: all 0.3s var(--ease);
}
.socials a:hover { border-color: var(--gold); color: #fff; background: var(--gold); transform: translateY(-3px); }
.socials svg { width: 19px; height: 19px; }

/* -------- instagram strip -------- */
.ig-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ig-strip a { position: relative; aspect-ratio: 1; overflow: hidden; display: block; background: var(--bg-alt); }
.ig-strip img, .ig-strip svg { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease), opacity 0.4s; }
.ig-strip a:hover img, .ig-strip a:hover svg { transform: scale(1.07); opacity: 0.85; }
.ig-strip a::after {
  content: ''; position: absolute; inset: 0; background: rgba(176, 141, 87, 0);
  transition: background 0.35s;
}
.ig-strip a:hover::after { background: rgba(176, 141, 87, 0.25); }

/* -------- CTA band -------- */
.cta-band {
  position: relative; padding: clamp(80px, 10vw, 130px) 0; text-align: center; color: #f5efe6; overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(176,141,87,0.3), transparent 55%),
    linear-gradient(150deg, #2a2119 0%, #1a1512 100%);
}
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: 20px; }
.cta-band p { color: rgba(245,239,230,0.75); max-width: 520px; margin: 0 auto 40px; font-weight: 300; }

/* -------- footer -------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 60px 0 32px; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 36px; margin-bottom: 44px; }
.footer-grid nav { display: flex; flex-direction: column; gap: 10px; }
.footer-grid nav a { text-decoration: none; font-size: 14px; color: var(--ink-soft); transition: color 0.25s; }
.footer-grid nav a:hover { color: var(--gold-deep); }
.footer-grid h4 { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; font-size: 13px; color: var(--muted); }
.footer-bottom a { color: inherit; }

/* -------- responsive -------- */
@media (max-width: 1000px) {
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .booking-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .ig-strip { grid-template-columns: repeat(3, 1fr); }
  .about-photo { max-width: 480px; }
}
@media (max-width: 760px) {
  .section { padding-block: 52px; }
  .testimonials-compact { padding-block: 20px 22px; }
  .testimonials-compact .section-head { margin-bottom: 6px; }
  .testimonials-compact .section-head .kicker { font-size: 1.1rem; }
  .testimonials-compact .section-head h2 { font-size: 1.18rem; }
  .nav-links {
    position: fixed; top: 78px; left: 0; right: 0; max-height: calc(100svh - 78px); overflow-y: auto; overscroll-behavior: contain; flex-direction: column; align-items: stretch;
    background: rgba(250, 247, 242, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    padding: 12px 20px 24px; gap: 2px; box-shadow: var(--shadow-lift); border-top: 1px solid var(--line);
    transform: translate3d(0, calc(-100% - 86px), 0); visibility: hidden; contain: paint; transition: transform 0.4s var(--ease), visibility 0s linear 0.4s; z-index: 90;
  }
  .nav-links.open { transform: translate3d(0, 0, 0); visibility: visible; transition-delay: 0s; }
  /* v spustnem meniju je ozadje svetlo → besedilo mora ostati temno in dobro berljivo */
  .nav-links a { padding: 15px 8px; font-size: 15px; color: var(--ink); border-bottom: 1px solid rgba(229, 220, 207, 0.6); }
  .nav-links li:last-child a { border-bottom: none; }
  .nav-burger { display: inline-flex; }
  .nav .btn { display: none; }
  .filters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); justify-content: stretch; gap: 8px; margin-inline: 0; padding-inline: 0; }
  .filter-btn { min-height: 44px; padding: 9px 7px; font-size: 10px; letter-spacing: .7px; line-height: 1.25; white-space: normal; }
  .filter-count { min-width: 19px; height: 19px; margin-left: 4px; padding-inline: 5px; font-size: 9px; }
  .masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-inline: 0; }
  .masonry-item { aspect-ratio: 1; border-radius: 4px; box-shadow: none; }
  .masonry-item, .masonry-item.is-featured { transform: none; border-width: 1px; }
  .masonry-item .cap { display: none; }
  .gallery-footer { margin-top: 26px; gap: 12px; }
  .gallery-pager { gap: 6px; }
  .gallery-page-btn { min-width: 44px; padding-inline: 10px; }
  .about-grid > *, .booking-grid > *, .contact-grid > * { min-width: 0; width: 100%; }
  .about-photo { width: 100%; }
  .about-stats { gap: 12px; justify-content: space-between; }
  .stat { min-width: 0; }
  .stat span { font-size: 10px; letter-spacing: 1px; white-space: normal; }
  .panel { padding: 20px; }
  .cal-grid { gap: 2px; }
  .cal-day { min-width: 0; }
  .form-row { grid-template-columns: 1fr; }
  .booking-actions { display: grid; grid-template-columns: 1fr; }
  .booking-actions .btn { width: 100%; }
  .lb-prev { left: 8px; } .lb-next { right: 8px; }
  .testimonials-compact .testi-wrap { min-height: 82px; }
  .testimonials-compact .testi blockquote { font-size: .9rem; line-height: 1.3; -webkit-line-clamp: 2; margin-bottom: 6px; }
  .testimonials-compact .testi .stars { margin-bottom: 4px; font-size: 12px; }
  .testimonials-compact .testi cite { font-size: 10px; }
  .testimonials-compact .testi-dots { margin-top: 6px; }
}

/* ============================================================
   KONTRAST GLAVE NAD HEROJEM + mobilni popravki
   Glava je pri vrhu prosojna nad temnim herojem — logo, meni in
   burger morajo biti svetli in berljivi; ob drsenju (stekleno
   ozadje) se vrnejo v temno barvo. Stran »prevzem« ima glavo
   vedno v razredu .scrolled, zato ostane nespremenjena.
   ============================================================ */
.site-header::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 132px;
  pointer-events: none; z-index: -1;
  background: linear-gradient(180deg, rgba(18, 14, 11, 0.5) 0%, rgba(18, 14, 11, 0.22) 55%, transparent 100%);
  opacity: 1; transition: opacity 0.4s var(--ease);
}
.site-header.scrolled::before { opacity: 0; }
.nav { position: relative; }

.site-header:not(.scrolled) .logo-text,
.site-header:not(.scrolled) .nav-burger {
  color: #f6efe4;
  text-shadow: 0 1px 10px rgba(15, 11, 8, 0.55);
}
.site-header:not(.scrolled) .logo-text small {
  color: rgba(246, 239, 228, 0.82);
  text-shadow: 0 1px 8px rgba(15, 11, 8, 0.5);
}

@media (max-width: 760px) {
  .site-header { background: rgba(22, 18, 15, 0.16); min-height: 78px; }
  .site-header.is-scrolling { background: rgba(22, 18, 15, 0.08); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 1px 0 rgba(255,255,255,.12); }
  .site-header.scrolled.is-scrolling { background: rgba(250, 247, 242, 0.56); box-shadow: 0 1px 0 rgba(43, 38, 34, .12); }
  .nav { height: 78px; padding: 10px 18px 12px; align-items: center; }
  .logo { min-width: 0; gap: 0; }
  .logo-text { font-size: 24px; letter-spacing: 1.5px; line-height: .88; white-space: nowrap; }
  .logo-text small { margin-top: 5px; font-size: 8px; letter-spacing: 3.5px; }
  .nav-burger { width: 46px; height: 46px; align-items: center; justify-content: center; }
  .hero { min-height: 100svh; height: 100svh; }
  .hero-bg { inset: -16% 0 -8%; }
  .hero-inner { padding: 132px 18px 80px; }
  .process-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 10px; }
  .process-track::before { display: none; }
  .process-card { padding: 0 4px; }
  .process-index { width: 64px; height: 64px; margin-bottom: 16px; font-size: 1.35rem; }
  .process-card h3 { font-size: 1.05rem; }
  .process-card p { font-size: .86rem; line-height: 1.5; }
}

/* Namizni meni nad herojem — svetle povezave (na mobilnem so v svetlem
   spustnem meniju, zato jih tu namenoma ne barvamo na svetlo). */
@media (min-width: 761px) {
  .site-header:not(.scrolled) .nav-links a {
    color: #f6efe4; text-shadow: 0 1px 10px rgba(15, 11, 8, 0.5);
  }
  .site-header:not(.scrolled) .nav-links a:hover { color: #fff; }
  .site-header:not(.scrolled) .nav-links a::after { background: #f6efe4; }
}

/* Manj agresivni okvir ob fotografiji »O meni« na ozkih zaslonih */
@media (max-width: 760px) {
  .about-photo { margin-inline: auto; }
  .about-photo::before { inset: 16px -12px -12px 16px; }
}
