/* ================= PROJECT PAGE ================= */
@font-face {
    font-family: 'BentonModern';
    src: url('assets/fonts/Benton%20Modern%20Font%20Family/BentonModDisp-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'BentonModern';
    src: url('assets/fonts/Benton%20Modern%20Font%20Family/BentonModDisp-RegularIt.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
}
@font-face {
    font-family: 'BentonModern';
    src: url('assets/fonts/Benton%20Modern%20Font%20Family/BentonModDisp-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'BentonModern';
    src: url('assets/fonts/Benton%20Modern%20Font%20Family/BentonModDisp-SemiboldIt.otf') format('opentype');
    font-weight: 600;
    font-style: italic;
}

.benton-font {
    font-family: 'BentonModern', serif !important;
}

.project-section {
    position: relative;
    padding: 80px 20px;
}

/* ================= INTRO ================= */
.project-intro {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 60px;
}

/* CENTERED GOLD LINE ATTACHED TO HERO */
.project-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 16px;
    background: linear-gradient(to right, #b48c36 0%, #ebd197 25%, #d6ad4b 50%, #ebd197 75%, #b48c36 100%);
}


.project-intro p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin: 0;
}

/* ================= CARDS ================= */
.project-cards {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 20px 0 60px;
    flex-wrap: wrap;
}

.card {
    width: 380px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.card-image-wrap {
    width: 100%;
    overflow: hidden;
    display: block;
}

.card-image-wrap img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.card:hover .card-image-wrap img {
    transform: scale(1.05);
}

.card-label {
    width: 100%;
    background: linear-gradient(to right, #b48c36 0%, #ebd197 25%, #d6ad4b 50%, #ebd197 75%, #b48c36 100%);
    color: #000;
    text-align: center;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ================= FULL WIDTH BANNER ================= */
.full-width-banner {
    width: 100%;
    padding: 40px 0 0;
    /* No space below banner to touch amenities section */
}

.full-width-banner img {
    width: 100%;
    height: auto;
}

.full-width-banner .desktop-banner {
    display: block;
}

.full-width-banner .mobile-banner {
    display: none;
}

/* ================= DIVINE ================= */
.divine-section {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.divine-text h2 {
    font-size: 28px;
    letter-spacing: 2px;
}

.divine-text p {
    max-width: 700px;
    margin: 15px auto;
    color: #ccc;
    line-height: 1.7;
}

.divine-img {
    width: 90%;
    max-width: 1000px;
    margin-top: 40px;
}

/* ================= AMENITIES ================= */
.amenities {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 80px 20px;
    /* Internal spacing only */
    margin-top: 0;
    /* Ensure it touches banner */
}

.amenities h2 {
    font-size: 44px;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 40px;
}

.amenities h2 span {
    background: linear-gradient(to right, #b48c36 0%, #ebd197 25%, #d6ad4b 50%, #ebd197 75%, #b48c36 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-style: italic;
    font-size: 2.8em;
    font-weight: 400;
    text-transform: none;
    letter-spacing: normal;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.amenities-grid img {
    width: 100%;
    height: auto;
    border-radius: 0;
    /* NO rounded corners */
    transition: transform 0.4s ease;
    display: block;
}

.amenities-grid img:hover {
    transform: scale(1.03);
    /* very subtle hover zoom */
}

/* ================= PROJECT BANNERS ================= */
.project-banner {
    margin: 0;
    padding: 0;
    line-height: 0;
    /* Ensures no extra gap below images */
}

.project-banner img {
    width: 100%;
    height: auto;
    display: block;
}

/* ICONS */
.amenities-icons {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 30px;
}

.amenities-icons div {
    text-align: center;
    margin: 15px;
}

.amenities-icons h3 {
    color: #caa84c;
    font-size: 22px;
}

.amenities-icons p {
    font-size: 13px;
    letter-spacing: 1px;
}

/* ================= MASTER PLAN ================= */
.master-plan img {
    width: 100%;
    display: block;
}

/* ================= NA PLOTS ================= */
.na-plots-section {
    width: 100%;
    background: #fff;
    margin: 0;
    padding: 0;
    line-height: 0; /* Prevents white gap below */
}

.na-plots-banner {
    width: 100%;
    position: relative;
    display: inline-block;
}

.na-plots-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.na-plots-overlay {
    position: absolute;
    top: 5%;
    right: 12%;
    width: 42%;
    text-align: left;
}

.na-plots-overlay p {
    color: #333;
    font-size: 1.1vw;
    line-height: 1.6;
    font-weight: 600;
    margin: 40px;
}

/* Mobile Responsive Overlay */
@media (max-width: 768px) {
    .na-plots-overlay {
        position: relative;
        top: 0;
        right: 0;
        width: 100%;
        padding: 20px;
        text-align: center;
        background: #fff;
    }

    .na-plots-overlay p {
        font-size: 14px;
    }
}

/* ================= FAMILY ================= */
.family-banner img {
    width: 100%;
    display: block;
}

/* ================= FEATURES ================= */
.features {
    display: flex;
    justify-content: space-around;
    padding: 40px 20px;
    background: #f5f5f5;
    flex-wrap: wrap;
}

.features div {
    text-align: center;
    margin: 10px;
    font-weight: 500;
}

/* ================= LOCATION ================= */
.location {
    text-align: center;
}

.location img {
    width: 100%;
}

.location h2 {
    padding: 20px;
    font-size: 22px;
}

@media (max-width: 768px) {

  /* Hide desktop image on mobile */
  #residential-section img:first-child {
    display: none !important;
  }

  .project-cards {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .card {
    width: 90%;
  }

  .amenities-grid {
    grid-template-columns: 1fr;
  }

  .amenities {
    padding-top: 0;
  }

  .amenities h2 {
    display: none;
  }

  .na-plots-overlay p {
    font-size: 14px;
    margin: 10px;
  }
}


/* ================= AMENITIES LIGHTBOX ================= */

/* Make grid images show pointer so user knows they're clickable */
.amenities-grid img {
  cursor: pointer;
}

/* ---- Scroll lock (applied to body when lightbox is open) ---- */
body.amenities-no-scroll {
  overflow: hidden;
}

/* ---- Lightbox root: hidden by default ---- */
.amenities-lightbox {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  inset: 0;                         /* top/right/bottom/left: 0 */
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* ---- Active state ---- */
.amenities-lightbox--active {
  opacity: 1;
  visibility: visible;
}

/* ---- Semi-transparent backdrop (click target for closing) ---- */
.amenities-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: pointer;
}

/* ---- Image frame sits above backdrop ---- */
.amenities-lightbox__frame {
  position: relative;
  z-index: 1;
  max-width: 88vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.amenities-lightbox--active .amenities-lightbox__frame {
  transform: scale(1);              /* Zoom-in on open */
}

/* ---- Enlarged image ---- */
.amenities-lightbox__frame img {
  max-width: 88vw;
  max-height: 88vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 4px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  /* Override any global hover transform on this image */
  transform: none !important;
  transition: none !important;
}

/* ---- Close button ---- */
.amenities-lightbox__close {
  position: absolute;
  top: 18px;
  right: 22px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  font-family: sans-serif;
  font-weight: 300;
  padding: 0;
}

.amenities-lightbox__close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
