@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100..900;1,100..900&display=swap");

/* RESET + BASE */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  font-family: "Poppins", sans-serif;
  background: white;
  color: black;
}

/* HEADER FIXE */
#main-header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: top 0.3s ease;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.header-hidden {
  top: -80px;
}

/* STRUCTURE FLEX DU BODY */
body {
  display: flex;
  flex-direction: column;
}

/* CONTAINER PRINCIPAL */
body > .kebaba-container {
  flex: 1 0 auto;
}

.kebaba-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 80px 20px 100px; /* padding top = hauteur du header */
  min-height: 100vh;
}

/* SECTIONS STICKY */
.sticky-section {
  display: flex;
  position: relative;
  margin-bottom: 50px;
  padding: 0 20px;
  gap: 30px;
}

/* IMAGE STICKY */
.sticky-image {
  position: sticky;
  top: 80px;
  width: 50%;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.sticky-image img {
  width: 1000px;
  height: 1000px;
  object-fit: contain;
}

/* CONTENU À DROITE */
.content {
  width: 50%;
  padding-left: 40px;
}

.content-block {
  margin-bottom: 110px;
}

.content-block:last-child {
  margin-bottom: 0;
}

.content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

/* TITRES */
h3 {
  margin-top: 100px;
}

/* SCROLL SECTION PLEIN ÉCRAN */
.full-scroll-section {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-color: #f5f5f5;
  margin-bottom: 50px;
  padding: 20px;
}

.full-scroll-section h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.full-scroll-section p {
  font-size: 1.2rem;
  max-width: 600px;
}

/* DEUX IMAGES */
.deux-images {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: nowrap;
}

.img-kebaba {
  width: 500px;
  max-width: 100%;
  object-fit: cover;
  flex: 1;
}

#vert {
  width: 1300px;
}

/* FOOTER COLLÉ EN BAS */
footer {
  flex-shrink: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  h3 {
    margin-left: 10px;
    margin-top: 50px;
    font-size: 40px;
  }

  .sticky-section {
    flex-direction: column;
  }

  .sticky-image,
  .content {
    width: 100%;
  }

  .sticky-image {
    height: auto !important;
    max-height: none;
    margin-top: 0;
    padding-top: 0;
    position: static !important;
  }

  .sticky-image img {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
  }

  .content {
    padding-left: 0;
  }

  .content-block {
    margin-bottom: 20vh;
  }

  #deux-images {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .deux-images {
    flex-direction: column;
    gap: 20px;
  }

  .img-kebaba {
    width: 90%;
    height: auto;
    object-fit: contain;
  }

  #premiere-image {
    margin-bottom: 20px;
  }

  h3.mb-5 {
    margin-bottom: 1.5rem;
  }
}
