/* ============================================
   PoliticalRecess — Shared Stylesheet
   ============================================ */

:root {
  --red: #BF1E2E;
  --navy: #1A3A6B;
  --navy-dark: #0f2a52;
  --white: #FFFFFF;
  --cream: #F8F6F0;
  --gold: #C9A84C;
  --text: #0D1B3E;
  --muted: #6b7a99;
  --border: #e2e8f0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text);
}

/* ── NAV ── */
nav {
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  padding: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo span { color: var(--gold); }

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

.nav-links a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--gold); }

.nav-links a.active { color: var(--white); }

.nav-feedback-btn {
  background: var(--red);
  color: var(--white) !important;
  padding: 0.35rem 0.85rem;
  border-radius: 6px;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px;
  transition: background 0.2s !important;
}

.nav-feedback-btn:hover {
  background: #9a1825;
  color: var(--white) !important;
}

/* ── FEEDBACK MODAL ── */
.feedback-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.feedback-modal-overlay.open {
  display: flex;
}

.feedback-modal {
  background: white;
  border-radius: 16px;
  padding: 2rem;
  width: 90%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.feedback-modal h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.feedback-modal p {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.feedback-modal select,
.feedback-modal input,
.feedback-modal textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--text);
  background: var(--cream);
  margin-bottom: 0.75rem;
  outline: none;
  transition: border-color 0.2s;
}

.feedback-modal select:focus,
.feedback-modal input:focus,
.feedback-modal textarea:focus {
  border-color: var(--navy);
}

.feedback-modal textarea {
  min-height: 100px;
  resize: vertical;
}

.feedback-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.3rem;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
}

.feedback-submit-btn {
  width: 100%;
  padding: 0.85rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.2s;
}

.feedback-submit-btn:hover { background: var(--navy-dark); }

/* ── DISCLAIMER BANNER ── */
.disclaimer-banner {
  background: #fef9ec;
  border-bottom: 1px solid #f0e0a0;
  padding: 0.4rem 1rem;
  text-align: center;
  font-size: 0.72rem;
  color: #7a6000;
}

.disclaimer-banner a { color: #5a4400; }

/* ── PAGE WRAPPER ── */
.page {
  max-width: 860px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-narrow {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.page-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.page-title-center {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 0.5rem;
  text-align: center;
}

.page-sub {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
}

.page-sub-center {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 3rem;
  text-align: center;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  text-align: center;
}

.btn-block { display: block; width: 100%; }

.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: #9a1825; }

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

.btn-outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--navy); color: var(--navy); }

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

footer a { color: var(--muted); }

/* ── PROSE PAGES (terms, privacy) ── */
.prose-page h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--navy);
  margin: 2rem 0 0.5rem;
}

.prose-page p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: #374151;
  margin-bottom: 0.75rem;
}

.prose-page .page-date {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.disclaimer-box {
  background: #fef9ec;
  border: 1px solid #f0e0a0;
  border-radius: 8px;
  padding: 1rem 1.2rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  color: #7a6000;
  line-height: 1.6;
}

/* ── MOBILE ── */
@media (max-width: 700px) {
  .nav-links { display: none; }
  .page { padding: 2rem 1rem; }
  .page-narrow { padding: 2rem 1rem; }
}
