/* ─────────────────────────────────────────
   POINT REAL ESTATE · Global Styles
   Edit this file to update brand-wide styles
   ───────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

/* ─── TOKENS ─── */
:root {
  --cream: #F5F0E8;
  --navy: #0F1E35;
  --navy-mid: #1A2F4A;
  --gold: #C4973A;
  --gold-light: #D4A94A;
  --slate: #A3B1C6;
  --slate-light: #BCC7D6;
  --slate-dim: rgba(163,177,198,0.18);
  --warm-white: #FDFBF7;
  --text-muted: #7A7568;
  --border: rgba(15,30,53,0.12);

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

  --nav-height: 72px;
  --page-gutter: 52px;
  --section-pad: 96px;
}

/* ─── RESET ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--warm-white);
  color: var(--navy);
  overflow-x: hidden;
}

/* ─── NAV ─── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter);
  height: var(--nav-height);
  background: rgba(253,251,247,0.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

/* Lock logo size — prevents iHomefinder stylesheet from overriding */
.nav-logo-mark svg {
  width: 52px !important;
  height: 52px !important;
}

.nav-logo {
  font-size: 28px !important;
  gap: 14px !important;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.nav-logo-mark svg {
  width: 52px;
  height: 52px;
}

/* ─── HAMBURGER ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: all 0.25s ease;
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.nav-links a:hover { opacity: 1; }
.nav-links a.active { opacity: 1; color: var(--navy); border-bottom: 2px solid var(--slate); padding-bottom: 2px; }

.nav-cta {
  color: var(--warm-white) !important;
  background: var(--navy);
  padding: 10px 22px;
  border-radius: 2px;
  opacity: 1 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold) !important; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(163,177,198,0.15);
  padding: 72px var(--page-gutter) 44px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 56px;
}

/* Brand column */
.footer-brand {}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: var(--cream);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  font-size: 15px;
  color: rgba(245,240,232,0.4);
  line-height: 1.75;
  max-width: 240px;
  margin-bottom: 24px;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-line {
  font-size: 15px;
  color: rgba(245,240,232,0.45);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 0.3s ease-in-out;
}

a.footer-contact-line:hover { color: var(--slate); }

.footer-address-line {
  font-size: 17px;
  color: rgba(245,240,232,0.3);
  letter-spacing: 0.03em;
}

/* Nav columns */
.footer-col {}

.footer-col-title {
  font-size: 17px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  opacity: 0.8;
  /* No hover — static intentionally */
  pointer-events: none;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* Slate hover with underline reveal */
.footer-links a {
  font-size: 15px;
  color: rgba(245,240,232,0.5);
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease-in-out;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--slate);
  transition: width 0.3s ease-in-out;
}

.footer-links a:hover {
  color: var(--slate);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Coming soon item — no link */
.footer-link-soon {
  font-size: 15px;
  color: rgba(245,240,232,0.2);
  font-style: italic;
  letter-spacing: 0.01em;
  cursor: default;
}

/* Bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(163,177,198,0.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-copy {
  font-size: 15px;
  color: rgba(245,240,232,0.25);
  letter-spacing: 0.04em;
}

.footer-bottom-right {}

/* Responsive */

/* ─── MOBILE NAV ─── */
@media (max-width: 860px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: rgba(253,251,247,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 16px 0 24px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }

  .nav-links.open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 16px var(--page-gutter);
    font-size: 15px;
    letter-spacing: 0.10em;
    opacity: 0.8;
  }

  .nav-cta {
    margin: 8px var(--page-gutter) 0;
    display: inline-block;
    padding: 12px 28px;
  }
}

@media (max-width: 1100px) {
  .footer-top { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}

/* ─── SHARED COMPONENTS ─── */

/* Breadcrumb */
.breadcrumb {
  padding: 100px var(--page-gutter) 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.breadcrumb a, .breadcrumb span {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span:last-child { color: var(--gold); }
.breadcrumb-sep { opacity: 0.4; color: var(--slate); }

/* Section scaffolding */
.section { padding: var(--section-pad) var(--page-gutter); }
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 52px;
}
.section-label {
  font-size: 17px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--navy);
}
.section-title em { font-style: italic; color: var(--gold); }

.section-link {
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.6;
  transition: opacity 0.2s;
  white-space: nowrap;
  margin-bottom: 6px;
}
.section-link:hover { opacity: 1; }

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gold);
  color: var(--warm-white);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 16px 32px;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.25s;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gold-light); }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid rgba(245,240,232,0.45);
  text-decoration: none;
  transition: background 0.25s, border-color 0.25s;
  cursor: pointer;
  margin-top: 24px;
}
.btn-secondary:hover {
  background: rgba(245,240,232,0.1);
  border-color: var(--cream);
}

.btn-ghost {
  font-size: 15px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn-ghost:hover { color: var(--cream); }

.btn-arrow {
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}
.btn-arrow::after {
  content: '';
  position: absolute;
  right: 0; top: -3px;
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}

/* Page headers */
.page-header-dark {
  background: var(--navy);
  padding: 160px var(--page-gutter) 96px;
  position: relative;
  overflow: hidden;
}
.page-header-dark::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 700px; height: 700px;
  border-radius: 50%;
  border: 1px solid rgba(196,151,58,0.1);
  pointer-events: none;
}
.page-header-dark::after {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 480px; height: 480px;
  border-radius: 50%;
  border: 1px solid rgba(196,151,58,0.07);
  pointer-events: none;
}
.page-label {
  font-size: 17px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.page-title-display {
  font-family: var(--font-display);
  font-size: clamp(52px, 6vw, 88px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--cream);
  letter-spacing: -0.01em;
  max-width: 700px;
}
.page-title-display em { font-style: italic; color: var(--gold); }
.page-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245,240,232,0.55);
  max-width: 520px;
  margin-top: 24px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
