/* The Mississippi Music Project - Main Stylesheet */
:root {
  --primary: #16213e;
  --primary-light: #23335c;
  --accent: #c89b3c;
  --accent-hover: #b0852d;
  --bg: #faf7f2;
  --surface: #ffffff;
  --text: #1f242d;
  --text-muted: #5a6270;
  --border: #e5dfd3;
  --radius: 10px;
  --shadow: 0 8px 24px rgba(22, 33, 62, 0.07);
  --max-width: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.7;
  font-size: 16px;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  color: var(--primary);
  line-height: 1.25;
  margin-top: 0;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Header & Navigation */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--accent);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.brand:hover {
  color: var(--accent);
}

.brand img {
  width: 38px;
  height: 38px;
  display: block;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 26px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.95rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #16213e 0%, #243561 60%, #2e2a3b 100%);
  color: #fff;
  padding: 88px 0 80px;
  position: relative;
}

.hero-content {
  max-width: 760px;
}

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 4.5vw, 3.35rem);
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
  max-width: 660px;
}

.page-header {
  background: linear-gradient(135deg, #16213e 0%, #243561 100%);
  color: #fff;
  padding: 64px 0 56px;
}

.page-header h1 {
  color: #fff;
  font-size: clamp(1.9rem, 3.8vw, 2.75rem);
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  margin: 0;
  font-size: 1.05rem;
}

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 14px;
}

.breadcrumb a {
  color: var(--accent);
}

/* Buttons */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--accent);
  color: #16213e;
}

.btn-primary:hover {
  background: var(--accent-hover);
  color: #fff;
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--primary);
}

.btn-dark {
  background: var(--primary);
  color: #fff;
}

.btn-dark:hover {
  background: var(--primary-light);
  color: #fff;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-alt {
  background: #f2ece1;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--text-muted);
  max-width: 680px;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.28rem;
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  margin-bottom: 0;
}

.card-accent {
  border-top: 4px solid var(--accent);
}

/* Stats Strip */
.stats-strip {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Profile Table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.info-table th,
.info-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.info-table th {
  width: 30%;
  background: #f7f3eb;
  color: var(--primary);
  font-weight: 600;
}

.info-table tr:last-child th,
.info-table tr:last-child td {
  border-bottom: none;
}

/* Lists */
.styled-list {
  padding-left: 20px;
  margin: 0;
}

.styled-list li {
  margin-bottom: 12px;
  color: var(--text-muted);
}

.styled-list strong {
  color: var(--primary);
}

/* Quote / Vision Box */
.vision-box {
  background: var(--primary);
  color: #fff;
  padding: 40px;
  border-radius: var(--radius);
  border-left: 6px solid var(--accent);
  margin-bottom: 32px;
}

.vision-box h2 {
  color: var(--accent);
  margin-bottom: 14px;
}

.vision-box p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}

/* Contact Form */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.93rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #cfc7b8;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.98rem;
  background: #fff;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 6px;
  display: none;
  font-size: 0.95rem;
}

.form-status.success {
  display: block;
  background: #e6f4ea;
  color: #1e4620;
  border: 1px solid #b7dfbf;
}

.form-status.error {
  display: block;
  background: #fce8e6;
  color: #a50e0e;
  border: 1px solid #f6aea9;
}

/* CTA Banner */
.cta-banner {
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: #fff;
  margin-bottom: 8px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
}

/* Footer */
.site-footer {
  background: #10182d;
  color: rgba(255, 255, 255, 0.8);
  padding: 56px 0 28px;
  border-top: 4px solid var(--accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}

.site-footer h3 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.93rem;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
}

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 20px 24px;
    gap: 14px;
    border-bottom: 3px solid var(--accent);
  }

  .nav-links.open {
    display: flex;
  }

  .grid-2, .grid-3, .grid-4, .footer-grid {
    grid-template-columns: 1fr;
  }

  .info-table th, .info-table td {
    display: block;
    width: 100%;
  }

  .cta-banner {
    padding: 32px 24px;
  }
}
