/* ============================================
   CRAZY CAT — PROTOTYPE 1: BOLD/ANIMATED
   Brand colors: #D61E3D #D3338B #F8CA2A #68489C #30D5C8 #1C1C93
   Font: Montserrat (Google Fonts)
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,400&display=swap');

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { border: none; cursor: pointer; background: none; font-family: inherit; }
ul { list-style: none; }

/* ── CUSTOM PROPERTIES ── */
:root {
  --red:    #D61E3D;
  --pink:   #D3338B;
  --yellow: #F8CA2A;
  --purple: #68489C;
  --teal:   #30D5C8;
  --navy:   #1C1C93;
  --black:  #0D0D0D;
  --gray:   #141414;
  --gray2:  #1C1C1C;
  --gray3:  #2A2A2A;
  --white:  #FFFFFF;
  --nav-h:  72px;
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ── LOADER ── */
#loader {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}
#loader.exit {
  opacity: 0;
  transform: scale(1.06);
  pointer-events: none;
}
.loader-logo {
  width: 110px;
  filter: invert(1);
  opacity: 0.9;
  animation: loaderLogoIn 0.7s var(--ease-bounce) 0.2s both;
}
.loader-mascot {
  width: 130px;
  animation: loaderMascotIn 0.8s var(--ease-bounce) 0.5s both;
}
.loader-bar {
  width: 140px; height: 2px;
  background: var(--gray3);
  border-radius: 2px;
  overflow: hidden;
  animation: loaderBarIn 0.4s ease 0.3s both;
}
.loader-bar-fill {
  height: 100%;
  background: var(--yellow);
  animation: loaderFill 1.4s var(--ease-smooth) 0.4s both;
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes loaderMascotIn {
  from { opacity: 0; transform: translateY(50px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes loaderBarIn {
  from { opacity: 0; } to { opacity: 1; }
}
@keyframes loaderFill {
  from { width: 0; } to { width: 100%; }
}
.loader-percent {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  margin-top: 10px;
  animation: loaderBarIn 0.4s ease 0.3s both;
}

/* ── NAVIGATION ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 800;
  display: flex;
  align-items: center;
  padding: 0 5%;
  gap: 2rem;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled {
  background: rgba(13,13,13,0.9);
  backdrop-filter: blur(12px);
}
.nav-logo img {
  height: 42px;
  width: auto;
  filter: invert(1);
  opacity: 0.9;
  transition: transform 0.3s var(--ease-bounce);
}
.nav-logo:hover img { transform: scale(1.08) rotate(-3deg); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--yellow);
  transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }
.nav-insta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--yellow);
  border: 1.5px solid var(--yellow);
  padding: 7px 14px;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}
.nav-insta:hover {
  background: var(--yellow);
  color: var(--black);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── MOBILE DRAWER ── */
.drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(320px, 85vw); height: 100%;
  background: var(--gray);
  z-index: 700;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-smooth);
  padding: calc(var(--nav-h) + 2rem) 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.drawer.open { transform: translateX(0); }
.drawer-links { display: flex; flex-direction: column; gap: 1.5rem; }
.drawer-links a {
  font-size: 1.3rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.drawer-links a:hover { color: var(--yellow); }
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 699;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: var(--nav-h) 5% 0;
}
.hero-text-col::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.035'/></svg>");
  pointer-events: none;
  opacity: 0.5;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  width: 100%;
  z-index: 1;
}
.hero-text-col { z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1.2rem;
  opacity: 0;
  animation: fadeUp 0.6s ease 2.2s forwards;
}
.hero-eyebrow::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--yellow);
}
.hero-h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.4s forwards;
}
.hero-h1 em {
  font-style: normal;
  color: var(--yellow);
}
.hero-sub {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  line-height: 1.6;
  max-width: 420px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.6s forwards;
}
.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 0.7s ease 2.8s forwards;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--yellow);
  color: var(--black);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  transition: transform 0.25s var(--ease-bounce), box-shadow 0.25s;
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(248,202,42,0.35);
}
.btn-ghost {
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
  transition: color 0.2s;
}
.btn-ghost:hover { color: var(--white); }

/* ── HERO VISUAL COLUMN — BRAND EYES ── */
.hero-visual-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 1.2s ease 2.0s forwards;
  min-height: 460px;
}
/* Glow je na wrapperu — clip-path na SVG bi sekao shadow */
.eyes-glow-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: none;
  animation: eyesFloat 6s ease-in-out infinite;
}
.brand-eyes {
  width: 100%;
  max-width: 860px;
  height: auto;
  overflow: visible;
}
.eye-group {
  /* tracking via SVG setAttribute in JS — no CSS transform needed */
}
#lid-left, #lid-right {
  /* ry se animira direktno iz JS */
}
.eye-reflect {
  animation: eyeGlint 3.5s ease-in-out infinite;
}
#tracker-right .eye-reflect {
  animation-delay: 1.3s;
}
@keyframes eyeGlint {
  0%, 75%, 100% { opacity: 0.85; }
  83%            { opacity: 1; }
  90%            { opacity: 0.3; }
  96%            { opacity: 0.9; }
}
@keyframes eyesFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-18px); }
}
@keyframes eyeGlowPulse {
  0%,100% { filter: drop-shadow(0 0 50px rgba(45,167,114,0.45)) drop-shadow(0 0 110px rgba(45,167,114,0.18)); }
  50%      { filter: drop-shadow(0 0 70px rgba(45,167,114,0.65)) drop-shadow(0 0 140px rgba(45,167,114,0.28)); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; } to { opacity: 1; }
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  opacity: 0;
  animation: fadeIn 1s ease 3.2s forwards;
}
.scroll-dot {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.3; transform: scaleY(0.6); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  background: var(--gray2);
  padding: 1rem 0;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.marquee-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── STANDARD SECTION HEIGHT ── */
#gallery, #filozofija, #ukusi, #maskota, #dietary, #loyalty, #o-nama, #lokacije {
  height: 650px;
  overflow: hidden;
}

/* ── SECTION COMMON ── */
.section-wrap {
  padding: 120px 5%;
  max-width: 1400px;
  margin: 0 auto;
}
.section-wrap-full {
  padding: 120px 5%;
}
.section-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.8rem;
}
.section-h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.5);
  max-width: 560px;
  line-height: 1.7;
}

/* Reveal animation for sections */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── FILOZOFIJA SECTION ── */
#filozofija {
  background: var(--gray);
}
.filozofija-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 650px;
}
.filozofija-photo {
  overflow: hidden;
  height: 650px;
  padding: 48px 0 48px 5%;
  background: var(--gray);
  position: relative;
}
.filozofija-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 4px;
}
.filozofija-photo::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 55%;
  height: 100%;
  background: linear-gradient(to right, transparent, var(--gray) 85%);
  pointer-events: none;
}
.filozofija-text {
  padding: 80px 6%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--gray);
  overflow: hidden;
}
#filozofija .section-label { color: rgba(255,255,255,0.4); }
#filozofija .section-h2 { color: var(--yellow); }
.filozofija-desc {
  font-size: 0.88rem;
  font-weight: 400;
  line-height: 1.75;
  color: rgba(255,255,255,0.75);
  margin: 1.2rem 0 1rem;
  max-width: 380px;
}
.filozofija-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.filozofija-list li {
  font-size: 0.82rem;
  font-weight: 400;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em;
  padding-left: 0;
  position: static;
}
.filozofija-list li::before {
  display: none;
}

/* ── UKUSI SECTION ── */
#ukusi {
  background: var(--black);
}
#ukusi .section-wrap { padding-top: 60px; padding-bottom: 50px; }
.ukusi-header {
  margin-bottom: 1rem;
}
.ukusi-header .section-h2 {
  margin-top: 0.4rem;
}

/* Filter pills */
.filter-pills {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.pill {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  border: 1.5px solid rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.5);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s var(--ease-bounce);
}
.pill:hover { border-color: rgba(255,255,255,0.4); color: var(--white); transform: translateY(-2px); }
.pill.active { background: var(--yellow); border-color: var(--yellow); color: var(--black); }

/* Flavor grid — circular */
/* ── DIETARY SECTION ── */
#dietary {
  background: var(--black);
}
#dietary .section-wrap { padding-top: 80px; padding-bottom: 80px; }
.dietary-header {
  text-align: center;
  margin-bottom: 4rem;
}
.dietary-header .section-label {
  justify-content: center;
}
.dietary-header .section-h2 {
  margin-top: 0.4rem;
}
.dietary-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.dietary-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  padding: 1rem 1.5rem;
  transition: transform 0.3s var(--ease-bounce);
}
.dietary-item:hover { transform: translateY(-4px); }
.dietary-icon-sf { filter: brightness(0) invert(1); }
.dietary-icon-wrap {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dietary-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.dietary-name {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
}
.dietary-desc {
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.5);
}
.flavor-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem 1.5rem;
}
.flavor-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.flavor-circle {
  width: auto;
  height: 120px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--ac, var(--gray2));
  opacity: 0.75;
}
.flavor-name {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

/* Carousel nav */
.carousel-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.carousel-btn {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  background: none;
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s, transform 0.2s var(--ease-bounce);
}
.carousel-btn:hover:not(:disabled) { border-color: var(--yellow); color: var(--yellow); transform: scale(1.1); }
.carousel-btn:disabled { opacity: 0.2; cursor: default; }
.carousel-info {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
}

/* ── O NAMA ── */
#o-nama {
  background: var(--black);
}
#o-nama .section-wrap { padding-top: 80px; padding-bottom: 80px; }
.onama-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}
.onama-text .section-h2 { margin-bottom: 1.5rem; }
.onama-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.onama-stat-row {
  display: flex;
  gap: 2.5rem;
  margin-bottom: 3rem;
}
.onama-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--yellow);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.4);
}

/* Mascot grid */
.mascot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.mascot-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}
.mascot-img-wrap {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gray2);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  transition: background 0.3s, transform 0.3s var(--ease-bounce);
  border: 1.5px solid transparent;
}
.mascot-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--ease-bounce);
}
.mascot-item:hover .mascot-img-wrap {
  background: var(--gray3);
  border-color: rgba(248,202,42,0.3);
  transform: translateY(-4px);
}
.mascot-item:hover .mascot-img-wrap img { transform: scale(1.1); }
.mascot-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.mascot-item:hover .mascot-label { color: var(--yellow); }

/* Dietary inline badges */
.dietary-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.dietary-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--gray2);
  border-radius: 100px;
  padding: 8px 16px 8px 8px;
}
.dietary-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}
.dietary-chip span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ── LOYALTY ── */
#loyalty {
  background: var(--gray);
}
.loyalty-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 120px 5%;
  min-height: 640px;
}
.loyalty-text .section-h2 { margin-bottom: 1.2rem; }
.loyalty-text .section-sub { margin-bottom: 2.5rem; }
.loyalty-dots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.8rem;
}
.ldot {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.ldot.empty {
  background: var(--gray3);
  border: 2px dashed rgba(255,255,255,0.15);
}
.ldot.collected {
  background: var(--c1, var(--yellow));
  animation: dotPop 0.5s var(--ease-bounce) var(--delay, 0s) both;
}
.ldot.collected::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--c2, var(--red));
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.ldot.free {
  background: linear-gradient(135deg, var(--yellow) 50%, var(--red) 50%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: var(--black);
  text-transform: uppercase;
  animation: pulseFree 2.4s ease-in-out infinite;
}
@keyframes dotPop {
  from { opacity: 0; transform: scale(0) rotate(180deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes pulseFree {
  0%,100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(248,202,42,0.3); }
  50% { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(248,202,42,0); }
}

/* ── LOKACIJE ── */
#lokacije {
  background: var(--gray);
}
#lokacije .section-wrap { padding-top: 80px; padding-bottom: 80px; }
.lokacija-card {
  background: var(--gray2);
  border-radius: 4px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
  border: 1px solid rgba(255,255,255,0.06);
  max-width: 1000px;
  margin: 3rem auto 0;
  transition: border-color 0.3s;
}
.lokacija-card:hover { border-color: rgba(248,202,42,0.2); }
.lok-col .lok-heading {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.lok-col p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}
.lok-col p strong {
  color: var(--white);
  font-weight: 600;
}
.lok-col a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--yellow);
  border-bottom: 1px solid rgba(248,202,42,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s;
}
.lok-col a:hover { border-color: var(--yellow); }

/* ── FOOTER ── */
footer {
  background: #080808;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 5% 2rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 200px 1fr 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.footer-brand { display: flex; flex-direction: column; gap: 1rem; }
.footer-logo img { height: 80px; filter: invert(1); opacity: 0.9; }
.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.6;
}
.footer-nav-group h4 {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 1rem;
}
.footer-subheading { margin-top: 1.4rem !important; }
.footer-nav-group ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.footer-nav-group a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-nav-group a:hover { color: var(--white); }
.footer-plain {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}
.footer-social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
}
.footer-social-icons a {
  color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-social-icons a:hover { color: var(--yellow); }
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ── TABLET (≤1024px) ── */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-text-col { order: 2; }
  .hero-eyes-col { order: 1; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta-row { justify-content: center; }
  .filozofija-split { grid-template-columns: 1fr; min-height: 0; }
  .filozofija-photo { min-height: 340px; }
  .flavor-grid { grid-template-columns: repeat(3, 1fr); }
  .dietary-grid { grid-template-columns: repeat(2, 1fr); }
  .onama-grid { grid-template-columns: 1fr; gap: 4rem; }
  .mascot-grid { grid-template-columns: repeat(4, 1fr); }
  .loyalty-inner { grid-template-columns: 1fr; gap: 3rem; }
  .lokacija-card { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

/* ── MOBILE (≤768px) ── */
@media (max-width: 768px) {
  .nav-links, .nav-insta { display: none; }
  .hamburger { display: flex; }

  /* Remove fixed section heights — biggest mobile culprit */
  #gallery, #filozofija, #ukusi, #maskota, #dietary, #loyalty, #o-nama, #lokacije {
    height: auto;
    overflow: visible;
  }
  .filozofija-split { height: auto; grid-template-columns: 1fr; }
  .filozofija-photo { height: auto; min-height: 260px; padding: 0; }
  .filozofija-photo::after { display: none; }
  .filozofija-text { padding: 48px 5%; }

  /* Hero */
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-text-col { order: 2; text-align: center; }
  .hero-visual-col { order: 1; min-height: 220px; }
  .hero-eyebrow { justify-content: center; }
  .hero-sub { margin-inline: auto; }
  .hero-cta-row { justify-content: center; }
  .hero-h1 { font-size: clamp(2.4rem, 8vw, 3.5rem); }

  /* Flavor grid */
  .flavor-grid { grid-template-columns: repeat(2, 1fr); }
  .flavor-circle { height: 90px; }

  /* Dietary */
  .dietary-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .dietary-item { padding: 1.8rem 1rem; }

  /* O nama */
  .onama-grid { grid-template-columns: 1fr; gap: 3rem; }
  .onama-stat-row { gap: 1.5rem; }
  .onama-photo-col { min-height: 280px; }

  /* Mascot */
  .mascot-grid { grid-template-columns: repeat(3, 1fr); }

  /* Loyalty */
  .loyalty-inner { grid-template-columns: 1fr; gap: 2rem; padding: 60px 5%; }
  .loyalty-dots { grid-template-columns: repeat(5, 1fr); gap: 0.6rem; }

  /* Lokacije */
  .lokacija-card { grid-template-columns: 1fr; padding: 2rem; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  /* Spacing */
  .section-wrap { padding: 60px 5%; }
  .section-wrap-full { padding: 60px 5%; }

  /* Gallery bottom padding so it doesn't merge with filozofija */
  #gallery { padding-bottom: 3rem; }
  #gallery .gallery-grid { padding: 0 5%; }
}

/* ── MOBILE SMALL (≤480px) ── */
@media (max-width: 480px) {
  .flavor-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .flavor-circle { height: 80px; }
  .mascot-grid { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .hero-cta-row { flex-direction: column; align-items: center; }
  .onama-stat-row { flex-wrap: wrap; }
  .loyalty-dots { grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
}

/* ═══════════════════════════════════════════
   GALLERY — CRNE PRAZNINE FIX
   Prva stavka span 2 rows mora imati explicit
   height da ne ostane празna
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   SLADOLED STRIP (Ukusi sekcija)
═══════════════════════════════════════════ */
.sladoled-strip-wrap {
  margin: 2.5rem 0 2rem;
  overflow: hidden;
}
.sladoled-strip {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.sladoled-strip::-webkit-scrollbar { display: none; }
.sladoled-strip-item {
  flex: 0 0 220px;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--gray2);
  scroll-snap-align: start;
  position: relative;
  border: 1px solid rgba(255,255,255,0.06);
  transition: transform 0.35s var(--ease-bounce), box-shadow 0.35s;
}
.sladoled-strip-item:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(0,0,0,0.6);
}
.sladoled-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
  display: block;
}
.sladoled-strip-item img.loaded { opacity: 1; }
.strip-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 8px 10px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}

/* ═══════════════════════════════════════════
   LOYALTY — FLOATING MASCOT
═══════════════════════════════════════════ */
#loyalty {
  position: relative;
}
.loyalty-mascot {
  position: absolute;
  bottom: 0;
  right: 4%;
  width: 140px;
  height: auto;
  opacity: 0.85;
  animation: loyaltyMascotBob 4s ease-in-out infinite;
  pointer-events: none;
  filter: drop-shadow(0 -8px 24px rgba(0,0,0,0.3));
}
@keyframes loyaltyMascotBob {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-14px) rotate(3deg); }
}
.loyalty-hint {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════════
   RESPONSIVE UPDATES
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-logo-big { max-width: 340px; }
  .hero-mascot-float { width: 100px; }
  .loyalty-mascot { width: 110px; }
}
@media (max-width: 768px) {
  .hero-visual-col { min-height: 300px; }
  .hero-logo-big { max-width: 260px; }
  .hero-mascot-float { width: 80px; bottom: -10px; }
  .loyalty-mascot { display: none; }
  .sladoled-strip-item { flex: 0 0 180px; height: 130px; }
}
@media (max-width: 480px) {
  .sladoled-strip-item { flex: 0 0 150px; height: 110px; }
}

/* ═══════════════════════════════════════════
   HERO WORDMARK
═══════════════════════════════════════════ */
.hero-wordmark {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--gray2);
}
.hero-wordmark img {
  height: 28px;
  opacity: 0.25;
  filter: invert(1);
  transition: opacity 0.3s;
}
.hero-wordmark:hover img { opacity: 0.5; }

/* ═══════════════════════════════════════════
   PRODUCT GALLERY SECTION
═══════════════════════════════════════════ */
#gallery {
  background: #0D0D0D;
  overflow: hidden;
}
#gallery .section-wrap {
  padding-top: 80px;
  padding-bottom: 2rem;
}
#gallery .section-label {
  color: rgba(255,255,255,0.4);
}
#gallery .section-h2 {
  color: var(--yellow);
}
.gallery-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  margin-bottom: 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
  margin-top: 3px;
  padding: 0 6%;
}
.gallery-item {
  overflow: hidden;
  background: var(--gray2);
  height: 340px;
  position: relative;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: transform 0.8s var(--ease-bounce), opacity 0.5s;
  display: block;
}
.gallery-item img.loaded {
  opacity: 1;
  transform: scale(1);
}
.gallery-item:hover img {
  transform: scale(1.04);
}
.gallery-item.reveal {
  transform: none;
  opacity: 1;
}

/* ═══════════════════════════════════════════
   O NAMA — SLADOLED PHOTO STACK
═══════════════════════════════════════════ */
.onama-photo-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}
.sladoled-stack {
  position: relative;
  width: 320px;
  height: 380px;
}
.stack-card {
  position: absolute;
  width: 260px;
  height: 300px;
  border-radius: 6px;
  overflow: hidden;
  background: var(--gray2);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
  transition: transform 0.4s var(--ease-bounce), box-shadow 0.4s;
}
.stack-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s;
  display: block;
}
.stack-card img.loaded { opacity: 1; }
.stack-back {
  bottom: 0;
  right: 0;
  transform: rotate(6deg);
  z-index: 1;
}
.stack-mid {
  bottom: 30px;
  left: 0;
  transform: rotate(-4deg);
  z-index: 2;
}
.stack-front {
  bottom: 60px;
  left: 30px;
  transform: rotate(1.5deg);
  z-index: 3;
}
.sladoled-stack:hover .stack-back  { transform: rotate(10deg) translate(6px, 4px); }
.sladoled-stack:hover .stack-mid   { transform: rotate(-7deg) translate(-6px, 4px); }
.sladoled-stack:hover .stack-front { transform: rotate(2deg) translateY(-10px); box-shadow: 0 24px 64px rgba(0,0,0,0.6); }

/* stat counter */
.stat-pct::after { content: '%'; font-size: 1.2rem; vertical-align: super; }

/* ═══════════════════════════════════════════
   MASKOTA SECTION
═══════════════════════════════════════════ */
#maskota {
  background: var(--gray);
  overflow: hidden;
}
#maskota .section-wrap {
  padding-top: 80px;
  padding-bottom: 2rem;
}
.maskota-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.5rem;
  margin-bottom: 0;
}
#maskota .section-h2 { color: var(--yellow); }
.maskota-track-wrap {
  overflow: visible;
  margin: 0 6%;
  background: #F9F8F6;
  border-radius: 10px;
  padding: 1.8rem 2rem;
}
.maskota-track {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 1.2rem;
}
.maskota-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  opacity: 0;
  animation: maskotaIn 0.55s var(--ease-bounce) var(--m-delay, 0s) forwards;
}
.maskota-card.not-visible {
  animation: none;
  opacity: 0;
}
@keyframes maskotaIn {
  from { opacity: 0; transform: translateY(28px) scale(0.85); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.maskota-card-img {
  width: 100%;
  aspect-ratio: 1;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  border: 1.5px solid rgba(0,0,0,0.06);
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-bounce);
}
.maskota-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.45s var(--ease-bounce);
}
.maskota-card:hover .maskota-card-img {
  background: var(--gray3);
  border-color: rgba(248,202,42,0.4);
  transform: translateY(-6px) scale(1.04);
}
.maskota-card:hover .maskota-card-img img {
  animation: wiggle 0.5s var(--ease-bounce);
}
@keyframes wiggle {
  0%   { transform: rotate(0deg) scale(1); }
  25%  { transform: rotate(-10deg) scale(1.1); }
  50%  { transform: rotate(8deg) scale(1.05); }
  75%  { transform: rotate(-5deg) scale(1.08); }
  100% { transform: rotate(0deg) scale(1); }
}
.maskota-card-name {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
  text-align: center;
  transition: color 0.2s;
}
.maskota-card-tag { display: none; }
.maskota-card.active .maskota-card-img {
  background: #FFF8E7;
  border-color: rgba(248,202,42,0.7);
  transform: translateY(-6px) scale(1.04);
}
.maskota-card.active .maskota-card-name { color: #0D0D0D; }

/* ── MASKOTA RECO PANEL ── */
.maskota-reco {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 40px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease-smooth), transform 0.35s var(--ease-smooth);
}
.maskota-reco.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}
.maskota-reco-circles {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}
.reco-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.reco-circle {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--ac, var(--gray2));
  opacity: 0.85;
}
.reco-name {
  font-size: 0.52rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  text-align: center;
}
.maskota-reco-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--yellow);
  border: 1.5px solid var(--yellow);
  padding: 8px 18px;
  border-radius: 2px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.maskota-reco-btn:hover {
  background: var(--yellow);
  color: var(--black);
}
.maskota-card:hover .maskota-card-img {
  background: #FFF8E7;
  border-color: rgba(248,202,42,0.5);
  transform: translateY(-6px) scale(1.04);
}
.maskota-card:hover .maskota-card-name { color: #0D0D0D; }
.maskota-card:hover .maskota-card-tag  { color: rgba(0,0,0,0.55); }

/* ═══════════════════════════════════════════
   RESPONSIVE — NEW SECTIONS
═══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .maskota-track { grid-template-columns: repeat(5, 1fr); gap: 1rem; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-row: span 1; aspect-ratio: 4/3; }
  .gallery-item:nth-child(4) { grid-column: span 1; }
}
@media (max-width: 768px) {
  .maskota-track { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; }
  .maskota-track-wrap { margin: 0 5%; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 4px; padding: 0 5%; }
  .gallery-item { height: 200px; }
  .sladoled-stack { width: 260px; height: 300px; }
  .stack-card { width: 210px; height: 250px; }
  .onama-photo-col { min-height: 280px; }
  .hero-wordmark img { height: 22px; }
  .maskota-reco { flex-direction: column; align-items: flex-start; padding: 1rem 5%; }
  .maskota-reco-circles { flex-wrap: wrap; gap: 1rem; }
}
@media (max-width: 480px) {
  .maskota-track { grid-template-columns: repeat(3, 1fr); gap: 0.6rem; }
  .gallery-grid { grid-template-columns: 1fr; gap: 4px; }
  .gallery-item { height: 260px; }
  .sladoled-stack { width: 220px; height: 260px; }
  .stack-card { width: 180px; height: 210px; }
  .sladoled-strip-item { flex: 0 0 150px; height: 110px; }
}
