* { box-sizing: border-box; margin: 0; padding: 0; }

body.home .full-page-absolute,
body.home .bg-holder {
  display: none !important;
}

body {
  background: #fdfdfd;
}

section {
  width: 100%;
  padding: 0 5%;
  margin-top: 60px;
}

/* =========================
  HERO BASE
========================= */
.bs-hero {
  position: relative;
  height: 40vh;
  min-height: 140px;
  overflow: hidden;
  border-radius: 20px;
}

.bs-hero-swiper,
.bs-hero-slide {
  width: 100%;
  height: 100%;
  border-radius: 20px;
}

.bs-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.swiper-slide-active .bs-hero-video {
  opacity: 1;
}

/* =========================
  CINEMATIC OVERLAY
========================= */

.bs-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.55) 0%,
      rgba(0,0,0,.25) 35%,
      rgba(0,0,0,.65) 100%
    );
  z-index: 1;
}

/* =========================
  CONTENT
========================= */

.bs-hero-content {
  position: absolute;
  bottom: 15%;
  left: 3%;
  z-index: 2;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  max-width: 620px;
}

.bs-hero-content.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.bs-hero-destination {
  display: block;
  font-size: 13px;
  letter-spacing: 0.22em;
  font-weight: 500;
  margin-bottom: 14px;
  opacity: 0.85;
}

.bs-hero-title {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 500;
  line-height: 1.05;
  margin: 0 0 16px;
}

.bs-hero-title em {
  font-style: italic;
  font-weight: 400;
}

.bs-hero-subtitle {
  font-size: 16px;
  opacity: 0.85;
}

.swiper-slide-active .bs-hero-content {
  opacity: 1;
  transform: translateY(0);
}

.bs-hero-destination,
.bs-hero-title,
.bs-hero-subtitle {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(.22,.61,.36,1);
}

/* Slide active */
.swiper-slide-active .bs-hero-destination {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.swiper-slide-active .bs-hero-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.swiper-slide-active .bs-hero-subtitle {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

/* =========================
  PAGINATION
========================= */

.bs-hero-pagination {
  position: absolute;
  right: 3%;
  gap: 14px;
  margin-bottom: 25px;

  top: auto !important;
  left: auto !important;
  width: auto !important;

  z-index: 10;
}

.bs-hero-pagination .swiper-pagination-bullet {
  background: rgba(255,255,255,.35);
  opacity: .5;
  border-radius: 0;
}

.bs-hero-pagination .swiper-pagination-bullet-active {
  background: #fff;
  opacity: 1;
}

/* =========================
  PROGRESS BAR
========================= */

.bs-hero-progress {
  position: absolute;
  left: 3%;
  bottom: 12%;
  width: 200px;
  height: 2px;
  background: rgba(255,255,255,.25);
  z-index: 3;
}

.bs-hero-progress span {
  display: block;
  height: 100%;
  width: 0%;
  background: #fff;
}

/* =========================
  RESPONSIVE
========================= */

@media (max-width: 768px) {
  .bs-hero {
    height: 20vh;
    min-height: 0px;
    margin-top: 40px;
  }

  .bs-hero-content {
    left: 25px;
    right: 6%;
    max-width: none;
  }

  .bs-hero-destination {
    font-size: 9px;
    margin-bottom: 10px;
  }

  .bs-hero-title {
    font-size: clamp(18px, 4vw, 26px);
    margin: 0 0 10px 0;
  }

  .bs-hero-subtitle {
    font-size: 9px;
  }

  .bs-hero-progress {
    width: 80px;
    left: 25px;
  }

  .bs-hero-pagination {
    right: 25px;
    margin-bottom: 5px;
  }
}

/* =========================
  SECTION 2
========================= */

.bs-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(162, 223, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  pointer-events: none;
  justify-content: center;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
  z-index: 9999;
}

.bs-cursor.active {
  opacity: 1;
  transform: translate(-50%, -55%) scale(1);
}

.bs-destinations {
  color: #fff;
  overflow: hidden;
  border-radius: 32px;
  padding: 0 5%;
}

.bs-header {
  padding: 0 6vw 2rem;
}

.bs-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
}

.bs-header p {
  opacity: 0.6;
}

.bs-scroll {
  display: flex;
  gap: 2.5rem;
  padding: 2rem 0;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
  user-select: none;
  scroll-behavior: auto;
}

.bs-scroll::-webkit-scrollbar {
  display: none;
}

.bs-card {
  position: relative;
  min-width: 35vw;
  height: 42vh;
  border-radius: 32px;
  overflow: hidden;
  opacity: 0;
  cursor: pointer;
  animation: fadeUp 0.8s ease forwards;
}

.bs-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}

.bs-card-inner.morocco {
  background-image: url("https://bonsejourtravels.com/wp-content/uploads/2025/12/danny-lau-BGeyIvIIHSw-unsplash-scaled.jpg");
}

.bs-card-inner.thailand {
  background-image: url("https://bonsejourtravels.com/wp-content/uploads/2025/12/the-dk-photography-z6-wQHB6p2Y-unsplash.jpg");
}

.bs-card-inner.maldives {
  background-image: url("https://bonsejourtravels.com/wp-content/uploads/2025/12/colin-watts-M1ObxvsWVhY-unsplash.jpg");
}

.bs-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 1;
  background:
    linear-gradient(180deg, rgba(255, 166, 0, 0.3), rgba(23, 89, 133, 0.7)),
    radial-gradient(circle at top left, rgba(0, 0, 0, 0.12), transparent 60%);
  transition: opacity 0.6s ease;
}

.bs-card:hover .bs-overlay {
  opacity: 0.7;
}

.bs-content {
  position: absolute;
  bottom: 2.5rem;
  left: 2.5rem;
  z-index: 3;
  color: white;
  transition: transform 0.5s ease;
}

.bs-tag {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.15);
  margin-bottom: 0.75rem;
}

.bs-card h3 {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.bs-card p {
  opacity: 0.75;
}

.bs-card:hover {
  transform: scale(1.02);
}

.bs-card:hover .bs-card-inner {
  transform: scale(1.035);
}

.bs-card:hover .bs-content {
  transform: translateY(-6px);
  text-shadow: 0 8px 24px rgba(0,0,0,0.35);
}

.bs-card[data-status="soon"] {
  opacity: 1;
  cursor: not-allowed;
  animation: slowPulse 6s ease-in-out infinite;
}

.bs-card[data-status="soon"]:hover {
  transform: scale(1.01);
}

.bs-card[data-status="soon"]::after {
  opacity: 0.6;
}

.bs-card-link {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: auto;
  text-indent: -9999px;
}

.bs-card[data-status="soon"] .bs-card-link {
  display: none;
}

.bs-scroll.dragging .bs-card-link {
  pointer-events: none;
}

/* ===== TRANSITION AVANT NAVIGATION ===== */
.bs-card.leaving {
  opacity: 0.6;
  transition: opacity 0.25s ease;
}

.bs-card.leaving {
  pointer-events: none;
}

.bs-card.leaving::after {
  opacity: 1;
}

/* Transition globale avant navigation */
.page-transition-out {
  opacity: 0;
  transition: opacity 0.35s ease;
}

/* Carte cliquée */
.bs-card.leaving {
  transform: scale(1.04);
  filter: saturate(1.05);
}

/* Désactiver interactions */
.bs-card.leaving,
.bs-card.leaving * {
  pointer-events: none;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.015);
  }
  100% {
    transform: scale(1);
  }
}

@media (hover: none) {
  .bs-cursor {
    display: none;
  }
}

/* ================================
  BSJ RENTAL CAROUSEL (DESKTOP)
================================ */

.bsj-rental-carousel {
  width: 100%;
}

.bsj-activity-carousel {
  width: 100%;
}

.bsj-hotels-carousel {
  margin-bottom: 60px;
}

@media (max-width:768px) {

  section {
    margin-top: 40px;
  }

  .bs-card {
    min-width: 100%;
    border-radius: 18px;
  }

  .bs-content {
    bottom: 1.5rem;
    left: 1.5rem;
    padding: 0;
    gap: 0;
  }

  .bs-tag {
    font-size: 0.7rem;
    margin-bottom: 0.55rem;
  }

  .bs-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0px;
  }
}