/* Southern States Reflector - Main Stylesheet */

:root {
  --red: #cc0000;
  --blue: #0047ab;
  --dark: #1a1a1a;
  --mid: #444444;
  --light: #f8f8f8;
  --white: #ffffff;
  --border: #e0e0e0;
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

body {
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  font-size: 17px;
  line-height: 1.7;
}

/* HEADER */
header {
  background: var(--dark);
  padding: 0 40px;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--red);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 20px;
}

.logo-oval {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--white);
  border-radius: 50%;
  padding: 6px 18px;
  line-height: 1.1;
  min-width: 140px;
}

.logo-top {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 0.5px;
  font-style: italic;
}

.logo-bottom {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.5px;
  font-style: italic;
}

nav { display: flex; gap: 6px; }

nav a {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  color: #ccc;
  text-decoration: none;
  padding: 6px 14px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: all 0.2s;
}

nav a:hover, nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

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

.dashboard-btn {
  background: var(--red);
  color: var(--white) !important;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: 4px;
  white-space: nowrap;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.dashboard-btn:hover { background: #aa0000; }

/* HERO */
.hero {
  position: relative;
  background: var(--dark);
  color: var(--white);
  padding: 90px 40px;
  overflow: hidden;
  text-align: center;
}

.hero-map-bg {
  position: absolute;
  inset: 0;
  background: 
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.02) 40px, rgba(255,255,255,0.02) 41px);
}

.hero-content {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-family: var(--font-head);
  font-size: 58px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.hero h1 .red { color: var(--red); }

.hero p {
  font-size: 20px;
  color: #ccc;
  margin-bottom: 36px;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.btn-primary {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 14px 32px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background 0.2s;
  display: inline-block;
  border: none;
  cursor: pointer;
}

.btn-primary:hover { background: #aa0000; }

.btn-outline {
  background: transparent;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.4);
  letter-spacing: 0.5px;
  transition: all 0.2s;
  display: inline-block;
}

.btn-outline:hover { border-color: var(--white); }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 4px;
  border: 2px solid var(--dark);
  letter-spacing: 0.5px;
  transition: all 0.2s;
  display: inline-block;
  margin-top: 16px;
}

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

/* STATS BAR */
.stats-bar {
  background: var(--blue);
  display: flex;
  justify-content: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 50px;
  border-right: 1px solid rgba(255,255,255,0.2);
}

.stat:last-child { border-right: none; }

.stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* CONTAINER */
.container { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

/* MODES SECTION */
.modes-section {
  padding: 70px 40px;
  background: var(--light);
}

.modes-section h2, .about-strip h2, .dashboard-preview h2 {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--mid);
  margin-bottom: 40px;
  font-size: 18px;
}

.modes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 20px;
  margin-bottom: 36px;
}

.mode-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px 20px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.mode-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.1); }

.mode-icon {
  width: 56px; height: 56px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin: 0 auto 16px;
}

.mode-icon-lg {
  width: 70px; height: 70px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}

.ysf { background: var(--blue); }
.dmr { background: #e67e22; }
.dstar { background: #8e44ad; }
.allstar { background: #27ae60; }
.echolink { background: #16a085; }

.mode-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.mode-card p { font-size: 14px; color: var(--mid); margin-bottom: 12px; }

.mode-card code {
  background: var(--light);
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  color: var(--blue);
  font-weight: 600;
  border: 1px solid var(--border);
}

.connect-more { text-align: center; }

/* ABOUT STRIP */
.about-strip { padding: 70px 40px; background: var(--white); }

.about-flex {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 50px;
  align-items: start;
}

.about-text h2 {
  text-align: left;
  margin-bottom: 16px;
}

.about-text p { margin-bottom: 16px; color: var(--mid); }

.info-box {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 24px;
  border-top: 4px solid var(--red);
}

.info-box h4 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.info-row:last-child { border-bottom: none; }
.info-row span { color: var(--mid); }
.info-row strong { color: var(--dark); font-family: monospace; font-size: 13px; }

/* DASHBOARD PREVIEW */
.dashboard-preview {
  padding: 60px 40px;
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.dashboard-preview h2 { color: var(--white); margin-bottom: 12px; }
.dashboard-preview .section-sub { color: #aaa; margin-bottom: 28px; }

/* PAGE HERO */
.page-hero {
  background: var(--dark);
  color: var(--white);
  padding: 50px 40px;
  border-bottom: 3px solid var(--red);
}

.page-hero h1 {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 8px;
}

.page-hero p { color: #aaa; font-size: 18px; }

/* CONTENT SECTION */
.content-section { padding: 60px 40px; }

.content-flex {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: start;
}

.content-main h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  margin: 28px 0 12px;
  color: var(--dark);
}

.content-main h2:first-child { margin-top: 0; }
.content-main p { color: var(--mid); margin-bottom: 14px; }

.state-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  list-style: none;
  margin-bottom: 20px;
}

.state-list li {
  padding: 6px 12px;
  background: var(--light);
  border-radius: 4px;
  font-size: 15px;
  border-left: 3px solid var(--red);
}

.content-sidebar { position: sticky; top: 90px; }

.sidebar-link {
  display: block;
  padding: 10px 14px;
  color: var(--blue);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  transition: background 0.2s;
}

.sidebar-link:hover { background: var(--light); }
.sidebar-link:last-child { border-bottom: none; }

/* CONNECT PAGE */
.connect-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
  margin-bottom: 20px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  position: relative;
}

.active-mode { border-top: 4px solid var(--blue); }
.coming-soon-card { opacity: 0.75; }

.connect-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 1px;
}

.connect-badge.live { background: #e8f5e9; color: #2e7d32; }
.connect-badge.soon { background: #fff3e0; color: #e65100; }

.connect-info { flex: 1; }
.connect-info h2 {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--dark);
}

.connect-info p { color: var(--mid); margin-bottom: 16px; }

.connect-details { margin-bottom: 20px; }

.detail-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}

.detail-row:last-child { border-bottom: none; }
.detail-row span { color: var(--mid); width: 160px; flex-shrink: 0; }
.detail-row code {
  background: var(--light);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--blue);
  font-weight: 600;
  border: 1px solid var(--border);
}

.how-to h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--dark);
}

.how-to ol { padding-left: 20px; }
.how-to ol li { color: var(--mid); margin-bottom: 6px; font-size: 15px; }

/* NETS PAGE */
.nets-coming {
  text-align: center;
  padding: 60px 40px;
  background: var(--light);
  border-radius: 8px;
  margin-bottom: 50px;
  border: 1px solid var(--border);
}

.nets-icon { font-size: 60px; margin-bottom: 20px; }

.nets-coming h2 {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.nets-coming p { color: var(--mid); margin-bottom: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }
.nets-coming .btn-primary { margin-top: 16px; }

.nets-info h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.nets-info p { color: var(--mid); margin-bottom: 16px; }

.nets-steps { padding-left: 20px; margin-bottom: 36px; }
.nets-steps li { color: var(--mid); margin-bottom: 10px; font-size: 16px; }

.nets-tips h3 {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--dark);
}

.tip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.tip-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 22px;
  border-top: 3px solid var(--blue);
}

.tip-card h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark);
}

.tip-card p { font-size: 14px; color: var(--mid); }

/* CONTACT PAGE */
.contact-flex {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info h2, .contact-form-wrap h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--dark);
}

.contact-info p { color: var(--mid); margin-bottom: 24px; }

.contact-methods { margin-bottom: 30px; }

.contact-method {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.contact-method:last-child { border-bottom: none; }

.contact-icon {
  width: 44px; height: 44px;
  background: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.contact-method h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--dark);
}

.contact-method a, .contact-method p { font-size: 15px; color: var(--mid); text-decoration: none; }
.contact-method a:hover { color: var(--blue); }

.contact-topics h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--dark);
}

.contact-topics ul { padding-left: 20px; }
.contact-topics ul li { color: var(--mid); margin-bottom: 8px; font-size: 15px; }

.contact-form {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 30px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); }

/* FOOTER */
footer {
  background: var(--dark);
  padding: 40px;
  border-top: 3px solid var(--red);
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer-logo { display: flex; flex-direction: column; gap: 4px; }

.footer-name {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 1px;
}

.footer-call {
  font-family: var(--font-head);
  font-size: 16px;
  color: var(--red);
  letter-spacing: 2px;
}

.footer-links { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }

.footer-links a {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-copy p { color: #666; font-size: 13px; margin-bottom: 4px; }

@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; }
  nav { flex-wrap: wrap; justify-content: center; }
  .hero h1 { font-size: 36px; }
  .stats-bar { flex-wrap: wrap; }
  .stat { padding: 16px 24px; }
  .about-flex, .content-flex, .contact-flex { grid-template-columns: 1fr; }
  .connect-card { flex-direction: column; }
  .modes-grid { grid-template-columns: 1fr 1fr; }
}
