/* ═══════════════════════════════════════════════
   APPLEDALE PROPERTY MANAGEMENT USA
   Shared Stylesheet — All Pages
   ═══════════════════════════════════════════════ */

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

:root {
  --navy:        #0F1F2E;
  --navy-mid:    #1A3046;
  --navy-light:  #243D56;
  --cream:       #F7F4EF;
  --cream-dk:    #EDE8DF;
  --cream-dkr:   #E0D9CC;
  --slate:       #7B8FA6;
  --slate-lt:    #9AAFC4;
  --gold:        #C8A96E;
  --gold-lt:     #D9BF8A;
  --text-dark:   #1A2733;
  --text-mid:    #3D5268;
  --text-light:  #6B8099;
  --white:       #FDFCFA;
  --font-display:'Cormorant Garamond', Georgia, serif;
  --font-body:   'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── TYPOGRAPHY UTILITIES ── */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.display-heading {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.65;
  margin: 1.75rem 0;
}

.rule--center { margin: 1.75rem auto; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 72px;
  border-bottom: 1px solid rgba(123,143,166,0.15);
  transition: box-shadow 0.3s ease;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nav-brand-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--cream);
  letter-spacing: 0.02em;
  line-height: 1;
}

.nav-brand-sub {
  font-family: var(--font-body);
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1;
}

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

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-lt);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cream); }

.nav-links .nav-cta-link {
  color: var(--gold);
  border: 1px solid rgba(200,169,110,0.35);
  padding: 0.5rem 1.25rem;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav-links .nav-cta-link:hover {
  border-color: var(--gold);
  color: var(--gold-lt);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.4rem;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-lt); }

.btn-outline {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(200,169,110,0.4);
}
.btn-outline:hover { border-color: var(--gold); }

.btn-outline-dark {
  background: transparent;
  color: var(--navy);
  border: 1px solid rgba(15,31,46,0.3);
}
.btn-outline-dark:hover {
  background: var(--navy);
  color: var(--cream);
}

/* ── PAGE HERO (interior pages) ── */
.page-hero {
  background: var(--navy);
  padding: 160px 5vw 80px;
  text-align: left;
}

.page-hero .display-heading {
  font-size: clamp(2.6rem, 5vw, 5rem);
  color: var(--cream);
  max-width: 680px;
}

.page-hero .display-heading em { font-style: italic; }

.page-hero .hero-sub {
  font-size: 1rem;
  font-weight: 300;
  color: var(--slate-lt);
  max-width: 52ch;
  line-height: 1.8;
  margin-top: 1.25rem;
}

/* ── SECTIONS ── */
.section { padding: 7rem 5vw; }
.section--navy { background: var(--navy); }
.section--cream { background: var(--cream); }
.section--cream-dk { background: var(--cream-dk); }
.section--cream-dkr { background: var(--cream-dkr); }
.section--white { background: var(--white); }

/* ── FILLED IMAGE ── */
.img-filled {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── IMAGE PLACEHOLDER ── */
.img-placeholder {
  background: var(--cream-dkr);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
}

.img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(0,0,0,0.025) 20px,
    rgba(0,0,0,0.025) 21px
  );
}

.img-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.35;
}

.img-placeholder--navy {
  background: var(--navy-light);
  color: var(--slate);
}

.img-placeholder--navy::after {
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 20px,
    rgba(255,255,255,0.03) 20px,
    rgba(255,255,255,0.03) 21px
  );
}

/* ── FOOTER ── */
.site-footer {
  background: var(--navy);
  border-top: 1px solid rgba(123,143,166,0.12);
}

.footer-upper {
  padding: 5rem 5vw 4rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 4vw;
}

.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--slate);
  line-height: 1.7;
  max-width: 34ch;
}

.footer-col-title {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

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

.footer-links a {
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--slate-lt);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.footer-contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin-bottom: 1.25rem;
}

.footer-contact-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-contact-val {
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--slate-lt);
  text-decoration: none;
  transition: color 0.2s ease;
}

a.footer-contact-val:hover { color: var(--cream); }

.footer-lower {
  border-top: 1px solid rgba(123,143,166,0.1);
  padding: 1.75rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copy {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .footer-upper { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 680px) {
  .site-nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .section { padding: 5rem 1.5rem; }
  .page-hero { padding: 130px 1.5rem 60px; }
  .footer-upper { grid-template-columns: 1fr; padding: 4rem 1.5rem 3rem; }
  .footer-lower { padding: 1.5rem; flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
