/* =============================================
   POINTX REALTY — MAIN STYLESHEET
   Brand: Deep Navy #0A1628, Gold #C9A96E, Cream #F5F0E8
   Fonts: Cormorant Garamond (headings) + DM Sans (body)
   ============================================= */

@font-face {
  font-family: 'GreycliffCF';
  src: url('../fonts/GreycliffCF-Regular.otf') format('opentype');
  font-weight: 400;
  font-display: swap;
}

/* ---- VARIABLES ---- */
:root {
  --navy:    #0A1628;
  --navy-mid: #0F1F3D;
  --navy-light: #162848;
  --gold:    #C9A96E;
  --gold-light: #DFC28A;
  --gold-dark: #9E7B44;
  --cream:   #F5F0E8;
  --cream-dark: #E8E0D0;
  --white:   #FFFFFF;
  --text-dark: #0A1628;
  --text-mid: #4A5568;
  --text-light: #8896A8;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', 'GreycliffCF', sans-serif;

  --radius: 4px;
  --radius-lg: 12px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.08);
  --shadow-md: 0 8px 32px rgba(10,22,40,0.14);
  --shadow-lg: 0 20px 60px rgba(10,22,40,0.20);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); }
h2 em, h1 em { font-style: italic; color: var(--gold); }
.label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.body-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-mid);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  border-radius: var(--radius);
}
.btn--gold {
  background: var(--gold);
  color: var(--navy);
}
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,169,110,0.35); }
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.45);
}
.btn--outline:hover { background: rgba(255,255,255,0.08); border-color: var(--gold); }
.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.5);
}
.btn--ghost:hover { background: rgba(255,255,255,0.1); }
.btn--navy {
  background: var(--navy);
  color: var(--white);
}
.btn--navy:hover { background: var(--navy-mid); }
.btn--dark-outline {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn--dark-outline:hover { background: var(--navy); color: var(--white); }

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 2rem;
  transition: all var(--transition);
}
.nav.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding: 0 2rem;
}
.nav__inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 80px;
  gap: 2rem;
}
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 42px; width: auto; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}
.nav__logo-text span { color: var(--gold); }
.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}
.nav__link {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 100%;
  height: 1px;
  background: var(--gold);
  transition: right var(--transition);
}
.nav__link:hover, .nav__link.active { color: var(--white); }
.nav__link:hover::after, .nav__link.active::after { right: 0; }
.nav__cta { margin-left: 1.5rem; font-size: 0.75rem; }
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}
.nav__mobile {
  display: none;
  position: fixed;
  top: 80px; left: 0; right: 0;
  background: var(--navy);
  padding: 2rem;
  border-top: 1px solid rgba(201,169,110,0.2);
}
.nav__mobile.open { display: block; }
.nav__mobile ul { display: flex; flex-direction: column; gap: 1.5rem; }
.nav__mobile a {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.05em;
}
.nav__mobile a:hover { color: var(--gold); }

/* ---- HERO ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,22,40,0.78) 0%,
    rgba(10,22,40,0.45) 60%,
    rgba(10,22,40,0.25) 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
  width: 100%;
  padding-top: 80px;
  animation: fadeUp 1s ease 0.3s both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero__eyebrow {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.hero__title {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 700px;
}
.hero__sub {
  color: rgba(255,255,255,0.7);
  font-size: 1.1rem;
  max-width: 480px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  z-index: 2;
}
.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(201,169,110,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ---- STATS ---- */
.stats {
  background: var(--navy);
  padding: 2.5rem 2rem;
}
.stats__inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.stats__item {
  text-align: center;
  flex: 1;
}
.stats__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--gold);
  font-weight: 400;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stats__num sup { font-size: 0.5em; }
.stats__label {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.stats__divider {
  width: 1px;
  height: 50px;
  background: rgba(201,169,110,0.2);
  flex-shrink: 0;
}

/* ---- FEATURED ---- */
.featured {
  background: var(--cream);
  padding: 6rem 2rem;
}
.featured__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.featured__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.featured__media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured__media:hover img { transform: scale(1.03); }
.featured__badge {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 2px;
}
.featured__content { padding-right: 1rem; }
.featured__content h2 { margin-bottom: 1.25rem; }
.featured__content .body-text { margin-bottom: 1.75rem; }
.featured__list {
  margin-bottom: 2rem;
}
.featured__list li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.9rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.featured__list li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- WHY ---- */
.why {
  background: var(--white);
  padding: 6rem 2rem;
}
.why__inner { max-width: 1200px; margin: 0 auto; }
.why__header {
  text-align: center;
  margin-bottom: 4rem;
}
.why__header .label { justify-content: center; display: flex; }
.why__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}
.why__card {
  padding: 2.25rem 1.75rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why__card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
.why__card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why__card:hover::after { transform: scaleX(1); }
.why__icon {
  width: 44px; height: 44px;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.why__card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}
.why__card p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--text-mid);
}

/* ---- GALLERY STRIP ---- */
.gallery-strip {
  overflow: hidden;
  background: var(--navy);
  padding: 0;
}
.gallery-strip__track {
  display: flex;
  gap: 0;
  animation: galleryScroll 30s linear infinite;
  width: max-content;
}
.gallery-strip__track img {
  height: 280px;
  width: 380px;
  object-fit: cover;
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity 0.3s;
}
.gallery-strip__track img:hover { opacity: 1; }
@keyframes galleryScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--navy);
  padding: 7rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,169,110,0.07) 0%, transparent 70%);
}
.cta-band__inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-band h2 { color: var(--white); margin-bottom: 1.25rem; }
.cta-band p {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

/* ---- FOOTER ---- */
.footer {
  background: #060E1C;
  padding: 5rem 2rem 0;
}
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.footer__logo { height: 38px; width: auto; margin-bottom: 1rem; }
.footer__logo-text {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__logo-text span { color: var(--gold); }
.footer__brand p {
  font-size: 0.875rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.4);
  max-width: 280px;
}
.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__col li, .footer__col a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color var(--transition);
}
.footer__col a:hover { color: var(--gold); }
.footer__social {
  display: flex;
  gap: 1rem;
}
.footer__social a {
  width: 38px; height: 38px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: all var(--transition);
}
.footer__social a svg { width: 16px; height: 16px; }
.footer__social a:hover { border-color: var(--gold); color: var(--gold); }
.footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--navy);
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}
.page-hero__inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ---- SECTION PADDING UTILITY ---- */
.section { padding: 6rem 2rem; }
.section--cream { background: var(--cream); }
.section--navy { background: var(--navy); }
.container { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header .label { justify-content: center; display: flex; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .why__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}
@media (max-width: 900px) {
  .featured__inner { grid-template-columns: 1fr; gap: 3rem; }
  .featured__media img { height: 340px; }
  .stats__inner { gap: 0.5rem; }
  .stats__num { font-size: 1.8rem; }
}
@media (max-width: 768px) {
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .why__grid { grid-template-columns: 1fr; }
  .stats__inner { flex-wrap: wrap; }
  .stats__divider { display: none; }
  .stats__item { flex: 0 0 45%; }
  .footer__inner { grid-template-columns: 1fr; }
  .gallery-strip__track img { height: 200px; width: 260px; }
}
@media (max-width: 480px) {
  .hero__actions { flex-direction: column; }
  .btn { text-align: center; }
}
