/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
}

body {
  padding: 0 !important;
  background: #fff;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

/* ================= HERO ================= */
.hero {
  position: relative;
  height: 140vh;
  overflow: hidden;
  background: url("../images/Rectangle 30.png") no-repeat center / cover;
}

/* ================= CENTER DOTS ================= */
.hero-text {
  position: absolute;
  inset: 0;
  z-index: 5;
  flex-direction: column;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.dots {
  display: flex;
  gap: 10px;
}

.dots span {
  width: 8px;
  height: 8px;
  background: #ddd;
  border-radius: 50%;
}

.dots span.active {
  background: #c28b00;
}

/* ================= IMAGE STRIP ================= */
.image-strip {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 0 40px;
}

/* TOP STRIP */
.image-strip.top {
  bottom: 197px;
  z-index: 2;
}

/* BOTTOM STRIP */
.image-strip.bottom {
  bottom: -140px;
  /* opacity: 0.35; */
}

/* ================= IMAGE CARD ================= */
.pin {
  width: 220px;
  height: 320px;
  border-radius: 26px;
  overflow: hidden;
  background: #eee;
}

/* STAGGER EFFECT */
.pin:nth-child(1) {
  transform: translateY(-222px);
}
.pin:nth-child(2) {
  transform: translateY(-150px);
}
.pin:nth-child(3) {
  transform: translateY(30px);
}
.pin:nth-child(4) {
  transform: translateY(30px);
}
.pin:nth-child(5) {
  transform: translateY(-150px);
}
.pin:nth-child(6) {
  transform: translateY(-222px);
}

.pin img {
  max-width: 500px;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;

  transform: translateX(0);
}

/* ================= FADE ================= */
.fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 300px;
  background: linear-gradient(
    to top,
    rgb(247, 208, 208),
    rgba(237, 163, 163, 0)
  );

  z-index: 3;
}

/* ================= HEADING ANIMATION ================= */
.hero-text {
  margin-bottom: 400px;
}
.hero-text h3 {
  font-size: 48px;
  font-weight: 700;
  letter-spacing: 2px;
  color: #ed1c24;
  opacity: 0;
  transform: translateY(20px);
  animation: headingIn 3s ease-in-out infinite;
  margin-bottom: 60px;
}

.hero-text button {
  /* margin-bottom: 200px; */
}

/* Text animation */
@keyframes headingIn {
  0% {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  25% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
  60% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(-30px);
    filter: blur(6px);
  }
}

/* ================= VIEW GALLERY BUTTON (NO HTML CHANGE) ================= */

/* ================= VIEW GALLERY BUTTON ================= */
.view-gallery-btn {
  /* margin-top: 18px; */
  padding: 12px 34px;
  border-radius: 40px;
  border: none;
  background: #ed1c24;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 6;
}

/* simple hover (no animation) */
.view-gallery-btn:hover {
  background: #c5141b;
  padding: 12px 40px;
}

/* ================= RESPONSIVE FIX (NO CONTENT / STRUCTURE CHANGE) ================= */
/* ================= MOBILE IMAGE VISIBILITY FIX ================= */

@media (max-width: 1024px) {
  /* Show image strip again */
  .image-strip {
    display: flex;
    position: relative;
    bottom: auto;
    margin-top: 40px;
    padding: 0 20px;
    overflow-x: auto;
    gap: 16px;
    justify-content: flex-start;
    flex-direction: column;
  }

  /* Hide bottom strip (keep only one row) */
  .image-strip.bottom {
    display: none;
  }

  /* Reset stagger effect */
  .pin {
    transform: translateY(0) !important;
    flex-shrink: 0;
    width: 180px;
    height: 260px;
  }

  .pin img {
    max-width: 100%;
  }

  /* Hero height adjustment */
  .hero {
    height: auto;
    padding-bottom: 80px;
  }

  .hero-text {
    margin-bottom: 40px;
  }
}

/* ================= SMALL MOBILE ================= */
@media (max-width: 480px) {
  .pin {
    width: 150px;
    height: 220px;
  }
}
