@font-face {
  font-family: "Rollgates Luxury";
  src: url("../fonts/Rollgates-Luxury.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Aileron Light";
  src: url("../fonts/aileron.light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

	/* Exclusive community section */
.community-section {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  padding: 62px 0 54px;
  background: #852711;
  color: #fff;
}
.spec-item.spec-left.spec-two strong div {
    font-size: 14px !important;
    display: initial !important;
}
.spec-item.spec-left.spec-three strong div {
    font-size: 14px !important;
    display: initial !important;
}
.enquiry-field input.error,
.enquiry-field select.error {
    border-color: #dc3545 !important;
}
.field-error {
    display: none;
    color: #dc3545;
    font-size: 11px;
    margin-top: 4px;
    min-height: 16px;
}
.enquiry-field.has-error .field-error {
    display: block;
}
.form-message {
    display: none;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}
.form-message.success {
    color: #28a745;
    display: block;
}
.form-message.error {
    color: #dc3545;
    display: block;
}
.form-message.loading {
    color: #666;
    display: block;
}
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.community-section .container {
  max-width: 1180px;
  min-height: calc(100vh - 116px);
}

.community-heading h2 {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
  margin: 0;
  font-size: clamp(46px, 4.55vw, 64px);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.community-heading p {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
  margin: 24px 0 66px;
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.9px;
  color: rgba(255, 255, 255, 0.76);
}

.brochure-btn {
  position: absolute;
  left: 50%;
  top: 214px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  height: 29px;
  padding: 0 22px;
  border-radius: 4px;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 9px;
  line-height: 1;
  text-decoration: none;
}

.community-graphic {
  position: relative;
  width: min(100%, 980px);
  height: 748px;
  margin-top: 0;
}

.community-graphic::before,
.community-graphic::after {
  content: "";
  position: absolute;
  top: 0;
  width: 352px;
  height: 354px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.community-graphic::before {
  left: 160px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top-right-radius: 360px;
}

.community-graphic::after {
  right: 160px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  border-top-left-radius: 360px;
}

.line {
  position: absolute;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.line-left-top {
  left: 164px;
  top: 168px;
  width: 258px;
}

.line-left-mid {
  left: 164px;
  top: 310px;
  width: 247px;
}

.line-right-top {
  right: 164px;
  top: 168px;
  width: 258px;
}

.line-right-mid {
  right: 164px;
  top: 310px;
  width: 247px;
}

.vertical-line {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 126px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.13);
}

.vertical-line::before,
.vertical-line::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 76px;
  background: rgba(255, 255, 255, 0.12);
}

.vertical-line::before {
  left: -32px;
}

.vertical-line::after {
  right: -32px;
}

.spec-item {
  position: absolute;
  z-index: 2;
  font-family: "Cormorant Garamond", Georgia, serif;
}

.spec-item strong {
  font-family: "Aileron Light", Arial, Helvetica, sans-serif;
  display: block;
  margin-bottom: 11px;
  font-size: 42px;
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: 0.1px;
}

.spec-item span {
  display: block;
  font-size: 15px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}

.spec-item.spec-right.spec-four strong {
  font-family: "Aileron Light", Arial, Helvetica, sans-serif;
}

.spec-left {
  left: 0;
  text-align: left;
}

.spec-right {
  right: 0;
  text-align: right;
}

.spec-one,
.spec-four {
  top: -28px;
}

.spec-two,
.spec-five {
  top: 137px;
}

.spec-three,
.spec-six {
  top: 284px;
}

.arch-image-wrap {
  position: absolute;
  left: 50%;
  bottom: 126px;
  width: 462px;
  height: 484px;
  overflow: hidden;
  transform: translateX(-50%);
  border-radius: 231px 231px 15px 15px;
  background: rgba(255, 255, 255, 0.15);
  z-index:500;
}

.arch-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1199.98px) {
  .community-section .container {
    max-width: 960px;
  }

  .community-graphic {
    width: min(100%, 880px);
    height: 680px;
  }

  .community-graphic::before {
    left: 125px;
  }

  .community-graphic::after {
    right: 125px;
  }

  .line-left-top,
  .line-left-mid {
    left: 125px;
  }

  .line-right-top,
  .line-right-mid {
    right: 125px;
  }

  .arch-image-wrap {
    width: 420px;
    height: 442px;
  }
}

@media (max-width: 991.98px) {
  .community-section {
    padding-top: 44px;
  }

  .community-heading h2 {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
    font-size: 42px;
  }

  .community-heading p {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
    margin-bottom: 54px;
  }

  .brochure-btn {
    top: 188px;
  }

  .community-graphic {
    height: 600px;
  }

  .community-graphic::before,
  .community-graphic::after {
    top: 8px;
    width: 270px;
    height: 276px;
  }

  .community-graphic::before {
    left: 105px;
  }

  .community-graphic::after {
    right: 105px;
  }

  .line-left-top,
  .line-left-mid {
    left: 104px;
    width: 170px;
  }

  .line-right-top,
  .line-right-mid {
    right: 104px;
    width: 170px;
  }

  .spec-item strong {
    font-size: 34px;
  }

  .spec-item span {
    font-size: 12px;
  }

  .spec-left {
    left: 14px;
  }

  .spec-right {
    right: 14px;
  }

  .spec-one,
  .spec-four {
    top: -96px;
  }

  .arch-image-wrap {
    width: 360px;
    height: 380px;
    bottom: 112px;
    border-radius: 180px 180px 14px 14px;
  }
}

@media (max-width: 575.98px) {
  .community-section {
    padding: 36px 0 34px;
  }

  .community-section .container {
    max-width: 100%;
    min-height: 720px;
  }

  .community-heading h2 {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
    font-size: 34px;
  }

  .community-heading p {
  font-family: "Rollgates Luxury", "Cormorant Garamond", Georgia, serif !important;
    margin: 13px 0 74px;
    font-size: 11px;
  }

  .brochure-btn {
    top: 154px;
    min-width: 112px;
    height: 26px;
    font-size: 8px;
  }


  .community-graphic {
    height: 565px;
    margin-top: 0;
  }

  .community-graphic::before,
  .community-graphic::after {
    top: 44px;
    width: 46%;
    height: 250px;
    opacity: 0.8;
  }

  .community-graphic::before {
    left: 4%;
  }

  .community-graphic::after {
    right: 4%;
  }

  .spec-left {
    left: 20px;
  }

  .spec-right {
    right: 20px;
  }

  .spec-item strong {
    font-size: 25px;
    margin-bottom: 7px;
  }

  .spec-item span {
    font-size: 9px;
  }

  .spec-one,
  .spec-four {
    top: -42px;
  }

  .spec-two,
  .spec-five {
    top: 72px;
  }

  .spec-three,
  .spec-six {
    top: 144px;
  }

  .line-left-top,
  .line-left-mid,
  .line-right-top,
  .line-right-mid {
    display: none;
  }

  .vertical-line {
    bottom: 0;
    height: 82px;
  }

  .vertical-line::before,
  .vertical-line::after {
    height: 58px;
  }

  .vertical-line::before {
    left: -22px;
  }

  .vertical-line::after {
    right: -22px;
  }

  .arch-image-wrap {
    width: min(78vw, 310px);
    height: min(82vw, 330px);
    bottom: 82px;
    border-radius: 999px 999px 12px 12px;
  }
}
  
/* Mobile hero banner image */
@media (max-width: 575.98px) {
  .hero-slide-old {
    background-image: url("../images/mobile-banner.jpeg") !important;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }

  .hero-slide-new {
    background-image: url("../images/ambiencelumina-small.jpeg") !important;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
  }
}


/* Floating back-to-top button */
.back-to-top-btn {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: #852711;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.3s ease;
}

.back-to-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top-btn:hover,
.back-to-top-btn:focus {
  background: #000;
  outline: none;
}

.back-to-top-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

.floating-whatsapp-btn {
  position: fixed;
  right: 22px;
  bottom: 78px;
  z-index: 9998;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.floating-whatsapp-btn:hover,
.floating-whatsapp-btn:focus {
  background: #1ebe5d;
  color: #fff;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 15px 34px rgba(0, 0, 0, 0.34);
}

.floating-whatsapp-btn:active {
  transform: translateY(-1px) scale(0.96);
}

.floating-whatsapp-btn svg {
  width: 27px;
  height: 27px;
  display: block;
  fill: currentColor;
}

.floating-enquiry-btn {
  position: fixed;
  right: 0;
  top: 50%;
  z-index: 9998;
  width: 42px;
  min-height: 142px;
  border: 0;
  border-radius: 12px 0 0 12px;
  background: #031b3e;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 8px;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  animation: enquiry-tab-pulse 2.7s ease-in-out infinite;
}

.floating-enquiry-btn span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.floating-enquiry-btn:hover,
.floating-enquiry-btn:focus {
  background: #852711;
  outline: none;
  transform: translateY(-50%) translateX(-4px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.32);
}

.floating-enquiry-btn:active {
  transform: translateY(-50%) translateX(-2px) scale(0.97);
}

@keyframes enquiry-tab-pulse {
  0%, 100% {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25);
  }

  50% {
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.25), 0 0 0 8px rgba(3, 27, 62, 0.13);
  }
}

@media (max-width: 575.98px) {
  .back-to-top-btn {
    right: 16px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }

  .floating-whatsapp-btn {
    right: 16px;
    bottom: 64px;
    width: 46px;
    height: 46px;
  }

  .floating-whatsapp-btn svg {
    width: 25px;
    height: 25px;
  }

  .floating-enquiry-btn {
    width: 36px;
    min-height: 118px;
    border-radius: 10px 0 0 10px;
    padding: 11px 6px;
  }

  .floating-enquiry-btn span {
    font-size: 11px;
    letter-spacing: 0.4px;
  }
}


/* Floor plan image lightbox */
.floorplans-uploaded-img {
  cursor: zoom-in;
}

.floorplan-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.88);
}

.floorplan-lightbox.is-open {
  display: flex;
}

.floorplan-lightbox img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
  background: #fff;
}

.floorplan-lightbox-close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}

.floorplan-lightbox-close:hover,
.floorplan-lightbox-close:focus {
  background: #852711;
  color: #fff;
  outline: none;
}

@media (max-width: 575.98px) {
  .floorplan-lightbox {
    padding: 14px;
  }

  .floorplan-lightbox-close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 26px;
  }

  .floorplan-lightbox img {
    max-width: 96vw;
    max-height: 86vh;
  }
}
.hero-content{
    position: absolute;
    top: 50%;
    left: 7%;
    transform: translateY(-50%);
    z-index: 5;
    text-align: left;
    max-width: 650px;
}

.hero-content h1{
    font-size: 64px;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 20px;
    font-family: "Rollgates Luxury", serif;
    text-transform: uppercase;
    color:#000;
}

.hero-content p{
    font-size: 20px;
    color: #fff;
    letter-spacing: 2px;
    margin: 0;
    text-transform: uppercase;
        font-family: "Rollgates Luxury", serif;
    color:#000;
    font-style:italic;
}

@media(max-width:768px){

    .hero-content{
        left: 20px;
        right: 20px;
        top: 85%;
    }

    .hero-content h1{
        font-size: 24px;
            color: #ffffff !important;
    margin-bottom: 10px;
    }

    .hero-content p{
        color: #ffffff !important;
        font-size: 14px;
        line-height: 1.6;
    }
}
