/* ============================================
   VESTLAKE COMMUNITIES AT LIBERTY PARK
   Shared styles — demo site + pitch + admin preview
   ============================================ */

:root {
  /* Brand: deep forest + warm cream */
  --forest: #1F4434;
  --forest-dark: #143027;
  --forest-light: #2E6650;
  --cream: #F5F1E8;
  --cream-light: #FAF7EE;
  --gold: #B8924A;
  --gold-light: #D4A968;
  --text: #1A2E25;
  --text-body: #3E4F46;
  --text-muted: #6B7B73;
  --border: #D9D2C0;
  --border-light: #E8E3D4;
  --white: #FFFFFF;
  --danger: #B43F3F;
  --success: #2E7D6F;
  --warning: #D4943A;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(20, 48, 39, 0.06);
  --shadow: 0 4px 16px rgba(20, 48, 39, 0.08);
  --shadow-lg: 0 12px 32px rgba(20, 48, 39, 0.12);
  --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--cream-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

a { color: var(--forest); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 840px; margin: 0 auto; padding: 0 24px; }

/* ===== NAV ===== */
.site-nav {
  background: var(--white);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--forest);
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.1;
}
.nav-logo-bar {
  width: 4px;
  height: 30px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.nav-logo-sub {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 4px;
  align-items: center;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  transition: var(--transition);
}
.nav-links a:hover { background: var(--cream); color: var(--forest); }
.nav-links a.active { background: var(--forest); color: white; }
.nav-cta {
  background: var(--gold);
  color: var(--forest-dark) !important;
  font-weight: 600;
  padding: 8px 18px !important;
}
.nav-cta:hover { background: var(--gold-light); color: var(--forest-dark) !important; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--forest);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest) 60%, var(--forest-light) 100%);
  color: white;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(184,146,74,0.18), transparent 55%),
              radial-gradient(circle at 15% 80%, rgba(46,125,111,0.12), transparent 55%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 720px; }
.hero h1 { color: white; margin-bottom: 16px; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(184,146,74,0.18);
  border: 1px solid rgba(184,146,74,0.4);
  color: var(--gold-light);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.85);
  margin-bottom: 28px;
  max-width: 600px;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 14.5px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--forest-dark);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); color: var(--forest-dark); }
.btn-outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.4);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }
.btn-forest {
  background: var(--forest);
  color: white;
}
.btn-forest:hover { background: var(--forest-light); color: white; transform: translateY(-1px); }
.btn-outline {
  background: white;
  border-color: var(--border);
  color: var(--text);
}
.btn-outline:hover { background: var(--cream); border-color: var(--forest); }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* ===== SECTION ===== */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); }
.section-white { background: var(--white); }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-eyebrow {
  display: inline-block;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
}
.section-header h2 { margin-bottom: 12px; }
.section-header p { color: var(--text-muted); font-size: 16px; }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--border); }
.card h3 { font-family: 'Inter', sans-serif; font-size: 17px; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 14.5px; }
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--cream);
  color: var(--forest);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.card-icon.gold { background: rgba(184,146,74,0.12); color: var(--gold); }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--forest-dark);
  color: rgba(255,255,255,0.8);
  padding: 56px 0 28px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.footer-brand .nav-logo { color: white; }
.footer-brand .nav-logo-sub { color: rgba(255,255,255,0.55); }
.footer-brand p { color: rgba(255,255,255,0.65); margin-top: 14px; line-height: 1.65; font-size: 13.5px; }
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: rgba(255,255,255,0.75); font-size: 13.5px; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== UTILS ===== */
.text-center { text-align: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: white; flex-direction: column; padding: 16px; border-top: 1px solid var(--border-light); box-shadow: var(--shadow); align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 64px 0; }
  .section { padding: 56px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .container { padding: 0 18px; }
  .hero-sub { font-size: 16px; }
  .card { padding: 22px; }
}

/* Form controls used in demo */
input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, select {
  font-family: inherit;
  font-size: 15px;
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  background: white;
  color: var(--text);
  transition: var(--transition);
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31,68,52,0.1);
}

@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}
