:root {
  --cyan: #00aeef;
  --cyan-dark: #0090c8;
  --cyan-deep: #006e9b;
  --cyan-pale: #e8f7fd;
  --cyan-mist: #f0faff;
  --steel: #8a8d91;
  --charcoal: #2e3135;
  --mid: #5a5d62;
  --body-text: #444850;
  --light: #f5f6f8;
  --lighter: #fafbfc;
  --border: #e0e3e8;
  --border-cyan: rgba(0, 174, 239, 0.22);
  --white: #ffffff;
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.07);
  --shadow-md: 0 6px 28px rgba(0, 0, 0, 0.1);
  --shadow-cyan: 0 6px 28px rgba(0, 174, 239, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--white);
  color: var(--body-text);
  font-family: "DM Sans", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
  width: 4px;
}
::-webkit-scrollbar-track {
  background: var(--light);
}
::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: 2px;
}

/* ════════ NAVBAR ════════ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
nav.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  border-bottom-color: var(--border-cyan);
}
.nav-logo {
  text-decoration: none;
  padding: 0.7rem 0;
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  align-items: center;
}
.nav-list a {
  display: block;
  padding: 1.55rem 0.82rem;
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--steel);
  text-decoration: none;
  transition: color 0.25s;
  position: relative;
}
.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0.85rem;
  left: 0.82rem;
  right: 0.82rem;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-list a:hover {
  color: var(--cyan);
}
.nav-list a:hover::after {
  transform: scaleX(1);
}
.nav-cta {
  background: var(--cyan) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.4rem !important;
  font-weight: 600 !important;
  margin-left: 0.5rem;
  border-radius: 3px;
  box-shadow: 0 3px 14px rgba(0, 174, 239, 0.3);
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s !important;
}
.nav-cta::after {
  display: none !important;
}
.nav-cta:hover {
  background: var(--cyan-dark) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4) !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 1rem 0;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  display: block;
  transition: 0.3s;
}

/* ════════ HERO ════════ */
#home {
  /* min-height: 100vh; */
  background:
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.38) 55%,
      rgba(0, 110, 155, 0.25) 100%
    ),
    url("assets/images/clubhouse.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 6rem 7rem;
  position: relative;
  overflow: hidden;
}
/* Animated triangle — echoes logo mark */
#home::before {
  content: "";
  position: absolute;
  right: 5%;
  top: 12%;
  width: 420px;
  height: 420px;
  border: 2px solid rgba(0, 174, 239, 0.28);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: tri-float 20s ease-in-out infinite;
}
#home::after {
  content: "";
  position: absolute;
  right: 10%;
  top: 18%;
  width: 260px;
  height: 260px;
  border: 1.5px solid rgba(0, 174, 239, 0.15);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  animation: tri-float 14s ease-in-out infinite reverse;
}
@keyframes tri-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.8;
  }
  33% {
    transform: translateY(-18px) rotate(4deg);
    opacity: 1;
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
    opacity: 0.6;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.hero-eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
}
.hero-eyebrow .live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.5);
    opacity: 0.5;
  }
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 6.5vw, 6rem);
  font-weight: 700;
  line-height: 1.07;
  color: #fff;
  margin-bottom: 1.4rem;
  text-shadow: 0 3px 32px rgba(0, 0, 0, 0.35);
}
.hero-title .accent {
  color: var(--cyan);
  font-style: italic;
}

.hero-sub {
  font-size: 0.84rem;
  line-height: 1.88;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 2.6rem;
  max-width: 480px;
}
.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 20px;
}

.btn-primary {
  padding: 0.9rem 2.4rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  border-radius: 3px;
  transition:
    background 0.25s,
    transform 0.2s,
    box-shadow 0.25s;
  box-shadow: var(--shadow-cyan);
  display: inline-block;
}
.btn-primary:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(0, 174, 239, 0.38);
}

.btn-outline {
  padding: 0.9rem 2.4rem;
  background: transparent;
  color: #fff;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  cursor: pointer;
  border-radius: 3px;
  transition:
    border-color 0.25s,
    color 0.25s,
    background 0.25s;
  display: inline-block;
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  background: rgba(0, 174, 239, 0.08);
}

.hero-stats {
  position: absolute;
  right: 6rem;
  bottom: 7rem;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: flex-end;
}
.hero-stat {
  text-align: right;
  padding: 1rem 1.4rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border-left: 3px solid var(--cyan);
  margin-bottom: 4px;
}
.hero-stat strong {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--cyan);
  display: block;
  line-height: 1;
}
.hero-stat span {
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
}

/* ════════ SECTION BASE ════════ */
section {
  padding: 7rem 6rem;
}

.section-label {
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.section-label::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--cyan);
  border-radius: 1px;
  flex-shrink: 0;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 0.6rem;
  color: var(--charcoal);
}
.section-title em {
  color: var(--cyan);
  font-style: italic;
}

.divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--cyan-pale));
  margin: 1.2rem 0 1.8rem;
  border-radius: 2px;
}

/* ════════ OVERVIEW ════════ */
#overview {
  background: var(--white);
}
.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.overview-text p {
  font-size: 0.86rem;
  line-height: 1.95;
  color: var(--body-text);
  margin-bottom: 1rem;
}
.overview-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
.feat-item {
  border-left: 3px solid var(--cyan);
  padding: 0.7rem 0 0.7rem 1.1rem;
  background: var(--cyan-mist);
  transition:
    background 0.2s,
    border-color 0.2s;
}
.feat-item:hover {
  background: var(--cyan-pale);
}
.feat-item strong {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  display: block;
  margin-bottom: 0.28rem;
  font-weight: 600;
}
.feat-item span {
  font-size: 0.8rem;
  color: var(--charcoal);
  font-weight: 500;
}

.overview-visual {
  position: relative;
}
.overview-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
}
.overview-badge {
  position: absolute;
  bottom: -1.6rem;
  left: -2rem;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  color: #fff;
  padding: 1.6rem 1.8rem;
  text-align: center;
  box-shadow: 0 10px 36px rgba(0, 174, 239, 0.35);
}
.overview-badge strong {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  display: block;
  font-weight: 700;
  line-height: 1;
}
.overview-badge span {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
}

/* ════════ PRICE ════════ */
#price {
  background: var(--light);
}
.price-intro {
  margin-bottom: 3rem;
}
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.price-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  padding: 2.6rem 2.2rem;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--cyan), var(--cyan-dark));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}
.price-card:hover {
  border-color: var(--border-cyan);
  box-shadow: var(--shadow-cyan);
  transform: translateY(-6px);
}
.price-card:hover::before {
  transform: scaleX(1);
}

/* Watermark triangle */
.price-card .bg-tri {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 90px;
  height: 90px;
  border: 2px solid rgba(0, 174, 239, 0.1);
  clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
  transition: opacity 0.3s;
}
.price-card:hover .bg-tri {
  opacity: 3;
  border-color: rgba(0, 174, 239, 0.18);
}

.price-card .type {
  font-size: 0.58rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 0.9rem;
  font-weight: 600;
}
.price-card .config {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--charcoal);
}
.price-card .area {
  font-size: 0.75rem;
  color: var(--steel);
  margin-bottom: 1.6rem;
}
.price-card .price-val {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: var(--cyan-dark);
  margin-bottom: 0.3rem;
  font-weight: 600;
}
.price-card .price-note {
  font-size: 0.66rem;
  color: var(--steel);
  margin-bottom: 2rem;
}

.price-card.featured {
  background: linear-gradient(
    160deg,
    var(--cyan-mist) 0%,
    var(--cyan-pale) 100%
  );
  border-color: var(--border-cyan);
}
.price-card.featured::after {
  content: "Most Popular";
  position: absolute;
  top: 1.4rem;
  right: 1.4rem;
  background: var(--cyan);
  color: #fff;
  font-size: 0.54rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.32rem 0.82rem;
  border-radius: 20px;
}

/* ════════ SITE PLAN ════════ */
#site-plan {
  background: var(--white);
}
.siteplan-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 4.5rem;
  align-items: start;
}
.siteplan-info p {
  font-size: 0.85rem;
  line-height: 1.95;
  color: var(--body-text);
  margin-bottom: 2rem;
}
.siteplan-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1rem;
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.74rem;
  color: var(--mid);
}
.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}
.siteplan-img {
  width: 100%;
  /* aspect-ratio: 1; */
  background: var(--light);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.siteplan-img img {
  width: 100%;
  /* height: 100%; */
  object-fit: cover;
  display: block;
}
.sp-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.11);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(3px);
  color: var(--steel);
  z-index: 2;
}
.sp-placeholder i {
  font-size: 3rem;
  color: rgba(0, 174, 239, 0.22);
}
.sp-placeholder span {
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ════════ AMENITIES ════════ */
#amenities {
  background: var(--light);
}
.amenities-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.amenities-header p {
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--mid);
  max-width: 420px;
}

.amenities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.amenity-item {
  padding: 2.2rem 1.4rem;
  text-align: center;
  background: var(--white);
  transition:
    background 0.25s,
    box-shadow 0.25s;
  cursor: default;
}
.amenity-item:hover {
  background: var(--cyan-mist);
}
.amenity-icon {
  width: 52px;
  height: 52px;
  border: 1.5px solid var(--border-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition:
    border-color 0.25s,
    background 0.25s;
  background: var(--white);
}
.amenity-item:hover .amenity-icon {
  border-color: var(--cyan);
  background: var(--cyan-pale);
}
.amenity-icon i {
  font-size: 1.1rem;
  color: var(--cyan);
}
.amenity-name {
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--mid);
  font-weight: 500;
}

/* ════════ LOCATION ════════ */
#location {
  background: var(--white);
}
.location-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.location-map {
  aspect-ratio: 1;
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.location-category {
  margin-bottom: 2rem;
}
.location-category h4 {
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 600;
}
.location-category h4::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.loc-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--light);
  font-size: 0.8rem;
}
.loc-item .name {
  color: var(--body-text);
}
.loc-item .dist {
  color: var(--cyan-dark);
  font-weight: 600;
  font-size: 0.7rem;
  background: var(--cyan-pale);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
}

/* ════════ GALLERY ════════ */
#gallery {
  background: var(--light);
}
.gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}
.image-item {
  display: block;
  overflow: hidden;
  position: relative;
}
.image-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
}
.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
  aspect-ratio: 4/3;
}
.image-item:nth-child(1) img {
  aspect-ratio: auto;
  height: 100%;
}
.image-item:hover img {
  transform: scale(1.055);
}
.image-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 174, 239, 0);
  transition: background 0.4s;
}
.image-item:hover::after {
  background: rgba(0, 174, 239, 0.1);
}
.img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--steel);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.img-placeholder i {
  font-size: 1.5rem;
  color: rgba(0, 174, 239, 0.3);
}
.image-item:nth-child(1) .img-placeholder {
  aspect-ratio: auto;
  height: 100%;
  min-height: 340px;
}

/* ════════ CONTACT ════════ */
#contact {
  background: var(--white);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 1.3rem;
  color: var(--charcoal);
}
.contact-info > p {
  font-size: 0.84rem;
  line-height: 1.95;
  color: var(--body-text);
  margin-bottom: 2.2rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--body-text);
  padding: 0.75rem 1rem;
  background: var(--cyan-mist);
  border-left: 3px solid var(--border-cyan);
  transition:
    border-color 0.2s,
    background 0.2s;
  border-radius: 0 2px 2px 0;
}
.contact-detail:hover {
  border-left-color: var(--cyan);
  background: var(--cyan-pale);
}
.contact-detail i {
  color: var(--cyan);
  width: 14px;
  flex-shrink: 0;
  margin-top: 0.16rem;
}

.contact-form {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--cyan);
  padding: 0.8rem;
  box-shadow: var(--shadow-md);
  border-radius: 0 0 4px 4px;
}
.form-title {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 1.8rem;
}
.form-group {
  margin-bottom: 0.8rem;
}
.form-group label {
  display: block;
  font-size: 15px;
  /* letter-spacing: 0.2em; */
  text-transform: normal;
  color: var(--steel);
  margin-bottom: 0.48rem;
  font-weight: 600;
}
.form-group label .star {
  font-size: 15px;
  color: red;
}
.form-group input,
.form-group select {
  width: 100%;
  background: var(--lighter);
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  padding: 0.8rem 1rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition:
    border-color 0.25s,
    background 0.25s;
  border-radius: 3px;
}
.form-group input:focus,
.form-group select:focus {
  border-color: var(--cyan);
  background: var(--cyan-mist);
}
.form-group select option {
  background: #fff;
  color: var(--charcoal);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.math-verify {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--cyan-mist);
  border: 1.5px solid var(--border-cyan);
  padding: 0.75rem 1rem;
  margin-bottom: 1.2rem;
  border-radius: 3px;
}
.math-verify label {
  font-size: 0.74rem;
  color: var(--mid);
  flex-shrink: 0;
  white-space: nowrap;
}
.math-verify input {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid var(--border-cyan);
  color: var(--cyan-dark);
  padding: 0.2rem 0.5rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  outline: none;
}

/* ════════ POPUP ════════ */
.popup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(46, 49, 53, 0.55);
  backdrop-filter: blur(8px);
  align-items: center;
  justify-content: center;
}
.popup-overlay.active {
  display: flex;
}
.popup-content {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-top: 3px solid var(--cyan);
  padding: 1.5rem;
  width: 90%;
  max-width: 460px;
  position: relative;
  animation: popIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.15);
  border-radius: 0 0 4px 4px;
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.popup-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}
.popup-content > p {
  font-size: 0.76rem;
  color: var(--steel);
  margin-bottom: 1.8rem;
}
.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.4rem;
  font-size: 1.6rem;
  color: var(--steel);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  border: 1px solid;
  padding: 5px 10px;
}
.close-btn:hover {
  color: var(--cyan);
}

/* ════════ FOOTER ════════ */
footer {
  background: var(--charcoal);
  padding: 2.8rem 6rem;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.6rem;
  padding-bottom: 1.6rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
/* .footer-links { display: flex; gap: 2rem; flex-wrap: wrap; } */
.footer-links a {
  font-size: 0.64rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--cyan);
}
.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  text-align: center;
  /* gap: 2rem; */
}
.footer-copy {
  font-size: 0.64rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.06em;
}
.footer-disclaimer {
  font-size: 0.6rem;
  color: rgba(255, 255, 255, 0.25);
  max-width: 580px;
  line-height: 1.75;
}

/* ════════ WHATSAPP ════════ */
.wh-api {
  position: fixed;
  bottom: 2.5rem;
  right: 12px;
  z-index: 999;
}
.wh-fixed {
  position: relative;
}
@keyframes wa-pulse {
  0% {
    transform: scale(1);
    opacity: 0.6;
  }
  100% {
    transform: scale(1.7);
    opacity: 0;
  }
}
.wh-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2.2s ease-out infinite;
}
.wh-ap-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  font-size: 1.55rem;
  color: #fff;
  box-shadow: 0 4px 22px rgba(37, 211, 102, 0.45);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.wh-ap-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
}

/* ════════ REVEAL ANIMATION ════════ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1100px) {
  section {
    padding: 5rem 3rem;
  }
  nav {
    padding: 0 2rem;
  }
  .nav-list {
    display: none;
  }
  .nav-list.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    top: 65px;
    background: rgba(255, 255, 255, 0.98);
    padding: 2rem;
    gap: 0.2rem;
    z-index: 999;
    border-top: 1px solid var(--border);
  }
  .nav-list.open a {
    padding: 1rem;
    font-size: 0.8rem;
    color: var(--charcoal);
  }
  .nav-list.open a:hover {
    color: var(--cyan);
  }
  .hamburger {
    display: flex;
  }
  #home {
    padding: 0 3rem 6rem;
  }
  #home::before,
  #home::after {
    display: none;
  }
  .hero-stats {
    right: 3rem;
    bottom: 6rem;
  }
  .overview-grid,
  .siteplan-layout,
  .location-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .price-grid {
    grid-template-columns: 1fr;
  }
  .amenities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  footer {
    padding: 2.5rem 3rem;
  }
  .footer-top {
    flex-direction: column;
    gap: 1.2rem;
    text-align: center;
  }
  .footer-bottom {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  .hero-stats {
    display: none;
  }
  .hero-title {
    font-size: 2.4rem;
  }
  section {
    padding: 4rem 1.5rem;
  }
  .image-grid {
    grid-template-columns: 1fr 1fr;
  }
  .image-item:nth-child(1) {
    grid-column: span 2;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  footer {
    padding: 2rem 1.5rem;
  }
  .footer-links {
    justify-content: center;
  }
  .footer-top {
    margin-bottom: 0px !important;
  }
}
/* ===== BASE ===== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* ===== CAROUSEL ===== */
.hero-carousel {
  position: relative;
  width: 100%;
  height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 32px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  z-index: 10;
}

.carousel-arrow.left {
  left: 12px;
}
.carousel-arrow.right {
  right: 12px;
}

/* ===== MOBILE CONTENT ===== */
.hero-mobile-content {
  padding: 28px 16px 40px;
  background: #000;
  color: #fff;
}

.hero-mobile-content h1 {
  font-size: 32px;
  line-height: 1.2;
}

.hero-mobile-content h1 span {
  color: #c99913;
  font-style: italic;
}

.hero-mobile-content p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-mobile-content ul {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.hero-mobile-content li {
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-mobile-content .price {
  font-size: 17px;
  margin-top: 10px;
}

.mobile-btns {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(to right, #c99913, #474236);
  padding: 14px;
  text-align: center;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #fff;
  padding: 14px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

/* ===== BASE ===== */
.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  font-family: "Poppins", sans-serif;
}

/* ===== CAROUSEL ===== */
.hero-carousel {
  width: 100%;
  position: relative;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero-slide.active {
  opacity: 1;
}

/* Arrows */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  font-size: 26px;
  z-index: 5;
  cursor: pointer;
}

.carousel-arrow.left {
  left: 12px;
}
.carousel-arrow.right {
  right: 12px;
}

/* ===== MOBILE DEFAULT ===== */
.hero-carousel {
  height: 350px;
}

.desktop-only {
  display: none;
}
.mobile-only {
  display: block;
}

/* ===== MOBILE CONTENT ===== */
.hero-mobile-content {
  background: #000;
  color: #fff;
  padding: 28px 16px 40px;
}

.hero-mobile-content h1 {
  font-size: 32px;
  line-height: 1.2;
}

.hero-mobile-content h1 span {
  color: #c99913;
  font-style: italic;
}

.hero-mobile-content p {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.6;
  opacity: 0.9;
}

.hero-mobile-content ul {
  list-style: none;
  padding: 0;
  margin-top: 18px;
}

.hero-mobile-content li {
  font-size: 14px;
  margin-bottom: 6px;
}

.hero-mobile-content .price {
  font-size: 17px;
  margin-top: 10px;
}

.mobile-btns {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Buttons */
.btn-primary {
  background: linear-gradient(to right, #c99913, #474236);
  padding: 14px;
  text-align: center;
  color: #000;
  font-weight: 600;
  text-decoration: none;
}

.btn-outline {
  border: 1px solid #fff;
  padding: 14px;
  text-align: center;
  color: #fff;
  text-decoration: none;
}

/* ===== DESKTOP ===== */
@media (min-width: 992px) {
  .hero-carousel {
    position: absolute;
    inset: 0;
    height: 100vh;
    z-index: 0;
  }

  .carousel-arrow {
    display: none;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.7),
      rgba(0, 0, 0, 0.3),
      rgba(0, 0, 0, 0.7)
    );
    z-index: 1;
  }

  .hero-inner {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    max-width: 1300px;
    margin: auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
  }

  .hero-left {
    max-width: 650px;
  }

  .hero-title {
    font-size: 64px;
    line-height: 1.1;
  }

  .hero-title span {
    color: #c99913;
    font-style: italic;
  }

  .hero-right {
    display: flex;
    flex-direction: column;
    gap: 22px;
  }

  .stat-box {
    background: rgba(255, 255, 255, 0.08);
    padding: 18px 22px;
    border-left: 3px solid #1fc7ff;
    text-align: center;
  }

  .stat-box strong {
    font-size: 26px;
    color: #1fc7ff;
  }

  .desktop-only {
    display: flex;
  }
  .mobile-only {
    display: none;
  }
}

@media (max-width: 500px) {
  .hero-right {
    display: flex !important;
    flex-direction: column !important;
  }
  #home {
    padding: 0px !important;
  }
  .mobile-carousel {
    height: 350px !important;
  }
  /* ===== PREMIUM MOBILE HERO CONTENT ===== */
  .hero-mobile-content {
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.92),
      rgba(0, 0, 0, 0.88),
      #000
    );
    color: #fff;
    padding: 34px 18px 44px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  /* Heading */
  .hero-mobile-content h1 {
    font-size: 34px;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: -0.3px;
  }

  .hero-mobile-content h1 span {
    color: #c99913;
    font-style: italic;
  }

  /* Description */
  .hero-mobile-content p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.85);
  }

  /* Info List */
  .hero-mobile-content ul {
    list-style: none;
    padding: 0;
    margin-top: 22px;
  }

  .hero-mobile-content ul li {
    font-size: 14px;
    line-height: 1.6;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    gap: 12px;
  }

  .hero-mobile-content ul li strong {
    font-weight: 500;
    color: #c99913;
    white-space: nowrap;
  }

  /* Price Highlight */
  .hero-mobile-content ul li.price {
    margin-top: 16px;
    border: none;
    font-size: 18px;
    padding: 10px 0 0;
  }

  .hero-mobile-content ul li.price strong {
    color: #1fc7ff;
    font-size: 18px;
  }

  /* CTA Buttons */
  .mobile-btns {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  /* Primary CTA */
  .mobile-btns .btn-primary {
    background: linear-gradient(to right, #c99913, #8c6b10);
    color: #000;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 15px;
    border-radius: 4px;
    text-transform: uppercase;
  }

  /* Secondary CTA */
  .mobile-btns .btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 15px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  /* Button Tap Effect */
  .mobile-btns a:active {
    transform: scale(0.98);
  }
  footer {
    padding: 10px 0px !important;
  }
  .nav-item {
    width: 100%;
    background: #fff;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 10px !important;
  }
  .nav-list {
    background: #fff;
  }
  .nav-list.open {
    gap: 0px !important;
  }
}
/* ===== FOOTER DISCLAIMER ===== */
.footer-bottom {
  background: #0f0f0f;
  padding: 30px 20px;
  color: rgba(255, 255, 255, 0.75);
}

.footer-copy {
  font-size: 13px;
  margin-bottom: 6px;
}

.footer-disclaimer-wrapper {
  margin-top: 16px;
}

/* Collapsed state */
.footer-disclaimer {
  font-size: 12.5px;
  line-height: 1.6;
  max-height: 72px; /* ~3 lines */
  overflow: hidden;
  position: relative;
  transition: max-height 0.4s ease;
}

/* Fade effect */
.footer-disclaimer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(to bottom, rgba(15, 15, 15, 0), #0f0f0f);
}

/* Expanded */
.footer-disclaimer.expanded {
  max-height: 1000px;
}

.footer-disclaimer.expanded::after {
  display: none;
}

/* Read More / Less Button */
.read-toggle {
  width: 100%;
  background: none;
  border: none;
  color: #c99913;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin-top: 6px;
  cursor: pointer;
  padding: 0;
}

.read-toggle:hover {
  text-decoration: underline;
}

/* ===== MOBILE FIXED CTA BAR ===== */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 767px) {
  .mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    /* height: 56px; */
    background: #0f0f0f;
    display: flex;
    z-index: 9999;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .mobile-cta-bar a,
  .mobile-cta-bar button {
    flex: 1;
    border: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 10px;
    cursor: pointer;
  }

  .cta-enquiry {
    background: linear-gradient(90deg, #c99913, #e3b640);
    color: #000;
  }

  .cta-call {
    background: #000;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }
}
.iti {
  width: 100% !important;
}

/* ===============================
   GALLERY SECTION
================================ */
#gallery {
  padding: 80px 0;
  background: #fafafa;
}

.gallery-header {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c99913;
  font-size: 12px;
  margin-bottom: 6px;
}

.section-title {
  font-size: 38px;
  font-weight: 600;
}

.section-title em {
  color: #c99913;
  font-style: normal;
}

.image-grid {
  max-width: 1400px;
  margin: auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.image-item {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition:
    transform 0.4s ease,
    box-shadow 0.4s ease;
}

.image-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.25);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.image-item:hover img {
  transform: scale(1.05);
}

/* First image highlight */
.image-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  height: 460px;
}

.image-item:not(:first-child) {
  height: 220px;
}

.gallery-wrapper {
  position: relative;
}

.gallery-arrow {
  display: none;
}

@media (max-width: 768px) {
  #gallery {
    padding: 60px 0;
  }

  .image-grid {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 16px;
  }

  .image-grid::-webkit-scrollbar {
    display: none;
  }

  .image-item {
    min-width: 100%;
    height: auto;
    scroll-snap-align: center;
    border-radius: 20px;
  }

  .image-item img {
    width: 100%;
    height: auto;
    max-height: 320px;
    /* object-fit: contain; */
    background: #000;
  }

  .image-item:first-child {
    grid-column: unset;
    grid-row: unset;
    height: auto;
  }

  .gallery-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    border: none;
    font-size: 26px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(6px);
  }

  .gallery-arrow.left {
    left: 10px;
  }

  .gallery-arrow.right {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .image-item img {
    max-height: 260px;
  }
}

#tapToTop {
  position: fixed;
  right: 16px;
  bottom: 120px; /* above mobile enquiry/call bar */
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #c99913, #474236);
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#tapToTop:hover {
  transform: translateY(-3px);
}

/* Mobile safety */
@media (max-width: 768px) {
  #tapToTop {
    bottom: 110px;
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}
