/* =============================================
   HUDAYRIYAT ISLAND — Modon Properties
   Premium Landing Page Stylesheet
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #030a13;
  --ink-mid:    #07111f;
  --ink-light:  #0f2036;
  --ink-lighter:#162840;
  --gold:        #c4a25a;
  --gold-bright: #e2c07a;
  --gold-pale:   #f0e4c4;
  --gold-dim:    rgba(196,162,90,0.18);
  --white:       #ffffff;
  --off-white:   #f5f1ea;
  --muted:       rgba(255,255,255,0.50);
  --muted2:      rgba(255,255,255,0.25);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── NOISE OVERLAY ───────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.022;
  pointer-events: none;
  z-index: 1000;
}

/* ── ANNOUNCEMENT BAR ────────────────────── */
.bar {
  position: relative; z-index: 90;
  background: var(--gold);
  color: var(--ink);
  text-align: center;
  padding: 10px 20px;
  font-family: var(--sans);
  font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
}
.bar em { font-style: normal; font-weight: 300; letter-spacing: 0.06em; margin-left: 8px; }

/* ── HEADER ──────────────────────────────── */
.hdr {
  position: sticky; top: 0; z-index: 89;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 52px;
  background: rgba(3,10,19,0.96);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(196,162,90,0.15);
  transition: padding 0.3s;
}
.hdr-logo img { height: 40px; filter: brightness(1.15) saturate(0.9); }
.hdr-right { display: flex; align-items: center; gap: 22px; }
.hdr-phone {
  display: flex; align-items: center; gap: 8px;
  color: var(--gold); font-size: 14px; font-weight: 400; letter-spacing: 0.04em;
  text-decoration: none; transition: color 0.2s;
}
.hdr-phone:hover { color: var(--gold-bright); }
.hdr-phone svg { width: 15px; height: 15px; fill: currentColor; }

/* ── BUTTONS ─────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-weight: 600; letter-spacing: 0.13em;
  text-transform: uppercase; text-decoration: none; cursor: pointer;
  border: none; transition: all 0.25s; white-space: nowrap;
}
.btn-gold  { background: var(--gold); color: var(--ink); padding: 12px 30px; font-size: 12px; }
.btn-gold:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 8px 28px rgba(196,162,90,0.35); }
.btn-ghost { background: transparent; color: var(--gold); border: 1px solid rgba(196,162,90,0.6); padding: 12px 28px; font-size: 12px; }
.btn-ghost:hover { background: var(--gold); color: var(--ink); }
.btn-lg   { padding: 16px 38px; font-size: 13px; }

/* ── HERO ────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  background: url('images/hero.webp') center / cover no-repeat;
  animation: hzoom 22s ease-in-out infinite alternate;
  transform-origin: center center;
}
@keyframes hzoom { from { transform: scale(1); } to { transform: scale(1.05); } }
.hero-grad {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(3,10,19,0.88) 40%, rgba(3,10,19,0.35) 100%);
}
.hero-grad-btm {
  position: absolute; bottom: 0; left: 0; right: 0; height: 220px;
  background: linear-gradient(to top, var(--ink), transparent);
}
.hero-body {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 390px; gap: 64px; align-items: center;
  max-width: 1280px; margin: 0 auto; padding: 80px 52px; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.hero-eyebrow span { display: block; width: 36px; height: 1px; background: var(--gold); }
.hero-h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 6.5vw, 88px);
  font-weight: 300; line-height: 1.03; letter-spacing: -0.01em;
  margin-bottom: 28px;
}
.hero-h1 em { font-style: italic; color: var(--gold-bright); }
.hero-desc {
  font-size: 16px; font-weight: 300;
  color: rgba(255,255,255,0.72); line-height: 1.85; max-width: 480px; margin-bottom: 36px;
}
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.pill {
  font-size: 11px; font-weight: 400; letter-spacing: 0.07em; color: var(--gold-pale);
  border: 1px solid rgba(196,162,90,0.4); padding: 7px 16px; backdrop-filter: blur(4px);
}
.hero-by {
  display: flex; align-items: center; gap: 14px; padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-by-badge {
  background: var(--gold); color: var(--ink);
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 12px;
}
.hero-by-text { font-size: 13px; font-weight: 300; color: rgba(255,255,255,0.7); }
.hero-by-text strong { display: block; font-size: 15px; font-weight: 500; color: var(--white); letter-spacing: 0.01em; }

/* ── FORM CARD ───────────────────────────── */
.fcard {
  background: rgba(3,10,19,0.82);
  border: 1px solid rgba(196,162,90,0.3);
  backdrop-filter: blur(24px);
  padding: 40px 36px 34px;
  position: relative; overflow: hidden;
}
.fcard::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,90,0.09), transparent 70%);
  pointer-events: none;
}
.fcard-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.fcard-title { font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.18; margin-bottom: 6px; }
.fcard-sub { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.6; margin-bottom: 26px; }

.fgroup { margin-bottom: 12px; }
.fgroup input, .fgroup select, .fgroup textarea {
  width: 100%;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: var(--sans); font-size: 13.5px; font-weight: 300;
  padding: 13px 16px; outline: none;
  transition: border-color 0.2s, background 0.2s;
  -webkit-appearance: none; appearance: none;
}
.fgroup input::placeholder, .fgroup textarea::placeholder { color: rgba(255,255,255,0.3); }
.fgroup input:focus, .fgroup select:focus {
  border-color: var(--gold); background: rgba(255,255,255,0.08);
}
.fgroup select option { background: var(--ink-mid); color: var(--white); }

.fsubmit {
  width: 100%; background: var(--gold); color: var(--ink);
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: none; padding: 16px 20px; cursor: pointer; margin-top: 4px;
  transition: background 0.25s, transform 0.2s;
}
.fsubmit:hover { background: var(--gold-bright); transform: translateY(-1px); }
.fdisclaimer { font-size: 11px; color: rgba(255,255,255,0.25); text-align: center; margin-top: 12px; line-height: 1.5; }
.fsuccess {
  display: none;
  background: rgba(196,162,90,0.08); border: 1px solid rgba(196,162,90,0.4);
  padding: 18px; text-align: center; margin-top: 14px;
}
.fsuccess p { color: var(--gold-bright); font-size: 14px; font-weight: 400; }

/* ── TICKER ──────────────────────────────── */
.ticker-wrap { background: var(--gold); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: tick 30s linear infinite; }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.tick-item { display: flex; align-items: center; gap: 12px; padding: 13px 44px; white-space: nowrap; }
.tick-val { font-size: 12.5px; font-weight: 700; letter-spacing: 0.05em; color: var(--ink); }
.tick-lbl { font-size: 11.5px; font-weight: 400; letter-spacing: 0.06em; color: rgba(3,10,19,0.65); }
.tick-dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(3,10,19,0.3); }

/* ── SECTION HELPERS ─────────────────────── */
.sec { padding: 100px 52px; max-width: 1280px; margin: 0 auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 10.5px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.sec-title { font-family: var(--serif); font-size: clamp(36px, 4.2vw, 58px); font-weight: 300; line-height: 1.08; }
.sec-title em { font-style: italic; color: var(--gold-bright); }
.sec-body { font-size: 16px; font-weight: 300; color: rgba(255,255,255,0.62); line-height: 1.85; max-width: 580px; margin-top: 18px; }

/* ── STATS BAND ──────────────────────────── */
.stats-band {
  display: flex; justify-content: center; flex-wrap: wrap;
  background: var(--ink-mid);
  border-top: 1px solid rgba(196,162,90,0.15);
  border-bottom: 1px solid rgba(196,162,90,0.15);
}
.stat { flex: 1; min-width: 160px; text-align: center; padding: 44px 28px; border-right: 1px solid rgba(196,162,90,0.12); transition: background 0.25s; }
.stat:last-child { border-right: none; }
.stat:hover { background: rgba(196,162,90,0.04); }
.stat-n { font-family: var(--serif); font-size: 42px; font-weight: 300; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-l { font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }

/* ── ABOUT GRID ──────────────────────────── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; max-width: 1280px; margin: 0 auto; padding: 100px 52px; }
.about-imgs { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 580px; }
.about-img-main { grid-row: 1 / 3; grid-column: 1; overflow: hidden; }
.about-img-sm { overflow: hidden; }
.about-imgs img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.about-imgs div:hover img { transform: scale(1.05); }
.about-badge {
  background: var(--gold); color: var(--ink); padding: 22px 26px;
  text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.about-badge-n { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1; }
.about-badge-t { font-size: 10px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 5px; }
.about-list { list-style: none; margin: 28px 0 36px; }
.about-list li {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.78);
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.about-list li:last-child { border-bottom: none; }
.about-list li::before { content: '◆'; color: var(--gold); font-size: 8px; margin-top: 5px; flex-shrink: 0; }

/* ── COMMUNITIES ─────────────────────────── */
.com-sec { background: var(--ink-mid); padding: 100px 0; }
.com-inner { max-width: 1280px; margin: 0 auto; padding: 0 52px; }
.com-grid { display: grid; grid-template-columns: repeat(4,1fr); grid-template-rows: auto auto; gap: 14px; margin-top: 52px; }
.ccard { position: relative; overflow: hidden; cursor: pointer; }
.ccard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.ccard:hover img { transform: scale(1.08); }
.ccard-over {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(3,10,19,0.9) 30%, rgba(3,10,19,0.1) 100%);
  display: flex; flex-direction: column; justify-content: flex-end; padding: 22px;
  transition: background 0.3s;
}
.ccard:hover .ccard-over { background: linear-gradient(to top, rgba(3,10,19,0.95) 40%, rgba(3,10,19,0.25) 100%); }
.ccard-name { font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--white); line-height: 1.2; }
.ccard-tag { font-size: 10.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-top: 6px; opacity: 0; transform: translateY(5px); transition: all 0.3s; }
.ccard:hover .ccard-tag { opacity: 1; transform: none; }
.ccard.big { grid-column: span 2; grid-row: span 2; min-height: 480px; }
.ccard.big .ccard-name { font-size: 30px; }
.ccard.tall { aspect-ratio: 4/5; }
.ccard.std  { aspect-ratio: 4/3; }

/* ── AMENITIES ───────────────────────────── */
.amen-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: rgba(196,162,90,0.12); margin-top: 52px; border: 1px solid rgba(196,162,90,0.12); }
.amen { background: var(--ink); padding: 38px 32px; transition: background 0.25s; }
.amen:hover { background: var(--ink-light); }
.amen-img { margin: -38px -32px 24px; height: 320px; overflow: hidden; }
.amen-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.amen:hover .amen-img img { transform: scale(1.04); }
.amen-ico { font-size: 28px; margin-bottom: 16px; }
.amen-title { font-family: var(--serif); font-size: 21px; font-weight: 400; margin-bottom: 10px; }
.amen-desc { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.75; }

/* ── CINEMATIC BAND ──────────────────────── */
.cine { position: relative; height: 480px; overflow: hidden; display: flex; align-items: center; justify-content: center; text-align: center; }
.cine-img { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cine-ov  { position: absolute; inset: 0; background: rgba(3,10,19,0.62); }
.cine-body { position: relative; z-index: 2; padding: 20px; }
.cine-title { font-family: var(--serif); font-size: clamp(28px,4.5vw,52px); font-weight: 300; line-height: 1.15; margin-bottom: 24px; }
.cine-title em { font-style: italic; color: var(--gold-bright); }

/* ── MID FORM ────────────────────────────── */
.mid-sec { background: var(--ink-mid); position: relative; overflow: hidden; }
.mid-sec::before {
  content: ''; position: absolute; top: -200px; left: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(196,162,90,0.05), transparent 70%);
  pointer-events: none;
}
.mid-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; max-width: 1280px; margin: 0 auto; padding: 100px 52px; }
.mid-img-wrap { position: relative; }
.mid-img-frame { position: relative; border: 1px solid rgba(196,162,90,0.25); overflow: hidden; }
.mid-img-frame::before {
  content: ''; position: absolute; top: -14px; left: -14px; right: 14px; bottom: 14px;
  border: 1px solid rgba(196,162,90,0.12); z-index: 0; pointer-events: none;
}
.mid-img { width: 100%; height: 540px; object-fit: cover; object-position: center top; display: block; position: relative; z-index: 1; }
.mid-badge {
  position: absolute; bottom: -20px; right: -20px; z-index: 2;
  background: var(--gold); color: var(--ink); padding: 22px 26px; text-align: center;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.mid-badge-n { font-family: var(--serif); font-size: 42px; font-weight: 300; line-height: 1; }
.mid-badge-t { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 4px; }

/* ── FAQ ─────────────────────────────────── */
.faq { border-top: 1px solid rgba(255,255,255,0.08); }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 0; cursor: pointer;
  font-size: 16px; font-weight: 400; color: rgba(255,255,255,0.85); gap: 20px;
  transition: color 0.2s; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.faq-q:hover { color: var(--gold-pale); }
.faq-ico {
  width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(196,162,90,0.4); display: flex; align-items: center; justify-content: center;
  color: var(--gold); font-size: 20px; line-height: 1; transition: transform 0.3s, background 0.2s;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: rgba(196,162,90,0.12); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a-inner { padding: 0 0 22px; font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.85; }
.faq-item.open .faq-a { max-height: 300px; }

/* ── FOOTER FORM ─────────────────────────── */
.ftrsec { position: relative; overflow: hidden; background: var(--ink-mid); text-align: center; padding: 100px 52px; }
.ftrsec::before {
  content: ''; position: absolute; bottom: -200px; left: 50%; transform: translateX(-50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse at center, rgba(196,162,90,0.06) 0%, transparent 65%);
  pointer-events: none;
}
.ftr-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 640px; margin: 44px auto 0; text-align: left; }
.ftr-form .span-2 { grid-column: 1 / -1; }

/* ── FOOTER ──────────────────────────────── */
footer { background: var(--ink); padding: 44px 52px; border-top: 1px solid rgba(255,255,255,0.05); }
.ftr-top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; margin-bottom: 28px; }
.ftr-logo img { height: 36px; opacity: 0.7; filter: brightness(1.1); }
.ftr-links { display: flex; gap: 28px; flex-wrap: wrap; }
.ftr-links a { font-size: 12px; color: rgba(255,255,255,0.3); text-decoration: none; letter-spacing: 0.04em; transition: color 0.2s; }
.ftr-links a:hover { color: var(--gold); }
.ftr-disc { font-size: 11px; color: rgba(255,255,255,0.18); line-height: 1.7; border-top: 1px solid rgba(255,255,255,0.05); padding-top: 24px; }

/* ── FLOAT BUTTONS ───────────────────────── */
.wa {
  position: fixed; bottom: 96px; right: 26px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 22px rgba(37,211,102,0.45);
  text-decoration: none; transition: transform 0.25s, box-shadow 0.25s;
}
.wa:hover { transform: scale(1.1); box-shadow: 0 6px 32px rgba(37,211,102,0.55); }
.wa svg { width: 28px; height: 28px; fill: white; }

.mob-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink); border-top: 1px solid rgba(196,162,90,0.25);
  padding: 12px 18px; gap: 12px;
}
.mob-bar a { flex: 1; text-align: center; font-size: 12px; padding: 11px 0; }

/* ── SCROLL ANIMATIONS ───────────────────── */
.fi { opacity: 0; transform: translateY(30px); transition: opacity 0.75s ease, transform 0.75s ease; }
.fi.vis { opacity: 1; transform: none; }
.fi-d1 { transition-delay: 0.10s; }
.fi-d2 { transition-delay: 0.20s; }
.fi-d3 { transition-delay: 0.30s; }
.fi-d4 { transition-delay: 0.40s; }

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1100px) {
  .hero-body, .about-grid, .mid-inner { grid-template-columns: 1fr; gap: 48px; padding: 70px 32px; }
  .fcard { max-width: 480px; }
  .com-grid { grid-template-columns: repeat(2,1fr); }
  .ccard.big { grid-column: span 2; min-height: 360px; }
  .amen-grid { grid-template-columns: repeat(2,1fr); }
  .about-imgs { height: 400px; }
  .mid-img-wrap { display: none; }
  .sec { padding: 70px 32px; }
  .hdr { padding: 14px 28px; }
  .com-inner { padding: 0 32px; }
}
@media (max-width: 768px) {
  .hdr-phone { display: none; }
  .com-grid { grid-template-columns: 1fr; }
  .ccard.big { min-height: 300px; aspect-ratio: 4/3; }
  .amen-grid { grid-template-columns: 1fr; }
  .stats-band { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid rgba(196,162,90,0.12); }
  .stat:last-child { border-bottom: none; }
  .ftr-form { grid-template-columns: 1fr; }
  .ftr-form .span-2 { grid-column: 1; }
  .ftrsec, .about-grid, .mid-inner { padding: 60px 20px; }
  .sec, footer { padding: 60px 20px; }
  .com-inner { padding: 0 20px; }
  .hero-body { padding: 60px 20px; }
  .mob-bar { display: flex; }
  .wa { bottom: 80px; right: 18px; }
}
@media (max-width: 480px) {
  .hero-h1 { font-size: 40px; }
  .hero-pills { display: none; }
  .fcard { padding: 28px 22px; }
  .about-imgs { display: none; }
}
