@import url('https://fonts.googleapis.com/css2?family=Marcellus&display=swap');

:root {
  --text-white: #fff;
  --text-black: #000;
  --text-body: #7A7A7A;
  --text-body-bold: #1A1A1A;
  --text-accent: #A66F17;
  --primary-strong: #D49A17;
  --primary-2: #D49917;
  --primary: #F1C978;
  --text-heading: #5E0826;
  --bg-card: #FDF3E0;
  --fz-14: 14px;
  --fz-15: 15px;
  --fz-16: 16px;
  --fz-18: 18px;
  --fz-20: 20px;
  --fz-24: 24px;
  --fz-26: 26px;
  --fz-36: 36px;
  --fz-40: 40px;
  --fz-48: 48px;
  --fz-75: 75px;
  --marcellus-font: "Marcellus", sans-serif;
  --img-width: 760px;
  --img-height-on-mobile: 280px;
  --button-width: 48px;
  --gap-between-img-and-btn: 24px;
  --lightbox-gap-x: 24px;
  --lightbox-gap-y: 36px;
}

html {
  scroll-behaviour: smooth;
}

/* Lightbox for Call Now */

.popup-phone {
  aspect-ratio: 1;
  max-width: 36px;
}

.popup-phone-wrapper {
  margin-bottom: 24px !important;
}

.popup-phone-wrapper>div {
  width: 80px;
  aspect-ratio: 1;
  margin: 0 auto !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.popup-phone .overlay {
  z-index: 0;
}

.popup-phone img {
  position: relative;
  z-index: 1;
}

.popup-title>h2 {
  font-family: var(--marcellus-font);
  font-weight: 400;
  font-size: clamp(24px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: 0;
  color: var(--text-heading);
  margin-bottom: 40px;
}

.popup-icon {
  width: 32px !important;
}

.popup-iconcol {
  max-width: fit-content !important;
}

.popup-textcol {
  flex: 1;
  max-width: 100% !important;
}

.popup-text>p {
  font-weight: 500;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.6;
  letter-spacing: 0;
  color: var(--text-body);
  margin-bottom: 0;
}

.popup-row {
  gap: 12px;
  flex-flow: unset !important;
  align-items: center;
}

.popup-info>div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.popup-info-wrapper {
  margin-bottom: 40px;
}

.popup-btn-notnow,
.popup-btn-callnow {
  border: 1.5px solid var(--primary-2) !important;
  width: 100%;
  padding: 15px 1em !important;
  margin: 0 !important;
  line-height: normal !important;
  transition: all 0.3s ease;
}

.popup-btn-notnow:hover {
  background-color: var(--bg-card) !important;
}

.popup-btn-callnow {
  border: 1.5px solid var(--primary) !important;
}

.popup-btn-callnow i {
  min-height: 24px;
}

.popup-btn-notnow span,
.popup-btn-callnow span {
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5 !important;
  letter-spacing: 0.4px;
  color: var(--text-accent);
}

.popup-btn-callnow span {
  color: var(--text-white);
}

.popup-cta {
  gap: 12px;
  flex-flow: unset !important;
}

.popup-close-icon {
  max-width: 40px;
}

.popup-close-icon:hover {
  cursor: pointer;
}

/* Gallery */

.row-xsmall>.col {
  padding: 0 5px 10px !important;
}

.gallery-text-wrapper,
.gallery-list-wrapper {
  padding-bottom: 0 !important;
}

.gallery-list.row-grid {
  height: auto !important;
  display: grid !important;
  gap: 24px !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.gallery-list.row-grid>.col {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 282/240 !important;
  max-width: 100% !important;
  max-height: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.gallery-list .col-inner,
.gallery-list .box,
.gallery-list .box-image,
.gallery-list img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.gallery-list .box,
.gallery-list .box-image,
.gallery-list .col-inner,
.gallery-list a {
  height: 100% !important;
  max-height: none !important;
  min-height: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.gallery-list .box-image::before,
.gallery-list .box::before {
  display: none !important;
}

.gallery-list .box-image,
.gallery-list img {
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
  display: block !important;
}

.gallery-box {
  border-radius: 8px;
  overflow: hidden;
}

.gallery-list.row-grid::after {
  display: none;
}

.gallery-col:hover {
  cursor: pointer;
}

/* Parallax effect */
.fixed-bg-section {
  clip-path: inset(0 0 0 0);
  position: relative;
}

.fixed-bg-section .section-bg img.bg {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  object-fit: cover !important;
  z-index: 1 !important;
}

.fixed-bg-section .section-bg-overlay {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 2 !important;
}

.fixed-bg-section .section-content {
  position: relative !important;
  z-index: 3 !important;
}

.flickity-button,
.flickity-page-dots {
  display: none;
}

.flickity-viewport {
  overflow: visible;
}

.icon-angle-up {
  color: var(--text-accent);
}

.back-to-top {
  border-color: var(--primary) !important;
}

.back-to-top:hover {
  background-color: var(--primary) !important;
}

.back-to-top:hover .icon-angle-up {
  color: var(--text-white);
}

/* Fancybox */
.row:after {
  display: none !important;
}

.fancybox__dialog {
  width: 100dvw !important;
}

.f-button {
  width: 48px;
  height: 48px;
}

.f-button.is-next svg,
.f-button.is-prev svg {
  display: none !important;
}

.f-button.is-next::before,
.f-nav-mobile-wrapper>.f-button.is-next::before {
  background-image: url('../../img/arrow-right.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
  content: "";
}

.f-button.is-prev::before,
.f-nav-mobile-wrapper>.f-button.is-prev::before {
  background-image: url('../../img/arrow-left.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 24px;
  height: 24px;
  display: block;
  content: "";
}

.fancybox__carousel>.f-button.is-arrow:before {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.gallery-box .box-text {
  display: none;
}

.f-caption {
  text-align: center;
  padding: 24px 15px;
  max-width: 670px;
}

.f-caption-main {
  font-family: var(--marcellus-font);
  font-weight: 400;
  font-size: clamp(24px, 2.23vw, 32px);
  line-height: 1.1875;
  letter-spacing: 0;
  color: var(--text-white);
}

.f-caption-sub {
  font-weight: 400;
  font-size: clamp(14px, 1.12vw, 16px);
  line-height: 1.47;
  letter-spacing: 0;
  color: #FFFFFFB3;
  margin-top: 12px;
}

.f-nav-mobile-wrapper>.f-button.is-arrow.is-prev,
.f-nav-mobile-wrapper>.f-button.is-arrow.is-next {
  position: unset;
  transform: unset;
}

.f-nav-mobile-wrapper {
  display: flex;
  gap: 24px;
  min-height: 40px;
}

.f-panzoom__wrapper {
  border-radius: 16px;
  overflow: hidden;
}

.f-button.is-prev {
  left: max(20px, calc(50% - calc(var(--img-width) / 2) - var(--button-width) - var(--gap-between-img-and-btn))) !important;
}

.f-button.is-next {
  right: max(20px, calc(50% - calc(var(--img-width) / 2) - var(--button-width) - var(--gap-between-img-and-btn))) !important;
}

.f-panzoom__wrapper {
  max-width: unset !important;
  max-height: unset !important;
  width: 760px !important;
  aspect-ratio: 760/570 !important;
}

.mfp-container {
  position: fixed !important;
}

ul li,
ol li {
  list-style: none;
}

body p {
  margin-bottom: 0px;
  font-size: var(--fz-16);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-white);
}

body a {
  color: var(--text-white);
}

@media screen and (min-width: 1025px) {
  .gallery-list.row-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    justify-content: center;
  }

  .mfp-close {
    display: none;
  }
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  :root {
    --img-width: 560px;
  }

  .f-panzoom__wrapper {
    width: 560px !important;
    aspect-ratio: 560/420 !important;
  }

  .section {
    padding: 72px 0px !important;
  }

  .f-caption-main {
    font-size: clamp(24px, 3.4vw, 28px);
    line-height: 1.22;
  }

  .f-caption-sub {
    font-size: clamp(14px, 1.8vw, 15px);
    margin-top: 8px;
  }

  .gallery-list.row-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
}

@media (max-width: 767px) {
  :root {
    --button-width: 40px;
  }

  .popup-phone-wrapper {
    margin-bottom: 16px !important;
  }

  .popup-row {
    gap: 8px;
  }

  .popup-info>div {
    gap: 8px;
  }

  .popup-title>h2 {
    line-height: 1.33;
  }

  .popup-text>p {
    line-height: 1.5;
  }

  .mfp-container:has(.lightbox-content) .mfp-close {
    display: none !important;
  }

  .mfp-close {
    display: none;
  }

  .mfp-container {
    padding: 30px 24px !important;
  }

  .f-panzoom__wrapper {
    aspect-ratio: 350/280 !important;
    max-width: 350px !important;
    width: calc(100% - 30px) !important;
  }

  .f-button.is-prev {
    left: calc(50% - var(--button-width) - var(--lightbox-gap-x)/2) !important;
  }

  .f-button.is-next {
    right: calc(50% - var(--button-width) - var(--lightbox-gap-x)/2) !important;
  }

  .section {
    padding: 56px 0px !important;
  }

  .f-button {
    width: 40px;
    height: 40px;
  }

  .f-caption {
    padding: 0 15px;
  }

  .f-caption-main {
    line-height: 1.25;
  }

  .f-caption-sub {
    line-height: 1.43;
    margin-top: 4px;
  }

  .fancybox__slide {
    gap: 72px;
  }

  .f-panzoom__wrapper {
    border-radius: 12px;
  }

  .gallery-list.row-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .gallery-list.row-grid>.col {
    aspect-ratio: 1 !important;
  }

}