/* ============================================================
   GALLERY.CSS — carousel (refined deco, smaller, stone palette)
   ============================================================ */

.gallery-section {
  max-width: 620px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.gallery-section h2 {
  font-family: var(--display, 'blakely', sans-serif);
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink, #2a2a26);
  margin-bottom: 1.25rem;
}
.gallery-section h2::after {
  content: "";
  display: block;
  width: 56px; height: 1px;
  margin: 0.6rem auto 0;
  background: var(--grey, #666);
}

/* ---- Carousel shell — smaller now ---- */
.carousel-container {
  position: relative;
  max-width: 440px;            /* was 640 — image was too big */
  margin: 0 auto;
  padding: 1.25rem 1.25rem 1rem;
  background: #faf9f4;
  border: 1px solid var(--line, #c7c4af);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.carousel-slide { display: none; }
.carousel-slide.active { display: block; animation: gb-fade 0.4s ease; }
@keyframes gb-fade { from { opacity: 0; } to { opacity: 1; } }

/* ---- Caption title: refined deco, NOT bold ---- */
.carousel-caption-top {
  font-family: var(--display, 'blakely', sans-serif);
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--ink, #2a2a26);
  margin-bottom: 0.85rem;
}

.carousel-caption-bottom {
  font-family: var(--body, 'Josefin Sans', sans-serif);
  font-weight: 300;
  max-width: 40ch;
  margin: 0.85rem auto 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--muted, #5e5d54);
}

/* ---- Image ---- */
.carousel-image-wrapper {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 6px; overflow: hidden;
}
.carousel-image-wrapper img { width: 100%; height: 100%; object-fit: contain; }

/* ---- Arrows ---- */
.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: flex; align-items: center; justify-content: center;
  width: 2.3rem; height: 2.3rem;
  border: none; border-radius: 50%;
  background: var(--grey, #666); color: #fff;
  font-size: 1.1rem; line-height: 1; cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: opacity 0.2s ease;
}
.carousel-btn:hover { opacity: 0.85; }
.carousel-btn.prev { left: -1.1rem; }
.carousel-btn.next { right: -1.1rem; }

/* ---- Dots ---- */
.carousel-dots { display: flex; justify-content: center; gap: 0.45rem; margin-top: 1.1rem; }
.carousel-dots button {
  width: 0.6rem; height: 0.6rem; padding: 0; border: none; border-radius: 50%;
  background: #ccc; cursor: pointer; transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dots button:hover { transform: scale(1.15); }
.carousel-dots button.active { background: var(--grey, #666); }

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .carousel-container { max-width: 100%; padding: 1rem; }
  .carousel-btn { width: 2rem; height: 2rem; font-size: 1rem; }
  .carousel-btn.prev { left: 0.4rem; }
  .carousel-btn.next { right: 0.4rem; }
}
