/* Import de la police Poppins Sans */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap");
/* Import de la police Nunito Sans */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600;700;800;900&display=swap");
/* Styles pour la page Blogs */
/* Variables */

:root {
  --journal-bg: #f8f5f0;
  --journal-text: #333;
  --journal-heading: #000;
  --journal-border: #e0e0e0;
  --color-blue: #223f7a;
  --journal-accent: var(--color-orange);
  --color-white: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
/* Bannière */
.main-container {
  background-color: white;
}
.resrvation-banner {
  position: relative;
  height: 100vh;
  min-height: 500px;
  max-height: 800px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  text-align: center;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.56) 0%,
      rgba(0, 0, 0, 0.32) 50%,
      rgba(0, 0, 0, 0.64) 100%
    ),
    url(../images/reservation/reservation_background.jpg);
  box-shadow: 0px 15px 44px rgba(0, 0, 0, 0.2);
  background-size: cover;
  background-position: center;
}

.banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
  font-family: "Nunito";
}

.banner-content h1 {
  font-family: "Nunito", sans-serif;
  font-style: normal;
  font-weight: 900;
  font-size: 60px;
  line-height: 70px;
  color: #ededed;
  text-align: center;
  text-decoration: underline;
  text-decoration-color: var(--color-orange);
  text-underline-offset: 25px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ededed;
  text-shadow: 0px 0px 40px #000000;
  white-space: nowrap;
  flex: none;
  order: 0;
  flex-grow: 0;
}
/* Section Blog */

/* Reservation Form Styles */
.reservation-section {
  position: relative;
  top: -19rem;
  padding: 60px 20px;
  max-width: 848px;
  margin: 0 auto;
  z-index: 1;
}

.reservation-container {
  background: #ffffff;
  box-shadow: 0px 4px 50px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  padding: 45px 0 35px;
  margin-top: 40px;
}

/* Progress Steps */
.progress-steps {
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  margin-bottom: 60px;
  position: relative;
}

.progress-steps::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(0, 0, 0, 0.1);
  z-index: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  bottom: 20px;
  z-index: 1;
  width: 25%;
}

.step-number {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  background: #acacac;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Nunito", sans-serif;
  font-weight: 600;
  font-size: 18px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.step-label {
  font-family: "Nunito", sans-serif;
  font-size: 14px;
  color: rgba(35, 35, 35, 0.5);
  text-align: center;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 5px;
}

.step.active .step-number {
  background: #d55e1e;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.step.active .step-label {
  color: #d55e1e;
  font-weight: 700;
}

.step.completed .step-number {
  background: #348827;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.step.completed .step-label {
  color: #348827;
}

/* Step Content */
.step-content {
  padding: 0 40px;
  max-width: 848px;
  margin: 0 auto;
}

.step-content.hidden {
  display: none;
}

.step-content h2 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: #223f7a;
  margin-bottom: 25px;
  text-align: start;
}

.step-content h3 {
  font-family: "Nunito", sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #223f7a;
  margin: 25px 0 15px;
}

.hint {
  font-weight: 400;
  color: rgba(0, 0, 0, 0.3);
  margin-left: 100px;
}

.subtext {
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  color: rgba(0, 0, 0, 0.4);
  margin-bottom: 15px;
  line-height: 1.5;
}

/* Form Elements */
.form-group {
  margin-bottom: 30px;
}
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 50%;
}

.radio-container,
.checkbox-container {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  cursor: pointer;
  position: relative;
  padding-left: 35px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #232323;
  user-select: none;
}

.radio-container input,
.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.checkmark {
  position: absolute;
  left: 0;
  height: 22px;
  width: 22px;
  background-color: #fdfdfd;
  border: 1.375px solid rgba(44, 44, 44, 0.6);
  border-radius: 50%;
}

.checkbox-container .checkmark {
  border-radius: 3px;
}

.radio-container:hover input ~ .checkmark,
.checkbox-container:hover input ~ .checkmark {
  border-color: #223f7a;
}

.radio-container input:checked ~ .checkmark {
  background-color: #223f7a;
  border-color: #223f7a;
}

/* Date Inputs */
.date-inputs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.date-range {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 0;
  gap: 10px;
  width: 100%;
}
.date-picker {
  flex-wrap: wrap;
  gap: 20px;
}

.date-picker {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 541px;
}

.date-input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  padding: 13px 15px;
  gap: 10px;
  width: 245px;
  height: 50px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: rgba(0, 0, 0, 0.5);
  flex: 1 1 180px;
  min-width: 140px;
  max-width: 245px;
}

.date-input:focus {
  outline: none;
  border-color: #223f7a;
}

.date-separator {
  width: 31px;
  height: 0;
  border: 1px solid #223f7a;
  flex: none;
  position: relative;
}

.date-separator::after {
  content: "";
  position: absolute;
  top: 1px;
  right: 0;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid #223f7a;
  border-top: 1.5px solid #223f7a;
  transform: translateY(-55%) rotate(45deg);
}

/* Hide the default date picker icon in some browsers */
.date-input::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

.date-input:hover::-webkit-calendar-picker-indicator {
  opacity: 1;
}

/* Budget Input Styles */
.budget-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0;
  gap: 20px;
  width: 100%;
  max-width: 768px;
  margin: 20px 0;
}

.budget-group h3 {
  width: 100%;
  height: auto;
  font-family: "Nunito", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: #223f7a;
  margin: 0;
  text-align: left;
}

.dollar-input-container {
  position: relative;
  width: 100%;
  max-width: 241px;
}

.dollar-input {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  align-items: center;
  padding: 13px 30px 13px 15px;
  width: 100%;
  height: 50px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  color: #232323;
}

.dollar-input:focus {
  outline: none;
  border-color: #223f7a;
}

.dollar-symbol {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-family: "Poppins", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 15px;
  line-height: 24px;
  color: #232323;
  pointer-events: none;
}

/* Hide number input spinners */
.dollar-input::-webkit-outer-spin-button,
.dollar-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.dollar-input[type="number"] {
  appearance: textfield;
}

.checkbox-container input:checked ~ .checkmark {
  background-color: #223f7a;
  border-color: #223f7a;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.radio-container .checkmark:after {
  top: 7px;
  left: 7px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.checkbox-container .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.radio-container input:checked ~ .checkmark:after,
.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.label-text {
  margin-left: 10px;
}

/* Traveler Options */
.travelers-options {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0 30px;
  justify-content: center;
}

.traveler-option {
  width: 120px;
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform 0.3s ease, border 0.2s;
  border: 2.5px solid transparent;
}

.traveler-option.active {
  border: 2.5px solid var(--color-orange);
}

.traveler-option:hover {
  transform: translateY(-5px);
}

.traveler-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.traveler-option span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 8px 0;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 600;
}

/* Form Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 13px 15px;
  margin: 8px 0;
  border: 1px solid rgba(0, 0, 0, 0.3);
  border-radius: 6px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

/* Buttons */
.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ececec;
}

.btn-prev,
.btn-next,
.btn-submit {
  width: 158px;
  height: 53px;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-prev {
  background: rgba(35, 35, 35, 0.1);
  color: rgba(35, 35, 35, 0.8);
}

.btn-next,
.btn-submit {
  background: #223f7a;
  color: white;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
}

.btn-prev:hover {
  background: rgba(35, 35, 35, 0.2);
}

.btn-next:hover,
.btn-submit:hover {
  background: #1a325f;
  transform: translateY(-2px);
  box-shadow: 0px 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .resrvation-banner {
    max-height: 700px;
  }
  .banner-content h1 {
    font-size: 52px;
    line-height: 62px;
  }
  .reservation-container {
    margin: 0 30px;
    max-width: 90%;
  }
  .step-label {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .resrvation-banner {
    max-height: 600px;
  }
  .banner-content {
    max-width: 90%;
    padding: 0 20px;
  }
  .banner-content h1 {
    font-size: 42px;
    line-height: 50px;
    text-underline-offset: 15px;
  }
  .reservation-container {
    padding: 30px 0 25px;
  }
  .step-label {
    font-size: 13px;
  }
  .traveler-option {
    width: 110px;
    height: 110px;
  }
  .form-actions {
    flex-direction: column;
    gap: 15px;
  }
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    width: 70%;
  }
  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .resrvation-banner {
    max-height: 500px;
  }
  .banner-content h1 {
    font-size: 36px;
    line-height: 44px;
  }
  .reservation-section {
    padding: 50px 15px 40px;
    top: -15rem;
  }
  .reservation-container {
    margin: 0 20px;
    padding: 40px 0 20px;
  }
  .progress-steps {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
  }
  .step {
    width: 45%;
    margin-bottom: 10px;
  }
  .step-content {
    padding: 0 15px;
  }
  .traveler-option {
    width: 90px;
    height: 90px;
  }
  .traveler-option span {
    font-size: 13px;
    padding: 4px 0;
  }
  .form-group {
    margin-bottom: 15px;
  }
}

@media (max-width: 576px) {
  .resrvation-banner {
    max-height: 400px;
  }
  .banner-content h1 {
    font-size: 28px;
    line-height: 36px;
    text-underline-offset: 10px;
  }
  .reservation-container {
    margin: 0 15px;
    padding: 30px 0 15px;
  }
  .step {
    width: 100%;
    margin-bottom: 8px;
  }
  .step-content {
    padding: 0 10px;
  }
  .traveler-option {
    width: 80px;
    height: 80px;
  }
  .traveler-option span {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .resrvation-banner {
    max-height: 350px;
    min-height: 300px;
  }
  .banner-content h1 {
    font-size: 5vw;
    line-height: 30px;
    text-underline-offset: 8px;
    flex-shrink: 0;
  }
  .banner-content {
    max-width: 95%;
    padding: 0 10px;
  }
  .reservation-section {
    padding: 50px 15px 40px;
    top: -10rem;
  }
  .reservation-container {
    margin: 0 10px;
    padding: 30px 0;
  }
  .traveler-option {
    width: 70px;
    height: 70px;
    margin: 5px;
  }
  .traveler-option span {
    font-size: 11px;
  }
  .btn {
    padding: 10px 15px;
    font-size: 14px;
  }
  .reservation-section {
    padding: 30px 10px;
  }

  .step {
    width: 100%;
  }

  .form-actions {
    flex-direction: column;
    gap: 15px;
  }
  .form-group input[type="email"],
  .form-group input[type="tel"] {
    width: 80%;
  }

  .btn-prev,
  .btn-next,
  .btn-submit {
    width: 100%;
  }

  .travelers-options {
    gap: 10px;
  }

  .traveler-option {
    width: calc(50% - 10px);
    height: 100px;
  }
}
