/* =============================================================
   Vrtec Malina – slog spletne strani
   Avtor: pripravljeno 2026 · vse na enem mestu, brez zunanjih knjižnic
   ============================================================= */

/* ── 1. PISAVE (lokalno gostovane, brez klicev na Google) ────── */

@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/baloo2-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Baloo 2';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url(fonts/baloo2-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/nunito-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(fonts/nunito-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── 2. TEMELJI ─────────────────────────────────────────────── */

:root {
  --raspberry:       #b8305a;
  --raspberry-dark:  #932446;
  --raspberry-mid:   #d14a72;
  --raspberry-light: #e85b82;
  --raspberry-pale:  #fde8ef;
  --leaf:            #5aa96e;
  --leaf-light:      #7dc98f;
  --leaf-pale:       #e8f6ec;
  --cream:           #fffaf3;
  --cream-deep:      #fdf1e4;
  --sun:             #ffd97d;
  --apricot:         #ff9a5c;
  --sky:             #7ec8e3;
  --lilac:           #c5a3d8;

  --ink:             #3a2a22;
  --ink-mid:         #6b5245;
  --ink-soft:        #8b7466;
  --line:            #f0e2d6;

  --shadow-sm: 0 2px 8px rgba(96, 60, 40, .06);
  --shadow:    0 10px 30px rgba(96, 60, 40, .10);
  --shadow-lg: 0 22px 55px rgba(96, 60, 40, .16);

  --radius:    26px;
  --radius-sm: 16px;
  --nav-h:     72px;

  --container: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);
  --section-y: clamp(3.6rem, 8vw, 6.5rem);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(1rem, .96rem + .18vw, 1.075rem);
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* nežni barvni oblaki v ozadju celotne strani */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 8% 12%,  rgba(255, 217, 125, .20) 0%, transparent 42%),
    radial-gradient(circle at 92% 78%, rgba(184, 48, 90, .10)  0%, transparent 42%),
    radial-gradient(circle at 50% 45%, rgba(125, 201, 143, .09) 0%, transparent 60%);
}

h1, h2, h3, h4 {
  font-family: 'Baloo 2', 'Nunito', system-ui, sans-serif;
  line-height: 1.15;
  margin: 0;
  font-weight: 700;
  letter-spacing: -.01em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--raspberry); }

:focus-visible {
  outline: 3px solid var(--raspberry);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  top: -100px;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--raspberry);
  color: #fff;
  padding: .75rem 1.4rem;
  border-radius: 0 0 14px 14px;
  font-weight: 700;
  text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ── 3. GUMBI ───────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .85rem 1.7rem;
  border: 0;
  border-radius: 999px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }

.btn-primary {
  background: linear-gradient(135deg, var(--raspberry-light), var(--raspberry));
  color: #fff;
  box-shadow: 0 10px 24px rgba(184, 48, 90, .28);
}
.btn-primary:hover,
.btn-primary:focus-visible { transform: translateY(-2px); box-shadow: 0 16px 32px rgba(184, 48, 90, .34); }

.btn-ghost {
  background: #fff;
  color: var(--raspberry);
  box-shadow: var(--shadow-sm);
  border: 2px solid var(--raspberry-pale);
}
.btn-ghost:hover,
.btn-ghost:focus-visible { transform: translateY(-2px); border-color: var(--raspberry-light); }

.btn-sm { padding: .6rem 1.2rem; font-size: .94rem; }

/* ── 4. NAVIGACIJA ──────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 250, 243, .88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--nav-h);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.1;
}
.nav-brand img { width: 46px; height: 36px; object-fit: contain; }
.nav-brand span small {
  display: block;
  font-family: 'Nunito', sans-serif;
  font-size: .68rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .9rem;
}
.nav-menu [data-mobile-only] { display: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: .3rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  display: block;
  padding: .5rem .85rem;
  border-radius: 999px;
  color: var(--ink-mid);
  font-weight: 700;
  font-size: .95rem;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-active { background: var(--raspberry-pale); color: var(--raspberry); }

.nav-socials { display: flex; gap: .45rem; }
.social-icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  color: #fff;
  transition: transform .2s ease, filter .2s ease;
}
.social-icon svg { width: 19px; height: 19px; }
.social-icon:hover { transform: translateY(-2px) scale(1.06); }
.social-ig { background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5); }
.social-fb { background: #1877f2; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0;
  border-radius: 14px;
  background: var(--raspberry-pale);
  color: var(--raspberry);
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 2.5px;
  margin: 4px auto;
  border-radius: 2px;
  background: currentColor;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav-menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    display: block;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem var(--pad) 1.6rem;
    transform: translateY(-120%);
    transition: transform .3s cubic-bezier(.22,.9,.3,1);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
  }
  .nav-menu.is-open { transform: translateY(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: .15rem; }
  .nav-links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav-menu [data-mobile-only] { display: inline-flex; width: 100%; margin-top: .9rem; }
  .nav-socials { justify-content: center; margin-top: 1rem; }
}

/* ── 5. HERO ────────────────────────────────────────────────── */

.hero {
  position: relative;
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 5.5rem);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-facts { justify-content: center; }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: #fff;
  color: var(--raspberry);
  border: 2px solid var(--raspberry-pale);
  padding: .4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .88rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: clamp(2.4rem, 6.2vw, 4.05rem);
  font-weight: 800;
  margin: 1.1rem 0 .9rem;
}
.hero h1 em {
  font-style: normal;
  color: var(--raspberry);
  position: relative;
  white-space: nowrap;
}
.hero h1 em::after {
  content: '';
  position: absolute;
  left: -.06em; right: -.06em; bottom: .34em;
  height: .3em;
  background: var(--sun);
  border-radius: 999px;
  opacity: .6;
  z-index: -1;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.9vw, 1.2rem);
  color: var(--ink-mid);
  max-width: 36rem;
  display: grid;
  gap: .85rem;
}
.hero-lead p:first-child {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-weight: 700;
  color: var(--ink);
  font-size: clamp(1.15rem, 2.1vw, 1.32rem);
  line-height: 1.35;
}
@media (max-width: 880px) { .hero-lead { margin-inline: auto; } }

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1.8rem;
  max-width: 30rem;
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 2px dashed var(--line);
  list-style: none;
  padding-inline: 0;
}
@media (max-width: 880px) { .hero-facts { margin-inline: auto; text-align: center; } }
@media (max-width: 380px) { .hero-facts { grid-template-columns: 1fr; } }
.hero-facts strong {
  display: block;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.55rem;
  color: var(--raspberry);
  line-height: 1.1;
}
.hero-facts span { font-size: .87rem; color: var(--ink-soft); font-weight: 600; }

.hero-media { position: relative; }
.hero-photo {
  border-radius: 34px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 8px solid #fff;
  transform: rotate(-1.4deg);
}
.hero-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.hero-chip {
  position: absolute;
  left: -8px; bottom: -22px;
  display: flex;
  align-items: center;
  gap: .7rem;
  background: #fff;
  border-radius: 20px;
  padding: .7rem 1.1rem;
  box-shadow: var(--shadow);
  transform: rotate(2.2deg);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.25;
  text-align: left;
}
.hero-chip img { width: 44px; height: 36px; object-fit: contain; }
.hero-chip small { display: block; font-weight: 600; color: var(--ink-soft); font-size: .78rem; }
@media (max-width: 880px) { .hero-chip { left: 50%; transform: translateX(-50%) rotate(2deg); } }

/* plavajoči okrasni elementi (samo v heroju) */
.floaties { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.floatie {
  position: absolute;
  font-size: 1.6rem;
  opacity: .17;
  animation: floatUp linear infinite;
}
@keyframes floatUp {
  0%   { transform: translateY(115%) rotate(0deg); opacity: 0; }
  12%  { opacity: .17; }
  88%  { opacity: .17; }
  100% { transform: translateY(-115%) rotate(320deg); opacity: 0; }
}
.hero > .container { position: relative; z-index: 1; }

/* ── 6. SEKCIJE ─────────────────────────────────────────────── */

section[id] { scroll-margin-top: calc(var(--nav-h) + 12px); }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--cream-deep); }
.section-white { background: #fff; }

.section-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.section-label {
  display: inline-block;
  background: var(--raspberry-pale);
  color: var(--raspberry);
  padding: .3rem 1rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.section-title { font-size: clamp(1.85rem, 4.2vw, 2.7rem); font-weight: 800; }
.section-sub { margin-top: .9rem; color: var(--ink-mid); }
.section-sub-group { margin-top: .9rem; color: var(--ink-mid); display: grid; gap: .55rem; }
.section-sub-group strong { color: var(--ink); }

/* ── 7. O NAS ───────────────────────────────────────────────── */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
}
@media (max-width: 880px) { .about-grid { grid-template-columns: 1fr; } }

.about-text p { color: var(--ink-mid); }
.about-text strong { color: var(--ink); }

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (max-width: 420px) { .mini-cards { grid-template-columns: 1fr; } }

.mini-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mini-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mini-card .ico { font-size: 2rem; line-height: 1; display: block; margin-bottom: .6rem; }
.mini-card h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.mini-card p { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; }

/* ── 8. PROGRAM ─────────────────────────────────────────────── */

.program-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(255px, 1fr));
  gap: 1.4rem;
}

.program-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.program-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.program-card .ico {
  position: absolute;
  top: -26px; left: 1.5rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  border-radius: 18px;
  background: var(--sun);
  box-shadow: var(--shadow-sm);
}
.program-card:nth-child(2) .ico { background: var(--leaf-light); }
.program-card:nth-child(3) .ico { background: var(--sky); }
.program-card:nth-child(4) .ico { background: var(--lilac); }
.program-card h3 { font-size: 1.25rem; margin-bottom: .8rem; }
.program-card ul { list-style: none; margin: 0; padding: 0; }
.program-card li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: .35rem;
  color: var(--ink-mid);
  font-weight: 600;
  font-size: .97rem;
}
.program-card li::before {
  content: '';
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--raspberry-light);
}
.program-card .note {
  margin-top: .9rem;
  font-size: .84rem;
  color: var(--ink-soft);
  font-style: italic;
}

.program-grid + .section-note {
  margin-top: 2rem;
  text-align: center;
  color: var(--ink-soft);
  font-size: .95rem;
}

/* ── 8b. SODELUJEMO ─────────────────────────────────────────── */

.partners-band {
  background: var(--cream-deep);
  padding-block: clamp(2.4rem, 5vw, 3.6rem);
  text-align: center;
}
.partners-title {
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--raspberry);
  font-family: 'Nunito', sans-serif;
}
.partners-lead {
  margin: .5rem auto 1.6rem;
  max-width: 34rem;
  font-size: .93rem;
  color: var(--ink-soft);
}
.partners {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}
.partners li {
  display: grid;
  place-items: center;
  min-height: 116px;
  padding: 1rem 1.2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.partners li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.partners img {
  max-height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (max-width: 520px) {
  .partners { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem; }
  .partners li { min-height: 100px; padding: .8rem; }
  .partners img { max-height: 66px; }
}

/* ── 9. VREDNOTE ────────────────────────────────────────────── */

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 1.2rem;
}
.value {
  background: linear-gradient(160deg, #fff, var(--cream));
  border: 2px solid var(--raspberry-pale);
  border-radius: var(--radius);
  padding: 1.8rem 1.3rem;
  text-align: center;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.value:hover { transform: translateY(-6px); border-color: var(--raspberry-light); box-shadow: var(--shadow); }
.value .ico { font-size: 2.3rem; display: block; margin-bottom: .5rem; }
.value h3 { font-size: 1.18rem; color: var(--raspberry); margin-bottom: .35rem; }
.value p { font-size: .9rem; color: var(--ink-soft); line-height: 1.55; }

/* ── 10. NAŠ DAN ────────────────────────────────────────────── */

.timeline {
  position: relative;
  max-width: 780px;
  margin-inline: auto;
  padding-left: 3.6rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 26px; top: 12px; bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(to bottom, var(--raspberry-light) 0 10px, transparent 10px 20px);
  opacity: .5;
}
.tl-item { position: relative; margin-bottom: 1.1rem; }
.tl-item:last-child { margin-bottom: 0; }
.tl-dot {
  position: absolute;
  left: -3.6rem; top: 8px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: #fff;
  border: 3px solid var(--raspberry-pale);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.tl-body {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.tl-time {
  display: inline-block;
  background: var(--raspberry-pale);
  color: var(--raspberry);
  font-weight: 800;
  font-size: .82rem;
  padding: .12rem .7rem;
  border-radius: 999px;
  margin-bottom: .35rem;
}
.tl-body h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.tl-body p { font-size: .94rem; color: var(--ink-soft); line-height: 1.55; }

@media (max-width: 560px) {
  .timeline { padding-left: 2.9rem; }
  .timeline::before { left: 20px; }
  .tl-dot { left: -2.9rem; width: 42px; height: 42px; font-size: 1.2rem; }
}

/* ── 11. GALERIJA ───────────────────────────────────────────── */

.tabs {
  display: flex;
  justify-content: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}
.tab {
  border: 2px solid var(--raspberry-pale);
  background: #fff;
  color: var(--ink-mid);
  font-family: 'Baloo 2', sans-serif;
  font-weight: 700;
  font-size: .98rem;
  padding: .5rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.tab:hover { border-color: var(--raspberry-light); }
.tab[aria-selected="true"] {
  background: var(--raspberry);
  border-color: var(--raspberry);
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 1rem;
}
.gallery-grid[hidden] { display: none; }

@media (max-width: 620px) {
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}

.gallery-item {
  position: relative;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.gallery-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: '⤢';
  position: absolute;
  right: 10px; bottom: 10px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(58, 42, 34, .55);
  color: #fff;
  font-size: .95rem;
  opacity: 0;
  transition: opacity .2s ease;
  backdrop-filter: blur(3px);
}
.gallery-item:hover::after, .gallery-item:focus-visible::after { opacity: 1; }

/* ── 12. INSTAGRAM ──────────────────────────────────────────── */

.ig-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.1rem 1.4rem;
  max-width: 40rem;
  margin: 0 auto;
  padding: 1.3rem 1.6rem;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  text-align: left;
}
.ig-avatar {
  flex: none;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  padding: 3px;
}
.ig-avatar img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 4px;
}
.ig-panel-text { display: grid; gap: .15rem; margin-right: auto; }
.ig-panel-text strong {
  font-family: 'Baloo 2', system-ui, sans-serif;
  font-size: 1.08rem;
  color: var(--ink);
}
.ig-panel-text span { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 560px) {
  .ig-panel { flex-direction: column; text-align: center; }
  .ig-panel-text { margin-right: 0; justify-items: center; }
}

.btn-ig {
  background: linear-gradient(45deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: #fff;
  box-shadow: 0 10px 26px rgba(150, 47, 191, .28);
}
.btn-ig:hover { transform: translateY(-2px); }

.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .9rem;
  margin-top: 1.8rem;
}
.ig-grid[hidden] { display: none; }
@media (max-width: 620px) {
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
}
.ig-card {
  position: relative;
  display: block;
  padding: 0; border: 0;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--cream-deep);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.ig-card img, .ig-card video { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ig-card:hover img, .ig-card:hover video { transform: scale(1.05); }
.ig-badge {
  position: absolute;
  right: 9px; bottom: 9px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(0,0,0,.5);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(4px);
}
.ig-status {
  grid-column: 1 / -1;
  text-align: center;
  padding: 1.6rem 1rem;
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--ink-soft);
  box-shadow: var(--shadow-sm);
}

/* ── 13. LIGHTBOX (skupen za galerijo in Instagram) ──────────── */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  padding: clamp(.5rem, 3vw, 2rem);
}
.lightbox.is-open { display: grid; place-items: center; }
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(28, 18, 14, .82);
  backdrop-filter: blur(5px);
  border: 0;
  padding: 0;
  cursor: zoom-out;
}
.lightbox-figure {
  position: relative;
  z-index: 1;
  max-width: min(1100px, 96vw);
  max-height: 90dvh;
  display: flex;
  flex-direction: column;
  gap: .7rem;
  align-items: center;
}
.lightbox-figure img,
.lightbox-figure video {
  max-width: 100%;
  max-height: calc(90dvh - 4rem);
  width: auto;
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.45);
  background: #241a15;
}
.lightbox-caption {
  color: #fff;
  font-size: .92rem;
  text-align: center;
  opacity: .9;
  max-width: 46rem;
}
.lightbox-caption a { color: #ffc9da; }

.lb-btn {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.16);
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.lb-btn:hover { background: rgba(255,255,255,.3); transform: scale(1.06); }
.lb-close { top: max(.7rem, env(safe-area-inset-top)); right: .8rem; font-size: 1.9rem; }
.lb-prev { left: .8rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .8rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
body.no-scroll { overflow: hidden; }

/* ── 14. KONTAKT ────────────────────────────────────────────── */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(215px, 1fr));
  gap: 1.1rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem);
}
.contact-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.contact-card .ico {
  width: 54px; height: 54px;
  margin: 0 auto .8rem;
  display: grid; place-items: center;
  font-size: 1.6rem;
  border-radius: 18px;
  background: var(--raspberry-pale);
}
.contact-card h3 { font-size: 1.08rem; margin-bottom: .45rem; }
.contact-card p, .contact-card address {
  font-style: normal;
  font-size: .94rem;
  color: var(--ink-mid);
  line-height: 1.6;
}
.contact-card a { font-weight: 700; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
@media (max-width: 900px) { .contact-split { grid-template-columns: 1fr; } }

/* obrazec */
.form-card {
  background: #fff;
  border-radius: var(--radius);
  padding: clamp(1.4rem, 3vw, 2.2rem);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.form-card h3 { font-size: 1.35rem; margin-bottom: .3rem; }
.form-card > p { color: var(--ink-soft); font-size: .93rem; margin-bottom: 1.3rem; }

.field { margin-bottom: 1rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .35rem;
  color: var(--ink-mid);
}
.field label .req { color: var(--raspberry); }
.field input,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: .75rem .95rem;
  border: 2px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
  transition: border-color .2s ease, background .2s ease;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--raspberry-light);
  background: #fff;
}
.field textarea { resize: vertical; min-height: 120px; }
.field .err {
  display: none;
  margin-top: .3rem;
  font-size: .84rem;
  font-weight: 700;
  color: #c02a2a;
}
.field.has-error input,
.field.has-error textarea { border-color: #e08585; }
.field.has-error .err { display: block; }

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.consent {
  display: flex;
  gap: .6rem;
  align-items: flex-start;
  font-size: .86rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin-bottom: 1.1rem;
}
.consent input { margin-top: .25rem; width: 18px; height: 18px; accent-color: var(--raspberry); flex: none; }

.form-note { margin-top: .9rem; font-size: .82rem; color: var(--ink-soft); }

.form-status {
  display: none;
  margin-top: 1rem;
  padding: .9rem 1.1rem;
  border-radius: 14px;
  font-size: .93rem;
  font-weight: 600;
}
.form-status.is-visible { display: block; }
.form-status.ok  { background: var(--leaf-pale); color: #2f6b41; border: 1px solid #b9e0c6; }
.form-status.bad { background: #fdeaea; color: #a02626; border: 1px solid #f2c2c2; }

/* zemljevida */
.maps { display: grid; gap: 1.2rem; }
.map-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
.map-head { padding: 1rem 1.3rem .8rem; }
.map-head h3 { font-size: 1.08rem; }
.map-head p { font-size: .9rem; color: var(--ink-soft); margin: .15rem 0 0; }
.map-frame { position: relative; aspect-ratio: 16 / 10; background: var(--cream-deep); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-links { display: flex; gap: .8rem; flex-wrap: wrap; justify-content: center; padding: .9rem 1.3rem 1.2rem; }
.map-links a { font-size: .89rem; font-weight: 700; text-decoration: none; }
.map-links a:hover { text-decoration: underline; }

/* ── 15. NOGA ───────────────────────────────────────────────── */

.social-strip {
  background: var(--raspberry-pale);
  padding: 1.5rem 0;
}
.social-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: .9rem;
}
.social-strip .label { font-family: 'Baloo 2', sans-serif; font-weight: 700; color: var(--raspberry); }
.social-pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #fff;
  color: var(--ink-mid);
  padding: .5rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: .93rem;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, color .2s ease;
}
.social-pill svg { width: 18px; height: 18px; }
.social-pill:hover { transform: translateY(-2px); }
.social-pill.ig:hover { color: #d62976; }
.social-pill.fb:hover { color: #1877f2; }

.site-footer {
  background: var(--ink);
  color: #e9dcd2;
  padding: clamp(2.2rem, 5vw, 3.2rem) 0 1.6rem;
  font-size: .93rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 1.6rem; } }
.footer-grid h3 {
  font-size: 1rem;
  color: #fff;
  margin-bottom: .7rem;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer-brand { display: flex; align-items: center; gap: .7rem; margin-bottom: .8rem; }
.footer-brand img { width: 52px; height: 42px; object-fit: contain; }
.footer-brand strong { font-family: 'Baloo 2', sans-serif; font-size: 1.25rem; color: #fff; }
.footer-grid p, .footer-grid address { color: #c9b8ac; font-style: normal; line-height: 1.7; margin: 0 0 .5rem; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: .35rem; }
.footer-list a, .footer-grid a { color: #f3d9e2; text-decoration: none; }
.footer-list a:hover, .footer-grid a:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  padding-top: 1.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #a8968a;
  font-size: .85rem;
}

/* ── 16. ANIMACIJE OB DRSENJU ───────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,.9,.3,1);
}
.reveal.is-in { opacity: 1; transform: none; }

/* ── 17. GUMB NA VRH ────────────────────────────────────────── */

.to-top {
  position: fixed;
  right: clamp(.9rem, 3vw, 1.6rem);
  bottom: clamp(.9rem, 3vw, 1.6rem);
  z-index: 150;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--raspberry);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--raspberry-dark); }

/* ── 18. TISK IN ZMANJŠANO GIBANJE ──────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .floaties { display: none; }
}

@media print {
  .site-header, .to-top, .floaties, .lightbox, .map-frame, .social-strip { display: none !important; }
  body { background: #fff; }
  .section { padding-block: 1.2rem; }
}

/* Ko je odprt lightbox, gumb »na vrh« skrijemo. */
body.no-scroll .to-top { display: none; }
