/* ==========================
   STYLES GÉNÉRAUX
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fff;
  background-image: url(/Images/sakura-home.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #000;
}

section {
  padding: 80px 8%;
}

/* ==========================
   HEADER + MENU PRINCIPAL
========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 8%;
  z-index: 1000;
}

.logo-div {
  display: flex;
  align-items: center;
  gap: 30px;
}

.logo {
  font-weight: 800;
  font-size: 26px;
  font-family: "Archivo Black", sans-serif;
  color: #000;
}

/* ===== MENU PRINCIPAL ===== */
header ul {
  display: flex;
  list-style: none;
  gap: 15px;
}

header ul li {
  position: relative;
}

header ul li a {
  text-decoration: none;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  padding: 10px 20px;
  border: 1px solid #000;
  border-radius: 10px;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.7);
}

header ul li a:hover {
  background-color: rgb(241, 202, 226);
  transform: scale(1.05);
}

/* ===== SOUS-MENU ===== */
.sousnav {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 110%;
  left: 0;
  background-color: #fff;
  border: 1px solid #000;
  border-radius: 10px;
  box-shadow: 2px 4px 8px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  z-index: 999;
}

header ul li:hover .sousnav {
  display: flex;
}

.sousnav li {
  width: 180px;
}

.sousnav li a {
  display: block;
  padding: 10px 15px;
  border: none;
  box-shadow: none;
  background: transparent;
  font-size: 16px;
  font-weight: 500;
}

.sousnav li a:hover {
  background-color: rgb(241, 202, 226);
  border-radius: 0;
}

/* ==========================
   SECTION ACCUEIL
========================== */
.home-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 80px;
  padding-top: 160px;
  /* Compense le header fixe */
}

.home-section .left {
  position: relative;
  height: 500px;
  width: 600px;
}

.home-section .left img {
  position: absolute;
  object-fit: cover;
  border: 2px solid #000;
  box-shadow: 5px 5px 30px rgba(0, 0, 0, 0.5);
  border-radius: 2rem;
  transition: transform 0.5s ease;
}

.home-section .left-image-1 {
  width: 400px;
  height: 450px;
  top: 0;
  left: 0;
  z-index: 2;
}

.home-section .left-image-2 {
  width: 350px;
  height: 350px;
  top: 180px;
  left: 250px;
  z-index: 1;
}

.home-section .left-image-1:hover {
  transform: scale(1.1) rotate(10deg);
  
}

.home-section .left-image-2:hover {
  transform: scale(1.1) rotate(-10deg);
  z-index: 2;
  
  
}

/* ==========================
   SECTION TEXTE DROIT
========================== */
.right {
  width: 35%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.right .text-right {
  font-weight: 700;
  color: #000;
  font-size: 20px;
}

.right h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  margin: 15px 0;
}

.right p {
  margin-bottom: 25px;
  color: #444;
  font-size: 18px;
  line-height: 1.6;
  text-align: justify;
}

/* ==========================
   SECTION INTRO BAS
========================== */
#intro {
  background: rgba(255, 255, 255, 0.85);
  padding: 80px 12%;
  margin-top: 60px;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.text-bas p {
  margin-bottom: 25px;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
  text-align: center;
}

.text-bas i {
  color: rgb(241, 130, 173);
  font-size: 22px;
}

/* ==========================
   FOOTER
========================== */
.footer {
  padding: 80px 8%;
  display: flex;
  justify-content: flex-end;
  color: #777;
}

/* ==========================
   RESPONSIVE DESIGN
========================== */
@media (max-width: 900px) {
  header ul {
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 8%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 10px;
    padding: 20px;
    display: none;
  }

  header.active ul {
    display: flex;
  }

  .home-section {
    flex-direction: column;
    padding-top: 120px;
  }

  .home-section .left {
    width: 90%;
    height: auto;
  }

  .home-section .left img {
    position: static;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .right {
    width: 100%;
    align-items: center;
    text-align: center;
  }
}
