/* ==========================================================================
   Reconnecting With The Disconnected (RWTD) - Official Website Stylesheet V2
   Core Palettes: RWTD Navy (#0b1f3a) | RO Program Green (#2f4f2f)
   ========================================================================== */

:root {
  /* RWTD Navy Brand Palette */
  --rwtd-navy-dark: #0b1f3a;
  --rwtd-navy-mid: #12325a;
  --rwtd-navy-light: #2c5aa0;
  --rwtd-navy-hover: #1e4580;
  --rwtd-nav-solid: #e7eefb;
  --rwtd-accent-blue: #3b82f6;

  /* Recker's Outreach (RO) Green Theme (used inside RO sections) */
  --ro-green-dark: #2f4f2f;
  --ro-green-mid: #556b2f;
  --ro-green-light: #8fcf8b;
  --ro-green-soft: #eaf4ea;

  /* Accents & Categories */
  --gold: #d4af37;
  --orange: #e67e22;
  --purple: #8e44ad;
  --teal: #16a085;

  /* Neutrals */
  --bg: #f4f6f8;
  --card: #ffffff;
  --text: #1b2430;
  --text-light: #ffffff;
  --muted: #4a5a6a;
  --muted-light: #718096;
  --border: rgba(11, 31, 58, 0.12);
  --border-light: rgba(255, 255, 255, 0.2);
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
  --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   Icons Utility
   ========================================================================== */
.svg-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  vertical-align: middle;
  flex-shrink: 0;
  fill: currentColor;
}

.svg-icon.stroke {
  fill: none;
  stroke: currentColor;
}

.svg-icon.sm { width: 16px; height: 16px; }
.svg-icon.md { width: 22px; height: 22px; }
.svg-icon.lg { width: 28px; height: 28px; }
.svg-icon.xl { width: 36px; height: 36px; }

/* Social Icons specific colors */
.icon-facebook { color: #1877f2; }
.icon-instagram { color: #e1306c; }
.icon-youtube { color: #ff0000; }
.icon-paypal { color: #0079c1; }

/* ==========================================================================
   Sticky Navigation Bar
   ========================================================================== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 5000;
  padding: 14px 24px;
  background: rgba(11, 31, 58, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: background-color 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.top-nav.solid {
  background: var(--rwtd-nav-solid);
  box-shadow: 0 8px 24px rgba(11, 31, 58, 0.12);
  padding: 10px 24px;
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
  transition: transform 0.2s ease;
}

.brand:hover img {
  transform: scale(1.02);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.05em;
  letter-spacing: 0.2px;
  font-weight: 800;
  color: #ffffff;
}

.brand-text span {
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.top-nav.solid .brand-text strong {
  color: var(--rwtd-navy-dark);
}

.top-nav.solid .brand-text span {
  color: var(--muted);
}

/* Navigation Links (Desktop) */
.nav-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link, .nav-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-weight: 700;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.95em;
  background: rgba(11, 31, 58, 0.82);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background-color 0.15s ease, transform 0.15s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-btn:hover {
  background: rgba(11, 31, 58, 0.96);
  transform: translateY(-1px);
}

.top-nav.solid .nav-link,
.top-nav.solid .nav-btn {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
}

.nav-link.active {
  background: var(--rwtd-navy-light);
  color: #ffffff;
}

.nav-item {
  position: relative;
  display: inline-block;
}

.caret {
  font-size: 0.75em;
  transition: transform 0.2s ease;
}

.nav-item.open .caret {
  transform: rotate(180deg);
}

/* Dropdown Menu (Desktop) */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 290px;
  max-width: calc(100vw - 32px);
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  z-index: 6000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

/* Right-align dropdown for items near the right edge (like Register) to prevent viewport cutoff */
.nav-links .nav-item:last-child .dropdown,
.dropdown.dropdown-right {
  left: auto;
  right: 0;
  transform-origin: top right;
}

.nav-item.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--rwtd-navy-dark);
  font-weight: 700;
  line-height: 1.25;
  transition: background-color 0.12s ease;
}

.dropdown a:hover {
  background: #f2f5fa;
  color: var(--rwtd-navy-light);
}

.dropdown small {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  font-size: 0.82em;
  color: var(--muted);
}

.dropdown .divider {
  height: 1px;
  margin: 6px 4px;
  background: var(--border);
}

/* Hamburger Toggle Button (Mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(11, 31, 58, 0.85);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 0;
  gap: 5px;
  transition: background-color 0.2s ease;
}

.top-nav.solid .hamburger {
  background: var(--rwtd-navy-dark);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* Mobile Slide-out Drawer */
.mobile-drawer {
  position: fixed;
  top: 76px;
  right: 18px;
  width: 320px;
  max-width: calc(100vw - 36px);
  max-height: calc(100vh - 96px);
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25);
  padding: 16px;
  z-index: 6000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.96);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
}

.mobile-drawer.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.mobile-drawer a {
  display: block;
  padding: 12px 14px;
  border-radius: 8px;
  color: var(--rwtd-navy-dark);
  font-weight: 700;
  font-size: 1.02em;
  transition: background-color 0.12s ease;
}

.mobile-drawer a:hover {
  background: #f2f5fa;
  color: var(--rwtd-navy-light);
}

.mobile-drawer small {
  display: block;
  margin-top: 3px;
  font-weight: 500;
  font-size: 0.82em;
  color: var(--muted);
}

.mobile-drawer .section-label {
  padding: 10px 14px 4px;
  font-size: 0.75em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
}

.mobile-drawer .divider {
  height: 1px;
  margin: 8px 0;
  background: var(--border);
}

.nav-spacer {
  height: 86px;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  background: radial-gradient(900px 520px at 18% 20%, rgba(44, 90, 160, 0.4), transparent 65%),
              radial-gradient(900px 520px at 82% 35%, rgba(18, 50, 90, 0.4), transparent 65%),
              linear-gradient(135deg, var(--rwtd-navy-dark) 0%, var(--rwtd-navy-mid) 55%, #0f2b52 100%);
  color: #ffffff;
  padding: 130px 24px 90px;
  position: relative;
  overflow: hidden;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.hero h1 {
  font-size: 3.2em;
  line-height: 1.15;
  margin: 0 0 18px 0;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.hero p {
  font-size: 1.18em;
  line-height: 1.7;
  margin: 0 0 26px 0;
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 800;
  border-radius: 12px;
  padding: 14px 24px;
  font-size: 1em;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.btn.primary {
  background: var(--rwtd-navy-light);
  color: #ffffff;
}

.btn.primary:hover {
  background: var(--rwtd-navy-hover);
}

.btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: #ffffff;
}

.btn.navy {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
}

.btn.navy:hover {
  background: var(--rwtd-navy-mid);
}

.hero-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}

.hero-card h3 {
  margin: 0 0 12px 0;
  font-size: 1.45em;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.9em;
  font-weight: 700;
}

/* ==========================================================================
   General Section Standards
   ========================================================================== */
section {
  padding: 80px 24px;
}

section.soft {
  background: #ffffff;
}

.section-header {
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.3em;
  font-weight: 900;
  color: var(--rwtd-navy-dark);
  margin: 0 0 12px 0;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-sub {
  font-size: 1.15em;
  line-height: 1.7;
  color: var(--muted);
  max-width: 820px;
  margin: 0;
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

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

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.card-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.card-tag.youth { background: #e0edff; color: #1d4ed8; }
.card-tag.community { background: #fef3c7; color: #b45309; }
.card-tag.veteran { background: #dcfce7; color: #15803d; }
.card-tag.lawncare { background: #f3e8ff; color: #7e22ce; }

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.card-icon-wrap.navy { background: #e7eefb; color: var(--rwtd-navy-dark); }
.card-icon-wrap.green { background: #eaf4ea; color: var(--ro-green-dark); }
.card-icon-wrap.blue { background: #e0edff; color: var(--rwtd-navy-light); }
.card-icon-wrap.orange { background: #ffedd5; color: #ea580c; }
.card-icon-wrap.purple { background: #f3e8ff; color: var(--purple); }

.card h3, .card h4 {
  margin: 0 0 10px 0;
  font-size: 1.25em;
  font-weight: 800;
  color: var(--rwtd-navy-dark);
}

.card p {
  margin: 0 0 16px 0;
  color: var(--muted);
  font-size: 0.98em;
  line-height: 1.6;
  flex-grow: 1;
}

.card-link {
  font-weight: 800;
  color: var(--rwtd-navy-light);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
}

.card-link:hover {
  color: var(--rwtd-navy-dark);
  gap: 8px;
}

/* ==========================================================================
   Recker's Outreach (RO) Section
   ========================================================================== */
.ro-spotlight {
  background: linear-gradient(135deg, #1b381b 0%, #2f4f2f 60%, #3e633e 100%);
  color: #ffffff;
  padding: 80px 24px;
}

.ro-banner {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 20px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 40px;
  backdrop-filter: blur(8px);
}

.ro-banner-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.ro-banner-left img, .ro-banner-left svg {
  height: 64px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.18));
}

.ro-banner-left strong {
  display: block;
  font-size: 1.25em;
  letter-spacing: 0.2px;
}

.ro-banner-left span {
  font-size: 0.9em;
  opacity: 0.88;
}

.ro-banner-right a {
  background: #ffffff;
  color: var(--ro-green-dark);
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.ro-banner-right a:hover {
  transform: translateY(-2px);
  background: var(--ro-green-soft);
}

.founder-section {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 36px;
  align-items: center;
}

.founder-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
}

.founder-card img {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.founder-avatar-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--ro-green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 3em;
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.founder-name {
  font-size: 1.3em;
  font-weight: 900;
}

.founder-title {
  font-size: 0.9em;
  opacity: 0.88;
  margin-top: 4px;
}

.founder-badge {
  display: inline-block;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78em;
  font-weight: 700;
}

.founder-right .quote {
  font-size: 1.35em;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  margin: 0 0 24px 0;
  color: rgba(255, 255, 255, 0.95);
  border-left: 4px solid var(--ro-green-light);
  padding-left: 18px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Support & Lawn Care Sections
   ========================================================================== */
.support-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.support-box h4 {
  font-size: 1.3em;
  font-weight: 800;
  color: var(--rwtd-navy-dark);
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.support-box p {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 800;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  margin-top: auto;
}

.support-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.support-btn.paypal { background: #0079c1; color: #ffffff; }
.support-btn.walmart { background: #0071dc; color: #ffffff; }
.support-btn.homedepot { background: #f96302; color: #ffffff; }

.lawn-care-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 36px;
  align-items: center;
}

.lawn-care-card h3 {
  font-size: 1.8em;
  font-weight: 900;
  color: var(--rwtd-navy-dark);
  margin: 0 0 14px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.lawn-qr-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
}

.lawn-qr-box img, .lawn-qr-box svg {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin: 0 auto 12px;
  display: block;
  border-radius: 8px;
  background: #ffffff;
  padding: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Interactive Events Calendar System (Redone for events.html)
   ========================================================================== */
.calendar-workspace {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

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

.cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cal-month-title {
  font-size: 1.6em;
  font-weight: 900;
  color: var(--rwtd-navy-dark);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cal-nav {
  display: flex;
  gap: 8px;
}

.cal-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-weight: 700;
  font-size: 0.9em;
  color: var(--rwtd-navy-dark);
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.cal-btn:hover {
  background: #e2e8f0;
  transform: translateY(-1px);
}

.cal-btn.today {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
  border-color: var(--rwtd-navy-dark);
}

.cal-btn.today:hover {
  background: var(--rwtd-navy-mid);
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter-pill {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.84em;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.filter-pill:hover {
  background: #e7eefb;
  color: var(--rwtd-navy-dark);
}

.filter-pill.active {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
  border-color: var(--rwtd-navy-dark);
}

.filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.filter-dot.youth { background: var(--rwtd-accent-blue); }
.filter-dot.veteran { background: var(--ro-green-mid); }
.filter-dot.cleanup { background: var(--orange); }
.filter-dot.lawncare { background: var(--purple); }

/* Calendar Grid */
.calendar-grid-wrap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.cal-dow {
  text-align: center;
  font-weight: 800;
  font-size: 0.85em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.cal-day-cell {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  height: 52px;
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.cal-day-cell:hover {
  background: #f8fafc;
  border-color: var(--rwtd-navy-light);
  transform: translateY(-1px);
}

.cal-day-cell.dim {
  opacity: 0.35;
  background: #fcfcfc;
  cursor: default;
}

.cal-day-cell.today {
  border: 2px solid var(--rwtd-navy-light);
  background: #f0f7ff;
}

.cal-day-cell.selected {
  border: 2px solid var(--rwtd-navy-dark);
  background: #e7eefb;
}

.cal-day-cell.has-events {
  background: #fafcff;
  border-color: #cbd5e1;
}

.cal-day-cell.has-events:hover {
  background: #eff6ff;
  border-color: var(--rwtd-navy-light);
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.08);
}

.cal-date-number {
  font-weight: 800;
  font-size: 0.88em;
  color: var(--rwtd-navy-dark);
  line-height: 1;
}

.cal-day-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 100%;
  margin-top: auto;
  padding-bottom: 2px;
}

.cal-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
  transition: transform 0.12s ease;
}

.cal-day-cell:hover .cal-dot {
  transform: scale(1.25);
}

.cal-dot.youth { background-color: var(--rwtd-accent-blue); }
.cal-dot.veteran { background-color: var(--ro-green-mid); }
.cal-dot.cleanup { background-color: var(--orange); }
.cal-dot.lawncare { background-color: var(--purple); }

.cal-dot-count {
  font-size: 0.65em;
  font-weight: 800;
  color: var(--muted);
  line-height: 1;
}

/* Fallback legacy classes */
.cal-day-events { display: flex; gap: 3px; justify-content: center; margin-top: auto; }
.cal-event-dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; }
.cal-event-dot.youth { background-color: var(--rwtd-accent-blue); }
.cal-event-dot.veteran { background-color: var(--ro-green-mid); }
.cal-event-dot.cleanup { background-color: var(--orange); }
.cal-event-dot.lawncare { background-color: var(--purple); }

/* Event Feed Side Column */
.event-feed-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feed-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
}

.feed-title {
  font-size: 1.4em;
  font-weight: 900;
  color: var(--rwtd-navy-dark);
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.feed-subtitle {
  font-size: 0.92em;
  color: var(--muted);
  margin: 0;
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 6px;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 #f1f5f9;
}

.event-list::-webkit-scrollbar {
  width: 6px;
}
.event-list::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 4px;
}
.event-list::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
.event-list::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

.event-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  background: #ffffff;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.event-item:hover, .event-item.highlighted {
  border-color: var(--rwtd-navy-light);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

.event-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.event-item h4 {
  margin: 0 0 8px 0;
  font-size: 1.1em;
  font-weight: 800;
  color: var(--rwtd-navy-dark);
  line-height: 1.35;
}

.event-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.88em;
  color: var(--muted);
  margin-bottom: 10px;
}

.event-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.event-summary {
  font-size: 0.9em;
  color: var(--text);
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.event-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.event-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.82em;
  font-weight: 700;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--rwtd-navy-dark);
  cursor: pointer;
  transition: all 0.12s ease;
}

.event-btn:hover {
  background: #e7eefb;
  border-color: var(--rwtd-navy-light);
}

.event-btn.primary {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
  border-color: var(--rwtd-navy-dark);
}

.event-btn.primary:hover {
  background: var(--rwtd-navy-light);
}

/* ==========================================================================
   Contact Page Elements & Social Links
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

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

.contact-card h3 {
  font-size: 1.4em;
  font-weight: 800;
  color: var(--rwtd-navy-dark);
  margin: 0 0 18px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-lines {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-line {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-line-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e7eefb;
  color: var(--rwtd-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-line-content {
  line-height: 1.45;
}

.contact-line-content strong {
  display: block;
  font-size: 0.88em;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-line-content a {
  color: var(--rwtd-navy-dark);
  font-weight: 700;
  font-size: 1.05em;
}

.contact-line-content a:hover {
  color: var(--rwtd-navy-light);
  text-decoration: underline;
}

/* Social Media Channels Box */
.social-channels-box {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.social-channels-box h4 {
  margin: 0 0 12px 0;
  font-size: 1.1em;
  font-weight: 800;
  color: var(--rwtd-navy-dark);
}

.social-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  font-weight: 700;
  color: var(--rwtd-navy-dark);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.social-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.10);
  border-color: var(--rwtd-navy-light);
}

.social-btn.facebook:hover { color: #1877f2; border-color: #1877f2; }
.social-btn.instagram:hover { color: #e1306c; border-color: #e1306c; }
.social-btn.youtube:hover { color: #ff0000; border-color: #ff0000; }
.social-btn.volunteer:hover { color: var(--ro-green-dark); border-color: var(--ro-green-dark); }

/* Fast Email Action Buttons */
.email-actions-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

.action-card-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #f8fafc;
  color: var(--rwtd-navy-dark);
  font-weight: 800;
  transition: all 0.15s ease;
}

.action-card-btn:hover {
  background: #e7eefb;
  border-color: var(--rwtd-navy-light);
  transform: translateY(-2px);
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--rwtd-navy-dark);
  color: #ffffff;
  padding: 60px 24px 30px;
  margin-top: 80px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand img {
  height: 52px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95em;
  line-height: 1.6;
  margin: 0 0 18px 0;
  max-width: 320px;
}

.footer-social-row {
  display: flex;
  gap: 12px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
  background: var(--rwtd-navy-light);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 1.1em;
  font-weight: 800;
  margin: 0 0 16px 0;
  color: #ffffff;
  letter-spacing: 0.3px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92em;
  transition: color 0.15s ease, padding-left 0.15s ease;
}

.footer-col a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-bottom {
  max-width: var(--container);
  margin: 30px auto 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88em;
  color: rgba(255, 255, 255, 0.65);
  flex-wrap: wrap;
  gap: 14px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; }
  .calendar-workspace { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .lawn-care-card { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2.4em; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .social-links-grid { grid-template-columns: 1fr; }
  .founder-section { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .brand-text span { display: none; }
  .cal-day-cell { height: 46px; min-height: 46px; padding: 4px 2px; }
  .cal-dot, .cal-event-dot { width: 5px; height: 5px; }
}

.social-btn.linkedin:hover { color: #0a66c2; border-color: #0a66c2; }
