/* Les Jardins de la Hantelle - reproduction 1:1 du Google Sites */

:root {
  --bg: #ffffff;
  --topbar-bg: #f8f9fa;
  --topbar-border: #dadce0;
  --text: #202124;
  --instagram-bg: #4d4d4d;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
}

/* --- Main title banner --- */
.title-section {
  text-align: center;
  padding: 48px 16px 24px;
}
.title-banner {
  max-width: 90%;
  height: auto;
  max-height: 60px;
}

/* --- Carousel --- */
.carousel {
  position: relative;
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 16px;
}
.carousel-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #f0f0f0;
  border-radius: 4px;
}
.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 600ms ease-in-out;
}
.carousel-slide.active {
  opacity: 1;
  z-index: 1;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 200ms;
}
.carousel-btn:hover { background: rgba(0, 0, 0, 0.6); }
.carousel-btn.prev { left: 24px; }
.carousel-btn.next { right: 24px; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: #d0d0d0;
  cursor: pointer;
  padding: 0;
  transition: background 200ms;
}
.dot.active { background: #5f6368; }
.dot:hover  { background: #909090; }

/* --- Social section (Instagram) --- */
.social {
  text-align: center;
  padding: 32px 16px 64px;
}
.instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--instagram-bg);
  border-radius: 50%;
  text-decoration: none;
  transition: transform 200ms, background 200ms;
}
.instagram-btn:hover {
  background: #2e2e2e;
  transform: scale(1.05);
}
.instagram-btn img {
  width: 28px;
  height: 28px;
}

/* --- Responsive --- */
@media (max-width: 600px) {
  .title-section { padding: 32px 16px 16px; }
  .title-banner { max-height: 40px; }
  .carousel-btn { width: 32px; height: 32px; font-size: 18px; }
  .carousel-btn.prev { left: 12px; }
  .carousel-btn.next { right: 12px; }
}
