/* Base Styles & Variables */
:root {
  --blue: #223f7a;
  --orange: #d55e1e;
  --white: #ffffff;
  --black: #232323;
  --gray: #ededed;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

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

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Nunito", sans-serif;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.main-content {
  background-color: var(--white);
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}

.btn-primary {
  background-color: var(--white);
  color: var(--orange);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.25);
}

.btn-outline {
  border: 2px solid var(--white);
  color: var(--white);
}

/* Hero Section */
.hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 539px;
  color: var(--white);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Dynamic hero background images */
.hero.musical {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.32) 50%,
      rgba(0, 0, 0, 0.64) 100%
    ),
    url("../images/programme/prog_background1.jpg");
}

.hero.culinaire {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.32) 50%,
      rgba(0, 0, 0, 0.64) 100%
    ),
    url("../images/programme/prog_background2.jpg");
}

.hero.juif {
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.32) 50%,
      rgba(0, 0, 0, 0.64) 100%
    ),
    url("../images/programme/prog_background3.jpg");
}

/* Hero Content */
.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 70px;
  font-weight: 900;
  margin-bottom: 20px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.divider {
  width: 491px;
  height: 8px;
  background-color: #f67c31;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* Circuit Card */

.circuit-card {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 35px;
  width: 100%;
  max-width: 1180px;
  background-color: transparent;
  background: none;
  min-height: 484px;
  max-width: 1161px;
  margin: -140px auto 0;
  border-radius: 25px;
  overflow: hidden;
  position: relative;
  z-index: 5;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.15);
}

.circuit-card.reverse {
  flex-direction: row-reverse;
}

.card-image {
  width: 357px;
  min-width: 357px;
  height: 484px;
  background-size: cover;
  background-position: center;
  border-radius: 25px;
  /* box-shadow: 0 4px 50px rgba(0, 0, 0, 0.15); */
}

.card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  height: 484px;
  background: var(--white);
  border-radius: 25px;
  padding: 0 30px;
  box-shadow: 0 4px 50px rgba(0, 0, 0, 0.15);
}

.card-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.card-title {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 28px;
  line-height: 42px;
  text-transform: capitalize;
  color: #232323;
}
.card-title.small {
  font-size: 25px;
  line-height: 38px;
}

.route {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 15px;
  width: 100%;
}
.route.compact {
  max-width: 582px;
}

.city {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 22px;
  color: #223f7a; /* blue */
  text-align: center;
}

.route-line {
  flex: 1;
  border-top: 2px solid #223f7a; /* blue */
  height: 0;
  position: relative;
}

.route-line::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #223f7a; /* blue */
  border-top: 2px solid #223f7a; /* blue */
  transform: translateY(-55%) rotate(45deg);
}

.features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.features p {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 22px;
  color: #232323;
}

.card-footer {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
}
.price-row.tight {
  gap: 25px;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  height: 53px;
  min-width: 184px; /* left */
  background: #d55e1e1a; /* orange */
  color: var(--orange); /* white */
  border: 2px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.05);
  border-radius: 7px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 27px;
  text-align: center;
}

.dashed-divider {
  flex: 1;
  border-top: 2px dashed #223f7a; /* blue */
  height: 0;
  position: relative;
}
.dashed-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  border-left: 2px solid #223f7a; /* blue */
  border-top: 2px solid #223f7a; /* blue */
  transform: translateY(-55%) rotate(-45deg);
}
.dashed-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 2px solid #223f7a; /* blue */
  border-top: 2px solid #223f7a; /* blue */
  transform: translateY(-55%) rotate(45deg);
}

.flight-path-decorator {
  position: relative;
  top: -130px;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.image-flight {
  max-width: 100%;
  height: auto;
}

/* Trip Section ---------------------------------------------------------------------------------------------------------*/
.trip-section {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 10px;
  padding: 2px 60px;
  position: relative;
  height: calc(100vh - 200px);
  min-height: 600px;
  margin-top: -100px;
}

/* LEFT side scroll (days) */
.trip-days {
  flex: 1;
  max-width: 685px;
  height: 100%;
  overflow-y: scroll;
  -ms-overflow-style: none; /* IE and Edge */
  scrollbar-width: none; /* Firefox */
}

/* Hide scrollbar for Chrome, Safari and Opera */
.trip-days::-webkit-scrollbar {
  display: none;
}

.day-card {
  background: #fff;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 40px 30px;
  margin-bottom: 60px; 
  max-width: 669px;
  max-height: 361px;
  position: relative;
}

.day-card:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -60px; /* 24px for half SVG height + 2px gap */
  transform: translateX(-50%);
  width: 15px;
  height: 48px;
  background-image: url("data:image/svg+xml,%3Csvg width='15' height='48' viewBox='0 0 15 48' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='4.5' cy='4.25684' r='4' fill='%23591802' fill-opacity='0.2'/%3E%3Ccircle cx='4.5' cy='17.2568' r='4' fill='%23591802' fill-opacity='0.2'/%3E%3Ccircle cx='4.5' cy='30.2568' r='4' fill='%23591802' fill-opacity='0.2'/%3E%3Ccircle cx='4.5' cy='43.2568' r='4' fill='%23591802' fill-opacity='0.2'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  z-index: 1;
}

/* Reset the top margin for all cards */
.day-card + .day-card {
  margin-top: 0;
}

.day-title h2 {
  font-family: "Nunito", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}

.day-title h3 {
  font-family: "Poppins", sans-serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--blue);
  margin-top: 5px;
}
.day-content {
  display: block;
  padding: 0 20px;
}

.day-separator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.day-separator .line {
  flex: 1;
  border-bottom: 4px dashed #d55e1e;
}

.day-separator .vector {
  width: 30px;
  height: 30px;
}

.day-description {
  font-family: "Poppins", sans-serif;
  font-size: 18px;
  line-height: 28px;
  color: var(--black);
}
.custom-list {
  list-style: none;
  padding-left: 0;
}

.custom-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.custom-list li::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 5px;
  height: 5px;
  background: var(--black);
  border-radius: 50%;
}

/* RIGHT side fixed */
.trip-sidebar {
  position: sticky;
  top: 20px;
  margin-left: 10px;
  flex-shrink: 0;
  width: 455px;
  display: flex;
  flex-direction: column;
}

.img-right-sidebar {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.trip-image {
  width: 100%;
  height: 361px; /* Fixed height for the image */
  object-fit: cover;
  object-position: center;
  border-radius: 20px;
  margin: 0;
}

.reserve-btn {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 10px;
  padding: 15px 40px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: background 0.3s ease;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-sizing: border-box;
}

.reserve-btn:hover {
  background: #b84a14;
}
