/* Gentoolink Demo Sites — All Points Cycling Design System */

:root {
  --primary: #1a2332;
  --primary-light: #2a3a52;
  --accent: #e63946;
  --accent-hover: #c5303c;
  --green: #2d6a4f;
  --bg: #f8f9fa;
  --white: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --border: #e0e0e0;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --max-w: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* ── Header ── */
.site-header {
  background: var(--primary);
  color: var(--white);
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo img {
  height: 20px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.logo span { color: var(--white); }
.logo span span { color: var(--accent); }
.tagline {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 2px;
}
.main-nav { display: flex; gap: 8px; }
.main-nav a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  padding: 8px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s;
}
.main-nav a:hover,
.main-nav a.active { background: rgba(255,255,255,0.1); color: var(--white); }
.header-phone {
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: background 0.2s;
}
.header-phone:hover { background: var(--accent-hover); }

/* ── Hero ── */
.hero {
  background: linear-gradient(rgba(26,35,50,0.85), rgba(26,35,50,0.9)),
              url('https://images.unsplash.com/photo-1541625602330-2277a4c46182?w=1400') center/cover no-repeat;
  color: var(--white);
  padding: 100px 24px 80px;
  text-align: center;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 16px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.intro-video {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.intro-video video {
  width: 100%;
  max-width: 700px;
  display: block;
  margin: 0 auto;
}
.btn {
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  display: inline-block;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }
.btn-green { background: var(--green); color: var(--white); }
.btn-green:hover { background: #245a42; transform: translateY(-1px); }

/* ── Page Hero (inner pages) ── */
.page-hero {
  background: linear-gradient(rgba(26,35,50,0.9), rgba(26,35,50,0.95)),
              url('https://images.unsplash.com/photo-1541625602330-2277a4c46182?w=1400') center/cover no-repeat;
  color: var(--white);
  padding: 60px 24px;
  text-align: center;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; margin-bottom: 8px; }
.page-hero p { opacity: 0.85; font-size: 1.1rem; }

/* ── Section ── */
.section {
  padding: 64px 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}
.section-alt { background: var(--white); }
.section-title {
  text-align: center;
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
}

/* ── About / Text Block ── */
.about-block {
  background: var(--white);
  padding: 48px 24px;
  text-align: center;
}
.about-block .inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.about-block h2 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}
.about-block p {
  color: var(--text-muted);
  margin: 0 auto 16px;
  max-width: 720px;
  text-align: center;
}

/* ── Cards ── */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border-top: 4px solid var(--accent);
}
.card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.card-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card h3 { font-size: 1.1rem; margin-bottom: 8px; color: var(--primary); }
.card p { font-size: 0.9rem; color: var(--text-muted); }
.card.upon-request { border-top-color: var(--green); }
.card.upon-request .card-icon { background: linear-gradient(135deg, var(--green), #3d8a62); }

/* ── Accordion ── */
.accordion { max-width: 800px; margin: 0 auto; }
.accordion-item {
  background: var(--white);
  border-radius: var(--radius);
  margin-bottom: 12px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.accordion-header {
  padding: 18px 24px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: var(--primary);
  transition: background 0.2s;
}
.accordion-header:hover { background: rgba(0,0,0,0.02); }
.accordion-header::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: transform 0.2s;
}
.accordion-item.open .accordion-header::after { transform: rotate(45deg); }
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.accordion-item.open .accordion-content { max-height: 400px; }
.accordion-body {
  padding: 0 24px 18px;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}

/* ── Professional Groups ── */
.groups-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}
.group-tag {
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ── Blog Cards ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}
.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.12); }
.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card-body { padding: 24px; }
.blog-card-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 8px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 8px; color: var(--primary); }
.blog-card h3 a { color: inherit; text-decoration: none; }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 16px; }
.read-more { color: var(--accent); text-decoration: none; font-weight: 600; font-size: 0.9rem; }
.read-more:hover { text-decoration: underline; }

/* ── Blog Layout ── */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}
.blog-main { min-width: 0; }
.blog-sidebar { min-width: 0; }
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}
.sidebar-widget h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 8px;
}
.sidebar-widget ul { list-style: none; }
.sidebar-widget ul li { margin-bottom: 8px; }
.sidebar-widget ul li a { color: var(--primary); text-decoration: none; font-size: 0.9rem; }
.sidebar-widget ul li a:hover { color: var(--accent); }
.year-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.year-btn {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text);
  transition: all 0.2s;
}
.year-btn:hover,
.year-btn.active { background: var(--accent); color: var(--white); border-color: var(--accent); }

@media (max-width: 800px) {
  .blog-layout { grid-template-columns: 1fr; }
}

/* ── Blog Post ── */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 24px;
  background: var(--white);
}
.post-header { margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--border); }
.post-header h1 { font-size: 1.9rem; color: var(--primary); margin-bottom: 12px; line-height: 1.3; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); }
.post-body { font-size: 1.05rem; line-height: 1.75; color: var(--text); }
.post-body p { margin-bottom: 20px; }
.post-body h2 { font-size: 1.4rem; color: var(--primary); margin: 32px 0 12px; }
.post-body h3 { font-size: 1.15rem; color: var(--primary); margin: 24px 0 8px; }
.post-body ul, .post-body ol { margin: 16px 0; padding-left: 28px; }
.post-body li { margin-bottom: 8px; }
.post-body blockquote {
  border-left: 4px solid var(--accent);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--bg);
  font-style: italic;
  color: var(--text-muted);
}
.post-body img { max-width: 100%; border-radius: var(--radius); margin: 20px 0; }
.post-body strong { color: var(--primary); }
.back-link { display: inline-block; margin-top: 32px; color: var(--accent); text-decoration: none; font-weight: 600; }

/* ── CTA Strip ── */
.cta-strip {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 56px 24px;
  text-align: center;
}
.cta-strip h2 { font-size: 1.75rem; margin-bottom: 12px; }
.cta-strip p { opacity: 0.85; margin-bottom: 24px; }

/* ── Contact Grid ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 24px;
}
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  text-align: center;
}
.contact-card h3 { font-size: 1rem; margin-bottom: 12px; color: var(--primary); }
.contact-card p { font-size: 0.9rem; color: var(--text-muted); }
.contact-card a { color: var(--accent); font-weight: 600; text-decoration: none; }
.contact-card a:hover { text-decoration: underline; }
.contact-card .big-link { font-size: 1.1rem; }

/* ── Map ── */
.map-section { background: var(--white); padding: 48px 24px; }
.map-inner { max-width: var(--max-w); margin: 0 auto; }
.map-inner iframe { width: 100%; height: 350px; border: 0; border-radius: var(--radius); }

/* ── Form ── */
.form-section { background: var(--white); padding: 48px 24px; }
.form-box {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.form-box h2 { font-size: 1.5rem; text-align: center; color: var(--primary); margin-bottom: 8px; }
.form-box p { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group textarea,
.form-group select {
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--accent); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-success {
  background: #ecfdf5;
  color: #065f46;
  padding: 16px;
  border-radius: var(--radius);
  text-align: center;
  display: none;
}

/* ── Partners / Logos ── */
.partners { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; align-items: center; padding: 32px 24px; background: var(--white); }
.partner-logo {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  font-weight: 600;
  color: var(--primary);
  text-align: center;
  min-width: 160px;
}
.partner-logo.green { border-color: var(--green); color: var(--green); background: #1a2332; }
.partner-img { display: block; max-height: 80px; max-width: 160px; width: auto; height: auto; }

/* ── Footer ── */
.site-footer {
  background: #111827;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px;
  font-size: 0.85rem;
}
.site-footer a { color: rgba(255,255,255,0.7); text-decoration: none; }
.site-footer a:hover { color: var(--white); }
.footer-logo-img {
  height: 50px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.footer-logo-badge {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
}
.footer-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 16px;
}
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: all 0.2s;
  text-decoration: none;
}
.social-icon:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}

/* ── Credentials ── */
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}
.credential-item {
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.credential-item strong { display: block; color: var(--primary); font-size: 1.1rem; margin-bottom: 4px; }
.credential-item span { font-size: 0.85rem; color: var(--text-muted); }

/* ── Mission Vision Values ── */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px 48px;
}
.mvv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
}
.mvv-card.green { border-left-color: var(--green); }
.mvv-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 12px; }
.mvv-card p { color: var(--text-muted); font-size: 0.95rem; }

/* ── Bio Block ── */
.bio-block {
  background: var(--white);
  padding: 48px 24px;
}
.bio-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
}
.bio-avatar {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--white);
}
.bio-content h2 { font-size: 1.5rem; color: var(--primary); margin-bottom: 4px; }
.bio-content .title { color: var(--accent); font-weight: 600; margin-bottom: 16px; }
.bio-content p { color: var(--text-muted); margin-bottom: 12px; max-width: 600px; }

@media (max-width: 600px) {
  .bio-inner { grid-template-columns: 1fr; }
  .bio-avatar { width: 120px; height: 120px; font-size: 3rem; margin: 0 auto; }
}

/* ── Mobile Nav ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 4px;
}
.main-nav { display: flex; gap: 4px; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 12px;
    gap: 4px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 16px; }
  .site-header .inner { position: relative; }
  .hero { padding: 60px 24px 50px; min-height: 420px; }
  .hero h1 { font-size: 1.8rem; }
  .section { padding: 48px 20px; }
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { opacity: 0; animation: fadeUp 0.5s ease forwards; }
.fade-up-delay-1 { animation-delay: 0.1s; }
.fade-up-delay-2 { animation-delay: 0.2s; }
.fade-up-delay-3 { animation-delay: 0.3s; }
.fade-up-delay-4 { animation-delay: 0.4s; }

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.scroll-reveal.visible {
  opacity: 1;
  transform: none;
}
