/* Achtergrondfoto fullscreen */
body.zen-mode {
  margin: 0;
  padding: 0;
  height: 100vh;
  background: url('../images/timer-background.png') no-repeat center center fixed;
  background-size: cover;
  font-family: 'Segoe UI', sans-serif;
  color: white;

  display: flex;
  justify-content: center;
  align-items: center;

  position: relative;
  overflow: hidden;

  opacity: 0;
  transition: opacity 1s ease-in;
}

body.zen-mode.loaded {
  opacity: 1;
}

/* Donkere transparante overlay */
.zen-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  z-index: 1;
}

/* Gecentreerde timer content */
.zen-content {
  position: relative;
  z-index: 2;

  height: 100vh;
  width: 100%;
  padding: 2em;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
}

/* Slider label */
.slider-label {
  font-size: 1.3em;
  margin-bottom: 0.5em;
}

/* Slider */
#time-slider {
  width: 80%;
  margin-bottom: 2em;
}

/* Timer display */
#timer-display {
  font-size: 4em;
  font-weight: 300;
  margin: 1em 0 1.5em;
}

/* Knoppen */
.timer-controls button {
  margin: 0 0.5em;
  padding: 0.6em 1.2em;
  font-size: 1em;
  border: none;
  border-radius: 6px;
  background-color: #88c0d0;
  color: white;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.timer-controls button:hover {
  background-color: #5e81ac;
}

.timer-controls {
  margin-top: 2em;
}

/* Tekst onder knoppen */
.duration-text {
  margin-top: 1.5em;
  font-size: 1em;
  color: #d8dee9;
}

/* Footer */
.zen-footer {
  margin-top: 2em;
  font-size: 0.9em;
  opacity: 0.8;
}

/* Terugknop */
.zen-back-button {
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  z-index: 3;

  padding: 0.6em 1.2em;
  background-color: #7BAF9E;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  transition: all 0.25s ease;
}

.zen-back-button:hover {
  background-color: #6A9D8E;
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

/* Mobiel: iets kleinere timer */
@media (max-width: 600px) {
  #timer-display {
    font-size: 3em;
  }

  #time-slider {
    width: 90%;
  }
}

/* Strakke, minimalistische Nord-stijl knoppen */
.timer-controls {
  margin-top: 2em;
  display: flex;
  gap: 0.8em; /* Mooier dan margin op knoppen */
}

.timer-controls button {
  padding: 0.5em 1.1em;
  font-size: 0.95em;
  font-weight: 400;

  border-radius: 4px;
  border: 1px solid rgba(216, 222, 233, 0.25);

  background: rgba(255, 255, 255, 0.08);
  color: #eceff4;

  backdrop-filter: blur(3px);
  cursor: pointer;

  transition: all 0.25s ease;
}

.timer-controls button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(216, 222, 233, 0.35);
}

/* Strakkere Home-knop */
.zen-back-button {
  position: absolute;
  top: 1.5em;
  left: 1.5em;
  z-index: 3;

  padding: 0.45em 1em;
  font-size: 0.95em;
  font-weight: 400;

  color: #eceff4;
  text-decoration: none;

  border-radius: 4px;
  border: 1px solid rgba(216, 222, 233, 0.25);

  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(3px);

  transition: all 0.25s ease;
}

.zen-back-button:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(216, 222, 233, 0.35);
  transform: translateY(-2px);
  box-shadow: 0 3px 6px rgba(0,0,0,0.12);
}

.hidden {
  display: none !important;
}

