/* =====================================================
   loveandlightjason.com — Design System
   Theme: Sunrise & Amber
   ===================================================== */

/* ---- Custom Properties ---- */
:root {
  --bg: #FFF8F0;
  --bg-alt: #FFFFFF;
  --text: #3D2B1F;
  --text-muted: #7A6A5A;
  --primary: #996515;
  --primary-hover: #7A5010;
  --accent: #6B4F0E;
  --card-bg: #FFFFFF;
  --card-border: #E8D5BC;
  --header-bg: rgba(255, 248, 240, 0.97);
  --footer-bg: #3D2B1F;
  --footer-text: #F0E0CC;
  --input-bg: #FFFFFF;
  --input-border: #E8D5BC;

  --font-heading: Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --padding-x: 24px;
  --section-padding: 80px;
  --card-gap: 24px;
  --radius: 4px;
}

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

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
  text-decoration: underline;
}

nav a,
.logo,
.footer a,
.btn-primary,
.btn-outline,
.card a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  list-style: none;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text);
  line-height: 1.25;
}

h1 {
  font-size: 48px;
  font-weight: 700;
}

h2 {
  font-size: 36px;
  font-weight: 700;
}

h3 {
  font-size: 24px;
  font-weight: 600;
}

h4 {
  font-size: 20px;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

blockquote {
  font-style: italic;
  color: var(--text-muted);
  border-left: 3px solid var(--primary);
  padding-left: 1.25rem;
  margin: 1rem 0;
}

/* ---- Skip Link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  background: var(--primary);
  color: #fff;
  padding: 10px 18px;
  font-weight: 600;
  z-index: 10000;
  border-radius: 0 0 var(--radius) 0;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* ---- Focus Visible ---- */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---- Buttons ---- */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #fff;
  text-decoration: none;
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border: 2px solid var(--primary);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  letter-spacing: 0.3px;
}

.btn-outline:hover,
.btn-outline:focus-visible {
  background: var(--primary);
  color: #fff;
  text-decoration: none;
}

/* ---- Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--header-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--card-border);
  padding: 0 var(--padding-x);
}

.site-header .header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  gap: 24px;
}

.site-header .logo {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.site-header .logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s;
}

.site-header nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.site-header .header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.site-header .btn-primary {
  font-size: 13px;
  padding: 9px 20px;
}

.site-header .nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  line-height: 1;
}

.site-header .nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---- Mobile Nav Overlay ---- */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(61, 43, 31, 0.5);
  align-items: flex-start;
  justify-content: flex-end;
}

.mobile-nav-overlay.active {
  display: flex;
}

.mobile-nav-panel {
  background: var(--bg);
  width: min(320px, 90vw);
  height: 100%;
  padding: 24px var(--padding-x);
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav-panel .mobile-nav-close {
  align-self: flex-end;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--text);
  margin-bottom: 16px;
}

.mobile-nav-panel .mobile-nav-close svg {
  width: 24px;
  height: 24px;
  display: block;
}

.mobile-nav-panel a {
  display: block;
  padding: 12px 0;
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--card-border);
  transition: color 0.15s;
}

.mobile-nav-panel a:hover {
  color: var(--accent);
}

.mobile-nav-panel .btn-primary {
  margin-top: 16px;
  text-align: center;
  width: 100%;
  font-size: 15px;
  padding: 14px 20px;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg, var(--bg) 0%, #F5EDE0 100%);
  overflow: hidden;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 48px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 60px var(--padding-x);
}

.hero-headshot {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1200 / 669;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(61, 43, 31, 0.15);
  flex-shrink: 0;
}

.hero-text h1 {
  margin-bottom: 16px;
}

.hero-text p {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 520px;
}

.hero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-ctas .btn-primary {
  font-size: 16px;
  padding: 14px 32px;
}

/* Hero with background image (about page) */
.hero-bg {
  position: relative;
  min-height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(61, 43, 31, 0.65) 0%, rgba(61, 43, 31, 0.2) 70%);
}

.hero-bg .hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.hero-bg .hero-content h1 {
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Hero with an <img> background (about page) */
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 0;
}

/* ---- Sections ---- */
.section {
  padding: var(--section-padding) var(--padding-x);
}

.section > .section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-alt {
  background: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto;
}

/* ---- Card Grid ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

/* ---- Card ---- */
.card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.card h3 {
  margin-bottom: 10px;
}

.card p {
  color: var(--text-muted);
  font-size: 15px;
}

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

.card a.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.15s;
}

.card a.card-link:hover {
  color: var(--primary-hover);
  text-decoration: underline;
}

/* ---- Testimonials ---- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--card-gap);
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 32px 28px 28px 48px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 8px;
  left: 16px;
  font-family: var(--font-heading);
  font-size: 64px;
  color: var(--primary);
  opacity: 0.15;
  line-height: 1;
  pointer-events: none;
}

.testimonial-card blockquote {
  border: none;
  padding: 0;
  margin: 0 0 16px;
  font-style: italic;
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
}

.testimonial-card .testimonial-author {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

.testimonial-card .testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
  display: block;
}

/* ---- Featured Channels (credibility bar) ---- */
.featured-label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.featured-channels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 32px;
  padding: 0 0 16px;
}

.featured-channels span {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--text);
  white-space: nowrap;
}

.featured-stats {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ---- Booking Panel (Services page) ---- */
.booking-panel {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  padding: 32px;
}

.booking-panel h3 {
  margin-bottom: 0;
}

.calendly-inline-widget {
  width: 100%;
  height: 700px;
}

.stripe-pay-callout {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--bg);
  border: 1px solid var(--card-border);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.stripe-pay-callout p {
  margin: 0;
  font-size: 15px;
  color: var(--text);
}

/* ---- Contact Form ---- */
.contact-form {
  max-width: 620px;
  margin: 0 auto;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: var(--input-bg);
  border: 1px solid var(--input-border);
  border-radius: var(--radius);
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
  -webkit-appearance: none;
}

.contact-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%237A6A5A' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(212, 160, 86, 0.2);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.contact-form button[type="submit"] {
  width: 100%;
  margin-top: 8px;
}

/* ---- Form Message ---- */
.form-message {
  display: none;
  padding: 12px 16px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  margin-top: 16px;
  text-align: center;
}

.form-message.success {
  display: block;
  background: #F0FBF4;
  color: #1A6933;
  border: 1px solid #A3D9B1;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* ---- Footer ---- */
.footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 56px var(--padding-x) 32px;
}

.footer-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(232, 213, 188, 0.2);
}

.footer-brand .logo {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--footer-text);
  text-decoration: none;
  display: inline-block;
  margin-bottom: 14px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(232, 213, 188, 0.75);
  line-height: 1.6;
  max-width: 300px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(232, 213, 188, 0.1);
  color: var(--footer-text);
  text-decoration: none;
  font-size: 16px;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: rgba(232, 213, 188, 0.85);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: rgba(232, 213, 188, 0.8);
  text-decoration: none;
  margin-bottom: 10px;
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(232, 213, 188, 0.85);
  gap: 16px;
}

.footer-bottom a {
  color: rgba(232, 213, 188, 0.85);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-bottom a:hover {
  color: var(--primary);
}

/* ---- Speaking Topics List ---- */
.speaking-topics {
  list-style: none;
  margin: 24px 0;
  padding: 0;
}

.speaking-topics li {
  position: relative;
  padding: 10px 0 10px 24px;
  border-bottom: 1px solid var(--card-border);
  font-size: 16px;
  color: var(--text);
}

.speaking-topics li:first-child {
  border-top: 1px solid var(--card-border);
}

.speaking-topics li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}

/* ---- Button Group ---- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ---- Utility Classes ---- */
.text-center {
  text-align: center;
}

.text-muted {
  color: var(--text-muted);
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mt-8 {
  margin-top: 8px;
}

.mt-16 {
  margin-top: 16px;
}

.mt-24 {
  margin-top: 24px;
}

.mb-8 {
  margin-bottom: 8px;
}

.mb-16 {
  margin-bottom: 16px;
}

.mb-24 {
  margin-bottom: 24px;
}

/* ---- Responsive: max-width 768px ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 48px;
  }

  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 28px;
  }

  /* Header */
  .site-header nav,
  .site-header .header-actions .btn-primary {
    display: none;
  }

  .site-header .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-header .header-actions {
    gap: 8px;
  }

  /* Hero */
  .hero-content {
    flex-direction: column;
    text-align: center;
    padding: 40px var(--padding-x);
    gap: 24px;
  }

  .hero-headshot {
    max-width: 100%;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-ctas {
    justify-content: center;
  }

  /* Card Grid: 1 column on mobile */
  .card-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial Grid: 1 column on mobile */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Booking panel mobile */
  .calendly-inline-widget {
    height: 580px;
  }

  .booking-panel {
    padding: 20px;
  }

  .stripe-pay-callout {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Form row: stacked on mobile */
  .contact-form .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Media logos */
  .media-logos {
    gap: 24px;
  }

  .media-logos img {
    height: 36px;
  }
}

/* ---- Additional Utilities ---- */
.fs-18 {
  font-size: 18px;
}

.mt-12 {
  margin-top: 12px;
}

.justify-center {
  justify-content: center;
}

/* ---- Required Label ---- */
.required-label {
  color: var(--primary);
  font-weight: 700;
}

/* ---- Reduced Motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
