/* Emaar Elite Oasis — Luxury Landing Page Styles */

:root {
  --emerald-900: #0b2f24;
  --emerald-800: #0f3d2e;
  --emerald-700: #14503c;
  --gold-500: #c9a24b;
  --gold-400: #ddc17e;
  --ivory: #faf7f2;
  --charcoal: #1c1c1c;
  --grey-600: #5a5f5c;
  --grey-200: #e7e3da;
  --maroon: #7a1f3d;
  --radius: 4px;
  --shadow-lg: 0 20px 60px rgba(11, 47, 36, 0.25);
  --container: 1200px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
section { padding: 88px 0; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.2; margin: 0 0 16px; }
h2 { font-size: clamp(28px, 4vw, 42px); color: var(--emerald-900); }
h3 { font-size: 22px; color: var(--emerald-900); }
p { margin: 0 0 16px; color: var(--grey-600); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 14px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head p { font-size: 17px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-gold { background: var(--gold-500); color: var(--emerald-900); }
.btn-gold:hover { background: var(--ivory); }
.btn-outline { background: transparent; color: var(--ivory); border-color: rgba(255,255,255,0.5); }
.btn-outline:hover { background: rgba(255,255,255,0.12); }
.btn-emerald { background: var(--emerald-800); color: var(--ivory); }
.btn-emerald:hover { background: var(--emerald-900); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11, 47, 36, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 162, 75, 0.25);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.site-header .logo img { height: 34px; width: auto; }
.nav-links { display: flex; gap: 34px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ivory); font-size: 14px; font-weight: 600; letter-spacing: 0.4px; opacity: 0.9; }
.nav-links a:hover { opacity: 1; color: var(--gold-400); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
.nav-phone { color: var(--gold-400); font-weight: 700; font-size: 14px; display: none; }
.nav-toggle { display: none; background: none; border: none; color: var(--ivory); font-size: 26px; cursor: pointer; }

@media (max-width: 900px) {
  .nav-links { position: fixed; top: 84px; left: 0; right: 0; background: var(--emerald-900); flex-direction: column; padding: 24px; gap: 20px; transform: translateY(-150%); transition: transform 0.3s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-toggle { display: block; }
  .nav-cta .btn-gold { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--ivory);
}
.hero-video-wrap { position: absolute; inset: 0; z-index: 0; }
.hero-video-wrap video, .hero-video-wrap img.hero-fallback {
  width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,31,24,0.55) 0%, rgba(11,31,24,0.35) 35%, rgba(9,26,20,0.85) 100%);
  z-index: 1;
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-top: 220px; padding-bottom: 64px; }
.hero-content-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: end; }
@media (max-width: 900px) { .hero-content-grid { grid-template-columns: 1fr; gap: 32px; } }
.hero-eyebrow { color: var(--gold-400); letter-spacing: 3px; text-transform: uppercase; font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.hero h1 { font-size: clamp(34px, 4.2vw, 58px); color: #fff; margin-bottom: 18px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,0.88); max-width: 560px; margin-bottom: 28px; }
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* RERA badge — top right of hero, below nav */
.rera-badge {
  position: absolute; top: 104px; right: 24px; z-index: 3;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: var(--radius);
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
  max-width: 300px;
  color: #fff;
}
.rera-badge img.qr { width: 62px; height: 62px; background: #fff; border-radius: 2px; flex-shrink: 0; }
.rera-badge .rera-text { font-size: 11px; line-height: 1.5; }
.rera-badge .rera-text strong { display: block; font-size: 12px; color: var(--gold-400); letter-spacing: 0.5px; margin-bottom: 2px; }
@media (max-width: 700px) {
  .rera-badge { position: static; margin: 96px 24px 0; max-width: none; }
  .hero-content { padding-top: 24px; }
}

/* Hero embedded lead form */
.hero-form {
  background: rgba(11, 47, 36, 0.55);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(201, 162, 75, 0.4);
  border-top: 3px solid var(--gold-500);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.hero-form-eyebrow {
  display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--emerald-900); background: var(--gold-400); padding: 5px 12px; border-radius: 999px; margin-bottom: 14px;
}
.hero-form h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.hero-form .form-note { color: rgba(255,255,255,0.75); font-size: 13.5px; margin-bottom: 20px; }
.hero-form .lead-form--stacked .form-row { display: flex; flex-direction: column; gap: 13px; }
.hero-form .lead-form--stacked input {
  padding: 15px 16px; font-size: 14.5px; width: 100%;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff;
}
.hero-form .lead-form--stacked input::placeholder { color: rgba(255,255,255,0.55); }
.hero-form .lead-form--stacked button { width: 100%; padding: 16px; font-size: 13.5px; }
.hero-form-trust { font-size: 12px; color: rgba(255,255,255,0.6); margin: 14px 0 0; text-align: center; }

/* ---------- Stat bar ---------- */
.stat-bar { background: var(--emerald-900); color: var(--ivory); padding: 28px 0; }
.stat-bar .container { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; justify-content: center; text-align: center; }
.stat-bar .stat-item { font-size: 14px; font-weight: 700; letter-spacing: 0.3px; }
.stat-bar .stat-item span.stat-sep { color: var(--gold-500); margin: 0 4px; }
.stat-bar .offer-pill { background: var(--gold-500); color: var(--emerald-900); padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; }

/* ---------- Lead forms (generic, reused in every section) ---------- */
.lead-form-card {
  background: var(--emerald-800);
  color: var(--ivory);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.lead-form-card.light { background: #fff; color: var(--charcoal); border: 1px solid var(--grey-200); }
.lead-form-card h3 { color: inherit; margin-bottom: 6px; }
.lead-form-card.light h3 { color: var(--emerald-900); }
.lead-form-card p.form-note { font-size: 13px; opacity: 0.75; margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: repeat(3, 1fr) auto; gap: 12px; }
@media (max-width: 800px) { .form-row { grid-template-columns: 1fr; } }
.form-row input {
  padding: 13px 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: inherit;
  font-family: var(--font-body);
  font-size: 14px;
}
.lead-form-card.light .form-row input { border-color: var(--grey-200); background: #fbfaf7; }
.form-row input::placeholder { color: rgba(255,255,255,0.55); }
.lead-form-card.light .form-row input::placeholder { color: #9a9a94; }
.form-row button { white-space: nowrap; }
.form-status { display: block; margin-top: 10px; font-size: 13px; min-height: 18px; }
.form-status--error { color: #ff9d9d; }
.lead-form-card.light .form-status--error { color: #b3261e; }
.form-status--success { color: var(--gold-400); }

/* ---------- Highlights grid ---------- */
.highlight-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 48px; }
@media (max-width: 950px) { .highlight-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .highlight-grid { grid-template-columns: 1fr; } }
.highlight-card {
  background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.highlight-card .icon { font-size: 30px; margin-bottom: 12px; }
.highlight-card h4 { font-family: var(--font-body); font-weight: 700; font-size: 15px; color: var(--emerald-900); margin: 0 0 6px; }
.highlight-card p { font-size: 13.5px; margin: 0; }

/* ---------- About developer ---------- */
.about-dev { background: var(--emerald-900); color: var(--ivory); }
.about-dev .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 900px) { .about-dev .grid-2 { grid-template-columns: 1fr; } }
.about-dev img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.about-dev p { color: rgba(255,255,255,0.82); }
.about-dev h2 { color: #fff; }
.dev-stats { display: flex; gap: 32px; margin-top: 24px; flex-wrap: wrap; }
.dev-stats .num { font-family: var(--font-head); font-size: 30px; color: var(--gold-400); }
.dev-stats .lbl { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ---------- Residences ---------- */
.residence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-bottom: 48px; }
@media (max-width: 950px) { .residence-grid { grid-template-columns: 1fr; } }
.residence-card { background: #fff; border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; }
.residence-card img { height: 260px; object-fit: cover; width: 100%; }
.residence-card .body { padding: 22px; }
.residence-card .price-tag { display: inline-block; background: var(--gold-500); color: var(--emerald-900); font-size: 12px; font-weight: 800; padding: 5px 12px; border-radius: 999px; margin-bottom: 10px; }
.residence-card ul { margin: 12px 0 0; padding-left: 18px; font-size: 13.5px; color: var(--grey-600); }
.residence-card ul li { margin-bottom: 4px; }

/* ---------- Amenities (video section) ---------- */
.amenities { position: relative; color: var(--ivory); background: var(--emerald-900); overflow: hidden; }
.amenities .container { position: relative; z-index: 2; }
.amenities .section-head p { color: rgba(255,255,255,0.78); }

.amenities-video-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(201,162,75,0.35);
  box-shadow: var(--shadow-lg);
  margin-bottom: 56px;
  aspect-ratio: 16 / 8;
  background: #000;
}
.amenities-video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 700px) { .amenities-video-frame { aspect-ratio: 4 / 5; } }

.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 48px; }
@media (max-width: 950px) { .amenity-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .amenity-grid { grid-template-columns: 1fr; } }
.amenity-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,162,75,0.3);
  border-radius: var(--radius);
  padding: 26px 16px 22px;
  text-align: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.amenity-card:hover { background: rgba(201,162,75,0.1); transform: translateY(-2px); }
.amenity-card .icon { margin-bottom: 14px; color: var(--gold-400); }
.amenity-card h4 { font-family: var(--font-body); font-size: 14px; font-weight: 700; margin: 0; color: #fff; }
.amenity-photo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 48px; }
@media (max-width: 800px) { .amenity-photo-strip { grid-template-columns: 1fr; } }
.amenity-photo-strip figure { margin: 0; border-radius: var(--radius); overflow: hidden; position: relative; }
.amenity-photo-strip img { height: 220px; object-fit: cover; width: 100%; }
.amenity-photo-strip figcaption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 14px;
  background: linear-gradient(0deg, rgba(0,0,0,0.7), transparent);
  font-size: 13px; font-weight: 700; color: #fff;
}

/* ---------- Inclusions checklist ---------- */
.inclusions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px 40px; margin-bottom: 40px; }
@media (max-width: 700px) { .inclusions-grid { grid-template-columns: 1fr; } }
.inclusion-item { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; border-bottom: 1px solid var(--grey-200); }
.inclusion-item .check { color: var(--gold-500); font-size: 18px; flex-shrink: 0; }
.inclusion-item strong { display: block; color: var(--emerald-900); font-size: 15px; }
.inclusion-item span.desc { font-size: 13px; color: var(--grey-600); }

/* ---------- Tables (spec + payment plan) ---------- */
.table-wrap { overflow-x: auto; margin-bottom: 32px; border-radius: var(--radius); border: 1px solid var(--grey-200); }
table.spec-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
table.spec-table th { background: var(--emerald-900); color: var(--gold-400); text-align: left; padding: 16px; font-size: 12px; letter-spacing: 0.6px; text-transform: uppercase; }
table.spec-table td { padding: 16px; border-top: 1px solid var(--grey-200); color: var(--charcoal); }
table.spec-table tbody tr:nth-child(even) { background: #f7f4ee; }
.table-footnote { font-size: 12.5px; color: var(--grey-600); margin-top: -18px; margin-bottom: 40px; }

/* ---------- Location ---------- */
.location-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: start; }
@media (max-width: 950px) { .location-grid { grid-template-columns: 1fr; } }
.location-list { list-style: none; margin: 0 0 28px; padding: 0; }
.location-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px dashed var(--grey-200); font-size: 14.5px; }
.location-list li .dist { background: var(--emerald-900); color: var(--gold-400); font-weight: 700; font-size: 12.5px; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.connectivity-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 12px; }
@media (max-width: 560px) { .connectivity-cats { grid-template-columns: 1fr; } }
.connectivity-cats h4 { font-size: 12.5px; letter-spacing: 1px; text-transform: uppercase; color: var(--gold-500); margin-bottom: 8px; }
.connectivity-cats ul { margin: 0 0 18px; padding-left: 16px; font-size: 13px; color: var(--grey-600); }
.connectivity-cats li { margin-bottom: 4px; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--grey-200); box-shadow: var(--shadow-lg); }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto 48px; }
.faq-item { border-bottom: 1px solid var(--grey-200); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 4px; font-family: var(--font-body); font-weight: 700; font-size: 16px; color: var(--emerald-900);
}
.faq-q .sign { color: var(--gold-500); font-size: 20px; font-weight: 400; transition: transform 0.2s ease; }
.faq-item.open .sign { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.25s ease; }
.faq-a p { padding: 0 4px 20px; margin: 0; }
.faq-item.open .faq-a { max-height: 340px; }

/* ---------- Footer ---------- */
.site-footer { background: #08201980; background: var(--charcoal); background: #0a1e17; color: rgba(255,255,255,0.75); }
.footer-cta { padding-top: 64px; }
.footer-columns { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding: 56px 0 32px; }
@media (max-width: 900px) { .footer-columns { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-columns { grid-template-columns: 1fr; } }
.site-footer h4 { color: var(--gold-400); font-size: 13px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 700; }
.site-footer .logo img { height: 30px; margin-bottom: 16px; }
.site-footer p, .site-footer li { font-size: 13.5px; color: rgba(255,255,255,0.68); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul li a:hover { color: var(--gold-400); }
.footer-rera-box, .footer-account-box { background: rgba(255,255,255,0.05); border: 1px solid rgba(201,162,75,0.25); border-radius: var(--radius); padding: 16px; font-size: 13px; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 28px 0 40px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,0.5); margin-bottom: 10px; }
.footer-social { display: flex; gap: 14px; margin-top: 6px; }
.footer-social a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.footer-social a:hover { background: var(--gold-500); color: var(--emerald-900); border-color: var(--gold-500); }

/* ---------- Scroll-triggered offer modal ---------- */
.scroll-modal-overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(8, 20, 16, 0.72);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.scroll-modal-overlay.open { opacity: 1; visibility: visible; }
.scroll-modal {
  position: relative;
  background: linear-gradient(180deg, var(--emerald-800), var(--emerald-900));
  border: 1px solid rgba(201,162,75,0.4);
  border-radius: 6px;
  max-width: 480px; width: 100%;
  padding: 40px 36px 32px;
  text-align: center;
  color: var(--ivory);
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  transform: translateY(24px) scale(0.97);
  transition: transform 0.35s ease;
  max-height: 90vh;
  overflow-y: auto;
}
.scroll-modal-overlay.open .scroll-modal { transform: translateY(0) scale(1); }
.scroll-modal-logo { height: 26px; margin: 0 auto 18px; }
.scroll-modal .hero-form-eyebrow { margin-bottom: 14px; }
.scroll-modal h3 { color: #fff; font-size: 24px; margin-bottom: 10px; }
.scroll-modal p.form-note { color: rgba(255,255,255,0.78); font-size: 14px; margin-bottom: 20px; }
.scroll-modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: #fff; font-size: 18px; line-height: 1; cursor: pointer;
}
.scroll-modal-close:hover { background: var(--gold-500); color: var(--emerald-900); }
.scroll-modal-tags { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.scroll-modal-tags span {
  background: rgba(201,162,75,0.15); border: 1px solid rgba(201,162,75,0.4);
  color: var(--gold-400); font-size: 12px; font-weight: 700;
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.scroll-modal .lead-form--stacked .form-row { display: flex; flex-direction: column; gap: 12px; }
.scroll-modal .lead-form--stacked input {
  padding: 14px 16px; font-size: 14px; width: 100%;
  border-radius: var(--radius); border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08); color: #fff;
}
.scroll-modal .lead-form--stacked input::placeholder { color: rgba(255,255,255,0.55); }
.scroll-modal .lead-form--stacked button { width: 100%; padding: 15px; }
@media (max-width: 560px) {
  .scroll-modal { padding: 32px 22px 26px; }
  .scroll-modal h3 { font-size: 20px; }
}

/* Utility */
.text-center { text-align: center; }
.mt-24 { margin-top: 24px; }
.skip-link { position: absolute; left: -999px; top: 0; background: #fff; padding: 10px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }
