@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600&family=Playfair+Display:wght@400;500&display=swap");

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

body {
  min-height: 100vh;
  background: #f8f4ef;
  color: #171717;
}

body {
  font-family: "Montserrat", sans-serif;
  font-weight: 400;
}

button,
input,
textarea,
select {
  font: inherit;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: 48px;
  font-weight: 400;
  letter-spacing: 3px;
}

@media (max-width: 700px) {
  h1 {
    font-size: 38px;
  }
}

/* =========================
   IMAGE SLIDER
========================= */

.image-slider {
  position: relative;
  width: min(760px, 92vw);
}

.slider-track {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(23, 23, 23, 0.12);
  background: #efe6dc;
  line-height: 0;
  height: 520px;
}

.slide {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide.active {
  display: block;
  animation: fadeIn 0.45s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  color: #171717;
  font-size: 26px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateY(-50%) scale(1.05);
}

.slider-btn.prev {
  left: 18px;
}

.slider-btn.next {
  right: 18px;
}

@media (max-width: 700px) {
  .image-slider {
    width: 100%;
  }
  .slider-track {
    height: 280px;
  }
  .slider-btn {
    width: 36px;
    height: 36px;
    font-size: 20px;
  }
  .slider-btn.prev {
    left: 10px;
  }
  .slider-btn.next {
    right: 10px;
  }
  .slider-track {
    border-radius: 16px;
  }
}
