.gallery-page {
  background-color: var(--grey-black);
  padding-top: 84px;
}

@media (max-width: 992px) {
  .gallery-page {
    padding-top: 70px;
  }
}

/* HERO SECTION */
/* ============================================= */

.gallery-page .hero-section {
  position: relative;
}

.gallery-page .hero-section img {
  width: 100%;
  height: auto;
  min-height: 500px;
  aspect-ratio: 1.78;
  object-fit: cover;
  filter: brightness(0.8);
}

.gallery-page .hero-section .heading-wrapper {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 1.5rem;
}

/* ============================================= */

/* LIST SECTION */
/* ============================================= */

.gallery-page .list-section {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin: 8rem 0;
  align-items: center;
  padding: 0 0.75rem;
}

.gallery-page .list-section .listing {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.gallery-page .list-section .card {
  width: calc(50% - 1rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-page .list-section .card.hidden {
  display: none !important;
}

.gallery-page .list-section .card img {
  max-width: 50%;
  margin: auto;
  object-fit: cover;
}

.gallery-page .list-section .info {
  display: flex;
  flex-direction: column;
}

.gallery-page .list-section .btn-wrapper {
  width: 100%;
}

.gallery-page .list-section .btn {
  margin-left: auto;
  display: block;
}

@media (max-width: 768px) {
  .gallery-page .list-section {
    gap: 2rem;
    margin: 3rem 0;
  }
}
@media (max-width: 576px) {
  .gallery-page .list-section .card {
    width: 100%;
  }

  .gallery-page .list-section .card img {
    min-width: 280px;
  }
}

/* ============================================= */

/* BANNER SECTION */
/* ============================================= */
.gallery-page .banner-section img {
  width: 100%;
  min-height: 200px;
  object-fit: cover;
  object-position: center center;
  aspect-ratio: 2.5;
  height: auto;
  padding: 4rem 0;
}

@media (max-width: 768px) {
  .gallery-page .banner-section img {
    padding: 2rem 0;
  }
}

/* ============================================= */

/* CRAFT SECTION */
/* ============================================= */

.gallery-page .craft-section {
  padding: 4rem 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
  row-gap: 2rem;
}

.gallery-page .craft-section .info {
  max-width: 850px;
  display: flex;
  gap: 2rem;
  width: calc(100% - 1.5rem);
  padding: 0 0.75rem;
}

.gallery-page .craft-section img {
  aspect-ratio: 1;
  height: auto;
  object-fit: cover;
}

.gallery-page .craft-section .primary {
  width: calc(100% / 3 * 2);
}

.gallery-page .craft-section .column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  width: calc(100% / 3);
}

.gallery-page .craft-section .secondary {
  width: 100%;
}

.gallery-page .craft-section .btn-wrapper {
  padding: 0 0.75rem;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .gallery-page .craft-section {
    padding: 2rem 0;
  }

  .gallery-page .craft-section .info {
    gap: 1rem;
  }
}

@media (max-width: 576px) {
  .gallery-page .craft-section {
    row-gap: 1rem;
  }
  
  .gallery-page .craft-section .primary {
    width: 100%;
  }

  .gallery-page .craft-section .secondary {
    width: 50%;
  }

  .gallery-page .craft-section .info {
    flex-direction: column;
  }

  .gallery-page .craft-section .column {
    flex-direction: row-reverse;
    justify-content: flex-end;
    width: 100%;
  }
}

/* ============================================= */

/* GALLERY SECTION */
/* ============================================= */

.gallery-page .gallery-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin: 4rem 0;
  align-items: center;
  padding: 0 0.75rem;
}

.gallery-page .gallery-section img {
  width: 100%;
  aspect-ratio: 2.73;
  min-height: 200px;
  object-fit: cover;
  object-position: center center;
  height: auto;
}

/* ============================================= */

/* SLIDER SECTION */
/* ============================================= */

.gallery-page #slider img {
  max-height: 80vh;
  min-height: 400px;
  object-fit: cover;
  object-position: center center;
  margin: auto;
  max-width: 100%;
}

.gallery-page .slick-slide {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.gallery-page #slider .slick-track {
  display: flex;
  align-items: center;
}

.gallery-page #slider .slick-slide img {
  transform: scale(0.2);
  transition: 0.6s;
}

.gallery-page #slider .slick-slide.slick-current img {
  transform: scale(1);
  transition: 0.6s;
}

/* ============================================= */

/* CONTACT SECTION */
/* ========================== */

.gallery-page .contact-section {
  display: flex;
  margin: 8rem 0;
  height: 510px;
  align-items: stretch;
}

.gallery-page .contact-section .overview {
  background-color: var(--primary-red);
  padding: 6.5rem 3rem;
  width: calc(100% / 3);
  height: auto;
  text-align: right;
}

.gallery-page .contact-section #contact-slider {
  height: 100%;
}

.gallery-page .contact-section .info-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.gallery-page .contact-section .info-wrapper {
  display: flex;
  flex-direction: column;
}

.gallery-page .contact-section .card {
  padding: 2rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  height: 360px;
  margin: 0.25rem;
}

.gallery-page .contact-section img {
    width: 240px;
}

.gallery-page .contact-section .card.first {
  background-color: var(--grey-white);
}

.gallery-page .contact-section .card.second {
  background-color: var(--primary-red);
  color: var(--grey-white);
}

.gallery-page .contact-section .card.third {
  background-color: var(--grey-black);
  color: var(--grey-white);
}

.gallery-page .contact-section .card.second p,
.gallery-page .contact-section .card.third p {
  color: var(--grey-white);
}

.gallery-page .contact-section .slick-list {
  height: 100%;
}

.gallery-page .contact-section .slick-slide {
  transform: scale(0.9);
  transition: 0.3s;
}

.gallery-page .contact-section .slick-slide.slick-current {
  transform: scale(1);
  transition: 0.3s;
}

.gallery-page .contact-section .slick-track {
  height: 100%;
  display: flex;
  align-items: center;
}

.gallery-page .contact-section .social-wrapper {
  display: flex;
  gap: 0.5rem;
}

.gallery-page .contact-section .social-wrapper a {
  width: 2.75rem;
  height: 2.75rem;
  display: block;
}

.gallery-page .contact-section .social-wrapper img {
  width: 100%;
}

@media (max-width: 768px) {
  .gallery-page .contact-section {
    flex-direction: column-reverse;
    height: unset;
    margin: 3rem 0;
  }

  .gallery-page .contact-section .card {
    height: unset;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .gallery-page .contact-section .social-wrapper {
    justify-content: center;
  }

  .gallery-page .contact-section .slick-track {
    padding: 2rem 0;
  }

  .gallery-page .contact-section .overview {
    width: calc(100% - 3rem);
    text-align: center;
    padding: 4rem 1.5rem;
  }
}

/* ============================================= */

/* END SECTION */
/* ============================================= */

.gallery-page .end-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  padding-bottom: 4rem;
  text-align: center;
}

.gallery-page .end-section .address-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 180px;
}

.gallery-page .end-section .line {
  width: 56px;
  height: 1px;
  background-color: var(--grey-white);
  margin: 1rem 0;
}
