
/*--------------------------------------------------------------
# Reizen Styles
--------------------------------------------------------------*/
 /* --- Topographic Expedition Hero --- */
.reizen-hero {
  position: relative;
  padding: 100px 0 60px;
  background-color: #f8faf8; /* Off-white / light paper color */
}

.reizen-hero::before{
 content: "";
  position: absolute;
  inset: 0;
   background-image: url("../img/backgrounds/brown-map-qurious-travel-nl.webp");
  /* The SVG above creates subtle topographic line ripples */
  border-bottom: 1px solid rgba(26, 77, 46, 0.08);
  overflow: hidden;
  background-size: 140% auto;          /* your large scale — good */
  background-position: center;         /* centered — good */
  background-repeat: no-repeat;        /* ← this stops repetition */
  opacity: 0.1;                       /* lowered from 0.4 — 0.04–0.08 is usually ideal for subtle texture */
  pointer-events: none;
  z-index: 0;
  background-size: cover;               /* ← changed to cover */
  background-position: center;
  z-index: 0;
  background-attachment: fixed; 
  background-size: cover;
  background-position: center;
}
/* Add this as a second pseudo-element to create a "paper fade" */
.reizen-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, #f8faf8 100%);
  z-index: 1; /* Sits above the map but below the text */
  pointer-events: none;
}

/* Add a thin divider line underneath the title */
.reizen-hero h1::after, .trip-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--accent-color);
  margin: 20px auto;
  border-radius: 2px;
}

/* Overview Mode Card Styles */
.trip-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  height: 100%;
  border: 1px solid rgba(0,0,0,0.05);
}

.trip-card:hover {
  transform: translateY(-10px);
}
/* --- Overview Grid --- */
.trip-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.trip-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.trip-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.trip-card-image {
  position: relative;
  height: 220px;
}

.trip-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badges based on the new JS logic */
.trip-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.trip-badge.open { background: var(--primary-color); color: #fff; }
.trip-badge.planned { background: var(--accent-color); color: #fff; }

.trip-card-content {
  padding: 20px;
}

.trip-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  font-style: italic;
}

.card-img-container {
  height: 250px;
  background-size: cover;
  background-position: center;
}

.card-body-content {
  padding: 25px;
}

/* Detail Mode Styling */
.status-badge {
  background: var(--accent-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 15px;
}

#trip-hero-img {
  height: 100%;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.trip-hero-img a{
  display:block;
  position:relative;
  z-index:1;
}
#trip-hero-img img {
  height: auto;
  width:100%;
}

.meta-item {
  font-weight: 600;
  color: var(--text-muted);
}

.meta-item i {
  color: var(--accent-color);
}

/* --- Trip Highlights Section --- */
#trip-highlights {
    margin: 40px 0;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #eef2ef;
    border-radius: 20px;
}

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    /* Creates a responsive grid: 2 columns on tablet/desktop, 1 on mobile */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.highlight-list li {
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
    font-weight: 600;
    color: var(--primary-color);
    padding: 15px 20px;
    background: #f9fbf9;
    border-radius: 12px;
    transition: transform 0.2s ease;
}

.highlight-list li:hover {
    transform: scale(1.02);
    background: #f1f5f1;
}

/* Custom icon marker using CSS */
.highlight-list li::before {
    content: '✦'; /* A elegant diamond star */
    color: var(--accent-color);
    margin-right: 15px;
    font-size: 1.2rem;
}

/* Timeline (Itinerary) */
.itinerary-timeline {
  position: relative;
  padding-left: 30px;
}

.itinerary-timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 10px;
  width: 2px;
  background: rgba(26, 77, 46, 0.1);
}

.day-item {
  position: relative;
  margin-bottom: 40px;
}

.day-item::before {
  content: '';
  position: absolute;
  left: -35px;
  top: 5px;
  width: 12px;
  height: 12px;
  background: var(--primary-color);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(26, 77, 46, 0.1);
}

.day-number {
  font-weight: 800;
  color: var(--primary-color);
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
}
/* --- Dynamic Itinerary Timeline --- */
.itinerary {
  position: relative;
  padding-left: 20px;
  margin-top: 30px;
}

.itinerary::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #e9ecef;
}

.itinerary-day {
  position: relative;
  margin-bottom: 40px;
  padding-left: 30px;
}

/* The Dot on the timeline */
.itinerary-day::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--primary-color);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

.day-number {
  display: block;
  font-weight: 800;
  color: var(--accent-color);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.day-content h5 {
  font-weight: 700;
  margin-bottom: 10px;
}
#trip-story{
position: relative;
}

#trip-story p::before{
 content: "";
  position: absolute;
  inset: 0;
   background-image: url("../img/backgrounds/brown-map-qurious-travel-nl.webp");
  /* The SVG above creates subtle topographic line ripples */
  border-bottom: 1px solid rgba(26, 77, 46, 0.08);
  overflow: hidden;
  background-size: 140% auto;          /* your large scale — good */
  background-position: center;         /* centered — good */
  background-repeat: no-repeat;        /* ← this stops repetition */
  opacity: 0.009;                       /* lowered from 0.4 — 0.04–0.08 is usually ideal for subtle texture */
  pointer-events: none;
  z-index: 0;
  background-size: cover;               /* ← changed to cover */
  background-position: center;
  z-index: 0;
}
/* Soft vignette fade from all sides (the magic part) */
#trip-story p::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;                            /* Above map, below text */
  pointer-events: none;
  
}

#trip-story p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #444;
}

.highlight-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  margin: 30px 0;
}

.highlight-list li {
  padding: 10px 15px;
  background: #f0f7f2;
  border-radius: 8px;
  font-weight: 600;
  color: var(--primary-color);
  border-left: 4px solid var(--accent-color);
}


/* Itinerary Accordion – Compact & Interactive */
.itinerary-accordion {
  position: relative;
  margin-top: 2rem;
}

.itinerary-item {
  margin-bottom: 1rem;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
}

.itinerary-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.itinerary-header {
  display: flex;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  background: #f8fafc;
  transition: background 0.3s ease;
}

.itinerary-header:hover {
  background: #f0f7f2;
}

.itinerary-icon {
  font-size: 1.6rem;
  color: var(--primary-color);
  margin-right: 16px;
  flex-shrink: 0;
}

.itinerary-header h5 {
  flex: 1;
  margin: 0;
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--heading-color);
}

.toggle-icon {
  font-size: 1.4rem;
  color: var(--accent-color);
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.itinerary-item.active .toggle-icon {
  transform: rotate(180deg);
}

.itinerary-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s cubic-bezier(0.23, 1, 0.32, 1),
              padding 0.55s ease;
  padding: 0 24px;
  background: rgba(255,205,5,0.02);
}

.itinerary-item.active .itinerary-body {
  max-height: 800px; /* large enough for long days */
  padding: 24px;
}

.itinerary-body p {
  margin: 0;
  line-height: 1.78;
  color: var(--default-color);
}

/* Responsive */
@media (max-width: 576px) {
  .itinerary-header {
    padding: 16px 20px;
  }
  .itinerary-header h5 {
    font-size: 1.05rem;
  }
  .itinerary-icon {
    font-size: 1.4rem;
  }
}



/* Trip Gallery – clean, immersive, mobile-first */


.trip-gallery-section {
  padding: 60px 0;
  background: rgba(255,205,5,0.02); /* very faint yellow warmth */
}

.trip-gallery-section h3 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: var(--heading-color);
}

.gallery-slide {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
  transition: transform 0.45s ease;
}
.gallery-slide a{
  display:block;
  position: relative;
  z-index: 1;
}

.gallery-slide img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-slide:hover img {
  transform: scale(1.08);
}


/* Swiper custom styling */
.gallerySwiper .swiper-pagination-bullet {
  background: rgba(0,0,0,0.4);
  opacity: 1;
}

.gallerySwiper .swiper-pagination-bullet-active {
  background: var(--primary-color);
  transform: scale(1.3);
}

.gallerySwiper .swiper-button-next,
.gallerySwiper .swiper-button-prev {
  color: var(--primary-color);
  background: rgba(255,255,255,0.9);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  transition: all 0.3s;
}

.gallerySwiper .swiper-button-next:hover,
.gallerySwiper .swiper-button-prev:hover {
  background: #fff;
  transform: scale(1.15);
}

/* Responsive height for images */
@media (max-width: 992px) {
  .gallery-slide img {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .gallery-slide img {
    height: 240px;
  }
  .trip-gallery-section {
    padding: 40px 0;
  }
}


/* Sidebar Boxes */
.sidebar-box {
  background: #f8faf8;
  padding: 25px;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.03);
}

.check-list, .cross-list {
  list-style: none;
  padding: 0;
}

.check-list li { margin-bottom: 10px; padding-left: 25px; position: relative; }
.check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--primary-color); font-weight: 900; }

.cross-list li { margin-bottom: 10px; padding-left: 25px; position: relative; color: #999; }
.cross-list li::before { content: '✕'; position: absolute; left: 0; color: #ccc; }

.cta-sidebar {
  padding: 30px;
  background: var(--primary-color);
  color: #fff;
  border-radius: 15px;
}

/* Footer CTA Decoration */
.cta-content-wrapper {
  background: #fdf7e9;
  border-radius: 30px;
  border: 1px dashed var(--accent-color);
}

   /* --- Buttons --- */
/* ===============================
   QURIOUS TRIP BUTTONS
================================ */

.trip-btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  border: 2px solid var(--primary-color);
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(255, 205, 5, 0.2);
}

/* Boek deze reis */
.trip-btn-book {
  background: var(--primary-color); /* yellow */
  color: #000; /* black text */
    border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 15px;
  transition: 0.3s;
  color: #000; /* black text */
  border: 2px solid #fff;
}

/* Toon interesse */
.trip-btn-interest {
  border: 2px solid #fff;

  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  margin-left: 15px;
  transition: 0.3s;
  color: #000; /* black text */
}
.trip-btn-interest:hover {
  /* background: #fff; */
  color: #000;
   box-shadow:
    0 15px 45px rgba(0, 0, 0, 0.05),
    0 0 0 1px rgba(255, 205, 5, 0.04);
}

/* Hover */
.trip-btn:hover {
  transform: translateY(-4px);
  color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(255, 205, 5, 0.35);
  color: #fff ;
}

/* Remove Bootstrap blue focus ring */
.trip-btn:focus,
.trip-btn:active {
  outline: none;
  box-shadow: none;
}

/* ──────────────────────────────────────────────
   Page-view transition & minimum height
─────────────────────────────────────────────── */
#page-view {
  transition: opacity 0.5s ease-in-out;
  opacity: 0;
  flex: 1;
  min-height: 70vh;          /* stronger minimum than before */
}

/* Visible state after content is ready */
#page-view.ready {
  opacity: 1;
}

/* ──────────────────────────────────────────────
   Skeleton loading states
─────────────────────────────────────────────── */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(240,240,240,0.6) 25%,
    rgba(230,230,230,0.8) 37%,
    rgba(240,240,240,0.6) 63%
  );
  background-size: 400% 100%;
  animation: shimmer 1.6s ease infinite;
  border-radius: 10px;
}

@keyframes shimmer {
  0%   { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}

.skeleton-hero {
  height: 380px;
  margin-bottom: 1.8rem;
}

.skeleton-title {
  height: 48px;
  width: 70%;
  margin: 0 auto 1rem;
}

.skeleton-text {
  height: 18px;
  margin-bottom: 12px;
}

.skeleton-text.short  { width: 45%; }
.skeleton-text.medium { width: 75%; }
.skeleton-text.long   { width: 92%; }

/* Overview card skeleton */
.skeleton-card {
  height: 420px;
  border-radius: 12px;
  margin-bottom: 1rem;
}