/* ========================================
   Derby Creek - Warm Earth Theme
   Warm browns, earthy tones, vibrant orange CTAs
   ======================================== */

/* ========================================
   Font Face - National Park
   ======================================== */
@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/NationalPark-VariableVF.woff2') format('woff2-variations'),
       url('fonts/NationalPark-All-Fonts/NationalPark-VariableVF.woff') format('woff-variations'),
       url('fonts/NationalPark-All-Fonts/NationalPark-VariableVF.ttf') format('truetype-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* Fallback for browsers that don't support variable fonts */
@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/woff2/NationalPark-Regular.woff2') format('woff2'),
       url('fonts/NationalPark-All-Fonts/woff/NationalPark-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/woff2/NationalPark-Medium.woff2') format('woff2'),
       url('fonts/NationalPark-All-Fonts/woff/NationalPark-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/woff2/NationalPark-SemiBold.woff2') format('woff2'),
       url('fonts/NationalPark-All-Fonts/woff/NationalPark-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/woff2/NationalPark-Bold.woff2') format('woff2'),
       url('fonts/NationalPark-All-Fonts/woff/NationalPark-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'National Park';
  src: url('fonts/NationalPark-All-Fonts/woff2/NationalPark-ExtraBold.woff2') format('woff2'),
       url('fonts/NationalPark-All-Fonts/woff/NationalPark-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Core Colors */
  --color-brown: #231a27;
  --color-cream: #fdf2e3;
  --color-text-light: #fdf4e2;

  /* CTA - Orange */
  --color-orange: #ff783b;

  /* Platform Colors */
  --color-kickstarter: #05ce78;

  /* Typography */
  --font-main: 'Roboto', sans-serif;
  --font-condensed: 'Roboto', sans-serif;

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

  /* Transitions */
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  background: var(--color-brown);
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-brown);
  background: var(--color-cream);
  -webkit-font-smoothing: antialiased;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

img,
video {
  display: block;
  max-width: 100%;
}

/* ========================================
   Utility Classes
   ======================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

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

/* ========================================
   Header / Navigation
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  /* Brown transparent header */
  background: rgba(65, 44, 62, 0.5);
  backdrop-filter: blur(8px);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  height: 80px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav-link {
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none;
  word-spacing: 2px;
  color: var(--color-text-light);
  padding: var(--space-xs) var(--space-sm);
  transition: var(--transition);
  opacity: 0.9;
}

.nav-link:hover {
  opacity: 1;
  color: var(--color-orange);
}

.header-social {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(253, 244, 226, 0.8);
  background: none;
  border: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}

.social-link:hover {
  color: var(--color-orange);
}

.social-link svg {
  display: block;
  width: calc(1.5 * 1rem);
  height: calc(1.5 * 1rem);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.5rem;
  background: var(--color-orange);
  color: var(--color-text-light);
  border-radius: 5px;
  transition: outline-color 0.2s ease;
  border: 2px solid transparent;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.header-cta:hover {
  outline-color: var(--color-orange);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--color-text-light);
}

.mobile-menu-btn svg {
  width: 24px;
  height: 24px;
}

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-cream);
  z-index: 999;
  overflow-y: auto;
}

.mobile-menu.active {
  display: block;
}

.mobile-menu-content {
  padding: var(--space-lg) var(--space-md);
}

.mobile-menu-content a {
  display: block;
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-sm) 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.mobile-menu-cta {
  margin-top: var(--space-lg);
}

/* ========================================
   Buttons
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-condensed);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.875rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: outline-color 0.2s ease;
  white-space: nowrap;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  text-decoration: none;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.btn-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--color-orange);
  color: var(--color-text-light);
}

.btn-secondary {
  background: var(--color-kickstarter);
  color: var(--color-text-light);
  font-weight: 700;
}

.btn-secondary:hover {
  outline-color: var(--color-kickstarter);
}

.btn-youtube {
  background: transparent;
  color: var(--color-text-light);
  border-color: var(--color-text-light);
}

.btn-youtube:hover {
  outline-color: var(--color-text-light);
}

.btn-primary:hover {
  outline-color: var(--color-orange);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 0.9375rem;
}

.btn-large .btn-icon {
  width: 18px;
  height: 18px;
}

.btn-block {
  width: 100%;
}

/* ========================================
   Hero Section
   ======================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--color-brown);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-md);
  padding-top: 100px;
  max-width: 800px;
}

.hero-logo {
  margin-bottom: var(--space-sm);
  animation: fadeUp 0.8s ease backwards;
}

.hero-logo-img {
  max-width: 100%;
  width: 600px;
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.3));
}

.hero-coming-soon {
  font-family: var(--font-condensed);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  font-weight: 700;
  color: var(--color-text-light);
  margin: 0 0 var(--space-lg);
  text-align: center;
  letter-spacing: 0.1em;
  line-height: 1.1;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.8s ease 0.1s backwards;
}

.hero-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-sm);
  justify-content: center;
  animation: fadeUp 0.8s ease 0.2s backwards;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  color: var(--color-text-light);
  opacity: 0.7;
  animation:
    fadeUp 0.8s ease 0.4s backwards,
    bounce 2s ease-in-out infinite 1s;
}

.hero-scroll span {
  font-family: var(--font-condensed);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}

/* ========================================
   Sections
   ======================================== */
.section {
  padding: var(--space-lg) 0;
}

.section-divider {
  height: 24px;
  background: var(--color-brown);
}

.section-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  margin-bottom: var(--space-md);
  color: var(--color-brown);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   About Section - Stacked Centered
   ======================================== */
.section-about {
  background: var(--color-cream);
}

.about-content-centered {
  text-align: center;
  max-width: 700px;
  margin: 0 auto var(--space-lg);
}

.about-title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-brown);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.about-description {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
  color: var(--color-brown);
}

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

.about-image-centered img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

/* Legacy about styles (for any sections still using old markup) */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-text {
  max-width: 500px;
}

.about-lead {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-earth-dark);
  margin-bottom: var(--space-md);
  line-height: 1.5;
}

.about-body {
  color: var(--color-brown);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.feature-icon-small {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-earth);
  border-radius: 10px;
  flex-shrink: 0;
}

.feature-icon-small svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-light);
}

.feature-item span {
  font-family: var(--font-condensed);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-brown);
}

.about-image {
  position: relative;
}

.about-img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-content-reverse {
  direction: rtl;
}

.about-content-reverse > * {
  direction: ltr;
}


/* Features Grid Section */
.section-features-grid {
  background: var(--color-cream);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.feature-card {
  background: white;
  padding: var(--space-lg);
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.feature-card .feature-icon-small {
  width: 50px;
  height: 50px;
  margin: 0 auto var(--space-sm);
}

.feature-card h3 {
  font-family: var(--font-condensed);
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  color: var(--color-brown);
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--color-brown);
  line-height: 1.6;
}

/* Master Section */
.section-master {
  background: var(--color-cream);
}

.master-content {
  max-width: 700px;
  margin: 0 auto;
}

.master-content .about-lead {
  margin-bottom: var(--space-md);
}

.master-content .about-body {
  margin-bottom: var(--space-md);
}

.master-challenge {
  font-family: var(--font-condensed);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-orange);
  margin-top: var(--space-md);
}

/* ========================================
   Trailer Section
   ======================================== */
.section-trailer {
  background: var(--color-cream);
}

.trailer-wrapper {
  max-width: 900px;
  margin: 0 auto;
}

.video-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--color-brown);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(65, 44, 62, 0.3);
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
}

.video-placeholder .play-icon {
  width: 80px;
  height: 80px;
  color: var(--color-text-light);
  opacity: 0.5;
}

.video-placeholder .placeholder-text {
  font-family: var(--font-condensed);
  font-size: 1.25rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  opacity: 0.7;
}


/* ========================================
   CTA Section
   ======================================== */
.section-cta {
  position: relative;
  padding: var(--space-xl) 0;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(65, 44, 62, 0.92) 0%,
    rgba(56, 37, 50, 0.95) 100%
  );
}

.cta-overlay-light {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.2) 0%,
    rgba(10, 10, 10, 0.1) 40%,
    rgba(10, 10, 10, 0.6) 100%
  );
}

.cta-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-family: var(--font-condensed);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--color-text-light);
  margin-bottom: var(--space-sm);
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.cta-text {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: var(--space-md);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
}

/* ========================================
   FAQ Section
   ======================================== */
.section-faq {
  background: var(--color-cream);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) 0;
  font-family: var(--font-condensed);
  font-size: 1.125rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-brown);
  transition: var(--transition);
}

.faq-question:hover {
  color: var(--color-orange);
}

.faq-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: var(--transition);
}

.faq-item.active .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding-bottom: var(--space-md);
  color: var(--color-brown);
  line-height: 1.8;
}

/* ========================================
   Footer
   ======================================== */
.footer {
  background: var(--color-brown);
  color: var(--color-text-light);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-container {
  max-width: 1536px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.footer-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.footer-logo {
  height: 48px;
  width: auto;
}

.footer-divider {
  height: 1px;
  background: var(--color-text-light);
  opacity: 0.2;
}

.footer-bottom {
  padding: var(--space-lg) 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: var(--color-text-light);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-legal {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--color-text-light);
  opacity: 0.5;
  white-space: pre-line;
}

.footer-legal p {
  margin: 0;
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-nav,
  .header-social {
    display: none;
  }

  .header-container {
    flex-direction: row;
  }

  .mobile-menu-btn {
    display: flex;
    order: -1;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }

  .header-cta {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
    line-height: 1;
  }

  .hero-content {
    padding-top: 120px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-scroll {
    display: none;
  }

  .section {
    padding: var(--space-lg) 0;
  }

  .cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cta-actions .btn {
    width: 100%;
    max-width: 280px;
  }
}

@media (max-width: 480px) {
  .hero-logo-img {
    width: 250px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* About mobile */
  .about-title {
    font-size: 1.75rem;
  }

  .about-description {
    font-size: 1rem;
  }

  .about-image-centered img {
    border-radius: 8px;
  }
}
