@font-face {
  font-family: "Testfont";
  src: url("assets/fonts/PS.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

input, select, textarea, button {
  font-family: "Testfont", sans-serif;
}

/* reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: #f76f3f;
  overflow-x: hidden;
  font-family: "Testfont", sans-serif;
  color: #572de0; /* zmiana koloru fontu */
}

input, select, textarea, button {
  color: inherit; /* pewnosc ze font ma wszedzie ten sam kolor */
}

body { font-size: clamp(19px, 2.4vw, 24px); }

/* obrazki pełna szerokość */
.section {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
}

/* usuwa linię między sekcjami – stabilniej niż transform */
.section + .section {
  margin-top: -1px;
}

.langbar {
  /* usuń sticky */
  position: static;
  background: rgba(255, 156, 0, 0.9); /* możesz zmienić kolor */
  padding: 10px 12px;
}

/* Pasek językowy: bez tła */
.langbar {
  background: transparent;
  padding: 14px 16px;
}

/* 3 pozycje: lewo / środek / prawo */
.langbar-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}

/* Link jako "goła" ikonka */
.langbtn {
  display: inline-flex;
  width: fit-content;
  text-decoration: none;
  background: transparent;
  border: 0;
  padding: 0;
}

/* Ustawienie w siatce */
.langbtn--left   { justify-self: start; }
.langbtn--center { justify-self: center; }
.langbtn--right  { justify-self: end; }

/* Rozmiar ikon */
.langbtn img {
  width: 44px;   /* możesz zmienić */
  height: auto;
  display: block;
}

/* delikatna reakcja na hover */
.langbtn:hover img {
  transform: translateY(-10px);
}
.langbtn img {
  transition: transform 1s ease;
}

/* === RSVP: font + minimalistyczne linie === */
.rsvp {
  padding: 56px 20px 80px;
  max-width: 620px;
  margin: 0 auto;
}

.rsvp form {
  display: grid;
  gap: 24px;
}

.rsvp .row {
  display: grid;
  gap: 8px;
}

.rsvp label {
  font-size: 18px;
}

/* ważne: inputy nie zawsze dziedziczą font z body */
.rsvp input,
.rsvp select,
.rsvp textarea,
.rsvp button {
  font-family: "Testfont", sans-serif;
  font-size: 18px;
  letter-spacing: 0.2px;
}

.rsvp input,
.rsvp select,
.rsvp textarea {
  width: 100%;
  padding: 12px 2px;
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.85);
  background: transparent;
  outline: none;
}

.rsvp textarea { resize: vertical; }

.rsvp input:focus,
.rsvp select:focus,
.rsvp textarea:focus {
  border-bottom-color: rgba(0,0,0,1);
}

/* przycisk: tekstowy */
.rsvp button {
  border: 0;
  background: transparent;
  padding: 14px 0;
  cursor: pointer;
  text-align: left;
  text-decoration: underline;
  opacity: 0.9;
}

.rsvp button:hover { opacity: 1; }

/* utrzymujemy stałą “ramę” RSVP */
.rsvp-panel {
  position: relative;
}

/* thanks jako overlay w tej samej wysokości */
.rsvp-thanks {
  display: none;              /* pokażemy po submit */
  position: absolute;
  inset: 0;                   /* wypełnia cały panel */
  display: none;
  align-items: center;
  justify-content: center;
  text-align: left;
}

/* opcjonalnie: jeśli chcesz, żeby było bardziej “okienko” */
.rsvp-thanks-inner {
  max-width: 520px;
}

.faq {
  padding: 60px 20px;
  max-width: 720px;
  margin: 0 auto;
}

/* usuwa domyślną strzałkę */
.faq summary {
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

/* kontrola sekcji FAQ */

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.2);
  padding: 14px 0;
}

/* pytanie */
.faq-q {
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
  font-weight: 700; /* WYGRUBIONE */
}

/* plus */
.faq-plus {
  font-weight: 700;
  width: 18px;
  text-align: center;
  transition: transform 0.2s ease;
}

/* odpowiedź */
.faq-a {
  padding-left: 32px;
  padding-top: 10px;
  font-weight: 400; /* NORMAL */
  line-height: 1.5;
}

/* animacja plusa po otwarciu */
.faq-item[open] .faq-plus {
  transform: rotate(45deg); /* + zamienia się w x */
}

.faq-plus {
  display: inline-block;         /* ważne, żeby transform działał czytelnie */
  transition: transform 0.35s ease;
  transform-origin: center;
}

.faq-item[open] .faq-plus {
  transform: rotate(45deg);
}