/* ---------- FONT SETUP ---------- */
@font-face {
  font-family: "OS Attempt Beta";
  src: url("fonts/OSAttemptBetav3-Regular.otf") format("opentype");
  font-weight: 400;
}

@font-face {
  font-family: "OS Attempt Beta";
  src: url("fonts/OSAttemptBetav3-Bold.otf") format("opentype");
  font-weight: 700;
}

@font-face {
  font-family: "OS Attempt Beta";
  src: url("fonts/OSAttemptBetav3-Italic.otf") format("opentype");
  font-style: italic;
}

/* ---------- GLOBAL STYLES ---------- */
body {
  font-family: "OS Attempt Beta", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #dae700;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

/* ---------- HEADER ---------- */
header {
  padding: 2rem 1rem 1rem 15rem;

  text-align: left;
}

h1 {
  color: #ff5113;
  font-weight: 700;
  font-size: 2.2rem;
}

/* ---------- MAIN CONTENT ---------- */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 1rem 1rem;
  position: relative;
}

/* ---------- INTRO SECTION ---------- */
#intro {
  max-width: 650px;
  margin-top: 2rem; /* Added margin-top for spacing */
  position: relative;
  z-index: 2;
}

#intro p {
  color: #761e35;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 700;
}

a:visited {
  color: grey;
}

/* ---------- FACES (achtergrond-elementen) ---------- */
.faces {
  position: absolute;
  top: 0;
  right: 0rem;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.faces img {
  position: absolute;
  width: 10rem;
}

.face1 {
  top: 1vh;
  right: 8rem;
  transform: rotate(30deg);
}

.face2 {
  top: 30vh;
  right: 2rem;
  transform: rotate(-20deg);
}

.face3 {
  top: 55vh;
  right: 10rem;
  transform: rotate(-3deg);
}

/* ---------- FACE WOBBLE EFFECT ---------- */
.faces img {
  transition: transform 0.2s ease;
  pointer-events: auto; /* zodat hover werkt */
}

.faces img:hover {
  animation: wobble 0.6s ease-in-out;
}

@keyframes wobble {
  0% {
    transform: rotate(0deg) scale(1);
  }
  25% {
    transform: rotate(5deg) scale(1.05);
  }
  50% {
    transform: rotate(-5deg) scale(1.05);
  }
  75% {
    transform: rotate(3deg) scale(1.02);
  }
  100% {
    transform: rotate(0deg) scale(1);
  }
}

/* ---------- PODWALKS BUTTON ---------- */

/* ---------- LOGO ---------- */
.logo {
  width: 8rem;
  position: fixed;
  bottom: 1rem;
  right: 2rem;
  z-index: 200;
}

/* ---------- BUTTONS ---------- */

/* Algemene button basisstijl (optioneel) */
button {
  font-family: inherit;
  font-size: 1rem;
  border: none;
  border-radius: 40px;
  padding: 0.8rem 1.4rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Oranje knop */
.button-orange {
  background-color: #ff5113;
}

.button-orange a {
  color: white;
}

.button-orange:hover {
  background-color: #761e35; /* Bordeauxrood */
}

/* Podwalk knop */
.button-podwalk {
  background-color: white;
  color: black;
  border: none;
}

.button-podwalk a {
  color: black;
}

.button-podwalk:hover {
  background-color: black;
}

.button-podwalk:hover a {
  color: white;
}

@media (max-width: 768px) {
  .faces {
    display: none;
  }
  h1 {
    font-size: 2rem;
  }
}

/* ---------- WORKSHOP SCHEDULE ---------- */
.workshop-schedule {
  margin-top: 3rem;
  margin-bottom: 5rem;
}

.workshop-schedule h2 {
  color: #ff5113;
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.workshop-schedule a {
  color: white;
}

.day {
  margin-bottom: 3rem;
}

.day h3 {
  color: #761e35;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.rsvp {
  align-self: flex-end; /* zorgt dat de knop rechts blijft */
  background-color: #ff5113;
  color: white;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  transition: background-color 0.2s ease;
}

.rsvp a {
  color: white;
  text-decoration: none;
}

.rsvp:hover {
  background-color: #761e35;
}

.workshops {
  display: grid;
  gap: 1rem;
}

.workshop {
  background-color: white;
  border-radius: 20px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* <-- tekst blijft bovenaan */
}

.workshop .rsvp {
  margin-top: auto; /* <-- duwt knop omlaag, zonder de rest te centreren */
}

.workshop h4 {
  margin-top: 0;
  color: #000;
  font-size: 1.1rem;
  margin-bottom: 0;
}

.workshop p {
  color: #761e35;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.details {
  color: #ff5113;
  font-size: 0.8rem;
  line-height: 1.2;
}

.linkje {
  line-height: 1;
  margin-bottom: 1rem;
}

.linkje a {
  color: grey;
  text-decoration: underline;
  font-size: 0.8rem;
  font-weight: 400;
}

/* Voor grotere schermen: twee kolommen */
@media (min-width: 768px) {
  .workshops {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  }
}
