/* ============================================================
   EBIKING WITHOUT REGRET — MASTER STYLESHEET
   ============================================================ */

:root {
  --green-dark:  #0d1f0f;
  --green:       #2d5a30;
  --green-mid:   #3d7a42;
  --green-light: #4daa5a;
  --gold:        #c9973a;
  --gold-light:  #ffe066;
  --navy:        #1a2744;
  --cream:       #faf8f4;
  --white:       #ffffff;
  --text-dark:   #1a2744;
  --text-mid:    #4a5568;
  --text-light:  #718096;
  --border:      #e2e8f0;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ---- HEADER ---- */
.site-header {
  background: var(--green);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.2);
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: white;
  white-space: nowrap;
}
.logo em { color: var(--gold-light); font-style: italic; }

.header-nav { display: flex; gap: 1.5rem; align-items: center; }
.header-nav a {
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  font-weight: 500;
  transition: color .2s;
}
.header-nav a:hover { color: white; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  padding: .75rem 1.75rem;
  border-radius: 7px;
  font-weight: 700;
  font-size: .95rem;
  cursor: pointer;
  transition: background .2s, transform .1s;
  border: none;
  text-align: center;
}
.btn:hover { transform: translateY(-1px); }

.btn-nav {
  background: var(--gold);
  color: var(--navy);
  font-size: .85rem;
  padding: .55rem 1.25rem;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--gold-light); }

.btn-buy {
  background: var(--gold);
  color: var(--navy);
  padding: 1rem 2.5rem;
  font-size: 1.05rem;
}
.btn-buy:hover { background: var(--gold-light); }

.btn-buy .sub {
  display: block;
  font-size: .75rem;
  font-weight: 500;
  margin-top: .2rem;
  opacity: .8;
}

.btn-green {
  background: var(--green);
  color: white;
}
.btn-green:hover { background: var(--green-mid); }

/* ---- SECTION HELPERS ---- */
.section-inner { max-width: 760px; margin: 0 auto; }
.section-inner-wide { max-width: 1000px; margin: 0 auto; }

.section-label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .85rem;
}

section { padding: 5rem 2rem; }

h2 {
  font-family: 'Lora', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

p { color: var(--text-mid); font-size: 1.02rem; line-height: 1.8; margin-bottom: 1.1rem; }
p:last-child { margin-bottom: 0; }
p strong { color: var(--text-dark); }

/* ---- HERO ---- */
.hero {
  background: linear-gradient(150deg, var(--green-dark) 0%, #1a3a20 50%, var(--green) 100%);
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
}
.hero h1 {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: white;
  line-height: 1.15;
  max-width: 780px;
  margin: 0 auto 1rem;
  font-weight: 700;
}
.hero h1 em { color: var(--gold-light); font-style: italic; }
.hero-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 1rem;
}
.hero-meta {
  color: var(--green-light);
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 2.25rem;
  letter-spacing: .03em;
}
.hero-guarantee {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  margin-top: .9rem;
}

/* ---- ABSORBING QUESTIONS ---- */
.q-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; }
.q-list li {
  padding: 1rem 1.5rem;
  background: white;
  border-left: 3px solid var(--green-light);
  border-radius: 0 8px 8px 0;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}
.q-list li::before { content: "→ "; color: var(--green-light); font-weight: 700; }

/* ---- CHAPTER GRID ---- */
.chapters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.chapter-card {
  padding: 1.25rem 1.5rem;
  background: var(--cream);
  border-radius: 10px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.ch-num {
  font-family: 'Lora', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green-light);
  flex-shrink: 0;
  line-height: 1;
  min-width: 28px;
}
.ch-body h4 { font-size: .95rem; font-weight: 700; color: var(--navy); margin-bottom: .2rem; }
.ch-body p  { font-size: .87rem; color: var(--text-mid); line-height: 1.5; margin: 0; }

/* ---- GUS SECTION ---- */
.gus-section { background: var(--green); text-align: center; }
.gus-section h2 { color: white; }
.gus-section p  { color: rgba(255,255,255,.75); }
.gus-section em { color: var(--gold-light); font-style: italic; }
.gus-avatar {
  width: 110px; height: 110px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  border: 3px solid rgba(255,224,102,.4);
  overflow: hidden;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
}

/* ---- THREAT SECTION ---- */
.threat-section { background: var(--navy); text-align: center; }
.threat-section h2 { color: white; }
.threat-section p  { color: rgba(255,255,255,.72); }
.threat-callout {
  background: rgba(201,151,58,.12);
  border: 1px solid rgba(201,151,58,.35);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  color: var(--gold-light);
  font-size: 1rem;
  line-height: 1.7;
  font-style: italic;
  margin: 1.5rem auto 2.5rem;
  max-width: 600px;
}

/* ---- ABOUT ---- */
.about-tag {
  display: inline-block;
  background: var(--green);
  color: white;
  font-size: .78rem;
  font-weight: 600;
  padding: .3rem .85rem;
  border-radius: 20px;
  margin-bottom: 1.25rem;
}

/* ---- PRICING CARD ---- */
.pricing-card {
  max-width: 460px;
  margin: 0 auto;
  background: var(--navy);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(26,39,68,.15);
}
.pricing-top { padding: 2.5rem 2rem; text-align: center; background: var(--navy); }
.price-main {
  font-family: 'Lora', serif;
  font-size: 4rem;
  color: white;
  font-weight: 700;
  line-height: 1;
}
.price-main sup { font-size: 1.8rem; vertical-align: top; margin-top: .8rem; display: inline-block; }
.price-label  { color: rgba(255,255,255,.55); font-size: .88rem; margin-top: .4rem; }
.price-anchor { color: rgba(255,255,255,.3); font-size: .82rem; text-decoration: line-through; margin-top: .3rem; }
.pricing-body { background: white; padding: 2rem; }
.pricing-features { list-style: none; display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.75rem; }
.pricing-features li { display: flex; align-items: flex-start; gap: .75rem; font-size: .95rem; color: var(--text-dark); }
.pricing-features li .chk { color: var(--green); font-size: 1rem; flex-shrink: 0; margin-top: .1rem; }
.guarantee-note { text-align: center; font-size: .8rem; color: var(--text-light); margin-top: 1rem; }

/* ---- RECOMMENDATIONS PAGE ---- */
.bike-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: start;
}
.bike-card img { border-radius: 8px; }
.bike-card h3 { font-family: 'Lora', serif; font-size: 1.3rem; color: var(--navy); margin-bottom: .5rem; }
.bike-card .badge {
  display: inline-block;
  background: var(--green-light);
  color: white;
  font-size: .75rem;
  font-weight: 700;
  padding: .25rem .7rem;
  border-radius: 20px;
  margin-bottom: .75rem;
}
.bike-card .price-tag { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin: .75rem 0; }
.bike-card .pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1rem 0; }
.pros h5, .cons h5 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: .4rem; }
.pros h5 { color: var(--green); }
.cons h5 { color: #e53e3e; }
.pros ul, .cons ul { list-style: none; }
.pros li::before { content: "✓ "; color: var(--green); font-weight: 700; font-size: .9rem; }
.cons li::before { content: "✗ "; color: #e53e3e; font-weight: 700; font-size: .9rem; }
.pros li, .cons li { font-size: .88rem; color: var(--text-mid); line-height: 1.6; }

/* ---- BLOG ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.blog-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,.06);
  transition: transform .2s;
}
.blog-card:hover { transform: translateY(-3px); }
.blog-card-body { padding: 1.5rem; }
.blog-card h3 { font-family: 'Lora', serif; font-size: 1.1rem; color: var(--navy); margin-bottom: .5rem; }
.blog-card p  { font-size: .9rem; margin-bottom: 1rem; }
.blog-card a.read-more { color: var(--green); font-weight: 600; font-size: .88rem; }

/* ---- THANK YOU PAGE ---- */
.thankyou-box {
  max-width: 580px;
  margin: 4rem auto;
  background: white;
  border-radius: 16px;
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 30px rgba(0,0,0,.08);
}
.thankyou-box .check-icon { font-size: 4rem; margin-bottom: 1.5rem; }
.thankyou-box h1 { font-family: 'Lora', serif; color: var(--navy); margin-bottom: 1rem; }

/* ---- WHITE BG SECTIONS ---- */
.bg-white  { background: white; }
.bg-cream  { background: var(--cream); }
.bg-green  { background: var(--green); }
.bg-navy   { background: var(--navy); }

/* ---- UTILITY ---- */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .header-nav { display: none; }
  .hero { padding: 3.5rem 1.25rem 3rem; }
  .bike-card { grid-template-columns: 1fr; }
  .bike-card .pros-cons { grid-template-columns: 1fr; }
  section { padding: 3.5rem 1.25rem; }
}

/* ---- IMAGE LAYOUTS ---- */

/* Hero two-column */
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  text-align: left;
}
.hero-text { order: 1; }
.hero-image { order: 2; }
.hero-image img {
  border-radius: 16px;
  box-shadow: 0 12px 48px rgba(0,0,0,.35);
  width: 100%;
}

/* Story two-column */
.story-with-image {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1.5rem;
}
.story-image img {
  border-radius: 12px;
  box-shadow: 0 6px 30px rgba(0,0,0,.1);
  width: 100%;
}

/* Full-width image break */
.img-break {
  position: relative;
  max-height: 420px;
  overflow: hidden;
}
.img-break img {
  width: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.img-break-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 2rem;
  background: linear-gradient(transparent, rgba(13,31,15,.85));
  color: white;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 1.1rem;
  text-align: center;
}

/* Gus two-column */
.gus-section { background: var(--green); padding: 5rem 2rem; }
.gus-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 4rem;
  align-items: center;
}
.gus-photo img {
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,.4);
  width: 100%;
  border: 3px solid rgba(255,224,102,.3);
}
.gus-content h2 { color: white; }
.gus-content p  { color: rgba(255,255,255,.78); }
.gus-content em { color: var(--gold-light); font-style: italic; }

/* About two-column */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-top: 1rem;
}
.about-image img {
  border-radius: 14px;
  box-shadow: 0 6px 30px rgba(0,0,0,.1);
  width: 100%;
}

/* Responsive image layouts */
@media (max-width: 768px) {
  .hero-inner          { grid-template-columns: 1fr; text-align: center; }
  .hero-image          { order: -1; }
  .story-with-image    { grid-template-columns: 1fr; }
  .gus-inner           { grid-template-columns: 1fr; }
  .gus-photo           { max-width: 260px; margin: 0 auto; }
  .about-layout        { grid-template-columns: 1fr; }
  .img-break           { max-height: 280px; }
}

/* ---- IMAGE SIZE FIXES ---- */

/* Hero image — constrain height, don't let it overpower the text */
.hero-image img {
  max-height: 480px;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* Story section image — reasonable column width */
.story-image img {
  max-height: 360px;
  object-fit: cover;
  object-position: center top;
}

/* Full-width image break — cinematic strip, not full screen */
.img-break {
  max-height: 380px;
}
.img-break img {
  max-height: 380px;
  object-fit: cover;
  object-position: center 25%;
}

/* Gus portrait — contained, not full screen */
.gus-photo {
  max-width: 320px;
  margin: 0 auto;
}
.gus-photo img {
  max-height: 380px;
  width: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 16px;
}

/* About section image — human scale */
.about-image img {
  max-height: 420px;
  object-fit: cover;
  object-position: center top;
}

/* Recommendations page gear image */
.recommendations-img img {
  max-height: 320px;
  object-fit: contain;
}
