/* ============================================
   BAYCLIFF APARTMENTS — SHARED STYLESHEET
   ============================================ */

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

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

:root {
  --sand:  #f5efe6;
  --clay:  #c9a97a;
  --lake:  #3d7a8a;
  --deep:  #1a3440;
  --cream: #faf7f2;
  --text:  #2c3830;
  --muted: #7a8c84;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-between; align-items: center;
  padding: 22px 48px;
  background: rgba(26,52,64,0.95);
  backdrop-filter: blur(12px);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 400; letter-spacing: 0.12em;
  color: var(--sand); text-transform: uppercase; text-decoration: none;
}
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,230,0.75); text-decoration: none; font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--clay); }
.nav-cta {
  background: var(--clay) !important; color: var(--deep) !important;
  padding: 9px 22px !important; border-radius: 2px;
}
.nav-cta:hover { background: #d9b98a !important; }

/* hamburger — mobile */
.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px; background: var(--sand);
  transition: transform 0.3s, opacity 0.3s;
}

/* ── INNER PAGE HERO (shared) ── */
.page-hero {
  min-height: 38vh;
  background: linear-gradient(160deg, var(--deep) 0%, #2a5c6e 55%, #3d7a8a 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 56px;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  opacity: 0.22;
  background-size: cover; background-position: center;
}
.page-hero-eyebrow {
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--clay); font-weight: 500; margin-bottom: 14px;
  position: relative;
}
.page-hero-eyebrow::before {
  content: ''; display: inline-block;
  width: 28px; height: 1px; background: var(--clay);
  vertical-align: middle; margin-right: 10px;
}
.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300; line-height: 1.08; color: var(--sand);
  position: relative;
}
.page-hero-title em { font-style: italic; color: var(--clay); }

/* ── BUTTONS ── */
.btn-primary {
  background: var(--clay); color: var(--deep);
  padding: 15px 34px; font-weight: 500; font-size: 0.83rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block; border: none; cursor: pointer;
}
.btn-primary:hover { background: #d9b98a; transform: translateY(-1px); }

.btn-outline {
  border: 1px solid rgba(26,52,64,0.3); color: var(--deep);
  padding: 15px 34px; font-weight: 400; font-size: 0.83rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--clay); color: var(--clay); }

.btn-outline-light {
  border: 1px solid rgba(245,239,230,0.4); color: var(--sand);
  padding: 15px 34px; font-weight: 400; font-size: 0.83rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-radius: 2px;
  transition: border-color 0.2s, background 0.2s;
  display: inline-block;
}
.btn-outline-light:hover { border-color: var(--clay); color: var(--clay); }

/* ── SECTION TYPOGRAPHY ── */
.section-label {
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--clay); font-weight: 500; margin-bottom: 18px; display: block;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300; line-height: 1.15; color: var(--deep); margin-bottom: 20px;
}
.section-title em { font-style: italic; }
.section-body {
  font-size: 0.95rem; line-height: 1.85; color: var(--muted); font-weight: 300;
}

/* ── CONTACT STRIP ── */
.contact-strip {
  background: var(--text);
  padding: 32px 48px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
}
.contact-item { display: flex; align-items: center; gap: 12px; }
.contact-icon { color: var(--clay); font-size: 1.1rem; }
.contact-label {
  font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(245,239,230,0.4); margin-bottom: 2px;
}
.contact-val {
  font-size: 0.88rem; color: var(--sand); text-decoration: none; font-weight: 400;
}
.contact-val:hover { color: var(--clay); }

/* ── FOOTER ── */
footer {
  background: var(--deep); padding: 24px 48px;
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid rgba(255,255,255,0.06); flex-wrap: wrap; gap: 12px;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,239,230,0.4);
}
.footer-nav { display: flex; gap: 24px; list-style: none; }
.footer-nav a {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(245,239,230,0.3); text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--clay); }
.footer-copy { font-size: 0.72rem; color: rgba(245,239,230,0.25); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.7s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 18px 24px; }
  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--deep); padding: 16px 24px;
  }
  .nav-links.open li { border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.open a { display: block; padding: 12px 0; }
  .nav-toggle { display: flex; }
  .page-hero { padding: 0 24px 48px; }
  .contact-strip { padding: 24px; flex-direction: column; align-items: flex-start; }
  footer { padding: 24px; flex-direction: column; align-items: flex-start; }
  .footer-nav { flex-wrap: wrap; }
}
