@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

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

/* body {
  background-color: #202948;
  font-family: "Poppins", sans-serif;
} */

.gallery {
  width: 100%;
  position: relative;
  min-height: 31.25rem;
  height: 100vh;
}

.gallery .content {
  position: absolute;
  z-index: 2;
  left: 4rem;
  top: 50%;
  transform: translateY(-50%);
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.175rem;
}

.gallery .content span {
  font-size: clamp(1.85rem, 1.7053rem + 0.5447vw, 2.25rem);
  font-weight: 300;
  display: block;
  margin-bottom: -0.625rem;
}

.gallery .content h1 {
  font-size: clamp(3.5rem, 1.8723rem + 6.1277vw, 8rem);
  font-weight: 400;
  margin-inline: -0.313rem;
}

.gallery .content p {
  font-size: clamp(1.2rem, 1.0191rem + 0.6809vw, 1.7rem);
  margin-top: -0.313rem;
}

.gallery .content hr {
  display: block;
  width: 3rem;
  border: none;
  height: 0.125rem;
  background: #fff;
  margin-top: 0.938rem;
  margin-inline: 0.313rem;
}

.gallery footer {
  position: absolute;
  z-index: 50;
  left: 2rem;
  bottom: 1rem;
  transform: translateY(-50%);
}

.gallery footer ul {
  list-style: none;
  display: flex;
  gap: 1.563rem;
}

.gallery footer ul li {
  text-transform: uppercase;
  color: #1aad8a;
  letter-spacing: 0.1rem;
  font-weight: 600;
  font-size: 1.75rem;
}

.gallery footer ul li span {
  font-size: 0.8rem;
  opacity: 0.4;
  color: #fff;
  font-weight: 400;
  display: inline-block;
  margin-right: 0.5rem;
}

.gallery-slider {
  width: 100%;
  height: 100%;
}

.gallery-slider .swiper-slide {
  width: auto;
  height: 100%;
  position: relative;
}

.gallery-slider .swiper-slide::after {
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.35) 100%);
  pointer-events: none;
  z-index: 1;
}

.gallery-slider .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  position: relative;
  z-index: 0;
}

.gallery .swiper-pagination {
  position: relative;
  bottom: -0.313rem;
  text-align: left;
}

.gallery .swiper-pagination-bullet {
  border-radius: 0;
  width: 1.125rem;
  height: 0.25rem;
  background: #fff;
}

.gallery .swiper-pagination-bullet-active {
  background: #fff;
}

.gallery .more {
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  opacity: 0.3;
  font-size: 0.8rem;
  transform: translateY(-0.938rem);
  position: absolute;
  z-index: 10;
  right: 1.875rem;
  letter-spacing: 0.1rem;
  display: none;
}

@media screen and (min-width: 600px) {
  .gallery .more {
    display: inline-block;
  }
}

.gallery-thumbs {
  width: 14.375rem;
  padding: 0;
  overflow: hidden;
  position: absolute;
  bottom: 8rem;
  right: 0;
  z-index: 100;
  background: none;
  border: none;
  display: flex;
  align-items: center;
}

@media screen and (min-width: 600px) {
  .gallery-thumbs {
    width: 25rem;
  }
}

.gallery-thumbs .swiper-wrapper {
  display: flex;
  align-items: center;
}

.gallery-thumbs .swiper-slide {
  width: 6.25rem;
  height: 6.25rem;
  text-align: center;
  overflow: hidden;
  opacity: 0.5;
  transition: opacity 0.3s;
  cursor: pointer;
  border-radius: 0.25rem;
  margin-right: 0.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.gallery-thumbs .swiper-slide:last-child {
  margin-right: 0;
}

.gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
  box-shadow: 0 4px 16px rgba(0,0,0,0.16);
}

.gallery-thumbs .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.25rem;
}

@media screen and (max-width: 62.188rem) and (max-height: 43.75rem) {
  .gallery .content {
    top: 30% !important;
    transform: translateY(-30%);
  }
}
