/* =====================================================
   ERIC SCOFIELD - SPEAKER WEBSITE
   Design System & Styles
   ===================================================== */

/* ----- Design Tokens ----- */
:root {
  /* Colors */
  --navy-900: #0f2341;
  --navy-800: #1a365d;
  --navy-700: #234876;
  --navy-600: #2c5a8f;
  --gold-500: #d69e2e;
  --gold-400: #ecc94b;
  --gold-300: #f6e05e;
  --gray-900: #1a202c;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-600: #718096;
  --gray-500: #a0aec0;
  --gray-400: #cbd5e0;
  --gray-200: #edf2f7;
  --gray-100: #f7fafc;
  --white: #ffffff;

  /* Typography */
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Layout */
  --container-max: 1200px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* ----- Typography ----- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy-800);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
  margin-bottom: var(--space-md);
}

/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ----- Section ----- */
.section {
  padding: var(--space-4xl) 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold-500);
  margin-bottom: var(--space-sm);
}

.section-title {
  margin-bottom: var(--space-md);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-600);
}

.section-header-light .section-title {
  color: var(--white);
}

.section-header-light .section-subtitle {
  color: var(--gray-400);
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.875rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-base);
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}

.btn-primary:hover {
  background: var(--gold-400);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-800);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.125rem;
}

.btn-outline-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--navy-800);
}

.btn-outline-dark:hover {
  background: var(--navy-800);
  color: var(--white);
}

.btn-full {
  width: 100%;
}

.book-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* =====================================================
   NAVIGATION
   ===================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: var(--navy-800);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base);
}

.nav.scrolled {
  background: var(--navy-900);
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-links a {
  font-size: 0.9375rem;
  color: var(--gray-400);
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--gold-500);
}

.nav-cta {
  padding: 0.625rem 1.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-fast);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg,
      rgba(15, 35, 65, 0.95) 0%,
      rgba(26, 54, 93, 0.85) 50%,
      rgba(26, 54, 93, 0.7) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: var(--space-3xl) 0;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-500);
  margin-bottom: var(--space-lg);
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  color: var(--gold-500);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-400);
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-3xl);
}

.hero-stats {
  display: flex;
  gap: var(--space-3xl);
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-500);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-400);
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  color: var(--white);
  opacity: 0.6;
  animation: bounce 2s infinite;
  transition: opacity var(--transition-fast);
}

.hero-scroll:hover {
  opacity: 1;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  40% {
    transform: translateX(-50%) translateY(-10px);
  }

  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Split Hero Layout */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-height);
}

.hero-content-split {
  background: var(--navy-800);
  display: flex;
  align-items: center;
  padding: var(--space-3xl) 0;
}

.hero-content-split .container {
  max-width: 600px;
  margin-left: auto;
  padding-right: var(--space-3xl);
}

.hero-image-split {
  position: relative;
  overflow: hidden;
}

.hero-image-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1024px) {
  .hero-split {
    grid-template-columns: 1fr;
  }

  .hero-content-split {
    padding: var(--space-4xl) 0;
  }

  .hero-content-split .container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-xl);
  }

  .hero-image-split {
    height: 50vh;
  }
}

@media (max-width: 768px) {
  .hero-image-split {
    height: 40vh;
  }
}

/* =====================================================
   ABOUT
   ===================================================== */
.about {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.about-image::after {
  content: '';
  position: absolute;
  top: var(--space-lg);
  left: var(--space-lg);
  right: calc(-1 * var(--space-lg));
  bottom: calc(-1 * var(--space-lg));
  border: 3px solid var(--gold-500);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.about-content .section-title {
  margin-bottom: var(--space-xl);
}

.about-text {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
}

.about-credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.credential {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
}

.credential-icon {
  font-size: 1.25rem;
}

/* =====================================================
   SPEAKING TOPICS
   ===================================================== */
.speaking {
  background: var(--gray-100);
  padding-bottom: 0;
}

.topic-section {
  padding: var(--space-4xl) 0;
}

.topic-section:nth-child(even) {
  background: var(--white);
}

.topic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.topic-grid-reverse {
  direction: rtl;
}

.topic-grid-reverse>* {
  direction: ltr;
}

.topic-category {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 800;
  color: var(--gold-500);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: var(--space-md);
}

.topic-title {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.topic-description {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: var(--space-xl);
}

.topic-list {
  margin-bottom: var(--space-xl);
}

.topic-list li {
  position: relative;
  padding-left: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--gray-700);
}

.topic-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}

.topic-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* =====================================================
   VIDEOS
   ===================================================== */
.videos {
  background: var(--navy-800);
}

.video-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: var(--space-lg);
}

.video-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-900);
}

.video-card-featured {
  grid-row: span 2;
}

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70px;
  height: 70px;
  background: var(--gold-500);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.video-play svg {
  width: 24px;
  height: 24px;
  color: var(--navy-900);
  margin-left: 4px;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--gold-400);
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
}

.video-info h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: var(--space-xs);
}

.video-info p {
  font-size: 0.875rem;
  color: var(--gray-400);
  margin: 0;
}

/* =====================================================
   BOOK
   ===================================================== */
.book {
  background: var(--gray-100);
}

.book-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--space-4xl);
  align-items: center;
}

.book-cover {
  max-width: 350px;
  margin: 0 auto;
}

.book-cover img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.book-title {
  font-size: 3rem;
  margin-bottom: var(--space-md);
}

.book-tagline {
  font-size: 1.375rem;
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: var(--space-xl);
  line-height: 1.6;
}

.book-description {
  font-size: 1.0625rem;
  color: var(--gray-700);
  line-height: 1.8;
}

/* =====================================================
   CALENDAR
   ===================================================== */
.calendar {
  background: var(--white);
}

.events-list {
  max-width: 800px;
  margin: 0 auto;
}

.event-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: var(--space-xl);
  align-items: center;
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition-fast);
}

.event-item:hover {
  background: var(--gray-100);
  margin: 0 calc(-1 * var(--space-lg));
  padding-left: var(--space-lg);
  padding-right: var(--space-lg);
}

.event-date {
  text-align: center;
}

.event-month {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-500);
}

.event-day {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy-800);
}

.event-title {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: var(--space-xs);
}

.event-location {
  font-size: 0.9375rem;
  color: var(--gray-600);
}

.event-type {
  padding: var(--space-xs) var(--space-md);
  font-size: 0.8125rem;
  font-weight: 500;
  background: var(--gray-200);
  color: var(--gray-700);
  border-radius: var(--radius-full);
}

/* =====================================================
   CONTACT
   ===================================================== */
.contact {
  background: var(--navy-800);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: var(--space-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-md);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  border: none;
  border-radius: var(--radius-sm);
  transition: box-shadow var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--gold-500);
}

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

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy-900);
  padding: var(--space-3xl) 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: var(--space-xl);
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: var(--space-lg);
}

.footer-links a {
  color: var(--gray-500);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-500);
}

.footer-bottom {
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-600);
  font-size: 0.875rem;
  margin: 0;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {

  .about-grid,
  .book-grid,
  .topic-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .topic-grid-reverse {
    direction: ltr;
  }

  .about-image {
    max-width: 400px;
    margin: 0 auto;
  }

  .about-image::after {
    display: none;
  }

  .video-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .video-card-featured {
    grid-row: span 1;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --nav-height: 70px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: var(--space-xl);
  }

  .stat {
    flex: 1 1 100px;
  }

  .about-credentials {
    grid-template-columns: 1fr;
  }

  .event-item {
    grid-template-columns: 60px 1fr;
    gap: var(--space-md);
  }

  .event-type {
    grid-column: 2;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xl);
  }
}

/* Small Mobile */
@media (max-width: 375px) {
  .container {
    padding: 0 var(--space-md);
  }

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