@charset "UTF-8";

/* CSS rules go below */
body {
  margin: 0;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
  overflow: hidden;
  position: relative;

  /* pastel gradient achtergrond */
  background: linear-gradient(
    135deg,
    #ffd7e6 0%,   /* pastel roze */
    #fff9d6 100%  /* pastel geel */
  );
}

/* Hero section framing */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;

  display: flex;
  justify-content: center;
  align-items: center;

  /* zachte framing */
  padding: 60px;
  box-sizing: border-box;

  /* optioneel: subtiele vignette */
  backdrop-filter: blur(2px);
}

.button {
  position: absolute;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  user-select: none;

  background: #ffd7e6; /* pastel roze */
  color: #c85c85;
  border: 2px solid #ffe0f0;
  box-shadow: 0 4px 12px rgba(255, 215, 230, 0.5);
}

.button:hover {
  background: #ffe0f0;
  box-shadow: 0 6px 16px rgba(255, 215, 230, 0.6);
}

.label {
  position: absolute;
  font-size: 0.9rem;
  color: #c85c85;;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
  white-space: nowrap;
}

/* ===== POPUP STYLING (pastel & gentle) ===== */
.popup {
  position: absolute;
  background-color: rgba(255, 215, 230, 0.9); /* pastel roze */
  border: 2px solid rgba(255, 230, 240, 0.8); /* zachte lichte border */
  border-radius: 12px;
  padding: 12px 18px;
  min-width: 200px;
  font-size: 0.9rem;
  color: #c85c85; /* pastelkleurig paars */
  cursor: default;
  user-select: none;
  box-shadow: 0 8px 20px rgba(255, 200, 220, 0.3); /* zachte schaduw */
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
  z-index: 1000;
  animation: gentleFadeIn 0.4s ease;
}

.popup:hover {
  transform: translateY(-2px);
  background-color: rgba(255, 225, 235, 0.95);
}

/* Close button zachtjes */
.popup .close {
  position: absolute;
  top: 6px;
  right: 8px;
  font-weight: bold;
  cursor: pointer;
  color: #e66b6b; /* zachte rood/roze tint */
  font-size: 1.1rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.popup .close:hover {
  transform: rotate(20deg);
  color: #ff4d80;
}

/* Animatie voor popups */
@keyframes gentleFadeIn {
  0% { opacity: 0; transform: scale(0.95); }
  100% { opacity: 1; transform: scale(1); }
}

/* Losse error-kruisjes rechtsboven */
.error-cross {
  position: fixed;
  top: 20px;
  right: 20px;
  font-size: 24px;
  color: red;
  opacity: 0;
  animation: appearCross 1.2s ease forwards;
  z-index: 9999;
}

@keyframes appearCross {
  0% { opacity: 0; transform: scale(0.5) rotate(0deg); }
  30% { opacity: 1; transform: scale(1.1) rotate(10deg); }
  60% { transform: scale(1) rotate(-10deg); }
  100% { opacity: 0; transform: scale(0.8) rotate(0deg); }
}

@keyframes shakeX {
  0% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  50% { transform: translateX(3px); }
  75% { transform: translateX(-3px); }
  100% { transform: translateX(0); }
}

.popup .close {
  animation: shakeX 0.4s ease;
}

.sure-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  padding: 20px 30px;
  text-align: center;
  z-index: 1000;
  animation: fadeIn 0.6s ease;
}

.sure-popup p {
  color: #e66b6b;
  font-size: 16px;
  margin-bottom: 10px;
}

.sure-popup button {
  background: #eaeaea;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s ease;
}

.sure-popup button:hover {
  background: #f5caca;
}

.fadeOut {
  animation: fadeOut 0.8s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes fadeOut {
  from { opacity: 1; transform: translate(-50%, -50%); }
  to { opacity: 0; transform: translate(-50%, -52%); }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
      transparent 40%,
      rgba(255, 255, 255, 0.25) 100%
  );
  pointer-events: none;
}

.hero-quote {
  position: absolute;
  top: 45%;           /* verticale positie */
  left: 50%;          /* horizontale positie */
  transform: translate(-50%, -50%); /* centreren rondom middenpunt */
  color: #ffffff;     /* witte letters */
  text-shadow: 
    -1px -1px 0 #ffd7e6,
     1px -1px 0 #ffd7e6,
    -1px  1px 0 #ffd7e6,
     1px  1px 0 #ffd7e6; /* zachte omlijning */
  transition: opacity 1.8s ease;  /* langzamer vervagen */
  pointer-events: none;
  z-index: 10;        /* boven de button */

  font-size: 3rem; /* grotere tekst */
  
}

.gentle-alert {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(255, 215, 230, 0.95);
  padding: 30px 40px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(255, 200, 220, 0.4);
  border: 2px solid rgba(255, 235, 245, 0.9);
  z-index: 99999;
  animation: gentleFadeAlert 0.4s ease;
}

.gentle-alert h2 {
  margin: 0 0 10px;
  color: #c85c85;
  font-size: 1.5rem;
}

.gentle-alert p {
  margin: 0 0 20px;
  color: #6b4c6f;
}

.gentle-alert button {
  padding: 10px 20px;
  border-radius: 10px;
  border: none;
  background: #ffd7e6;
  color: #6b4c6f;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 180, 210, 0.4);
  transition: 0.2s ease;
}

.gentle-alert button:hover {
  background: #ffe3f0;
}

@keyframes gentleFadeAlert {
  from { opacity: 0; transform: translate(-50%, -48%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

