/* Sam Pazzano Paralegal — site-wide supplementary styles */

:root {
  --burgundy: #7B1E2B;
  --burgundy-hover: #601822;
  --charcoal: #1F2933;
  --ivory: #F7F2EA;
}

html { scroll-behavior: smooth; }

::selection {
  background: var(--burgundy);
  color: var(--ivory);
}

input:focus, button:focus, textarea:focus, select:focus { outline: none; }

/* Display font micro-kerning */
.font-display { letter-spacing: -0.005em; }

/* ── Nav links ─────────────────────────────────────────────── */
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #2C3641;             /* charcoal-600 */
  border-radius: 0.125rem;
  position: relative;
  transition: color 0.15s, background-color 0.15s;
  letter-spacing: 0.01em;
}
.nav-link:hover {
  color: #7B1E2B;             /* burgundy-700 */
  background-color: rgba(247, 242, 234, 0.6);
}
.nav-link-active {
  color: #7B1E2B !important;
}
.nav-link-active::after {
  content: '';
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: -1px;
  height: 2px;
  background: #7B1E2B;
}

/* Mobile nav variant */
@media (max-width: 768px) {
  .nav-link { display: block; padding: 0.75rem 0.5rem; }
  .nav-link-active::after { display: none; }
  .nav-link-active { border-left: 3px solid #7B1E2B; padding-left: 0.75rem; }
}

/* ── Footer links ──────────────────────────────────────────── */
.footer-link {
  color: rgba(247, 242, 234, 0.85);
  transition: color 0.15s;
}
.footer-link:hover {
  color: #D78892;             /* burgundy-300 */
}

/* ── Generic button (burgundy primary) ─────────────────────── */
.btn-burgundy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.5rem;
  background: var(--burgundy);
  color: var(--ivory);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 0.125rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  transition: background-color 0.15s, transform 0.15s;
}
.btn-burgundy:hover {
  background: var(--burgundy-hover);
}
.btn-burgundy:active {
  transform: translateY(1px);
}

/* ── Form inputs ───────────────────────────────────────────── */
.input-field {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #C2C8CE;
  background: #FCFAF6;
  color: #1F2933;
  border-radius: 0.125rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input-field::placeholder { color: #8C97A1; }
.input-field:focus {
  border-color: #7B1E2B;
  box-shadow: 0 0 0 1px #7B1E2B;
}

/* ── Card ──────────────────────────────────────────────────── */
.card {
  background: white;
  border: 1px solid #E2D4BC;
  border-radius: 0.125rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* ── Editorial dropcap ─────────────────────────────────────── */
.dropcap::first-letter {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 4.5rem;
  line-height: 1;
  float: left;
  padding: 0.35rem 0.5rem 0 0;
  color: #7B1E2B;
  font-weight: 600;
}

/* Hide ugly default arrow on details */
details summary::-webkit-details-marker { display: none; }
details summary { cursor: pointer; }
