@font-face {
  font-family: "GeneralSans";
  src: url("fonts/GeneralSans.ttf") format("truetype");
  font-display: swap;
}

:root {
}

body {
  scroll-behavior: smooth;
  font-family: GeneralSans !important;
}

/* banner slider */
.banner-slider-wrap {
  overflow: hidden;
  position: relative;
}

.banner-slider {
  display: flex;
  transition: transform 0.6s ease-in-out;
  will-change: transform;
}

.banner-slide {
  position: relative;
  flex: 0 0 100%;
}

.banner-slide img {
  display: block;
}

/* subtle scrim so the overlay text stays legible on any photo */
.banner-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.05) 35%,
    rgba(0, 0, 0, 0) 60%
  );
  pointer-events: none;
  z-index: 1;
}

/* banner text content, coded on top of the image */
.banner-content-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 7rem 1.5rem 2.5rem;
  pointer-events: none;
}

.banner-top-text {
  margin-bottom: 2.5rem;
}

.banner-title {
  font-size: 2.4dvw;
  font-weight: 400;
  letter-spacing: 12px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.banner-subtitle {
  font-size: 1.5dvw;
  font-weight: 200;
  letter-spacing: 2px;
}

/* "codename paradise" logo, sits roughly mid-banner */
.banner-logo-box {
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-logo-img {
  width: 100%;
  max-width: 420px;
  height: auto;
}

/* bottom info bar: vilament type / price / location / CTA */
.banner-bottom-bar {
  width: auto;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  position: relative;
  top: -5dvh;
}

.banner-info-row {
  display: flex;
  align-items: center;
  gap: 5dvw;
  flex: 1;
  justify-content: flex-start;
  text-align: left;
}

.banner-info-item {
  font-size: 1.5dvw;
  font-weight: 400;
  line-height: 1.35;
  white-space: nowrap;
}

.banner-info-label {
  display: block;
  font-size: 0.85dvw;
  opacity: 0.85;
}

.banner-info-value {
  display: block;
  font-size: 1.5dvw;
}

.banner-info-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
}

.banner-precook-btn {
  pointer-events: auto;
  background: #fff;
  color: #000;
  text-decoration: none;
  font-size: 0.9dvw;
  letter-spacing: 2px;
  font-weight: 500;
  padding: 0.9rem 2rem;
  white-space: nowrap;
  flex-shrink: 0;
  text-align: center;
  transition: background 0.2s ease;
}

.banner-precook-btn:hover {
  background: #eee;
  color: #000;
}

@media (max-width: 768px) {
  .banner-content-overlay {
    padding: 4.5rem 1.25rem 2.5rem;
  }

  .banner-top-text {
    margin-bottom: 1.5rem;
  }

  .banner-title {
    font-size: 6dvw;
    letter-spacing: 0.8dvw;
  }

  .banner-subtitle {
    font-size: 4dvw;
  }

  .banner-logo-img {
    max-width: 240px;
  }

  .banner-bottom-bar {
    flex-direction: column;
    gap: 1.2rem;
  }

  .banner-info-row {
    width: 100%;
    justify-content: space-between;
    gap: 2dvw;
  }

  .banner-info-item {
    font-size: 3.2dvw;
    white-space: normal;
  }

  .banner-info-label {
    font-size: 2.6dvw;
  }

  .banner-info-value {
    font-size: 3.2dvw;
  }

  .banner-info-divider {
    height: 26px;
  }

  .banner-precook-btn {
    width: 100%;
    font-size: 3.4dvw;
    padding: 0.85rem 1rem;
  }
}

/* cta floating button */
#btn-cta {
  padding: 0px 0px 0px 0px;
  text-align: center;
  margin: 0px;
  width: 200px;
  height: 40px;
  margin-top: 200px;
  background: #000;
  z-index: 15;
  border-radius: 0px;
  -moz-transform: rotate(-90deg);
  -ms-transform: rotate(-90deg);
  -o-transform: rotate(-90deg);
  -webkit-transform: rotate(-90deg);
  transform-origin: bottom right;
  position: fixed;
  right: 0px;
  cursor: pointer;
}

#btn-cta p {
  color: #fff;
  display: inline-block;
  line-height: 40px;
}

/* fonts */
.heading {
  font-size: 2dvw;
  font-weight: 400;
}
.content {
  font-size: 1.1dvw;
  line-height: 1.4dvw;
  font-weight: 400;
}
.content-alt {
  font-size: 1.2dvw;
  line-height: 1.4dvw;
  font-weight: 400;
}

/* popup form */
/* callus modal */
.callus-modal {
  border-radius: 16px;
  position: relative;
  padding-bottom: 8px;
}

.callus-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 5;
}

.modal-backdrop.show {
  opacity: 0.5;
  background-color: #000;
}

/* overview form */
.site-visit-card {
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
  padding: 2.5rem 2.2rem;
}

.icon-input {
  display: flex;
  align-items: center;
  border: 1px solid #dcdcdc;
  border-radius: 4px;
  padding: 0 1rem;
  background: #fff;
  transition: border-color 0.3s ease;
}

.icon-input:focus-within {
  border-color: #000;
}

.icon-input-icon {
  color: #000;
  font-size: 0.95rem;
  margin-right: 0.9rem;
  display: flex;
  align-items: center;
  width: 18px;
  justify-content: center;
}

.icon-input .lead-input {
  border: none;
  padding: 0.6rem 0;
  width: 100%;
}

.icon-input .lead-input:focus {
  outline: none;
  border-color: #00000070;
  box-shadow: none;
}

.site-visit-submit {
  background: #000;
  color: #fff;
  letter-spacing: 3px;
  border: none;
  padding-block: 0.8rem;
  border-radius: 3px;
  font-size: 0.85rem;
}

.site-visit-submit:hover {
  background: #222;
  color: #fff;
}

.img-border {
  border-radius: 8px;
  transition: transform 0.3s ease-in-out;
}
.img-border:hover {
  transform: scale(1.02);
}

.sub-heading {
  font-size: 1.2dvw;
  font-weight: 600;
}

/* amenities expand/collapse */
.amenity-extra-wrap {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.2s ease;
}

.amenity-extra-wrap.expanded {
  opacity: 1;
}

/* gallery */
.custom-gallery {
  padding: 20px 4px;
  font-family: "General-sans", sans-serif;
}

/* Added Wrapper to contain absolute elements */
.gallery-wrapper {
  position: relative;
}

/* Slider Layout */
.gallery-slider-wrap {
  overflow: hidden;
}

.gallery-slider {
  display: flex;
  gap: 4px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Individual Slides */
.gallery-slide {
  flex: 0 0 calc((100% - 8px) / 4);
  aspect-ratio: 1;
  overflow: hidden;
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  display: block;
  transition:
    transform 0.5s,
    filter 0.4s;
  filter: saturate(0.88);
}

.gallery-slide:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

/* Floating Circular Navigation Controls */
.custom-gallery .gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%; /* Makes the buttons circular */
  background: #ffffff;
  border: 1px solid #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px; /* Slightly larger text for the chevron */
  font-weight: 300;
  color: #333;
  transition: all 0.25s ease;
  z-index: 10;
}

.gallery-btn:hover {
  background: #f8f8f8;
  border-color: #ddd;
  color: #000;
}

/* Positioning buttons to overlap the edges exactly halfway */
#galleryPrev {
  left: -24px;
}

#galleryNext {
  right: -24px;
}

/* Counter Alignment */
.gallery-nav {
  display: flex;
  justify-content: center; /* Center the counter */
  margin-top: 20px;
}

.gallery-counter {
  font-size: 11px;
  color: #7a7068;
  letter-spacing: 0.12em;
}

/* Responsive adjustments for Mobile */
@media (max-width: 900px) {
  .custom-gallery {
    padding: 10px;
  }
  .gallery-slide {
    flex: 0 0 calc(85% - 4px);
  }

  /* Optionally tuck the buttons in slightly on small screens */
  #galleryPrev {
    left: 4px;
  }
  #galleryNext {
    right: 4px;
  }
}

/* location */
.location-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #eaeaea;
  background: transparent;
}

.location-accordion .accordion-item:last-child {
  border-bottom: none;
}

.location-accordion .accordion-header {
  margin: 0;
}

.location-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1.15rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 1.2dvw;
  font-weight: 400;
  color: #111;
}

.location-accordion .accordion-button::after {
  display: none; /* replaced with a custom chevron icon below */
}

.location-accordion .accordion-button:focus {
  box-shadow: none;
}

.location-accordion .accordion-item-icon {
  font-size: 1.2rem;
  color: #111;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.location-accordion .accordion-item-title {
  flex: 1;
  text-align: left;
}

.location-accordion .accordion-caret {
  font-size: 1.1rem;
  color: #111;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.location-accordion .accordion-button:not(.collapsed) .accordion-caret {
  transform: rotate(180deg);
}

.location-accordion .accordion-body {
  padding: 0 0 1.6rem 2.2rem;
}

.location-accordion .step-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.location-accordion .step-number {
  flex: 0 0 24px;
  height: 24px;
  border-radius: 50%;
  background: #000;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-accordion .step-title {
  font-size: 0.95rem;
  color: #111;
  line-height: 1.3;
}

.location-accordion .step-time {
  font-size: 0.85rem;
  color: #8a8a8a;
  line-height: 1.3;
}

.btn-location {
  background-color: #000;
  color: #fff;
  border-radius: 0px;
  padding-block: 10px;
  padding-inline: 40px;
}
.btn-location:hover {
  background-color: #222;
  color: #fff;
}

/* master plan CTA */
.masterplan-wrapper {
  position: relative;
}

.masterplan-cta {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 2px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .masterplan-cta {
    padding-inline: 24px;
    font-size: 3.6dvw;
  }
}

/* floor plans */
.floor-tabs {
  display: flex;
  gap: 2.2rem;
  flex-wrap: wrap;
  border-bottom: 1px solid #eaeaea;
}

.floor-tab {
  background: none;
  border: none;
  padding: 0 0 0.9rem;
  font-size: 1dvw;
  color: #777;
  font-weight: 400;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.floor-tab:hover {
  color: #111;
}

.floor-tab.active {
  color: #111;
  font-weight: 500;
  border-bottom-color: #111;
}

.floor-details-card {
  border: 1px solid #eaeaea;
  border-radius: 6px;
  padding: 1.6rem 1.8rem;
}

.floor-detail + .floor-detail {
  margin-top: 1.4rem;
}

.floor-detail-label {
  font-size: 0.9dvw;
  color: #8a8a8a;
  margin-bottom: 0.3rem;
}

.floor-detail-value {
  font-size: 1.05dvw;
  font-weight: 500;
  color: #111;
}

/* faqs */
.faq-accordion .accordion-item {
  border: none;
  border-bottom: 1px solid #e5e5e5;
  background: transparent;
}

.faq-accordion .accordion-item:last-child {
  border-bottom: none;
}

.faq-accordion .accordion-header {
  margin: 0;
}

.faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  background: transparent;
  border: none;
  box-shadow: none;
  font-size: 1.05rem;
  font-weight: 500;
  color: #111;
  text-align: left;
}

.faq-accordion .accordion-button::after {
  display: none; /* replaced with a custom chevron icon below */
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .faq-question-title {
  flex: 1;
}

.faq-accordion .faq-caret {
  font-size: 0.95rem;
  color: #111;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-caret {
  transform: rotate(180deg);
}

.faq-accordion .accordion-body {
  padding: 0 2.5rem 1.6rem 0;
  font-size: 0.95rem;
  line-height: 1.5rem;
  color: #333;
  font-weight: 400;
}

@media (max-width: 768px) {
  .faq-accordion .accordion-button {
    font-size: 4dvw;
    padding: 1.1rem 0;
  }

  .faq-accordion .accordion-body {
    font-size: 3.6dvw;
    line-height: 1.4;
    padding-right: 1.5rem;
  }
}

/* footer */
.footer-heading {
  font-size: 1.2rem;
  padding-bottom: 1rem;
}
.footer-content {
  font-size: 0.85rem;
  color: #bbb;
  font-weight: 400;
  line-height: 1.4rem;
}

/* mobile font sizes */
@media (max-width: 768px) {
  .heading {
    font-size: 7.5dvw;
    line-height: 8dvw;
  }
  .content {
    font-size: 4dvw;
    line-height: 5dvw;
  }
  .sub-heading {
    font-size: 5dvw;
  }
  .content-alt {
    font-size: 4dvw;
    line-height: 5dvw;
  }
  .location-accordion .accordion-button {
    font-size: 1rem;
  }

  .location-accordion .accordion-body {
    padding-left: 2rem;
  }
  .floor-tabs {
    gap: 1.5rem;
  }

  .floor-details-card {
    padding: 1.3rem 1.4rem;
  }
  .floor-tab {
    font-size: 4.5dvw;
  }
  .floor-detail-label {
    font-size: 3.5dvw;
  }
  .floor-detail-value {
    font-size: 4dvw;
  }
}

.h-text {
  color: #fff;
  position: relative;
  top: -25%;
  margin-bottom: -20%;
  padding-left: 5%;
  font-weight: 400;
  font-size: 2dvh;
}

.h-bold {
  font-size: 3dvh;
  font-weight: 600;
}
