*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --pink: #fa91ba;
  --pink-dark: #d15180;
  --pink-light: #fff7fa;
  --white: #fff7fa;
  --black: #1e1e1e;
  --grey: #909090;
  --ff-head: "League Spartan", sans-serif;
  --ff-script: "Licorice", cursive;
  --ff-label: "Josefin Sans", sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--ff-head);
  color: var(--black);
  line-height: 1.4;
  overflow-x: hidden;
  background: var(--pink);
}

/* NAV (desktop) */
.nav {
  position: absolute;
  top: 35px;
  left: 120px;
  z-index: 100;
  background: #d15180;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 40px;
  padding: 22px 52px;
  display: flex;
  gap: 44px;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 40px;
}
.nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: opacity 0.2s;
  white-space: nowrap;
  text-transform: uppercase;
}
.nav a:hover {
  opacity: 0.7;
}

/* MOBILE NAV TOGGLE */
.nav-toggle {
  display: none;
  position: fixed;
  top: 28px;
  right: 24px;
  z-index: 200;
  background: var(--pink-dark);
  border: none;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  transition: background 0.3s;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* FULLSCREEN NAV OVERLAY */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--pink-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay a {
  color: var(--white);
  font-family: var(--ff-head);
  font-weight: 800;
  font-size: clamp(28px, 7vw, 42px);
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(20px);
  opacity: 0;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}
.nav-overlay.open a {
  transform: translateY(0);
  opacity: 1;
}
.nav-overlay.open a:nth-child(1) {
  transition-delay: 0.08s;
}
.nav-overlay.open a:nth-child(2) {
  transition-delay: 0.14s;
}
.nav-overlay.open a:nth-child(3) {
  transition-delay: 0.2s;
}
.nav-overlay.open a:nth-child(4) {
  transition-delay: 0.26s;
}
.nav-overlay a:hover {
  opacity: 0.7;
}

/* HERO */
.hero {
  background: var(--pink);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 160px 120px 80px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  max-width: 842px;
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: clamp(80px, 12vw, 180px);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -4px;
  margin-bottom: 30px;
}
.hero .script {
  font-family: var(--ff-script);
  font-size: clamp(44px, 5vw, 80px);
  color: var(--black);
  line-height: 0.9;
  margin-bottom: 30px;
  font-weight: 400;
}
.hero p {
  font-size: clamp(18px, 1.4vw, 25px);
  color: var(--white);
  line-height: 1.1;
  max-width: 680px;
  margin-bottom: 40px;
}
.hero-img {
  position: absolute;
  right: -2%;
  top: -2%;
  width: 52%;
  height: 104%;
  transform-origin: right top;
  background: url("img/rukavice.png") right top/contain no-repeat;
  animation: lila 3s ease-in-out forwards infinite;
}
@keyframes lila {
  0% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(2deg);
  }
  100% {
    transform: rotate(0deg);
  }
}

.btn {
  display: inline-block;
  background: var(--pink-dark);
  color: var(--white);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 22px 40px;
  border-radius: 38px;
  text-decoration: none;
  letter-spacing: 1.2px;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(209, 81, 128, 0.35);
}

.divider {
  width: 100%;
}
.divider2 {
  background: #fff7fa;
  width: 100%;
}

/* SECTION SHARED */
section {
  position: relative;
}
.section-light {
  background: var(--pink-light);
  padding: 0 0 120px 0;
}
.section-pink {
  background: var(--pink);
  padding: 0 0 120px 0;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-wide {
  max-width: 100%;
  padding: 0 120px 80px;
}
.section-title {
  font-size: clamp(36px, 4.5vw, 70px);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -2px;
  text-align: center;
  margin-bottom: 50px;
}
.section-title.pink {
  color: var(--pink-dark);
}
.section-title.white {
  color: var(--white);
}

/* SAMOPREGLED */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 40px;
}
.step {
  display: flex;
  align-items: center;
  gap: 40px;
  border-radius: 20px;
  padding: 30px;
}
.step:nth-child(even) {
  flex-direction: row-reverse;
}
.step-img {
  flex: 0 0 340px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.step-img img {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
}
.step-text {
  flex: 1;
}
.step-text h3 {
  font-size: clamp(24px, 2.5vw, 40px);
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 20px;
}
.step-text p {
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.25;
  max-width: 560px;
}
.step-intro {
  font-size: clamp(16px, 1.2vw, 25px);
  text-align: center;
  max-width: 840px;
  margin: 0 auto 20px;
  line-height: 1.15;
}
.step-intro strong {
  font-weight: 800;
}

/* STADIJI */
.stages-wrap {
  background: var(--pink-light);
  border: 1px solid var(--pink-dark);
  border-radius: 20px;
  padding: 30px;
  margin: 0 auto;
  overflow: hidden;
}
.stages-grid {
  display: flex;
  gap: 0;
}
.stage-card {
  flex: 1;
  min-width: 0;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border-radius: 4px;
}
.stage-card img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.stage-overlay {
  position: absolute;
  inset: 0;
  background: rgba(209, 81, 128, 0.88);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 10px;
  text-align: center;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.stage-card:hover .stage-overlay {
  opacity: 1;
}
.stage-card.touched .stage-overlay {
  opacity: 1;
}
.stage-overlay .stage-label {
  font-family: var(--ff-label);
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
  letter-spacing: 0.5px;
  padding-bottom: 10px;
}
.stage-overlay p {
  font-size: 0.85rem;
  line-height: 1.1;
  color: var(--white);
  padding-bottom: 10px;
}
.stage-tab {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
  padding: 10px 24px;
  font-family: var(--ff-label);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  background: var(--pink-dark);
  border-radius: 20px;
  white-space: nowrap;
  pointer-events: none;
}

/* 90% */
.stat-section {
  text-align: center;
  padding: 100px 40px;
}
.stat-img {
  max-width: 900px;
  margin: 0 auto 50px;
  display: flex;
  gap: 20px;
  justify-content: center;
}
.stat-img img {
  width: 100%;
  max-width: 1600px;
  object-fit: contain;
  margin-left: 18%;
}
.stat-text {
  font-size: clamp(32px, 5vw, 80px);
  font-weight: 800;
  color: var(--white);
  line-height: 0.9;
  letter-spacing: -2px;
  max-width: 1000px;
  margin: 0 auto;
}

/* POBJEDA ZIVOTA */
.award {
  display: flex;
  align-items: center;
  gap: 60px;
  padding: 60px 0;
}
.award-img {
  flex: 0 0 45%;
  max-width: 800px;
}
.award-img img {
  width: 100%;
  border-radius: 12px;
}
.award-text {
  flex: 1;
  color: var(--white);
}
.award-text h2 {
  font-size: clamp(60px, 10vw, 160px);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -4px;
  margin-bottom: 40px;
}
.award-text p {
  font-size: clamp(18px, 1.2vw, 22px);
  line-height: 1.15;
}
.award-text strong {
  font-weight: 800;
}

/* FORM */
.form-section {
  padding: 0 0 80px;
}
.form-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px;
  font-size: 1.15rem;
  line-height: 1.15;
}
.form-intro strong {
  font-weight: 800;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1160px;
  margin: 0 auto;
  align-items: start;
}
.form-group h3 {
  font-size: clamp(28px, 3vw, 50px);
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 0.9;
  margin-bottom: 30px;
}
.field {
  margin-bottom: 8px;
}

.btnsend {
  margin-top: 1rem;
}
.field label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid var(--pink-dark);
  border-radius: 20px;
  font-family: var(--ff-head);
  font-size: 1rem;
  background: transparent;
  outline: none;
  transition: box-shadow 0.2s;
  color: var(--black);
}
.field input:focus,
.field textarea:focus {
  box-shadow: 0 0 0 3px rgba(209, 81, 128, 0.25);
}
.field textarea {
  min-height: 180px;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--grey);
}

/* form footer */
.form-footer {
  grid-column: 2;
}
.form-footer .consent {
  flex: 1;
  min-width: 280px;
  margin: 0;
}
.form-footer .btn {
  flex-shrink: 0;
}

/* audio toggle */
.input-mode {
  margin-bottom: 20px;
}
.input-mode label {
  display: block;
  font-size: 1.1rem;
  margin-bottom: 12px;
}
.mode-btns {
  display: flex;
  gap: 16px;
}
.mode-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 38px;
  border: 2px solid var(--pink-dark);
  background: transparent;
  color: var(--pink-dark);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  letter-spacing: 0.8px;
  transition: all 0.2s;
}
.mode-btn.active,
.mode-btn:hover {
  background: var(--pink-dark);
  color: var(--white);
}
.mode-btn i {
  font-size: 1.1rem;
}
.audio-recorder {
  display: none;
  flex-direction: column;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--pink-dark);
  border-radius: 20px;
  align-items: center;
}
.audio-recorder.visible {
  display: flex;
}
.audio-recorder button {
  padding: 12px 28px;
  border-radius: 30px;
  border: none;
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
}
.rec-btn {
  background: #e84e4e;
  color: #fff;
}
.rec-btn.recording {
  animation: pulse 1s infinite;
}
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(232, 78, 78, 0.5);
  }
  50% {
    box-shadow: 0 0 0 14px rgba(232, 78, 78, 0);
  }
}
.rec-stop {
  background: var(--pink-dark);
  color: var(--white);
}
.audio-player {
  width: 100%;
  margin-top: 6px;
}
.audio-status {
  font-size: 0.9rem;
  color: var(--pink-dark);
  font-weight: 700;
}

.consent {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin: 30px 0 20px;
}
.consent input[type="checkbox"] {
  display: none;
}
.consent .check-box {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--pink-dark);
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s;
  margin-top: 2px;
  background: transparent;
}
.consent .check-box::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--white);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.15s;
}
.consent input[type="checkbox"]:checked + .check-box {
  background: var(--pink-dark);
  border-color: var(--pink-dark);
}
.consent input[type="checkbox"]:checked + .check-box::after {
  opacity: 1;
}
.consent span {
  font-size: 0.82rem;
  line-height: 1.25;
  color: var(--black);
}
.consent a {
  color: var(--pink-dark);
}

/* ARTICLES */
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 40px;
}
.article-card {
  overflow: hidden;
}
.article-card .thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--pink);
  border-radius: 16px;
  overflow: hidden;
}
.article-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-card h4 {
  font-size: clamp(20px, 2.2vw, 36px);
  font-weight: 800;
  color: var(--pink-dark);
  line-height: 0.95;
  margin: 24px 0 12px;
  letter-spacing: -1px;
}
.article-card p {
  font-size: 1rem;
  line-height: 1.2;
  color: var(--black);
}

/* NEWSLETTER */
.newsletter {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 30px;
  align-items: flex-end;
}
.newsletter .field {
  flex: 1;
}
.newsletter .btn {
  white-space: nowrap;
  padding: 16px 36px;
  font-size: 0.95rem;
}

/* FOOTER */
.footer {
  text-align: center;
  background: var(--pink);
}
.footer-logo {
  max-width: 420px;
  margin: 0 auto 30px;
}
.footer-logo img {
  width: 100%;
  height: auto;
}
.footer-sponsors {
  margin-bottom: 20px;
}
.footer-sponsors .label {
  font-weight: 700;
  font-size: 1rem;
  color: var(--pink-dark);
  letter-spacing: 1px;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.footer-sponsors .logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 20px;
}
.footer-sponsors .logos img {
  height: 40px;
  object-fit: contain;
}
.footer-bar {
  background: var(--pink-dark);
  padding: 18px 0;
  margin-top: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}
.footer-bar a {
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.footer-bar span {
  color: var(--white);
  font-size: 0.5rem;
}

/* WAVE DIVIDERS */
.wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  position: relative;
  z-index: 2;
  padding-bottom: 120px;
}
.wave svg {
  display: block;
  width: 100%;
}
.wave-pink-to-light svg {
  fill: var(--pink-light);
}
.wave-light-to-pink svg {
  fill: var(--pink);
}

/* dots (hidden on desktop) */
.slider-dots {
  display: none;
}

/* ═══════════════════════════════
   RESPONSIVE
   ═══════════════════════════════ */

@media (max-width: 1367px) {
  .stages-grid {
    height: 460px;
  }
}

@media (max-width: 1024px) {
  .hero {
    padding: 120px 40px 60px;
    flex-direction: column;
    min-height: auto;
  }
  .hero-img {
    position: relative;
    width: 100%;
    height: 400px;
    right: auto;
    top: auto;
    margin-top: 40px;
    border-radius: 20px;
  }
  .hero-content {
    max-width: 100%;
  }
  .step {
    flex-direction: column !important;
    text-align: center;
  }
  .step-img {
    flex: 0 0 auto;
  }
  .step-body p {
    margin: 20px auto 0;
  }
  .award {
    flex-direction: column;
    text-align: center;
    padding-top: 0;
  }
  .award-img {
    max-width: 350px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .stat-img {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 768px) {
  /* nav */
  .nav {
    display: none;
  }
  .form-grid {
    gap: 10px;
  }
  .nav-toggle {
    display: flex;
  }

  /* spacing */
  .container {
    padding: 0 20px;
  }
  .container-wide {
    padding: 0 20px 40px;
  }

  /* hero */
  .hero {
    padding: 306px 24px 64px 24px;
    flex-direction: column-reverse;
  }
  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-img {
    position: absolute;
    top: 0;
    margin-top: 0;
  }

  /* sections */
  .wave {
    padding-bottom: 60px;
  }
  .section-light,
  .section-pink {
    padding-bottom: 60px;
  }

  /* stat */
  .stat-section {
    padding: 60px 20px;
  }
  .stat-img img {
    margin-left: 0;
  }

  /* newsletter */
  .newsletter {
    flex-direction: column;
    align-items: stretch;
  }

  /* form footer mobile */
  .form-footer {
    grid-column: 1;
  }
  .form-footer .consent {
    min-width: 0;
  }
  .form-footer .btn,
  .btnsend {
    width: 100%;
    text-align: center;
    margin-top: 1rem;
  }

  /* STADIJI MOBILE SLIDER */
  .stages-wrap {
    padding: 16px 0 20px;
    border-radius: 14px;
    overflow: hidden;
  }
  .stages-grid {
    flex-direction: row;
    height: auto;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
    padding: 0 16px;
  }
  .stages-grid::-webkit-scrollbar {
    display: none;
  }
  .stage-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    border-radius: 14px;
    margin-right: 12px;
    max-height: none;
  }
  .stage-card:last-child {
    margin-right: 0;
  }
  .stage-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }
  .stage-tab {
    bottom: 14px;
    padding: 8px 22px;
    font-size: 0.9rem;
  }
  .stage-overlay {
    padding: 24px 20px;
  }
  .stage-overlay .stage-label {
    font-size: 1.15rem;
    margin-bottom: 10px;
  }
  .stage-overlay p {
    font-size: 0.88rem;
    line-height: 1.25;
  }

  .slider-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
    padding: 0 16px;
  }
  .slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--pink-dark);
    opacity: 0.3;
    border: none;
    padding: 0;
    cursor: pointer;
    transition:
      opacity 0.25s,
      transform 0.25s;
  }
  .slider-dot.active {
    opacity: 1;
    transform: scale(1.25);
  }
  .footer-sponsors .logos {
    flex-direction: column;
  }
}
