/* ============================================
   BROOKWOOD CAPITAL PARTNERS — Shared Styles
   Palette: Navy Blue + Warm Orange
   Type: Cormorant Garamond + Barlow
   ============================================ */

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

:root {
  --navy:        #0f2241;
  --navy-mid:    #183259;
  --navy-light:  #224070;
  --orange:      #d4691e;
  --orange-lt:   #e07e35;
  --orange-pale: #f5ebe0;
  --cream:       #f8f6f1;
  --warm-gray:   #ede9e0;
  --warm-gray2:  #d5cfc4;
  --text:        #0f2241;
  --text-mid:    #3a4a62;
  --text-muted:  #7a8699;
  --white:       #ffffff;
  --radius:      2px;
  --transition:  0.25s ease;
  --max-w:       1280px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Barlow', sans-serif;
  background: var(--cream);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Typography ── */
h1,h2,h3,h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}
h1 { font-size: clamp(2.8rem, 6vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -0.015em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.01em; }
p  { font-family: 'Barlow', sans-serif; font-size: 1rem; line-height: 1.75; color: var(--text-mid); }
a  { text-decoration: none; color: inherit; }

.italic { font-style: italic; }

/* ── Eyebrow / Label ── */
.eyebrow {
  font-family: 'Barlow', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 14px;
}
.eyebrow-orange { color: var(--orange); }
.eyebrow-white  { color: rgba(255,255,255,0.45); }

/* ── Rule accent ── */
.rule {
  display: block;
  width: 36px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 18px;
}
.rule-white { background: rgba(255,255,255,0.4); }
.rule-navy  { background: var(--navy); }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
.section     { padding: 110px 0; }
.section-sm  { padding: 64px 0; }

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .section   { padding: 72px 0; }
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background var(--transition), box-shadow var(--transition);
  background: transparent;
}
.site-nav.scrolled {
  background: var(--navy);
  box-shadow: 0 1px 0 rgba(255,255,255,0.07);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  line-height: 1;
}
.nav-logo img { height: 27px; width: auto; display: block; }
.nav-rule { display: block; width: 100%; height: 2px; background: var(--orange); }
.nav-wordmark {
  font-family: 'Barlow', sans-serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  white-space: nowrap;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-cta {
  padding: 9px 22px !important;
  border: 1px solid rgba(255,255,255,0.3) !important;
  border-radius: var(--radius) !important;
  color: var(--white) !important;
  transition: background var(--transition), border-color var(--transition) !important;
}
.nav-cta:hover {
  background: rgba(255,255,255,0.1) !important;
  border-color: rgba(255,255,255,0.6) !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block; width: 24px; height: 1.5px;
  background: white; transition: var(--transition);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-family: 'Barlow', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}
.btn:hover { transform: translateY(-1px); }
.btn-navy    { background: var(--navy);   color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }
.btn-orange  { background: var(--orange); color: var(--white); }
.btn-orange:hover { background: var(--orange-lt); }
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: white; }
.btn-arrow::after {
  content: '→';
  font-size: 1rem;
  transition: transform var(--transition);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Placeholder image ── */
.img-ph {
  background:
    linear-gradient(135deg, var(--navy-mid) 0%, var(--navy) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: 'Barlow', sans-serif;
  gap: 8px;
}
.img-ph-stripes {
  background:
    repeating-linear-gradient(-45deg,
      var(--navy-mid), var(--navy-mid) 3px,
      var(--navy) 3px, var(--navy) 18px);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.6);
  padding: 72px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 36px;
}
.footer-logo img { height: 112px; margin-bottom: 20px; }
.footer-desc { font-size: 0.87rem; line-height: 1.75; color: rgba(255,255,255,0.45); }
.footer-col-head {
  font-family: 'Barlow', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 18px;
}
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { font-size: 0.9rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--white); }
.footer-address { font-size: 0.9rem; line-height: 1.9; color: rgba(255,255,255,0.6); }
.footer-address a { transition: color var(--transition); }
.footer-address a:hover { color: var(--white); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

/* Mobile nav */
.site-nav.open { background: var(--navy); }
.site-nav.open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 76px; left: 0; right: 0; bottom: 0;
  background: var(--navy);
  padding: 48px;
  gap: 28px;
  align-items: flex-start;
  z-index: 199;
}
.site-nav.open .nav-links a { font-size: 1.1rem; }

/* ============================================
   PROPERTY DETAIL PAGE
   ============================================ */
.pd-hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: var(--navy);
  overflow: hidden;
}
.pd-hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; }
.pd-hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(15,34,65,0.97) 0%, rgba(15,34,65,0.55) 45%, rgba(15,34,65,0.35) 100%),
    linear-gradient(to right, rgba(15,34,65,0.8) 0%, rgba(15,34,65,0.25) 60%, transparent 100%);
}
.pd-hero-inner { position: relative; z-index: 2; width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 48px 72px; }
.pd-back {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-bottom: 28px; transition: color var(--transition);
}
.pd-back:hover { color: var(--white); }
.pd-pill {
  display: inline-block; padding: 6px 14px; border-radius: 2px; margin-bottom: 18px;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
}
.pd-pill-spec { background: var(--orange); color: var(--white); }
.pd-pill-bts  { background: rgba(255,255,255,0.16); color: var(--white); backdrop-filter: blur(6px); }
.pd-hero h1 { color: var(--white); font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 0 0 14px; }
.pd-hero-loc { font-size: 1.05rem; color: rgba(255,255,255,0.7); font-weight: 300; }

/* stat band */
.pd-stats { background: var(--navy-mid); }
.pd-stats-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.pd-stat { padding: 34px 32px; border-right: 1px solid rgba(255,255,255,0.1); }
.pd-stat:last-child { border-right: none; }
.pd-stat-val {
  font-family: 'Cormorant Garamond', serif; font-size: 1.95rem; font-weight: 500;
  color: var(--white); line-height: 1.12; margin-bottom: 8px;
}
.pd-stat-val.txt { font-size: 1.3rem; line-height: 1.2; }
.pd-stat-val.tbd { color: rgba(255,255,255,0.4); font-style: italic; font-size: 1.3rem; }
.pd-stat-lbl { font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
@media (max-width: 860px) { .pd-stats-inner { grid-template-columns: repeat(2, 1fr); } .pd-stat:nth-child(2n){border-right:none;} }

/* body */
.pd-body { background: var(--cream); padding: 100px 0; }
.pd-body-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 90px; align-items: start; }
.pd-body-grid h2 { margin-bottom: 24px; }
.pd-desc p { margin-bottom: 20px; }
.pd-highlights { list-style: none; padding: 0; margin: 0; }
.pd-highlights li {
  position: relative; padding: 18px 0 18px 32px; border-bottom: 1px solid var(--warm-gray2);
  font-size: 0.98rem; color: var(--text-mid); line-height: 1.5;
}
.pd-highlights li:first-child { border-top: 1px solid var(--warm-gray2); }
.pd-highlights li::before { content: ''; position: absolute; left: 0; top: 25px; width: 14px; height: 2px; background: var(--orange); }
@media (max-width: 860px) { .pd-body-grid { grid-template-columns: 1fr; gap: 48px; } }

/* gallery */
.pd-gallery { background: var(--cream); padding: 0 0 100px; }
.pd-gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.pd-gallery-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.pd-gallery-grid .span2 { grid-column: span 2; aspect-ratio: 8/3; }
@media (max-width: 700px) { .pd-gallery-grid { grid-template-columns: 1fr; } .pd-gallery-grid .span2 { grid-column: span 1; } }

/* prev/next + cta */
.pd-cta { background: var(--navy); padding: 70px 0; }
.pd-cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.pd-cta-inner h2 { color: var(--white); }
.pd-cta-inner h2 em { font-style: italic; color: rgba(255,255,255,0.45); }

/* gallery lightbox */
.pd-gallery-grid img { cursor: zoom-in; transition: opacity .2s; }
.pd-gallery-grid img:hover { opacity: .88; }
.lb-overlay { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; background: rgba(12,18,28,0.95); }
.lb-overlay.open { display: flex; }
.lb-stage { max-width: 92vw; max-height: 88vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-img { max-width: 92vw; max-height: 88vh; object-fit: contain; cursor: zoom-in; transition: transform .18s ease; box-shadow: 0 30px 80px rgba(0,0,0,0.5); }
.lb-img.zoomed { cursor: zoom-out; transition: none; }
.lb-btn { position: absolute; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, border-color .2s; }
.lb-btn:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.5); }
.lb-close { top: 26px; right: 28px; width: 46px; height: 46px; border-radius: 50%; font-size: 26px; line-height: 1; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; border-radius: 50%; font-size: 30px; line-height: 1; }
.lb-prev { left: 28px; } .lb-next { right: 28px; }
.lb-count { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-family: 'Barlow', sans-serif; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; }
@media (max-width: 640px) { .lb-prev,.lb-next{ width:44px;height:44px;font-size:24px;} .lb-prev{left:12px;} .lb-next{right:12px;} .lb-close{top:14px;right:14px;} }
