/* ========================================================
   HOMEPAGE — Ontspannend.com
   Extends landing.css with homepage-specific components
   ======================================================== */

/* ========== NAV — Mobile overrides ========== */
.nav-mobile-actions {
  display: none;
  align-items: center;
  gap: 10px;
}

.nav-cta-mobile {
  padding: 8px 18px;
  font-size: 13px;
}

.nav-login-mobile {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--blue-500);
  white-space: nowrap;
}

/* Burger button */
.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.burger-btn:hover {
  background: var(--blue-50);
}
.burger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--blue-900);
  border-radius: 2px;
  transition: all 0.2s;
}

@media (max-width: 720px) {
  .nav-links-desktop { display: none !important; }
  .nav-mobile-actions { display: flex; }
}

/* ========== Mobile Drawer ========== */
.mobile-drawer {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 999;
  pointer-events: none;
  visibility: hidden;
}
.mobile-drawer.open {
  pointer-events: auto;
  visibility: visible;
}

.drawer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 42, 74, 0.4);
  opacity: 0;
  transition: opacity 0.3s;
}
.mobile-drawer.open .drawer-overlay {
  opacity: 1;
}

.drawer-panel {
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  max-width: 85vw;
  height: 100%;
  background: #fff;
  box-shadow: -4px 0 24px rgba(10, 42, 74, 0.15);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-drawer.open .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
}
.drawer-close {
  font-size: 28px;
  line-height: 1;
  background: none;
  border: none;
  color: #4a6080;
  cursor: pointer;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.15s;
}
.drawer-close:hover {
  background: var(--blue-50);
}

.drawer-links {
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
}
.drawer-link {
  padding: 14px 0;
  font-size: 16px;
  font-weight: 500;
  color: var(--blue-900);
  border-bottom: 1px solid rgba(10, 42, 74, 0.06);
  transition: color 0.15s;
}
.drawer-link:last-child { border-bottom: none; }
.drawer-link:hover { color: var(--blue-500); }

.drawer-actions {
  padding: 20px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.drawer-cta {
  display: block;
  text-align: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--blue-500);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  transition: background 0.2s;
}
.drawer-cta:hover { background: var(--blue-600); }
.drawer-login {
  display: block;
  text-align: center;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1.5px solid var(--blue-200);
  color: var(--blue-500);
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
}
.drawer-login:hover {
  border-color: var(--blue-500);
  background: var(--blue-50);
}

/* ========== HERO — Rotating headline ========== */
.hero-home .hero-inner {
  max-width: 800px;
}

.hero-rotating-headline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(32px, 5.5vw, 56px);
  line-height: 1.15;
  color: var(--blue-900);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.rotating-wrapper {
  display: block;
  height: 1.2em; /* Exactly one line height */
  overflow: hidden;
  position: relative;
  width: 100%;
  text-align: center;
}

.rotating-lines {
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.rotating-line {
  display: block;
  height: 1.2em;
  line-height: 1.2;
  color: var(--blue-500);
  white-space: nowrap;
}

@media (max-width: 640px) {
  .rotating-line {
    white-space: normal;
    font-size: 0.85em;
  }
  .rotating-wrapper {
    height: 1.4em;
  }
  .rotating-line {
    height: 1.4em;
    line-height: 1.4;
  }
}

.static-line {
  display: block;
  margin-top: 4px;
}

/* ========== CHOICE TILES ========== */
.choice-section {
  padding: 80px 0;
  background: #fff;
}

.choice-header {
  text-align: center;
  margin-bottom: 48px;
}
.choice-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--blue-900);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .choice-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .choice-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

.choice-tile {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 22px;
  border-radius: 16px;
  border: 1.5px solid rgba(10, 42, 74, 0.08);
  background: #fff;
  transition: all 0.2s;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}
.choice-tile:hover {
  border-color: var(--blue-300);
  box-shadow: 0 4px 20px rgba(10, 42, 74, 0.08);
  transform: translateY(-2px);
}

.tile-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Color coding per tile */
.tile-angst .tile-icon { background: rgba(239, 68, 68, 0.1); color: #dc2626; }
.tile-stress .tile-icon { background: rgba(13, 148, 136, 0.1); color: #0d9488; }
.tile-slapen .tile-icon { background: rgba(99, 102, 241, 0.1); color: #6366f1; }
.tile-kracht .tile-icon { background: rgba(245, 158, 11, 0.1); color: #d97706; }
.tile-vertrouwen .tile-icon { background: rgba(236, 72, 153, 0.1); color: #db2777; }
.tile-emoties .tile-icon { background: rgba(37, 99, 235, 0.1); color: #2563eb; }

.tile-label {
  font-size: 15.5px;
  font-weight: 600;
  color: var(--blue-900);
  flex: 1;
  line-height: 1.35;
}

.tile-arrow {
  flex-shrink: 0;
  color: #b7c6dd;
  transition: color 0.2s, transform 0.2s;
}
.choice-tile:hover .tile-arrow {
  color: var(--blue-500);
  transform: translateX(3px);
}

/* ========== CONTENT SHOWCASE / SLIDER ========== */
.content-showcase {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--blue-800) 0%, var(--blue-900) 100%);
  color: #eaf2ff;
  position: relative;
  overflow: hidden;
}
.content-showcase::before {
  content: '';
  position: absolute;
  top: -200px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(123, 211, 255, 0.06) 0%, transparent 70%);
}

.showcase-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}
.showcase-header h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(24px, 3.5vw, 34px);
  color: #fff;
  margin-bottom: 10px;
}
.showcase-header p {
  color: #b7c6dd;
  font-size: 16px;
}

/* Tabs */
.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.showcase-tab {
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  background: transparent;
  color: #b7c6dd;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s;
}
.showcase-tab:hover {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
}
.showcase-tab.active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

/* Slider wrapper */
.showcase-slider-wrap {
  position: relative;
  z-index: 1;
}

.showcase-slider {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px 0 16px;
}
.showcase-slider::-webkit-scrollbar { display: none; }

/* Arrow buttons */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: all 0.2s;
  backdrop-filter: blur(8px);
}
.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.2);
}
.slider-arrow-left { left: -8px; }
.slider-arrow-right { right: -8px; }

@media (max-width: 768px) {
  .slider-arrow { display: none; }
}

/* Cards */
.showcase-card {
  flex: 0 0 260px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3);
}

.showcase-thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}
.showcase-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.showcase-card:hover .showcase-thumb img {
  transform: scale(1.05);
}

.showcase-meta {
  padding: 14px 16px 18px;
}

.showcase-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.type-meditatie { background: rgba(13, 148, 136, 0.2); color: #5eead4; }
.type-mindset { background: rgba(217, 119, 6, 0.2); color: #fbbf24; }
.type-cursus { background: rgba(99, 102, 241, 0.2); color: #a5b4fc; }
.type-slaap { background: rgba(99, 102, 241, 0.15); color: #c4b5fd; }

.showcase-title {
  font-weight: 700;
  font-size: 15px;
  color: #eaf2ff;
  line-height: 1.35;
  margin-bottom: 4px;
}
.showcase-detail {
  font-size: 13px;
  color: #8a9bb5;
}

/* ========== OVER ONS ========== */
.about-section {
  padding: 80px 0;
  background: #fff;
}
.about-inner {
  max-width: 720px;
  margin: 0 auto;
}
.about-text h2 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(26px, 4vw, 38px);
  color: var(--blue-900);
  margin-bottom: 20px;
}
.about-text p {
  font-size: 16.5px;
  color: #4a6080;
  line-height: 1.75;
  margin-bottom: 16px;
}
.about-text p:last-child { margin-bottom: 0; }
.about-photo {
  float: left;
  width: 440px;
  margin: 0 28px 20px 0;
  border-radius: 16px;
  object-fit: cover;
}
@media (max-width: 600px) {
  .about-photo {
    float: none;
    width: 100%;
    margin: 0 0 24px 0;
    border-radius: 12px;
  }
}

/* ========== NAV LOGIN LINK (desktop) ========== */
.nav-link-login {
  color: var(--blue-500) !important;
  font-weight: 600 !important;
}
