/* -------------------------------
   🌐 Generic Page Styling
----------------------------------*/
html {
  background-color: #f2f9f6;
}

body {
  max-width: 800px;
  margin: 0 auto;
  padding: 1rem;
  line-height: 1.6;
  background-color: rgba(255, 255, 255, 0.8);
}

img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 0.5rem;
}

p,
ul.list,
ol.instructions {
  margin-bottom: 24px;
}

ul.list {
  list-style-position: inside;
  list-style-type: disc;
}

ol.instructions li {
  list-style: inside;
  list-style-type: decimal;
}

a {
  color: #1b998b;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #147c6a;
}

/* -------------------------------
   🧩 Header & Hero Sections
----------------------------------*/
section.header {
  text-align: center;
  margin-top: 1.5rem;
}

.hero {
  background-image: url('../img/postkantoor.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  text-align: center;
}

.hero-body {
  background-color: rgba(242, 249, 246, 0.66);
  color: #000;
}

.hero .fa-bicycle {
  font-size: 3rem;
  color: #1b998b;
}

/* -------------------------------
   🧭 Tabs & Buttons
----------------------------------*/
.tabs {
  margin: 1.5rem 0;
}

.tabs.is-toggle li.is-active a {
  background-color: #1b998b;
  border-color: #1b998b;
}

.tab-content {
  display: none;
}

.tab-content.is-active {
  display: block;
}

.copy-button {
  float: right;
  cursor: pointer;
}

.button.is-teal {
  background-color: #d1f3eb;
  color: #005c4b;
  border: 1px solid #a6e2d5;
}

.button.is-teal:hover {
  background-color: #b4ecde;
  color: #003f36;
}

/* -------------------------------
   🧵 Footer
----------------------------------*/
section.footer {
  text-align: center;
}

/* -------------------------------
   🔝 Back to Top Button
----------------------------------*/
#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 2.8rem;
  height: 2.8rem;
  background-color: rgba(0, 0, 0, 0.4);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

#backToTop:hover {
  background-color: rgba(0, 0, 0, 0.6);
}

/* -------------------------------
   💬 WhatsApp Section
----------------------------------*/
.section.whatsapp {
  background-color: #1c1c1c;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: 1.5rem 0;
  font-family: Segoe UI, Helvetica Neue, Helvetica, Arial, sans-serif;
}

.section.whatsapp h2 {
  color: #fff;
}

.section.whatsapp::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('../img/whatsapp_background.png');
  background-repeat: repeat;
  background-size: auto;
  background-position: top left;
  mix-blend-mode: soft-light;
  opacity: 0.25;
  z-index: 0;
}

#whatsapp-previews {
  margin-top: 1.5rem;
}

/* 💬 WhatsApp message bubble */
.whatsapp-message {
  background-color: #005c4b;
  color: white;
  padding: 0.8rem 1rem;
  border-radius: 8px 0 8px 8px;
  max-width: 600px;
  font-size: 15px;
  line-height: 1.5;
  position: relative;
  margin-left: auto;
  margin-right: 8px;
  margin-bottom: 16px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  z-index: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-message:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.whatsapp-message::before {
  content: "";
  position: absolute;
  top: 0;
  right: -13px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 15px 0 0;
  border-color: #005c4b transparent transparent transparent;
}

.whatsapp-time {
  font-size: 11px;
  color: #d9fdd3;
  font-style: italic;
  position: absolute;
  bottom: 6px;
  right: 10px;
}

/* 🔗 WhatsApp link preview */
.whatsapp-link-preview {
  display: flex;
  align-items: center;
  background-color: #1a6a5c;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 0.7rem;
  font-size: 14px;
}

.whatsapp-link-icon {
  background-color: #1f8d7c;
  padding: 1rem;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.whatsapp-link-text {
  padding: 0.75rem 1rem;
}

.whatsapp-link-text strong {
  color: white;
  display: block;
  margin-bottom: 0.2rem;
}

.whatsapp-link-text small {
  color: #c0f2e3;
  font-size: 12px;
}

.whatsapp-link {
  color: #8cdff0;
  word-break: break-word;
  text-decoration: none;
}

/* -------------------------------
   🎨 QR frames
----------------------------------*/
.qr-frame {
  display: inline-block;
  border: 3px solid #1b9b8f;
  border-radius: 12px;
  overflow: hidden;
  font-family: sans-serif;
  width: fit-content;
  background-color: white;
  margin: 1.5rem;
}

.qr-frame img {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
}

.qr-label {
  background-color: #1b9b8f;
  color: white;
  text-align: center;
  padding: 0.5rem 1rem;
  font-weight: 600;
  font-size: 1rem;
}

.qr-tab {
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.qr-tab::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, #1b9b8f55, transparent);
  z-index: 1;
  animation: qrHighlight 2s ease-in-out infinite;
  pointer-events: none;
}

.qr-tab.is-active::after {
  display: none;
  /* geen animatie op actieve tab */
}

@keyframes qrHighlight {
  0% {
    left: -100%;
  }

  50% {
    left: 100%;
  }

  100% {
    left: 100%;
  }
}


/* -------------------------------
   🎨 Facebook
----------------------------------*/

.facebook-post {
  max-width: 768px;
  margin: 2rem auto;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-family: Arial, sans-serif;
  background-color: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  color: #1c1e21;
  cursor: pointer;
}

.facebook-post-header {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.facebook-post-header img {
  width: 32px;
  height: 32px;
  margin-right: 0.75rem;
  border-radius: 4px;
}

.facebook-post-body {
  padding: 0 1rem 1rem 1rem;
  font-size: 1rem;
  line-height: 1.4;
}

.facebook-post-footer {
  border-top: 1px solid #ddd;
  padding: 0.75rem 1rem;
  background-color: #f2f3f5;
}

.facebook-post-footer div:first-child {
  font-weight: bold;
  color: #1c1e21;
}

.facebook-post-footer div:nth-child(2) {
  font-size: 0.9rem;
  color: #606770;
}

.facebook-post-footer div:nth-child(3) {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #444;
}

/* -------------------------------
   🎨 Misc icons
----------------------------------*/
i.fa-square-instagram {
  color: #ea08b1;
  font-size: 2rem;
}

.shadows-into-light-regular {
  font-family: "Shadows Into Light", cursive;
  font-weight: 400;
  font-style: normal;
}

/* ----
   Cookie banner
   ---- */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  max-width: 800px;
  width: calc(100% - 2rem);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #ccc;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  padding: 1.25rem 1.5rem;
  z-index: 10000;
  font-family: 'Segoe UI', sans-serif;
  color: #222;
  line-height: 1.5;
}

/* ----
   Steunlijst
---- */

#steunlijst .tag .fa-user {
  margin-right: 0.8em;
  color: #005c4b;
  font-size: 0.7rem;
}