/* =========================================
   PULSO — stilovi (zeleni brend)
   ========================================= */

:root {
  /* Svijetla podloga */
  --bg: #e7e5e0;        /* prljavo bijela */
  --bg-alt: #dcdad4;    /* svijetlo sivkasta */
  --surface: #efede8;
  --line: #cac7bf;
  --text: #121214;
  --muted: #5e5c61;

  /* Zelena iz logoa */
  --green-deep: #078a4e;   /* za tekst na svijetloj podlozi */
  --green-dark: #00b862;
  --green: #1feb8f;
  --green-light: #a6fcd6;
  --grad: linear-gradient(90deg, var(--green-dark), var(--green) 55%, var(--green-light));
  --accent: var(--green-deep);

  --font-logo: "Righteous", "Arial Rounded MT Bold", sans-serif;
  --font-display: "Bricolage Grotesque", "Arial", sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;

  --radius: 16px;
  --container: 1180px;
}

/* Tamne sekcije — kao pozadina logoa */
.section--dark {
  --bg: #111113;
  --bg-alt: #111113;
  --surface: #1d1d20;
  --line: #2e2e33;
  --text: #ecebe6;
  --muted: #a3a2a7;
  --accent: var(--green);
  background: var(--bg);
  color: var(--text);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Logo ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-logo);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: var(--text);
  transition: color 0.3s;
}

.brand--small { font-size: 24px; }

.brand__pulse {
  width: 1.45em;
  height: 1.6em;
  margin: 0 0.02em;
  overflow: visible;
}

.brand__pulse path {
  fill: none;
  stroke: url(#pulseGrad);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 220;
  stroke-dashoffset: 0;
}

.brand:hover .brand__pulse path { animation: beat 1.1s ease-in-out; }

@keyframes beat {
  0%   { stroke-dashoffset: 220; }
  100% { stroke-dashoffset: 0; }
}

/* ---------- Navigacija ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  --text: #ecebe6;
  --muted: #c2c1c5;
  --line: rgba(236, 235, 230, 0.18);
  --bg: #111113;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

.nav.is-scrolled {
  --text: #121214;
  --muted: #5e5c61;
  --line: #cac7bf;
  --bg: #e7e5e0;
  background: rgba(231, 229, 224, 0.9);
  backdrop-filter: blur(12px);
  border-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav__links { display: flex; gap: 36px; }

.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 0;
  background: var(--grad);
  transition: width 0.25s;
}

.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px;
}

.lang__btn {
  background: none;
  border: 0;
  color: var(--muted);
  font: 700 12px var(--font-body);
  letter-spacing: 1px;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s;
}

.lang__btn.is-active { background: var(--text); color: var(--bg); }

.nav__burger {
  display: none;
  background: none;
  border: 0;
  width: 32px;
  height: 32px;
  cursor: pointer;
  position: relative;
}

.nav__burger span {
  position: absolute;
  left: 4px;
  right: 4px;
  height: 2px;
  background: var(--text);
  transition: transform 0.3s, top 0.3s;
}

.nav__burger span:first-child { top: 11px; }
.nav__burger span:last-child { top: 19px; }
.nav__burger.is-open span:first-child { top: 15px; transform: rotate(45deg); }
.nav__burger.is-open span:last-child { top: 15px; transform: rotate(-45deg); }

/* ---------- Dugmad ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 28px;
  border-radius: 999px;
  font: 700 15px var(--font-body);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.btn--primary { background: var(--grad); color: #0b0b0c; }

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(31, 235, 143, 0.6);
}

.btn--ghost { border-color: var(--line); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }

/* ---------- Zajedničko ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--grad);
}

.section { padding: 130px 0; }
.section--alt { background: var(--bg-alt); }

.section__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 15ch;
}

.section__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 56px;
}

.section__note { color: var(--muted); max-width: 380px; }

.accent {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(55% 50% at 78% 55%, rgba(31, 235, 143, 0.16), transparent 70%),
    radial-gradient(40% 40% at 10% 10%, rgba(255, 255, 255, 0.04), transparent 70%),
    var(--bg);
}

.hero__bg-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 300px;
  opacity: 0.22;
  pointer-events: none;
}

.hero__bg-line svg { width: 100%; height: 100%; }

.hero__pulse {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 3.2s ease-in-out infinite;
}

@keyframes draw {
  0%   { stroke-dashoffset: 2400; opacity: 1; }
  70%  { stroke-dashoffset: 0; opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.hero__content { position: relative; }

.hero__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(52px, 10.5vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
}

.hero__title .accent { display: inline-block; padding-right: 0.05em; }

.hero__lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* Tagline kao na logou */
.tagline {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 80px;
  color: var(--muted);
}

.tagline__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
}

.tagline__words {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tagline__words i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Traka sa gradovima ---------- */
.cities {
  overflow: hidden;
  background: var(--grad);
  color: #0b0b0c;
  padding: 20px 0;
}

.cities__track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

.cities:hover .cities__track { animation-play-state: paused; }

.cities__group { display: flex; align-items: center; }

.cities__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 30px);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.cities__item::after {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
  margin: 0 36px 0 24px;
}

.cities__badge {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid rgba(11, 11, 12, 0.5);
  border-radius: 999px;
  padding: 3px 9px;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- O nama ---------- */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.about__right p { color: var(--muted); margin-bottom: 20px; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.stat__num {
  display: block;
  font-family: var(--font-logo);
  font-size: 34px;
  color: var(--accent);
}

.stat__label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

/* ---------- Grane ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
}

.card {
  grid-column: span 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 34px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, background 0.3s;
}

.card:nth-child(4),
.card:nth-child(5) { grid-column: span 3; }

.card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  transition: width 0.4s;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -24px rgba(18, 18, 20, 0.35);
  border-color: transparent;
}

.card:hover::before { width: 100%; }

.card__num {
  font-family: var(--font-logo);
  font-size: 15px;
  color: var(--accent);
}

.card__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 40px 0 8px;
}

.card__name span {
  font-family: var(--font-logo);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--accent);
}

.card__sub {
  font-size: 12px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 14px;
}

.card p:last-child { font-size: 15px; color: var(--muted); }

/* ---------- Događaji ---------- */
.events {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.event {
  display: grid;
  grid-template-columns: 130px 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  transition: padding 0.3s;
}

.event:hover { padding-left: 14px; }
.event:hover .event__title { color: var(--green); }

.event__date { font-family: var(--font-display); line-height: 1; }

.event__day {
  display: block;
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.event__month {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
}

.event__title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
  transition: color 0.2s;
}

.event__meta { color: var(--muted); font-size: 15px; }

.event__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}

/* ---------- Kontakt ---------- */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact__left > p { color: var(--muted); margin: 24px 0 36px; }

/* Kartice za Instagram i Email */
.clinks {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.clink {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

/* zelena puls linija koja se pojavi na dnu kartice */
.clink::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  transition: width 0.4s;
}

.clink:hover {
  transform: translateY(-3px);
  border-color: transparent;
  box-shadow: 0 18px 36px -22px rgba(18, 18, 20, 0.4);
}

.clink:hover::after { width: 100%; }

.clink__icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  transition: transform 0.3s;
}

.clink:hover .clink__icon { transform: rotate(-6deg) scale(1.05); }

.clink__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.clink__icon svg .fill { fill: #fff; stroke: none; }

.clink--ig .clink__icon {
  background: linear-gradient(45deg, #f9a03f, #e1306c 45%, #833ab4 80%, #5b51d8);
}

.clink--mail .clink__icon { background: var(--grad); }
.clink--mail .clink__icon svg { stroke: #0b0b0c; }

.clink__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.clink__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

.clink__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  transition: color 0.2s;
}

.clink:hover .clink__value { color: var(--accent); }

.clink__arrow {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  transition: background 0.25s, border-color 0.25s;
}

.clink__arrow svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--text);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.25s;
}

.clink:hover .clink__arrow { background: var(--text); border-color: var(--text); }
.clink:hover .clink__arrow svg { stroke: var(--bg); transform: translate(2px, -2px); }

/* Baza i područje */
.contact__meta {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 14px;
}

.contact__meta li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 15px;
}

.contact__meta svg {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact__meta small {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 480px) {
  .contact__meta { grid-template-columns: 1fr; }
  .clink { gap: 14px; padding: 16px; }
  .clink__icon { width: 48px; height: 48px; border-radius: 14px; }
  .clink__arrow { width: 34px; height: 34px; }
  .clink--mail .clink__value { font-size: 16px; }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 30px 60px -40px rgba(18, 18, 20, 0.35);
}

.form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.form input,
.form select,
.form textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--text);
  font: 15px var(--font-body);
  transition: border-color 0.2s, background 0.2s;
}

.form textarea { resize: vertical; }

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--green-dark);
  background: var(--surface);
}

.form .btn { margin-top: 6px; }
.form .btn:disabled { opacity: 0.6; cursor: wait; transform: none; box-shadow: none; }

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status.is-error { color: #c0392b; }

.form__status { font-size: 14px; font-weight: 600; color: var(--accent); min-height: 1em; }

/* ---------- Footer ---------- */
.footer { padding: 44px 0; }

.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer p { color: var(--muted); font-size: 14px; }

.footer__tag {
  margin-top: 8px;
  font-size: 11px !important;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.35em;
  text-transform: uppercase;
}

/* ---------- Animacija pri skrolu ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .card,
  .card:nth-child(4) { grid-column: span 1; }
  .card:nth-child(5) { grid-column: span 2; }

  .about,
  .contact { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 760px) {
  .section { padding: 90px 0; }

  .nav__burger { display: block; }

  .nav__links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 24px;
    transform: translateY(-120%);
    transition: transform 0.35s ease;
    z-index: -1;
  }

  .nav__links.is-open { transform: none; }

  .nav__links a {
    font-size: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    color: var(--text);
  }

  .nav__links a::after { display: none; }

  .brand { font-size: 26px; }

  .section__head { flex-direction: column; align-items: flex-start; gap: 16px; }

  .cards { grid-template-columns: 1fr; }
  .card,
  .card:nth-child(4),
  .card:nth-child(5) { grid-column: span 1; }

  .tagline { margin-top: 56px; gap: 14px; }
  .tagline__words { font-size: 10px; gap: 12px; letter-spacing: 0.3em; }

  .event { grid-template-columns: 76px 1fr; gap: 18px; }
  .event__tag { grid-column: 2; justify-self: start; }
  .event__day { font-size: 34px; }
  .event__title { font-size: 20px; }

  .form { padding: 24px; }
}
