/* ============================================================
   Tierralou Cards — GSAP Timed Slider
   Prefixed: tlc- (Tierralou Cards)
   Breakdance-safe: geen conflicten met .card, .details, .cover etc.
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Oswald:wght@500&display=swap");

/* ── Wrapper ─────────────────────────────────────────────── */
.tlc-wrapper {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  background-color: #1a1a1a;
  color: rgba(255, 255, 255, 0.87);
  overflow: hidden;
  font-family: "Inter", sans-serif;
}

/* ── Cards (achtergrondafbeeldingen) ─────────────────────── */
.tlc-card {
  position: absolute;
  left: 0;
  top: 0;
  background-position: center;
  background-size: cover;
  box-shadow: 6px 6px 10px 2px rgba(0, 0, 0, 0.1);
}

/* ── Card content (kleine kaartjes rechts) ───────────────── */
.tlc-card-content {
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(255, 255, 255, 0.87);
  padding-left: 16px;
}

.tlc-content-place {
  margin-top: 6px;
  font-size: 11px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tlc-content-title {
  font-weight: 600;
  font-size: 14px;
  font-family: "Oswald", sans-serif;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

/* ── Details panel (links onderaan) ─────────────────────── */
.tlc-details {
  z-index: 22;
  position: absolute;
  top: 240px;
  left: 60px;
  max-width: 560px;
  width: calc(55% - 60px);
}

.tlc-details .tlc-place-box {
  height: 46px;
  overflow: hidden;
}

.tlc-details .tlc-place-box .tlc-text {
  position: relative;
  padding-top: 16px;
  font-size: 20px;
}

.tlc-details .tlc-place-box .tlc-text:before {
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  width: 30px;
  height: 4px;
  border-radius: 99px;
  background-color: white;
}

.tlc-details .tlc-title-box {
  margin-top: 4px;
  overflow: hidden;
  min-height: 60px;
}

.tlc-details .tlc-title {
  font-weight: 600;
  font-size: 52px;
  font-family: "Oswald", sans-serif;
  line-height: 1.05;
  word-break: break-word;
  white-space: normal;
}

.tlc-details > .tlc-desc {
  margin-top: 12px;
  width: 420px;
  max-width: calc(100vw - 120px);
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.8;
}

.tlc-details > .tlc-cta {
  width: 420px;
  max-width: calc(100vw - 120px);
  margin-top: 20px;
  display: flex;
  align-items: center;
}

.tlc-details > .tlc-cta > .tlc-discover {
  border: 1px solid #ffffff;
  background-color: transparent;
  height: 36px;
  border-radius: 99px;
  color: #ffffff;
  padding: 4px 24px;
  font-size: 12px;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.tlc-details > .tlc-cta > .tlc-discover:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

/* ── Background transitie op wrapper ────────────────────── */
.tlc-wrapper {
  transition: background-image 0s; /* switching via JS */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* ── Indicator verwijderd ─── (niet meer in gebruik) ─────── */
.tlc-indicator {
  display: none;
}

/* ── Paginatie ───────────────────────────────────────────── */
.tlc-pagination {
  position: absolute;
  left: 0px;
  top: 0px;
  display: inline-flex;
  align-items: center;
}

.tlc-pagination > .tlc-arrow {
  z-index: 60;
  width: 50px;
  height: 50px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.33);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.tlc-pagination > .tlc-arrow:hover {
  border-color: rgba(255, 255, 255, 0.7);
}

.tlc-pagination > .tlc-arrow:nth-child(2) {
  margin-left: 20px;
}

.tlc-pagination > .tlc-arrow svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
  color: rgba(255, 255, 255, 0.6);
}

.tlc-pagination .tlc-progress-sub-container {
  margin-left: 24px;
  z-index: 60;
  width: 500px;
  height: 50px;
  display: flex;
  align-items: center;
}

.tlc-pagination .tlc-progress-sub-container .tlc-progress-sub-background {
  width: 500px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 99px;
  overflow: hidden;
}

.tlc-pagination .tlc-progress-sub-container .tlc-progress-sub-background .tlc-progress-sub-foreground {
  height: 3px;
  background-color: #ecad29;
  border-radius: 99px;
  transition: width 0.3s ease;
}

.tlc-pagination .tlc-slide-numbers {
  width: 50px;
  height: 50px;
  overflow: hidden;
  z-index: 60;
  position: relative;
  margin-left: 8px;
}

.tlc-pagination .tlc-slide-numbers .tlc-item {
  width: 50px;
  height: 50px;
  position: absolute;
  color: white;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  font-size: 32px;
  font-weight: bold;
}

/* ── Cover (intro animatie) ──────────────────────────────── */
.tlc-cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  z-index: 100;
  pointer-events: none;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .tlc-details {
    left: 30px;
    top: 160px;
    max-width: calc(50% - 30px);
  }

  .tlc-details .tlc-title {
    font-size: 38px;
  }

  .tlc-details > .tlc-desc {
    width: calc(100vw - 60px);
    font-size: 12px;
  }

  .tlc-pagination .tlc-progress-sub-container {
    width: 200px;
  }

  .tlc-pagination .tlc-progress-sub-container .tlc-progress-sub-background {
    width: 200px;
  }
}

@media (max-width: 600px) {
  .tlc-details {
    left: 20px;
    top: 140px;
    max-width: calc(100vw - 40px);
    width: auto;
  }

  .tlc-details .tlc-title {
    font-size: 28px;
  }

  .tlc-pagination .tlc-progress-sub-container {
    display: none;
  }
}