/* ==========================================================================
   Janet Glaude Realtor - Shared Stylesheet
   Palette: Navy #16233F, Gold #C9A24B, Cream #F7F4EE, White #FFFFFF
   ========================================================================== */

:root {
  --navy: #16233f;
  --navy-light: #223257;
  --gold: #c9a24b;
  --gold-light: #e2c98a;
  --cream: #f7f4ee;
  --white: #ffffff;
  --text: #2b2b2b;
  --text-light: #6b6b6b;
  --border: #e5e0d5;
  --shadow: 0 10px 30px rgba(22, 35, 63, 0.08);
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  line-height: 1.2;
  margin-top: 0;
}

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

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

/* ---------- Header / Nav ---------- */
header.site-header {
  background: var(--navy);
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
}
.logo span { color: var(--gold); }

nav.main-nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

nav.main-nav a {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  transition: color 0.2s;
}
nav.main-nav a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
}
.nav-cta:hover { background: var(--gold-light); }

.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

.btn-outline {
  border-color: var(--white);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); }

.btn-outline-navy {
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: var(--white);
  padding: 110px 0 90px;
  text-align: center;
}
.hero h1 {
  color: var(--white);
  font-size: 3rem;
  max-width: 780px;
  margin: 0 auto 18px;
}
.hero p.subtitle {
  font-size: 1.2rem;
  color: var(--gold-light);
  max-width: 600px;
  margin: 0 auto 36px;
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 70px 0;
  text-align: center;
}
.page-hero h1 { color: var(--white); }
.page-hero p { color: var(--gold-light); max-width: 600px; margin: 10px auto 0; }

/* ---------- Sections ---------- */
section { padding: 80px 0; }
section.alt { background: var(--cream); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 { font-size: 2.2rem; margin-bottom: 12px; }
.section-title p { color: var(--text-light); max-width: 560px; margin: 0 auto; }
.eyebrow {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 30px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}
.card:hover { transform: translateY(-4px); }
.card-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--border), var(--cream));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 0.9rem;
}
.card-body { padding: 22px; }
.card-body h3 { font-size: 1.2rem; margin-bottom: 8px; }
.card-body .price { color: var(--gold); font-weight: 700; font-size: 1.1rem; margin-bottom: 10px; }
.card-body .meta { color: var(--text-light); font-size: 0.9rem; margin-bottom: 16px; }
.card-body .tag {
  display: inline-block;
  background: var(--cream);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.testimonial .stars { color: var(--gold); margin-bottom: 12px; letter-spacing: 2px; }
.testimonial p.quote { font-style: italic; color: var(--text); margin-bottom: 16px; }
.testimonial .author { font-weight: 700; color: var(--navy); }
.testimonial .source { color: var(--text-light); font-size: 0.85rem; }

/* ---------- Video embed ---------- */
.video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.video-wrap iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ---------- Forms ---------- */
form.contact-form {
  display: grid;
  gap: 18px;
  max-width: 600px;
}
form.contact-form label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy);
  margin-bottom: 6px;
  display: block;
}
form.contact-form input,
form.contact-form select,
form.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--white);
}
form.contact-form input:focus,
form.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}
form.contact-form button { justify-self: start; }

/* ---------- Socials ---------- */
.social-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.social-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.9rem;
}
.social-pill:hover { background: var(--gold); color: var(--navy); }

/* ---------- Blog ---------- */
.blog-card .card-body .date { color: var(--text-light); font-size: 0.85rem; margin-bottom: 8px; }
.post-body {
  max-width: 720px;
  margin: 0 auto;
}
.post-body p { margin-bottom: 20px; font-size: 1.05rem; }
.post-body h2 { margin-top: 40px; margin-bottom: 16px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--gold-light); margin-bottom: 30px; }

/* ---------- Footer ---------- */
footer.site-footer {
  background: #0f1a30;
  color: rgba(255,255,255,0.75);
  padding: 60px 0 30px;
  font-size: 0.9rem;
}
footer.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 16px; }
footer.site-footer a { color: rgba(255,255,255,0.75); }
footer.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 10px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  text-align: center;
  line-height: 1.7;
}
.footer-bottom strong { color: rgba(255,255,255,0.7); }

/* ---------- Placeholder highlight ---------- */
.placeholder {
  background: #fff3cd;
  color: #7a5c00;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.85em;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 2.2rem; }
}
@media (max-width: 700px) {
  nav.main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 80px 0 60px; }
}
