@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,600;0,700;1,400&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --brown: #3b2a1a;
  --orange: #c8682a;
  --cream: #f5f0e8;
  --light: #ffffff;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--light);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* HEADER */
header {
  background: var(--brown);
  color: var(--light);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

header h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
}

.tagline {
  margin-top: 0.4rem;
  font-style: italic;
  color: #c8a87a;
  font-size: 1rem;
}

/* CAROUSEL SECTION */
.carousel-section {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
}

.carousel {
  position: relative;
  width: 100%;
  max-width: 900px;
}

.carousel-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.carousel-track {
  position: absolute;
  inset: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #1a1008;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

/* SLIDES */
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.placeholder {
  width: 100%;
  height: 100%;
  background: #2e1f0f;
  display: flex;
  align-items: center;
  justify-content: center;
}

.placeholder span {
  color: #7a6045;
  font-style: italic;
  font-size: 1rem;
}

/* ARROWS */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(59, 42, 26, 0.75);
  color: var(--light);
  border: none;
  padding: 0;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10;
}

.arrow svg {
  width: 1.4rem;
  height: 1.4rem;
}

.arrow:hover {
  background: var(--orange);
}

.prev {
  left: 0.75rem;
}

.next {
  right: 0.75rem;
}

/* DOTS */
.dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.2rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #b0956e;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.dot.active {
  background: var(--orange);
  transform: scale(1.3);
}

/* FOOTER */
footer {
  background: var(--brown);
  color: #a08060;
  text-align: center;
  padding: 1.2rem;
  font-size: 0.82rem;
}

/* RESPONSIVE: shrink arrows on small screens */
@media (max-width: 600px) {
  .arrow {
    width: 2.2rem;
    height: 2.2rem;
  }

  .arrow svg {
    width: 1.1rem;
    height: 1.1rem;
  }
}