body {
  font-family: "Garamond", serif;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
  color: #333;
  background-color: #faf6f1;
}

.bloc {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  padding: 0.6rem 1.2rem;
  border-radius: 50px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  display: flex;
  gap: 1rem;
  z-index: 10;
}

.bloc button {
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: bold;
  color: #3b3b00;
  cursor: pointer;
  transition: transform 0.3s;
}

.bloc button::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  width: 0;
  background: #3b3b00;
  transition: width 0.28s ease;
  border-radius: 2px;
}

.bloc button:hover::after {
  width: calc(100% - 24px);
}

.bloc button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.9);
}

.hero {
  height: 100vh;
  background: linear-gradient(
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.6)
    ),
    url("../image/studio green patio.jpg") center/cover no-repeat fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.hero img {
  max-width: 300px;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero h1 {
  font-size: 3rem;
  color: #3b3b00;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1rem 2rem;
  border-radius: 10px;
  margin: 0;
  z-index: 1;
}

.hero p {
  color: #3b3b00;
  background-color: rgba(255, 255, 255, 0.7);
  padding: 1rem 2rem;
  border-radius: 5px;
  margin: 6px;
}

main {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  background-color: #faf6f1;
}

.quote {
  font-style: italic;
  font-size: 1.2rem;
  margin: 2rem 0;
  color: #555;
}

.quote small {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  color: #666;
}

.affiches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.affiche {
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  padding: 1rem;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.affiche img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 1px solid #eee;
}

.affiche:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

footer {
  background-color: #e7d7c1;
  padding: 1rem;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #555;
  text-align: center;
}

.intro {
  text-align: center;
  margin: 2rem auto;
  font-size: 1.2rem;
  color: #444;
  max-width: 1200px;
}

.grid-activites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1600px;
  width: 95%;
}

.grid-activites .grand {
  grid-column: 1 / -1;
}

.grid-activites .item {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.25s;
}

.grid-activites .item img {
  width: 100%;
  height: 450px;
  object-fit: cover;
}

.grid-activites .item h2 {
  margin: 1rem 0;
  text-align: center;
  color: #4b6043;
}

.grid-activites .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2.5em;
}

.news-item {
  background-color: #fffaf5;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s ease;
}

.news-item:hover {
  transform: translateY(-5px);
}

.news-item img {
  width: 100%;
  height: 550px;
  object-fit: contain;
}

/* Responsive Mobile */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 3rem 1rem;
    background-attachment: scroll;
  }

  .hero img {
    max-width: 200px;
  }

  .hero h1 {
    font-size: 1.9rem;
    padding: 0.6rem 1rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0.6rem 1rem;
    margin: 4px 0;
  }

  .bloc {
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    padding: 0.3rem 0.5rem;
    gap: 0.2rem;
    overflow-x: auto;
    max-width: 95vw;
  }

  .bloc button {
    padding: 0.4rem 0.6rem;
    font-size: 0.8rem;
    flex-shrink: 0;
  }

  .bloc::-webkit-scrollbar {
    display: none;
  }

  main,
  .intro {
    padding: 2rem 1rem;
  }

  .affiches {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .affiche img {
    height: 180px;
  }

  .grid-activites {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .grid-activites .item img {
    height: 250px;
  }

  .grid-activites .item h2 {
    font-size: 1.2rem;
  }

  .quote {
    font-size: 1rem;
  }
}
