/* ============================================================
   Zbor za Gušt — CSS Stylesheet
   Design tokens extracted from Canva SVG:
     #e2a9f1  — light pink/lavender (section backgrounds)
     #12229d  — dark blue (primary text)
     #ffffff  — white (backgrounds, light text)
     #00ffff  — cyan (accent, emoji hearts)
     #ff00ff  — magenta/fuchsia (accent)
   Fonts: Passion One (headings), Be Vietnam Pro (body)
   ============================================================ */

/* ── Reset & Base ──────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Be Vietnam Pro', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #12229d;
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* ── Container ─────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── HERO SECTION ──────────────────────────────────────────── */
.hero {
  background-color: #e2a9f1;
  text-align: center;
  padding-top: 3rem;
  overflow: hidden;
}

.hero__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 600;
  font-size: clamp(5.25rem, 15vw, 12.1875rem);
  /* 195px at desktop (130 × 1.5) */
  color: #ffffff;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.hero__subtitle {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 7.5vw, 4.96875rem);
  /* 79.5px at desktop (53 × 1.5) */
  color: #12229d;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero__text {
  margin-top: 1.5rem;
  font-size: clamp(1.2rem, 2.25vw, 1.40625rem);
  color: #12229d;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

.hero__text strong {
  font-weight: 700;
}

.hero__image {
  margin-top: 2rem;
  width: 100%;
  max-height: 380px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ── WHAT AWAITS SECTION ───────────────────────────────────── */
.awaits {
  background-color: #e2a9f1;
  padding: 3rem 0 3rem;
  text-align: center;
}

.awaits__heading {
  font-weight: 600;
  font-size: 1.65rem;
  margin-bottom: 1rem;
  color: #12229d;
}

.awaits__list {
  display: inline-block;
  text-align: center;
  margin-bottom: 1.5rem;
}

.awaits__list li {
  font-size: 1.425rem;
  color: #12229d;
  line-height: 1.8;
}

.awaits__cta {
  font-weight: 500;
  font-size: 1.35rem;
  color: #12229d;
  margin-top: 1rem;
  font-style: italic;
}

/* ── FAQ SECTION ───────────────────────────────────────────── */
.faq {
  background-color: #e2a9f1;
  padding: 2rem 0 3rem;
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
  padding-bottom: 20px;
}

.faq__left {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 600;
  font-size: clamp(3.75rem, 9vw, 6rem);
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}

.faq__right {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq__image {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.faq__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq__item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 1.25rem 1.5rem;
}

.faq__item--bottom {
  margin-top: auto;
}

.faq__question {
  font-weight: 700;
  font-size: 1.425rem;
  color: #12229d;
  margin-bottom: 0.5rem;
}

.faq__answer {
  font-size: 1.275rem;
  color: #12229d;
  line-height: 1.65;
}

/* ── ACTIVITIES SECTION ────────────────────────────────────── */
.activities {
  background-color: #ffffff;
  padding: 3rem 0;
  margin-bottom: 50px;
}

.activities__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 700;
  font-size: clamp(2.7rem, 7.5vw, 4.96875rem);
  /* 79.5px at desktop (53 × 1.5) */
  color: #12229d;
  margin-top: 0.25rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-align: center;
}

.activities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 20px 0 20px
}

.activity-card {
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(18, 34, 157, 0.15);
}

.activity-card__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  height: 200px;
}

.activity-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.activity-card:hover .activity-card__image img {
  transform: scale(1.05);
}

.activity-card__content {
  padding: 1rem 1.25rem 1.25rem;
  flex: 1;
  background-color: #e2a9f1;
}

.activity-card__title {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  font-size: 1.275rem;
  color: #12229d;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-align: center;
}

.activity-card__text {
  font-size: 1.2rem;
  color: #12229d;
  line-height: 1.55;
  text-align: center;
}

/* ── ABOUT / VODENJE ZBORA SECTION ─────────────────────────── */
.about {
  background-color: #e2a9f1;
  padding: 3.5rem 0;
}

.about__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 8.25vw, 5.25rem);
  color: #ffffff;
  text-align: center;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2rem;
  align-items: start;
}

.about__image {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__text {
  font-size: 1.35rem;
  color: #12229d;
  line-height: 1.7;
  padding: 50px;
}

.about__text strong {
  font-weight: 700;
}

/* ── CONTACT / CONNECT SECTION ─────────────────────────────── */
.contact {
  background-color: #ffffff;
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.contact__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 600;
  font-size: clamp(3rem, 8.25vw, 5.25rem);
  color: #12229d;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.contact__text {
  font-size: 1.35rem;
  color: #12229d;
  line-height: 1.7;
  max-width: 450px;
  margin: 0 auto 1.5rem;
}

.contact__button {
  display: inline-block;
  background-color: #e2a9f1;
  color: #0d1a7a;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  padding: 0.75rem 2rem;
  border-radius: 999px;
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
  cursor: pointer;
  border: 1px solid #12229d;
}

.contact__button:hover {
  background-color: #0d1a7a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(18, 34, 157, 0.3);
}

.contact__button:active {
  transform: translateY(0);
}

.contact__info {
  margin-top: 2rem;
  font-size: 1.275rem;
  color: #12229d;
  text-align: center;
}

.contact__info p {
  margin-bottom: 0.25rem;
}

.contact__info strong {
  font-weight: 700;
}

/* ── FOOTER ────────────────────────────────────────────────── */
.footer {
  background-color: #12229d;
  color: #ffffff;
  text-align: center;
  padding: 1.25rem 0;
  font-size: 1.2rem;
}

/* ── RESPONSIVE ────────────────────────────────────────────── */

/* Tablet */
@media (max-width: 768px) {
  .faq__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .faq__left {
    order: 1;
  }

  .faq__right {
    order: 2;
  }

  .activities__grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about__image {
    max-width: 320px;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .about__text {
    text-align: center;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero__text {
    font-size: 1.2rem;
  }

  .hero__text br {
    display: none;
  }

  .activities__grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .activity-card {
    flex-direction: row;
    align-items: stretch;
  }

  .activity-card__image {
    width: 40%;
    aspect-ratio: auto;
    min-height: 140px;
  }

  .activity-card__content {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .contact__text br {
    display: none;
  }

  .faq__title {
    text-align: center;
  }
}

/* ── Image Placeholder Styling ─────────────────────────────── */
/* Remove this block once real images are added */
.hero__image img[src*="placeholder"],
.hero__image img:not([src]),
.faq__image img[src*="placeholder"],
.faq__image img:not([src]),
.about__image img[src*="placeholder"],
.about__image img:not([src]),
.activity-card__image img[src*="placeholder"],
.activity-card__image img:not([src]) {
  background-color: #c88ddb;
  min-height: 150px;
}

/* ── REGISTRATION MODAL ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 34, 157, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 2rem 2rem 1.75rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 12px 40px rgba(18, 34, 157, 0.3);
}

.modal__close {
  position: absolute;
  top: 0.5rem;
  right: 0.75rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  line-height: 1;
  color: #12229d;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  opacity: 0.6;
  transition: opacity 0.2s ease;
}

.modal__close:hover {
  opacity: 1;
}

.modal__title {
  font-family: 'Passion One', 'Impact', sans-serif;
  font-weight: 600;
  font-size: 2rem;
  color: #12229d;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 1.5rem;
  letter-spacing: 0.03em;
}

.modal__field {
  margin-bottom: 1rem;
}

.modal__field label {
  display: block;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: #12229d;
  margin-bottom: 0.3rem;
}

.modal__field input {
  width: 100%;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1rem;
  color: #12229d;
  padding: 0.6rem 0.75rem;
  border: 1px solid #c88ddb;
  border-radius: 8px;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modal__field input:focus {
  outline: none;
  border-color: #e2a9f1;
  box-shadow: 0 0 0 3px rgba(226, 169, 241, 0.3);
}

/* Honeypot — hidden from real users */
.modal__honeypot {
  display: none;
}

.modal__submit {
  width: 100%;
  margin-top: 0.5rem;
  text-align: center;
  border: 1px solid #12229d;
}

.modal__submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.modal__message {
  margin-top: 1.25rem;
  padding: 1rem;
  border-radius: 8px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.5;
}

.modal__message[hidden] {
  display: none;
}

.modal__message--success {
  background-color: #e2a9f1;
  color: #12229d;
}

.modal__message--error {
  background-color: #fff0f0;
  color: #c4006a;
  border: 1px solid #ff00ff;
}

/* ── RESPONSIVE: Modal ─────────────────────────────────────── */
@media (max-width: 480px) {
  .modal-card {
    padding: 1.5rem 1.25rem 1.25rem;
  }

  .modal__title {
    font-size: 1.6rem;
  }
}