/* fonts */
@import url("https://fonts.googleapis.com/css2?family=Metamorphous&amp;family=Tilt+Neon&amp;display=swap");

@font-face {
  font-family: "Playfair Display";
  src: url(../fonts/playfair/PlayfairDisplay-SemiBold.ttf);
}
/* fonts */

/* universal */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary_font: "Playfair Display";
  --secondary_font: "Metamorphous";
  --primary_gradient: linear-gradient(
    180deg,
    #000 20.83%,
    rgba(0, 0, 0, 0.25) 100%
  );
  --primary_color: #d7a469;
  --black: #000000;
  --white: #ffffff;
}

/* universal */

/* Hero Start */

#hero {
  height: 60vh;
  background: url(../images/IMG_2538.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.hero_content_wrapper {
  height: 80vh;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero_content .hero_header {
  position: relative;
  font-family: var(--primary_font);
  font-size: 4em;
  color: var(--white);
  padding: 0 40px 10px;
  margin-bottom: 10px;
  border-bottom: 5px solid var(--primary_color);
}

.hero_content .hero_header::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 15px;
  height: 15px;
  background: var(--primary_color);
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.hero_content .hero_header::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--primary_color);
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
}

.hero_content .hero_sub_header {
  font-family: var(--primary_font);
  font-size: 1.8em;
  color: var(--white);
  letter-spacing: 1px;
  margin-top: 20px;
}

@media screen and (max-width: 990px) {
  .hero_content .hero_header {
    font-size: 1em;
  }

  .hero_content .hero_sub_header {
    font-size: 1.1em;
    margin-top: 15px;
  }
}

/* Hero End */

/* Gallery Start */

#gallery {
  padding: 40px 0;
}

.gallery_header h3 {
  font-family: var(--secondary_font);
  font-size: 1.4em;
  color: var(--black);
  text-align: center;
}

.gallery_header h1 {
  font-family: var(--primary_font);
  font-size: 3em;
  text-align: center;
  margin-top: 20px;
}

.gallery_header .header_shape {
  width: 230px;
  margin: 0 auto 20px;
}

.gallery_header .header_shape img {
  width: 100%;
}

.gallery_tab .tab_box {
  max-width: 600px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 20px auto;
}

.gallery_tab .tab_box {
  position: relative;
}

.gallery_tab .tab_box .tab_btn {
  border: none;
  outline: none;
  font-family: var(--primary_font);
  font-size: 1.6em;
  background: transparent;
  border-bottom: 3px solid transparent;
  padding: 0 5px;
  transition: 0.4s;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
}

.tab_line {
  position: absolute;
  top: 42px;
  left: 0;
  width: 54px;
  height: 2px;
  background-color: var(--primary_color);
  transition: 0.5s;
}

.tab_line::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background-color: #d7a469;
}

.tab_line::after {
  content: "";
  position: absolute;
  right: -8px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background-color: #d7a469;
}

.tab_content_box .tab_content {
  display: none;
  transition: 0.5s;
  -webkit-transition: 0.5s;
  -moz-transition: 0.5s;
  -ms-transition: 0.5s;
  -o-transition: 0.5s;
}

.tab_content_box .tab_content.active {
  display: block;
  animation: fade 1s 1;
  -webkit-animation: fade 1s 1;
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(30px);
    -webkit-transform: translateY(30px);
    -moz-transform: translateY(30px);
    -ms-transform: translateY(30px);
    -o-transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
  }
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}

.pagination a {
  display: inline-block;
  border: 2px solid var(--primary_color);
  padding: 10px 18px;
  font-family: var(--secondary_font);
  font-size: 1.1em;
  color: var(--black);
  text-decoration: none;
  font-weight: 500;
  border-radius: 5px;
  transition: 0.5s;
}

.pagination a.active,
.pagination a:hover {
  background-color: var(--primary_color);
  color: var(--white);
}

.gallery_cards {
  position: relative;
  border-radius: 10px 0;
  overflow: hidden;
  margin-top: 25px;
}

.gallery_cards img {
  width: 100%;
  border-radius: 10px 0;
}

.gallery_cards:hover .gallery_card_overlay {
  opacity: 1;
  user-select: all;
  pointer-events: all;
}

.gallery_card_overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.4);
  opacity: 0;
  user-select: none;
  pointer-events: none;
  transition: all 0.5s ease-in-out;
}

.gallery_card_btn {
  width: 60px;
  height: 60px;
  border: 2px solid var(--primary_color);
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.5s;
}

.gallery_card_btn a {
  text-decoration: none;
  color: var(--white);
}

.gallery_card_btn a i {
  text-decoration: none;
  color: var(--white);
}

.gallery_card_btn:hover {
  background-color: var(--primary_color);
  color: var(--white);
}

.gallery_card_btn a {
  text-decoration: none;
  color: var(--white);
  font-size: 1.8em;
}

/* Gallery Image Previewer */
.preview-box {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  background: #fff;
  max-width: 900px;
  width: 80%;
  margin: auto;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.2);
  z-index: 999999 !important;
  border-top: 5px solid var(--primary_color);
  border-bottom: 5px solid var(--primary_color);
  border-radius: 15px 0;
}
.preview-box.show {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
  transition: all 0.3s ease;
}
.preview-box .details {
  display: flex;
  align-items: center;
  padding: 12px 15px 12px 10px;
  justify-content: space-between;
}
.preview-box .details .title {
  display: flex;
  font-size: 18px;
  font-weight: 400;
}
.details .title p {
  margin: 0 5px;
}
.details .title p.current-img {
  font-weight: 500;
}
.details .icon {
  color: #007bff;
  font-size: 20px;
  cursor: pointer;
}
.preview-box .image-box {
  display: flex;
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: contain;
  position: relative;
}
.image-box .slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 50px;
  cursor: pointer;
  height: 50px;
  width: 60px;
  line-height: 50px;
  text-align: center;
  border-radius: 3px;
}
.slide.prev {
  left: -60px;
}
.slide.next {
  right: -60px;
}
.image-box img {
  width: 100%;
  border-radius: 0 0 3px 3px;
}
.shadow {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  display: none;
  background: rgba(0, 0, 0, 0.45);
  z-index: 99999 !important;
}

@media screen and (max-width: 990px) {
  .gallery_header h3 {
    font-size: 1.1em;
  }

  .gallery_header h1 {
    font-size: 2em;
    margin-top: 10px;
  }

  .gallery_header .header_shape {
    width: 180px;
    margin: 0 auto 0;
  }
}

@media screen and (max-width: 768px) {
  .gallery_tab .tab_box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 35px;
    row-gap: 15px;
    justify-content: center;
    margin: 20px auto 10px;
  }

  .tab_line {
    display: none;
  }

  .gallery_tab .tab_box .tab_btn {
    font-size: 1.5em;
  }

  .tab_box .tab_btn.active {
    position: relative;
    border-bottom: 3px solid var(--primary_color);
  }

  .tab_box .tab_btn.active::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 6px;
    height: 6px;
    background: var(--primary_color);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }

  .tab_box .tab_btn.active::after {
    content: "";
    position: absolute;
    bottom: -4px;
    right: 0;
    width: 6px;
    height: 6px;
    background: var(--primary_color);
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
  }

  .pagination {
    gap: 10px;
  }

  .pagination a {
    padding: 8px 15px;
    font-size: 1em;
  }
}

@media screen and (max-width: 575px) {
  .preview-box {
    width: 100%;
  }

  .slide.prev {
    left: 0px;
  }
  .slide.next {
    right: 0px;
  }
}

/* Gallery End */
