/* WordPress-only overrides on top of exported Webflow CSS */

.ux-wf-body {
  margin: 0;
}

.ux-hero-video,
.background-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* —— Nav: logo + jezik —— */
.ux-site-nav {
  position: relative;
  z-index: 200;
}

.ux-site-nav .container.is--nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
}

.ux-brand-link {
  position: relative;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.ux-brand-link .logo {
  max-height: 72px;
  width: auto;
}

.ux-lang-switch {
  position: relative;
  z-index: 210;
  display: inline-flex;
  align-items: center;
  gap: 0;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.ux-lang-switch__btn {
  display: inline-block;
  padding: 10px 18px;
  font-family: "Bebas Neue", sans-serif;
  font-size: 20px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  pointer-events: auto;
}

.ux-lang-switch__btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.ux-lang-switch__btn.is-active {
  background: #00b4e8;
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 180, 232, 0.45);
}

/* —— Hero naslov (originalni copy) —— */
.ux-hero-title {
  font-family: "Bebas Neue", sans-serif !important;
  font-size: clamp(42px, 5.5vw, 78px) !important;
  line-height: 0.95 !important;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-shadow: 0 4px 28px rgba(0, 0, 0, 0.45);
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.ux-hero-title .ux-hero-line {
  color: #7ee8ff;
}

.ux-hero-title .ux-hero-brand {
  display: inline-block;
  margin-top: 0.15em;
  color: #fff;
  font-size: 1.05em;
  letter-spacing: 0.04em;
}

/* —— FAQ —— */
.faq-item .faq-answer {
  display: none;
}

.faq-item[aria-expanded="true"] .faq-answer {
  display: block;
}

.faq-question {
  width: 100%;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.ux-faq-plus {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  display: grid;
  place-items: center;
  font-size: 24px;
  line-height: 1;
  flex: 0 0 auto;
}

/* —— Moderna forma —— */
.ux-form-card {
  margin-top: 1.5rem;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 28px 24px 24px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
}

.ux-wf-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.ux-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ux-field span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.ux-field input,
.ux-field select,
.ux-field textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 14px 16px;
  font-size: 16px;
  font-family: inherit;
  color: #0b1b2b;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ux-field input:focus,
.ux-field select:focus,
.ux-field textarea:focus {
  outline: none;
  border-color: #00b4e8;
  box-shadow: 0 0 0 4px rgba(0, 180, 232, 0.25);
}

.ux-field--full {
  margin-top: 16px;
}

.ux-form-submit {
  display: block;
  width: 100%;
  margin-top: 20px;
  padding: 18px 24px;
  font-family: "Bebas Neue", sans-serif;
  font-size: clamp(22px, 3vw, 28px);
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #0099d8 0%, #00c4a7 100%);
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 153, 216, 0.4);
  transition: transform 0.12s ease, filter 0.12s ease;
}

.ux-form-submit:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.ux-form-msg {
  padding: 12px 14px;
  border-radius: 10px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 15px;
}

.ux-form-msg--err {
  background: rgba(255, 90, 90, 0.25);
  color: #fff;
  border: 1px solid rgba(255, 150, 150, 0.5);
}

/* —— Thanks modal —— */
body.ux-modal-open {
  overflow: hidden;
}

.ux-thanks-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.ux-thanks-modal.is-open {
  display: flex;
}

.ux-thanks-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 34, 0.72);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.ux-thanks-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  background: #fff;
  color: #0b1b2b;
  border-radius: 16px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
}

.ux-thanks-modal__panel h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.1;
  font-weight: 900;
}

.ux-thanks-modal__panel p {
  margin: 0 0 20px;
  font-size: 18px;
  line-height: 1.45;
  color: #334a60;
}

.ux-thanks-modal__close {
  width: auto;
  min-width: 180px;
}

@media (max-width: 767px) {
  .ux-wf-form-grid {
    grid-template-columns: 1fr;
  }

  .ux-lang-switch__btn {
    padding: 8px 14px;
    font-size: 18px;
  }

  .ux-brand-link .logo {
    max-height: 56px;
  }
}
