/* ========================================
   Pittsburgh Geeks — Community Site
   Vanilla CSS, no frameworks
   ======================================== */

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1a1a1a;
  background: #faf9f8;
}

/* --- UTILITY --- */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.skip-link {
  position: absolute; top: -100px; left: 0; z-index: 1000;
  padding: 0.5rem 1rem; background: #1a1a1a; color: #fff; text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --- HEADER --- */
header {
  background: #1a1a1a; color: #fff; padding: 1rem 0;
  position: sticky; top: 0; z-index: 100;
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.logo {
  display: flex; align-items: center; gap: 0.75rem; text-decoration: none; color: #fff;
}
.logo-pg {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; background: #e85d3a; color: #fff;
  font-weight: 900; font-size: 1rem; border-radius: 6px;
}
.logo-text { font-weight: 700; font-size: 1.1rem; }
.logo-em { color: #e85d3a; }

nav { display: flex; gap: 1.5rem; }
nav a { color: #ccc; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav a:hover { color: #fff; }

/* --- HERO --- */
.hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #fff; padding: 5rem 0 4rem; text-align: center;
}
.hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 900; line-height: 1.1; margin-bottom: 1.5rem; }
.hero-sub { font-size: 1.15rem; max-width: 640px; margin: 0 auto 2rem; color: #bbb; line-height: 1.7; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 0.85rem 2rem; border-radius: 6px;
  font-weight: 600; font-size: 1rem; text-decoration: none; transition: all 0.2s;
}
.btn-primary { background: #e85d3a; color: #fff; }
.btn-primary:hover { background: #d44d2a; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: #e85d3a; border: 2px solid #e85d3a; }
.btn-secondary:hover { background: rgba(232,93,58,0.1); }

/* --- SECTIONS --- */
.section { padding: 4rem 0; }
.section h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin-bottom: 1rem; }
.section-light { background: #faf9f8; }
.section-accent { background: #e85d3a; color: #fff; }
.section-accent h2 { color: #fff; }
.section-dark { background: #1a1a1a; color: #e0e0e0; }
.section-dark h2 { color: #fff; }

.lead { font-size: 1.15rem; max-width: 700px; margin-bottom: 2.5rem; color: inherit; opacity: 0.85; }
.section-dark .lead { opacity: 0.75; }

/* --- CARDS --- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.card {
  background: #fff; padding: 2rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  border: 1px solid #e8e4e2;
}
.section-dark .card { background: #2a2a2a; border-color: #3a3a3a; }
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.card p { font-size: 0.95rem; color: #555; line-height: 1.65; }
.section-dark .card p { color: #bbb; }

/* --- EVENTS --- */
.event-list { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2.5rem; }
.event {
  display: flex; gap: 1.5rem; background: rgba(255,255,255,0.1); padding: 1.5rem;
  border-radius: 8px; border: 1px solid rgba(255,255,255,0.15);
}
.event-day {
  flex-shrink: 0; width: 110px; font-weight: 700; font-size: 0.85rem;
  text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.7);
  padding-top: 0.15rem;
}
.event-body h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.4rem; }
.event-body p { font-size: 0.95rem; opacity: 0.85; line-height: 1.6; }

.cta-block { text-align: center; padding: 1.5rem 0 0; border-top: 1px solid rgba(255,255,255,0.2); }
.cta-block p { margin-bottom: 1rem; font-size: 0.95rem; opacity: 0.8; }
.section-accent .btn-primary { background: #fff; color: #e85d3a; }
.section-accent .btn-primary:hover { background: #f5f0ed; }

/* --- COOP --- */
.coop-intro { max-width: 720px; margin: 0 auto 2.5rem; font-size: 1.05rem; line-height: 1.7; opacity: 0.85; }

.pricing-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem;
  margin-bottom: 2rem;
}
.price-card {
  background: #2a2a2a; padding: 2rem; border-radius: 8px; border: 1px solid #3a3a3a;
  position: relative; display: flex; flex-direction: column;
}
.price-card.featured { border-color: #e85d3a; transform: scale(1.03); }
.price-card .badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: #e85d3a; color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 0.25rem 1rem; border-radius: 20px; text-transform: uppercase; letter-spacing: 0.05em;
}
.price-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; color: #fff; }
.price { font-size: 2.5rem; font-weight: 900; color: #e85d3a; margin-bottom: 1rem; }
.price span { font-size: 1rem; font-weight: 400; color: #888; }
.price-card ul { list-style: none; margin-bottom: 1.5rem; flex-grow: 1; }
.price-card li { padding: 0.4rem 0; font-size: 0.9rem; color: #bbb; border-bottom: 1px solid #333; }
.price-card li::before { content: "✓ "; color: #4a7c59; font-weight: 700; }
.price-note { font-size: 0.85rem; color: #777; line-height: 1.5; }

.callout { padding: 1.25rem; border-radius: 6px; margin-bottom: 2rem; }
.callout-info { background: #2a2a2a; border-left: 4px solid #e85d3a; }
.callout p { font-size: 0.95rem; line-height: 1.6; color: #ccc; }

/* --- COMPARISON TABLE --- */
.comparison { margin-top: 2rem; }
.comparison h3 { color: #fff; margin-bottom: 1rem; font-size: 1.2rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #333; }
th { color: #888; font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; }
td { color: #ccc; }
td.yes { color: #4a7c59; font-weight: 600; }
td.no { color: #c0392b; }

/* --- JOIN --- */
.join-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; margin-bottom: 2.5rem; }
.join-card {
  background: #fff; border: 1px solid #e8e4e2; border-radius: 8px; padding: 2rem;
}
.join-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.join-card p { font-size: 0.95rem; color: #555; line-height: 1.65; }

/* --- FOOTER --- */
footer {
  background: #1a1a1a; color: #666; padding: 2.5rem 0; font-size: 0.9rem;
  border-top: 1px solid #2a2a2a;
}
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-mission p { margin-bottom: 0.25rem; }
.footer-tagline { font-size: 0.8rem; color: #555; }
.footer-tagline a { color: #888; text-decoration: underline; }
.footer-links a { color: #e85d3a; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* --- RESPONSIVE --- */
@media (max-width: 680px) {
  .header-inner { flex-direction: column; gap: 0.75rem; }
  nav { gap: 1rem; }
  .event { flex-direction: column; gap: 0.5rem; }
  .event-day { width: auto; }
  .pricing-grid { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .footer-inner { flex-direction: column; text-align: center; }
  .hero { padding: 3rem 0; }
  .section { padding: 3rem 0; }
}
