/* ============================================
   Velo.You - Calgary Youth Bike Program
   Design: Calm & Trustworthy (Green Palette)
   Fonts: Raleway + Open Sans
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;600;700;800&family=Open+Sans:wght@400;600&display=swap');

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  color: #3A3A3A;
  background: #FAFFFE;
  line-height: 1.7;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: #2D6A4F;
  text-decoration: none;
}

a:hover {
  color: #52B788;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Raleway', Arial, sans-serif;
  color: #1B4332;
  line-height: 1.3;
}

h1 { font-size: 2.8rem; font-weight: 800; }
h2 { font-size: 2rem; font-weight: 700; margin-bottom: 16px; }
h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 10px; }

p {
  margin-bottom: 16px;
}

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

.section {
  padding: 64px 0;
}

.section-alt {
  padding: 64px 0;
  background: #F0FFF4;
}

/* --- Header / Navigation --- */
.site-header {
  background: #1B4332;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

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

.logo {
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.6rem;
  color: #fff;
  letter-spacing: 0.5px;
}

.logo span {
  color: #95D5B2;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: #D8F3DC;
  font-size: 0.92rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  border-bottom-color: #52B788;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: #D8F3DC;
  margin: 5px 0;
  border-radius: 2px;
}

/* --- Hero Banner --- */
.hero {
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
}

.hero h1 {
  color: #fff;
  margin-bottom: 12px;
  font-size: 3rem;
}

.hero .subtitle {
  font-family: 'Raleway', sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
  opacity: 0.9;
  margin-bottom: 24px;
}

.hero .tagline {
  font-family: 'Raleway', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: 'Raleway', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.15s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #2D6A4F;
  color: #fff;
}

.btn-primary:hover {
  background: #1B4332;
  color: #fff;
}

.btn-secondary {
  background: #fff;
  color: #2D6A4F;
  border: 2px solid #2D6A4F;
}

.btn-secondary:hover {
  background: #F0FFF4;
  color: #1B4332;
}

.btn-light {
  background: #fff;
  color: #2D6A4F;
}

.btn-light:hover {
  background: #D8F3DC;
  color: #1B4332;
}

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 32px;
}

.card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
  border-top: 4px solid #52B788;
  transition: transform 0.2s, box-shadow 0.2s;
}

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

.card-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.card h3 {
  color: #2D6A4F;
}

/* --- Steps / Process --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 32px;
  counter-reset: step-counter;
}

.step {
  background: #fff;
  border-radius: 12px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  counter-increment: step-counter;
  position: relative;
}

.step::before {
  content: counter(step-counter);
  display: block;
  width: 48px;
  height: 48px;
  line-height: 48px;
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  border-radius: 50%;
  margin: 0 auto 16px;
}

/* --- Stats Bar --- */
.stats-bar {
  background: #1B4332;
  color: #fff;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}

.stat h3 {
  font-size: 2.4rem;
  color: #95D5B2;
  margin-bottom: 4px;
}

.stat p {
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  color: #D8F3DC;
  font-size: 0.95rem;
  margin: 0;
}

/* --- Feature Sections (alternating) --- */
.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.feature-reverse {
  direction: rtl;
}

.feature-reverse > * {
  direction: ltr;
}

.feature-text h2 {
  margin-bottom: 16px;
}

.feature-visual {
  background: linear-gradient(135deg, #D8F3DC, #95D5B2);
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* --- Pricing / Exchange Box --- */
.exchange-box {
  background: linear-gradient(135deg, #2D6A4F, #40916C);
  color: #fff;
  border-radius: 16px;
  padding: 48px;
  text-align: center;
  max-width: 600px;
  margin: 32px auto 0;
}

.exchange-box h2 {
  color: #fff;
}

.exchange-box .price {
  font-family: 'Raleway', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  margin: 16px 0 8px;
}

.exchange-box .price-note {
  font-size: 1.1rem;
  opacity: 0.85;
  margin-bottom: 24px;
}

/* --- Testimonial / Quote --- */
.quote-block {
  background: #F0FFF4;
  border-left: 5px solid #52B788;
  padding: 28px 32px;
  border-radius: 0 12px 12px 0;
  margin: 32px 0;
  font-style: italic;
  font-size: 1.1rem;
}

.quote-block cite {
  display: block;
  margin-top: 12px;
  font-style: normal;
  font-weight: 600;
  color: #2D6A4F;
  font-size: 0.95rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, #2D6A4F, #52B788);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}

.cta-section h2 {
  color: #fff;
  margin-bottom: 12px;
}

.cta-section p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 28px;
}

/* --- Form Styles --- */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
  margin-bottom: 6px;
  color: #1B4332;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #D8F3DC;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  color: #3A3A3A;
  background: #fff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: #52B788;
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.06);
}

/* --- Footer --- */
.site-footer {
  background: #1B4332;
  color: #D8F3DC;
  padding: 48px 0 24px;
}

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

.footer-brand .logo {
  margin-bottom: 12px;
  display: block;
}

.footer-brand p {
  color: #95D5B2;
  font-size: 0.9rem;
  line-height: 1.6;
}

.site-footer h4 {
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #95D5B2;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 20px;
  text-align: center;
  font-size: 0.85rem;
  color: #95D5B2;
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-32 { margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #1B4332;
    flex-direction: column;
    padding: 20px 24px;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

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

  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.2rem; }
  .hero .tagline { font-size: 1.2rem; }

  .feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-reverse {
    direction: ltr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .header-inner {
    position: relative;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .exchange-box {
    padding: 32px 20px;
  }

  .exchange-box .price {
    font-size: 2.6rem;
  }
}
