html {
  scroll-behavior: smooth;
}

body {
  background: rgb(0, 0, 0);
}

/* First section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.697), rgba(86, 8, 8, 0.6)),
              url('/public/image/eiffeltournight.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  font-family: 'Helvetica Neue', sans-serif;
  position: relative;
  padding: 4rem 1rem;
}

.hero-content h1 {
  text-transform: uppercase;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  font-weight: 700;
  color: #ff4d4d;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.hero-content p {
  font-size: 1.4rem;
  text-align: center;
  padding: 1rem 2rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  box-shadow: 0 5px 8px rgba(225, 18, 3, 0.535);
  max-width: 1200px;
}

.hero-content p::first-letter {
  font-size: 3rem;
  font-weight: 100;
  float: left;
  line-height: 1;
  margin-right: 1px;
  font-family: 'Poppins', sans-serif;
}

.cta-button {
  display: inline-block;
  background-color: #ff4d4d;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: background 0.3s ease;
}

.cta-button:hover {
  background-color: #ff4d4d41;
}



/* Second section */
.why-paris-section {
  color: #ffffff;
  display: flex;
  align-items: center;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  justify-content: center;
  padding: 4rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  overflow: hidden;
  flex-direction: column;
  background: linear-gradient(270deg, #8f0694, #1c1c1c, #3a37a4);
  background-size: 600% 600%;
  animation: bgMove 10s ease infinite;
}

@keyframes bgMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.wrapper {
  max-width: 1300px;
  width: 100%;
  text-align: center;
  overflow: visible;
}

h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #f04e4e;
  text-transform: uppercase;
}

p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 auto 3rem;
  color: #dddddd;
}

.cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 360px;
  padding: 0 2rem;
  flex: 1;
  min-width: 280px;
  transition: all 0.4s ease;
}

.card h3 {
  color: #ff5757;
  font-size: 1.6rem;
  font-family: 'poppins', sans-serif;
  font-weight: 200;
}

.card p {
  color: #ccc;
  font-size: 1.2rem;
  text-align: justify;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

/* Fade-in Animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s forwards ease-out;
}

.delay-1 {
  animation-delay: 0.4s;
  max-width: 1150px;
}

.delay-2 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Base: Third & Fourth & Fifth Section */
.accordion-section-boite {
  padding: 5rem 2rem;
  font-family: 'Segoe UI', sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.wrapper-boite {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  background: linear-gradient(60deg, #000000, #302f2fc7, #ef53535e, #ffffff);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  padding: 2rem;
  margin-top: 0;
  margin-bottom: 0;
}

.section-accordion-choisir-boite {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.section-title-boite {
  text-align: center;
  font-size: 2rem;
  color: #ff4d4d;
  margin-bottom: 3rem;
}

/* Accordion (Boite) */
.accordion-item-boite {
  background: #000000;
  margin: 0.1rem auto;
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-header-boite {
  display: flex;
  align-items: center;
  justify-content: space-between; /* text left, icon right */
  background: none;
  color: #ffffff;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;
  font-size: 1.2rem;
  text-transform: uppercase;
  padding: 1rem;
  width: 100%;
  border: none;
  cursor: pointer;
  outline: none;
  gap: 0.1rem;
  text-align: left; /* ensure text is left aligned */
  transition: background 0.3s ease, color 0.3s ease;
}

.s-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  display: inline-block;
  user-select: none;
}

.accordion-content-boite {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  background: none;
  color: #000;
}

.accordion-content-boite p {
  color: #000;
  line-height: 1.6;
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 100;
  text-align: justify;
  margin-top: 0;
  margin-bottom: 0;
}

/* Hover effect: BOITE */
.accordion-item-boite:hover {
  background: #ffffff;
  color: #000;
}

.accordion-item-boite:hover .accordion-header-boite,
.accordion-item-boite:hover .accordion-content-boite {
  background: #ffffff;
  color: #000;
}

.accordion-item-boite:hover .accordion-header-boite {
  font-weight: 200;
}

.accordion-item-boite:hover .accordion-content-boite {
  max-height: 900px;
  padding: 1rem;
  border-top: 1px solid rgb(0, 0, 0);
  border-left: 2px solid red;
}

.accordion-item-boite:hover .s-icon {
  transform: rotate(180deg);
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .accordion-section-boite {
    padding: 3rem 1rem;
  }

  .wrapper-boite,
  .section-accordion-choisir-boite {
    width: 90%;
    max-width: 100%;
    padding: 1.5rem;
    margin-top: -3rem;
    margin-bottom: -3rem;
  }

  .section-title-boite {
    font-size: 1.7rem;
    margin-bottom: 2rem;
  }

  .accordion-header-boite {
    font-size: 1rem;
    padding: 0.75rem 1rem;
    height: 80px;
  }

  .accordion-content-boite p {
    font-size: 1rem;
  }
}

#contact-trigger a {
  text-transform: capitalize;
  font-family: 'Poppins', sans-serif;
  font-weight: 100;

}

#contact-trigger a, #faq-trigger {
  color: #cfcccc;
}

#scrollToTopBtn:hover {
  box-shadow: 0 2px 4px white;
  background-color: darkgray;
  background: linear-gradient(to right,#c616167c, #19191b80); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}

/* Responsive */
@media (max-width: 481px) {
  .hero-content h1 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
    padding: 0 1rem;
  }

  .hero-content p {
    font-size: 1.1rem;
    line-height: 1.3;
    margin-bottom: 1rem;
    padding: 0;
    text-align: justify;
  }

  h2 {
    font-size: 1.5rem;
  }

  p {
    font-size: 1.1rem;
  }

  .fade-in {
    text-align: justify;
  }

  .card h3 {
    font-size: 1.3rem;
    font-weight: 400;
  }

  .card p {
    font-size: 1.1rem;
  }

  .accordion-section-boite {
    padding: 2rem 0;
  }

  .section-title-boite {
    font-size: 1.5rem;
  }

  .wrapper-boite {
    width: 100%;
    padding: 1rem;
    margin: 0;
  }
}
