/* =============================================
   BURNS APPRAISALS — Global Styles
   burnsappraisals.net
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --purple:  #5B2D8E;
  --purple-dark: #3d1d63;
  --purple-light: #7340a8;
  --gray:    #6b7280;
  --gray-dark: #3a3a3a;
  --cream:   #f8f6fb;
  --white:   #ffffff;
  --text:    #2c2c2c;
  --muted:   #6b7280;
  --border:  #e2daf0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 600; }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { font-size: 1rem; line-height: 1.75; color: var(--text); }
a { color: var(--purple); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- LAYOUT ---- */
.container { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; }

/* ---- NAV ---- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(91,45,142,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.nav-logo img { height: 48px; width: auto; display: block; }

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-dark);
  text-decoration: none;
  transition: color 0.2s;
}

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

.nav-cta {
  background: var(--purple) !important;
  color: var(--white) !important;
  padding: 0.55rem 1.25rem;
  border-radius: 2px;
  transition: background 0.2s !important;
}

.nav-cta:hover { background: var(--purple-dark) !important; text-decoration: none !important; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--gray-dark);
  cursor: pointer;
  padding: 0.25rem 0.5rem;
}

/* ---- HERO ---- */
.hero {
  background: var(--purple-dark);
  color: var(--white);
  padding: 6rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(91,45,142,0.3) 100%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1rem;
}

.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero p { color: rgba(255,255,255,0.82); font-size: 1.05rem; margin-bottom: 2rem; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.15);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: rgba(255,255,255,0.95);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

/* Hero photo card */
.hero-photo-wrap {
  position: relative;
}

.hero-photo-wrap img {
  width: 100%;
  max-width: 420px;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 24px 64px rgba(0,0,0,0.35);
}

.hero-photo-badge {
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  color: var(--purple);
  padding: 0.75rem 1.5rem;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  border: none;
}

.btn-primary { background: var(--purple); color: var(--white); }
.btn-primary:hover { background: var(--purple-dark); color: var(--white); text-decoration: none; }

.btn-outline { background: transparent; color: var(--purple); border: 2px solid var(--purple); }
.btn-outline:hover { background: var(--purple); color: var(--white); text-decoration: none; }

.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.5); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,0.1); color: var(--white); text-decoration: none; }

/* ---- SECTION LABELS ---- */
.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.75rem;
}

.section-title { color: var(--purple-dark); margin-bottom: 1rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; max-width: 560px; margin-bottom: 3rem; }

.purple-rule { width: 48px; height: 2px; background: var(--purple); margin: 1.25rem 0; }

/* ---- CARDS ---- */
.card-grid { display: grid; gap: 1.5rem; }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2rem;
}

.card h3 { color: var(--purple-dark); margin-bottom: 0.75rem; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ---- SECTIONS ---- */
.section-light { background: var(--cream); }

.section-purple {
  background: var(--purple-dark);
  color: var(--white);
}
.section-purple h2 { color: var(--white); }
.section-purple p { color: rgba(255,255,255,0.8); }
.section-purple .section-eyebrow { color: rgba(255,255,255,0.6); }

/* ---- FOOTER ---- */
footer {
  background: var(--purple-dark);
  color: rgba(255,255,255,0.7);
  padding: 3rem 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-logo { display: inline-block; background: var(--white); padding: 0.5rem 0.85rem; border-radius: 4px; margin-bottom: 0.75rem; }
.footer-logo img { height: 40px; width: auto; display: block; margin-bottom: 0; }
.footer-copy { font-size: 0.82rem; line-height: 1.7; color: rgba(255,255,255,0.6); }

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.875rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }

.footer-contact { font-size: 0.875rem; line-height: 1.9; }
.footer-contact a { color: rgba(255,255,255,0.7); text-decoration: none; }
.footer-contact a:hover { color: var(--white); }

/* ---- FORM ---- */
.form-group { margin-bottom: 1.25rem; }

label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--purple-dark);
  margin-bottom: 0.4rem;
}

input, select, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
}

input:focus, select:focus, textarea:focus { outline: none; border-color: var(--purple); }
textarea { resize: vertical; min-height: 120px; }

/* ---- MOBILE ---- */
@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-photo-wrap { order: -1; margin-bottom: 1rem; text-align: center; }
  .hero-photo-wrap img { max-width: 260px; }
  .hero-photo-badge { position: static; transform: none; display: inline-block; margin-top: 0.75rem; }
  .card-grid-2, .card-grid-3 { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 1rem 2rem; }
  .nav-links .nav-cta { margin: 0.75rem 2rem; text-align: center; }
  .footer-inner { flex-direction: column; }
}
