:root {
  --black: #000;

  --green-primary: #2ead72;

  --pink-soft: rgb(250, 223, 216);
  --salmon: #cf6458;

  --blue-soft: #6974d3;
  --blue-bright: #477bec;
  --blue-sky: #66a6f7;

  --cyan-soft: #96d1d8;
  --cyan-bright: #4de3fc;
  --cyan-neon: #24eede;

  --purple-light: #d7c5de;
  --purple-mid: #9180c2;
  --purple-bright: #b06ff4;
  --purple-deep: #12038e;

  --pink-hot: #d9028b;
  --pink-alt: #aa0786;
  --pink-electric: #e73cee;
  --red-hot: #f62536;
  --red-pink: #f6225f;

  --brown-muted: #7b5f56;

  --shadow-postit: 4px 6px 10px rgba(0, 0, 0, 0.25),
                   1px 1px 0 rgba(255, 255, 255, 0.4) inset;

  --plant-scale: 1.5;
  --plant-w: calc(205px / var(--plant-scale));
  --plant-h: calc(369px / var(--plant-scale));
}

@font-face {
  font-family: "Brittany";
  src: url("/assets/fonts/Brittany.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Reset */
*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden; /* rotatie post-it kan anders 1px scroll geven */

  display: flex;
  flex-direction: column;
  align-items: center;

  font-family: "Nunito", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12.8pt;
  line-height: 1.5;
  color: #000;

  background: url("./assets/images/achtergrond.jpg") center / cover no-repeat fixed;
}

a { color: inherit; text-decoration: none; }

/* Header */
header {
  margin: 25px 15px 10px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 0 10px;
}

header img { max-height: 10rem; aspect-ratio: 1 1 }

h1 {
  margin: 0;
  font-family: "Brittany", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 4rem;
  line-height: 1;
}

/* Main layout */
main {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 50px;
  padding: 20px;
}

/* ✅ werkt voor div of section */
main > * {
  width: clamp(280px, 38vw, 420px);
}

/* Left card (post-it) */
main .left {
  position: relative;
  background: var(--pink-soft);
  border: 1px solid var(--pink-soft);
  padding: 25px;
  box-shadow: var(--shadow-postit);
  transform: rotate(-4.5deg);
}

main .left h2 {
  font-family: "Brittany", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Tape */
main .left::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%) rotate(-2deg);
  width: 90px;
  height: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(1px);
}

/* Right column */
main .right {
  font-size: 1.15rem;
}

/* Icons block */
main .right .icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;

  margin-top: 18px;
  padding: 10px 0;

  font-size: 5rem;
  color: #000;
}

/* Icon hover */
.icons a {
  transition: transform 0.2s ease, color 0.25s ease;
}

.icons a:hover {
  transform: translateY(-4px) scale(1.05);
}

.icons a[href*="facebook"]:hover { color: var(--blue-bright); }
.icons a[href*="instagram"]:hover { color: var(--pink-hot); }

/* Decorative plants */
.plant {
  position: fixed;
  width: var(--plant-w);
  height: var(--plant-h);
  background: url("./assets/images/flower.png") center / cover no-repeat;
  pointer-events: none;
  z-index: -1;
}

.plant.right { top: 0; right: 0; }
.plant.left { bottom: 0; left: 0; transform: rotate(180deg); }

/* Heart inline */
.heart-bg {
  font-size: 22px;
  color: var(--red-pink);
  transform: rotate(14deg);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  body { font-size: 10pt; }

  header {
    margin: 15px 10px 5px;
    gap: 10px;
  }

  header img { max-height: 5rem; max-width: 5rem }

  h1 {
    font-size: 2.5rem;
    text-align: center;
  }

/*  main {
    flex-direction: column-reverse; 
    gap: 30px;
    padding: 15px;
  } */

  main > * {
    width: min(520px, 100%);
  }

  main .right {
    text-align: center;
    font-size: 1.05rem;
  }

  main .right .icons {
    font-size: 3.5rem;
  }

  main .left {
    transform: rotate(2.5deg);
  }

  .plant { opacity: 0.35; }
}


@media (max-width: 768px) {
  /* Maak ruimte zodat je content niet achter de sticky bar verdwijnt */
  main {
    padding-bottom: 120px!important;
  }

  .icons.icons--sticky {
    position: fixed;
    left: 50%;
    bottom: 25px;
    transform: translateX(-50%);

    width: min(360px, calc(100% - 24px));
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    gap: 18px;

    padding: 0 14px;
    border-radius: 999px;

    background: rgba(250, 223, 216, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.08);

    backdrop-filter: blur(8px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);

    font-size: 2.6rem; /* kleiner dan je normale icons */
    z-index: 999;
  }

  /* Hover is meh op touch; we houden het rustig */
  .icons.icons--sticky a:hover {
    transform: none;
  }

  /* Extra: iets grotere tap targets */
  .icons.icons--sticky a {
    padding: 0px 10px;
    border-radius: 12px;
    display: inline-flex;
  }
}

footer a {
	text-decoration: underline;
}