/* ============================================================
   LARRYBOUSTEAD.COM — Main Stylesheet
   C-Store Management Series by Dr. Larry W. Boustead
   ============================================================ */

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

:root {
  --blue:        #1B3F8B;
  --blue-light:  #2451A8;
  --blue-dark:   #102660;
  --orange:      #E8632A;
  --orange-light:#F07A45;
  --green:       #1E4D3A;
  --green-light: #2A6B50;
  --navy:        #0D1B3E;
  --charcoal:    #2C2C2C;
  --light-gray:  #F5F6F8;
  --mid-gray:    #E2E5EA;
  --text:        #1A1A2E;
  --white:       #FFFFFF;
  --font-sans:   'Segoe UI', Arial, sans-serif;
  --font-serif:  Georgia, 'Times New Roman', serif;
  --shadow:      0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.18);
  --radius:      8px;
  --radius-lg:   16px;
  --transition:  all 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: var(--font-sans);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }
p  { margin-bottom: 1rem; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* --- BUTTONS --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover {
  background: var(--orange-light);
  border-color: var(--orange-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}
.btn-green {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-green:hover {
  background: var(--green-light);
  border-color: var(--green-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

/* --- NAVIGATION --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 16px rgba(0,0,0,0.25);
  padding: 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav-brand {
  display: flex;
  flex-direction: column;
}
.nav-brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}
.nav-brand-sub {
  font-size: 0.68rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
}
.nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.02em;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(255,255,255,0.10);
}
.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 9px 20px;
  border-radius: var(--radius);
  font-weight: 700;
}
.nav-links .nav-cta:hover {
  background: var(--orange-light);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* --- HERO --- */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 50%, var(--blue) 100%);
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(232,99,42,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(27,63,139,0.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(232,99,42,0.15);
  border: 1px solid rgba(232,99,42,0.3);
  color: var(--orange-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
}
.hero h1 span { color: var(--orange); }
.hero-desc {
  color: rgba(255,255,255,0.82);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat {
  display: flex;
  flex-direction: column;
}
.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-image-wrap {
  position: relative;
}
.hero-photo-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-photo-card img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: var(--navy);
  border-radius: 10px;
  padding: 14px 18px;
}
.hero-photo-badge-name {
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
}
.hero-photo-badge-title {
  color: var(--orange);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- SECTION COMMON --- */
.section {
  padding: 80px 0;
}
.section-alt {
  background: var(--light-gray);
}
.section-dark {
  background: var(--navy);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--white);
}
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header p {
  color: #555;
  font-size: 1.05rem;
}
.section-dark .section-header p {
  color: rgba(255,255,255,0.75);
}

/* --- PROBLEM BAND --- */
.problem-band {
  background: var(--orange);
  padding: 32px 0;
}
.problem-band-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: center;
  text-align: center;
}
.problem-band p {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
}
.problem-band p strong {
  font-size: 1.3rem;
}

/* --- BOOK CARDS --- */
.books-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.book-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.book-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.book-card-cover {
  position: relative;
  overflow: hidden;
  height: 280px;
}
.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}
.book-card:hover .book-card-cover img {
  transform: scale(1.04);
}
.book-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
}
.book-card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.book-card-num {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.book-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--navy);
}
.book-card p {
  font-size: 0.9rem;
  color: #555;
  flex: 1;
  margin-bottom: 20px;
}
.book-card-strip {
  height: 4px;
  width: 100%;
}
.strip-blue   { background: var(--blue); }
.strip-orange { background: var(--orange); }
.strip-green  { background: var(--green); }

/* --- WHY SECTION --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 8px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.10);
  transform: translateY(-4px);
}
.why-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}
.why-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.why-card p {
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  margin: 0;
}

/* --- CREDENTIALS --- */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.credential-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}
.credential-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.credential-item h4 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 3px;
}
.credential-item p {
  font-size: 0.85rem;
  color: #666;
  margin: 0;
}
.stat-highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 8px;
}
.stat-highlight {
  background: var(--light-gray);
  border-radius: var(--radius);
  padding: 20px;
  border-left: 4px solid var(--orange);
}
.stat-highlight-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.stat-highlight-label {
  font-size: 0.8rem;
  color: #666;
  margin-top: 4px;
}

/* --- COURSE BANNER --- */
.course-banner {
  background: linear-gradient(135deg, var(--green-light) 0%, var(--green) 100%);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: center;
}
.course-banner h2 { color: var(--white); margin-bottom: 12px; }
.course-banner p { color: rgba(255,255,255,0.85); margin-bottom: 0; font-size: 1.05rem; }
.course-badge {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px;
  padding: 24px 28px;
  text-align: center;
  min-width: 160px;
}
.course-badge-icon { font-size: 2.5rem; margin-bottom: 8px; }
.course-badge-text { color: var(--white); font-weight: 700; font-size: 0.9rem; line-height: 1.3; }

/* --- TESTIMONIAL / QUOTE --- */
.quote-section {
  background: var(--blue);
  padding: 64px 0;
  text-align: center;
}
.quote-text {
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 20px;
  line-height: 1.6;
}
.quote-source {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* --- CONTACT SECTION --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 20px;
}
.contact-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.contact-info-item a { color: var(--blue); font-weight: 600; }
.contact-info-item a:hover { color: var(--orange); }
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--mid-gray);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 16px;
  transition: var(--transition);
  background: var(--white);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(27,63,139,0.10);
}
.contact-form textarea { resize: vertical; min-height: 130px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

/* --- FOOTER --- */
.footer {
  background: var(--navy);
  padding: 56px 0 28px;
  color: rgba(255,255,255,0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}
.footer-brand-sub {
  font-size: 0.72rem;
  color: var(--orange);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer p {
  font-size: 0.87rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--orange);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p {
  font-size: 0.82rem;
  margin: 0;
}
.footer-bottom-links {
  display: flex;
  gap: 20px;
}
.footer-bottom-links a {
  color: rgba(255,255,255,0.5);
  font-size: 0.82rem;
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--orange); }

/* --- SERIES STRIP --- */
.series-strip {
  background: var(--mid-gray);
  padding: 20px 0;
}
.series-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.series-strip p {
  font-size: 0.85rem;
  color: #555;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0;
}
.series-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

/* --- PAGE HERO (inner pages) --- */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
  padding: 120px 0 60px;
  text-align: center;
}
.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p  { color: rgba(255,255,255,0.78); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
  .hero-grid          { grid-template-columns: 1fr; }
  .hero-image-wrap    { max-width: 380px; margin: 0 auto; }
  .books-grid         { grid-template-columns: repeat(2, 1fr); }
  .why-grid           { grid-template-columns: repeat(2, 1fr); }
  .credentials-grid   { grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr 1fr; }
  .course-banner      { grid-template-columns: 1fr; text-align: center; }
  .contact-grid       { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links          { display: none; }
  .nav-hamburger      { display: flex; }
  .books-grid         { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
  .why-grid           { grid-template-columns: 1fr; }
  .stat-highlight-grid{ grid-template-columns: 1fr; }
  .footer-grid        { grid-template-columns: 1fr; }
  .hero-stats         { gap: 20px; }
  .section            { padding: 56px 0; }
  .hero               { padding: 90px 0 50px; }
}

/* --- UTILITIES --- */
.text-center  { text-align: center; }
.text-orange  { color: var(--orange); }
.text-blue    { color: var(--blue); }
.text-green   { color: var(--green); }
.text-white   { color: var(--white); }
.mt-4  { margin-top: 1rem; }
.mt-8  { margin-top: 2rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-8  { margin-bottom: 2rem; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.gap-2  { gap: 0.5rem; }
.gap-4  { gap: 1rem; }
.align-center { align-items: center; }

/* --- MOBILE NAV OPEN --- */
.nav-open .nav-links {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  padding: 20px 24px 28px;
  gap: 4px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}