/* Reset de base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #FFF5E6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Header */
header {
  color: white;
  padding: 0rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-column {
  flex: 1;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  padding-top: 2rem;
  justify-content: center;
}

.logo {
  max-width: 100%;
  width: 80px;
  height: auto;
}

.catchline h2 {
  margin: 0;
  font-size: 1.5rem;
  text-align: center;
}

.contact-icon a {
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.contact-icon a:hover {
  transform: scale(1.1);
}

/* Burger Menu */
.burger-menu {
  display: none;
  font-size: 0rem;
  color: #2c3e50;
  cursor: pointer;
}

/* Main content */
main {
  flex: 1;
  padding: 0rem;
  display: flex;
  gap: 0rem;
  flex-wrap: wrap;
}

.main-column {
  flex: 1;
  min-width: 200px;
  background-color: #FFF5E6;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  height: 85vh;
}


#milieu1 {
  flex: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#milieu2 {
  flex: 6;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
}

#droite {
  flex: 2;
}

#videopres {
  width: 100%;
  height: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
}

.highlight {
  position: relative;
  display: inline-block;
  padding: 0.1em 0.5em;
}

.highlight::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  right: -0.5rem;
  height: 0.5em;
  top: 1em;
  bottom: 0;
  background: rgba(235, 146, 64, 0.5);
  transform: skew(-5deg) rotate(-1deg);
  z-index: 0;
  border-radius: 0.2em;
}

/* Ce span contient le texte et est au-dessus */
.highlight span {
  position: relative;
  z-index: 1;
  font-size: 2.5rem;

  font-family: "Dela Gothic One", sans-serif;
  font-style: normal;
  font-weight: 400;
}

/* Catchy text styles */
.catchy-text {
  font-size: 4rem;
  font-weight: 300;
  color: #2c3e50;
  line-height: 1.4;
  text-align: left;
  margin: 0rem 0;
  object-fit: contain;
  font-family: "Dela Gothic One", sans-serif;
  font-style: normal;
  padding-left: 4rem;
  padding-right: 4rem;
  margin-bottom: 2rem;
}

.sub-text {
  font-size: 1.5rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
  text-align: left;
  margin: 0rem 0;
  object-fit: contain;
  font-family: "Jost", sans-serif;
  font-style: normal;
  padding-left: 4rem;
  padding-right: 5rem;
}

/* Preview section */
.preview-section {
  background-color: #FFF5E6;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 8rem;
}

.preview-section h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  display: inline-block;
}

.preview-section i {
  font-size: 3rem;
  color: #2c3e50;
}

/* Contact section */
.contact-section {
  background-color: #FFF5E6;
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 0rem;


  background: rgb(228,155,162);
  background: linear-gradient(180deg, rgba(228,155,162,1) 0%, rgba(255,245,230,1) 100%); 
}

.contact-section h2 {


  font-size: 2rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
  margin: 0rem 0;
  object-fit: contain;
  font-family: "Dela Gothic One", sans-serif;
  font-style: normal;

  margin-bottom: 2rem;
}


.contact-section span {


  font-size: 1.5rem;
  font-weight: 400;
  color: #2c3e50;
  text-align: left;
  object-fit: contain;
  font-family: "Jost", sans-serif;
  font-style: normal;
}


.contact-link {
  display: inline-block;
  font-size: 3rem;
  color: #2c3e50;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.contact-link:hover {
  transform: scale(1.1);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-30px);
  }
  60% {
    transform: translateY(-15px);
  }
}

.bounce {
  animation: bounce 2s infinite;
}

/* Vertical Menu */
.vertical-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1rem;
}

.menu-item {
  padding: 1rem;
  background-color: #f8f9fa;
  color: #2c3e50;
  text-decoration: none;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.menu-item:hover {
  background-color: #2c3e50;
  color: white;
  transform: translateX(10px);
}

/* Second main section */
.second-main {
  background-color: #FFF5E6;
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
}

.second-main-column {
  flex: 1;
  min-width: 300px;
  padding: 0rem;
  display: flex;
  flex-direction: column;
}

/* Slider styles */
.slider-container {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0rem;
  padding-left: 3rem;
  padding-right: 1rem;
  height: 500px;
}

.slider {
  flex: 1;
  position: relative;
  height: 500px;
  overflow: visible;
}

@media (max-width: 1700px) {
  .slider {
    height: 400px;
  }
}

@media (max-width: 1400px) {
  .slider {
    height: 380px;
  }
}

@media (max-width: 1200px) {
  .slider {
    height: 350px;
  }
  .preview-section {
    margin-bottom: 6rem;
  }
}

@media (max-width: 1000px) {
  .slider {
    height: 300px;
  }
    .preview-section {
    margin-bottom: 4rem;
  }
}



@media (max-width: 900px) {
  .slider {
    height: 250px;
  }
  .preview-section {
    margin-bottom: 5rem;
  }
  .second-main {
    margin-bottom: 5rem;
  }
}


.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slider-arrow {
  background: rgba(235, 146, 64, 0.5);
  color: white;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 10%;
  transition: background-color 0.3s ease;
  margin-top: 4rem;
}

.next {
margin-left: 3rem;
}


.arrows-container {
  display: flex;
  padding-left: 2rem;
  margin: 0;
  padding-bottom: 1rem;
}


.slider-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
}

/* Slide content styles */
.slide-content {
  display: none;
  padding-left: 2rem;
  padding-right: 2rem;
}

.slide-content h3{
  font-size: 2rem;
  font-family: "Dela Gothic One", sans-serif;
  font-style: normal;
  font-weight: 400;
}

.slide-content p{
  font-size: 1.3rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
  text-align: left;
  margin: 0rem 0;
  font-family: "Jost", sans-serif;
  font-style: normal;
  padding-right: 10rem;
}

.slide-content.active {
  display: block;
}

/* Footer */
footer {
  background-color: #FFF5E6;
  color: #2c3e50;
  padding: 2rem;
  margin-top: 0;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
  text-align: center;
  font-family: "Jost", sans-serif;
  font-style: normal;
  margin: 0 auto;
}


h2 {
  margin-bottom: 1rem;
}

h3 {
  color: #2c3e50;
  margin-bottom: 0.5rem;
}


.dégradé {

  background: rgb(250,220,189);
  background: linear-gradient(360deg, rgba(250,220,189,1) 0%, rgba(255,245,230,1) 100%); 
  height: 300px;

  text-align: center;
  justify-items: center;
  justify-content: center;
  z-index: 40;
}


.dégradé h2 {
  font-size: 2.5rem;
  font-family: "Dela Gothic One", sans-serif;
  font-style: normal;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1;
  padding-top: 10rem;
}

.dégradé span {
  font-size: 1.3rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.1;
  font-family: "Jost", sans-serif;
  font-style: normal;
}

.dégradé p {
  font-size: 1.3rem;
  font-weight: 400;
  color: #2c3e50;
  line-height: 1.4;
  text-align: center;
  font-family: "Jost", sans-serif;
  font-style: normal;
  width: 50vw;
  margin: 0 auto;

}

.dégradé-dessous {

  background: rgb(228,155,162);
  background: linear-gradient(180deg, rgba(228,155,162,1) 0%, rgba(255,245,230,1) 100%); 
  height: 600px;
}

.parallax-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  background-color: red;
}

/* wrapper garde la hauteur du contenu */
.parallax-wrapper {
  position: relative;
  width: 100%;
  height: auto;
}

/* couche par défaut : toutes en absolute */
.parallax-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Sauf le ciel (layer-5) qui donne la hauteur ! */
.layer-5 {
  position: relative; /* clé ici */
  display: block;
  width: 100%;
  height: auto;
  z-index: 1;
}

/* autres layers restent en absolute */
.layer-4 { z-index: 2; }
.layer-3 { z-index: 3; }
.layer-2 { z-index: 4; }
.layer-1 { z-index: 5; }

/* Fondu haut */
.parallax-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background: linear-gradient(to bottom, rgba(250, 220, 189, 1), transparent);
  z-index: 10;
  pointer-events: none;
}

/* Fondu bas */
.parallax-container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 100px;
  width: 100%;
  background: linear-gradient(to top, rgba(228, 155, 162, 1), transparent);
  z-index: 10;
  pointer-events: none;
}


@media (max-width: 1300px) {
  .catchy-text {
    font-size: 3.5rem;
  }
  .sub-text {
    font-size: 1.3rem;
  }

  .highlight span {
    font-size: 2.2rem;
  }
  .slide-content p{
    padding-right: 3rem;
  }
}

@media (max-width: 1100px) {
  .catchy-text {
    font-size: 3rem;
    padding-right: 0rem;
  }
}


@media (max-width: 768px) {
  /* Header mobile */
  .logo {
    max-width: 100%;
    width: 60px;
    height: auto;
  }


  /* Main content mobile */
  main {
    flex-direction: column;
    height: auto;
  }

  .main-column {
    width: 100%;
    height: auto;
    min-height: auto;
  }

  #gauche, #droite {
    display: none;
  }

  #milieu1, #milieu2 {
    flex: none;
    width: 100%;
  }

  /* Second main mobile */
  .second-main {
    flex-direction: column;
  }

  .second-main-column {
    width: 100%;
    margin-bottom: 2rem;
  }

  .slider-container {
    flex-direction: row;
    height: 300px;
  }

  .slide {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
  }

  .slider {
    height: 250px;
    overflow: visible;
  }

  /* Text adjustments mobile */
  .catchy-text {
    font-size: 1.9rem;
    text-align: center;
    padding: 0;
  }

  .sub-text {
    font-size: 1rem;
    text-align: center;
    padding: 0;
  }

  .slide-content p{
    padding-right: 0rem;
    font-size: 1rem;
    font-weight: 400;   
  }

  .slide-content h3{
    font-size: 1.9rem;
  }

  .slider-arrow {
    margin-top: 1rem;
  }

  .highlight span {
    font-size: 1.3rem;
    line-height: 1.4;
    display: inline-block;
  }

  .highlight::before {
    transform: skew(-3deg) rotate(-0.5deg);
  }

  /* Contact section mobile */
  .contact-section {
    margin-top: 0rem;
    padding: 2rem 1rem;
  }

  .contact-section h2 {
    font-size: 2rem;
  }

  .preview-section {
    padding: 0rem 2rem;
    margin-bottom: 2rem;
  }
  .dégradé h2 {
    font-size: 1.9rem;
    padding-top: 4rem;
  }
  .dégradé span {
    font-size: 0.9rem;
    font-weight: 400;
  }
  .dégradé p {
    font-size: 1rem;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.4;
    width: 88vw;
    margin: 0 auto;
  }
  .contact-section h2 {
    font-size: 1.3rem;
    margin-bottom: 2rem;
  }
  .contact-section {
    padding: 7rem 2rem;
    margin-top: 0rem;
  }
  .contact-section span {
    font-size: 1rem;
  }
  .footer-content p {
    font-size: 0.8rem;
    font-weight: 400;
    color: #2c3e50;
    line-height: 1.4;
    text-align: center;
    font-family: "Jost", sans-serif;
    font-style: normal;
    margin: 0 auto;
  }

  .contact-link {
    display: inline-block;
    font-size: 2rem;
    color: #2c3e50;
    text-decoration: none;
    transition: transform 0.3s ease;
  }
  
  .contact-link:hover {
    transform: scale(1.1);
  }
}