/* ── Shared Theme: Variables, Fonts, Reset, Agent Card, Contact CTA ─────
   Used by property-site.html, slideshow.html, and video pages.
   Single source of truth for brand styling.
────────────────────────────────────────────────────────────────────────── */

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

/* Variables */
:root {
  --bg: #fff;
  --bg-alt: #f7f7f5;
  --text: #1a1a1a;
  --text-muted: #6b6b6b;
  --border: #e5e5e5;
  --accent: #2a2a2a;
  --accent-light: #f0eeeb;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-w: 1200px;
  --section-pad: 80px;
  --nav-h: 56px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111;
    --bg-alt: #1a1a1a;
    --text: #e8e8e8;
    --text-muted: #999;
    --border: #333;
    --accent: #e8e8e8;
    --accent-light: #222;
  }
}

/* Base */
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}

/* ── Agent Card ────────────────────────────────────────────────────────── */
.agent-section {
  background: var(--bg-alt);
  padding: 48px 24px;
}
.agent-card {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  gap: 32px;
  align-items: center;
}
.agent-headshot {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--border);
}
.agent-info .agent-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 4px;
}
.agent-info .agent-title {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 2px;
}
.agent-info .agent-brokerage {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 12px;
}
.agent-info .agent-contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
}
.agent-info .agent-contact a:hover {
  opacity: 0.7;
}
.agent-socials {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.agent-socials a {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: all 0.2s;
}
.agent-socials a:hover {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.agent-socials a svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.agent-logo {
  max-height: 40px;
  max-width: 160px;
  margin-top: 12px;
  opacity: 0.8;
}

@media (max-width: 600px) {
  .agent-card {
    flex-direction: column;
    text-align: center;
  }
  .agent-info .agent-contact {
    align-items: center;
  }
  .agent-socials {
    justify-content: center;
  }
}

/* ── Contact CTA ───────────────────────────────────────────────────────── */
.contact-section {
  padding: 48px 24px;
  text-align: center;
}
.contact-inner {
  max-width: 500px;
  margin: 0 auto;
}
.contact-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 4px;
  transition: opacity 0.2s;
}
.contact-btn:hover {
  opacity: 0.85;
}
