/* ========================================
   MUSTANG ADVENTURE - Clean Modern Light Theme
   Inspired by Airlift Ventures aesthetic
   ======================================== */

:root {
  /* Core Colors */
  --bg-primary: #fafafa;
  --bg-secondary: #ffffff;
  --bg-card: #ffffff;
  --bg-card-hover: #f5f5f5;

  /* Accent Colors */
  --accent-orange: #e86a33;
  --accent-orange-light: rgba(232, 106, 51, 0.1);
  --accent-blue: #2d3748;
  --accent-rust: #8b5a3c;

  /* Text Colors */
  --text-primary: #1a202c;
  --text-secondary: #4a5568;
  --text-muted: #a0aec0;
  --text-light: #cbd5e0;

  /* Borders & Grid */
  --grid-color: rgba(203, 213, 224, 0.5);
  --border-light: #e2e8f0;

  /* Effects */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Spacing */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

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

html {
  scroll-behavior: smooth;
}
  gap: 1rem;
body {
  font-family:
    "Inter",
  width: 64px;
  height: 64px;
    "Segoe UI",
    sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  font-size: 20px;
}

/* Grid Background Pattern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 79px,
      var(--grid-color) 79px,
      var(--grid-color) 80px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 79px,
      var(--grid-color) 79px,
      var(--grid-color) 80px
    );
  pointer-events: none;
  z-index: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-orange);
}

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

/* ========== Typography ========== */
h1,
h2,
h3,
h4,
.brand-title {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(4rem, 15vw, 10rem);
  color: var(--text-primary);
}

h1 .light {
  color: var(--text-light);
  display: block;
}

/* When an image logo is present use it and hide the decorative glyph */
.brand-mark.has-image {
  background: transparent;
  padding: 0;
  display: inline-flex;
  width: 84px;
  height: 84px;
  border-radius: var(--radius-md);
}

/* .brand-mark.has-image::before {
  content: ;
} */

.brand-mark.has-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
}

h2 {
  font-size: clamp(2rem, 6vw, 4rem);
  color: var(--text-primary);
}

h2 .light {
  color: var(--text-light);
}

h3 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: none;
  letter-spacing: -0.01em;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

/* ========== Layout ========== */
.container {
  width: min(1400px, 92vw);
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 0;
  position: relative;
}

/* ========== Navigation ========== */
.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
}

.top-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* .brand-mark {
  width: 36px;
  height: 36px;
  background: var(--accent-orange);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 900;
  font-size: 14px;
} */

/* .brand-mark::before {
  content: "▲";
} */

.brand-title {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: var(--bg-card-hover);
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--text-primary);
  color: white;
  border-color: var(--text-primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--text-primary);
}

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

.btn-secondary:hover {
  border-color: var(--text-primary);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-light);
}

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

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-bottom: 2rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--accent-orange);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 2rem;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--accent-orange);
}

.hero p {
  font-size: 1.15rem;
  max-width: 400px;
  margin-bottom: 2.5rem;
}

.hero p .highlight {
  color: var(--accent-orange);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Illustration */
.hero-illustration {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.hero-illustration svg {
  width: 100%;
  max-width: 500px;
  height: auto;
}

/* ========== Category Pills ========== */
.category-tabs {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.category-pill:hover {
  border-color: var(--text-primary);
  color: var(--text-primary);
}

.category-pill.active {
  background: var(--text-primary);
  border-color: var(--text-primary);
  color: white;
}

.category-pill .count {
  background: rgba(0, 0, 0, 0.1);
  padding: 0.15rem 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.category-pill.active .count {
  background: rgba(255, 255, 255, 0.2);
}

/* ========== Cards Grid ========== */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

/* ========== Adventure Card ========== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.card:hover {
  border-color: var(--text-primary);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--bg-card-hover);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.4rem 0.75rem;
  background: white;
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
}

.card-badge.featured {
  background: var(--accent-orange);
  color: white;
}

.card-body {
  padding: 1.5rem;
}

.card-category {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
  text-transform: none;
}

.card-title a:hover {
  color: var(--accent-orange);
}

.card-meta {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.card-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* ========== Info Cards ========== */
.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--transition);
}

.info-card:hover {
  border-color: var(--accent-orange);
}

.info-card .icon {
  width: 48px;
  height: 48px;
  background: var(--accent-orange-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.info-card h3 {
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.info-card p {
  font-size: 0.9rem;
}

/* ========== Section Headers ========== */
.section-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-title-row h2 {
  margin: 0;
}

/* ========== CTA Section ========== */
.cta-section {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  max-width: 500px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========== Forms ========== */
.form,
.filter-wrap,
.table-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

input,
select,
textarea {
  width: 100%;
  padding: 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--accent-orange);
}

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

/* ========== Badges ========== */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.6rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.easy {
  background: rgba(72, 187, 120, 0.1);
  border-color: rgba(72, 187, 120, 0.3);
  color: #276749;
}

.badge.moderate {
  background: rgba(237, 137, 54, 0.1);
  border-color: rgba(237, 137, 54, 0.3);
  color: #c05621;
}

.badge.hard {
  background: rgba(245, 101, 101, 0.1);
  border-color: rgba(245, 101, 101, 0.3);
  color: #c53030;
}

/* ========== Price ========== */
.price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

/* ========== Notice ========== */
.notice {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  margin-top: 1.5rem;
}

.notice.success {
  background: rgba(72, 187, 120, 0.1);
  border: 1px solid rgba(72, 187, 120, 0.3);
  color: #276749;
}

.notice.error {
  background: rgba(245, 101, 101, 0.1);
  border: 1px solid rgba(245, 101, 101, 0.3);
  color: #c53030;
}

/* ========== Tables ========== */
.table {
  width: 100%;
  border-collapse: collapse;
}

.table th {
  text-align: left;
  padding: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 2px solid var(--border-light);
}

.table td {
  padding: 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.table tr:hover td {
  background: var(--bg-primary);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-light);
  padding: 4rem 0 2rem;
  margin-top: 6rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
}

.footer .brand-title {
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer strong {
  color: var(--text-secondary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1.25rem;
}

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

/* ========== Admin ========== */
.admin-shell {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2rem;
  margin-top: 6rem;
}

.admin-nav {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: fit-content;
  position: sticky;
  top: 6rem;
}

.admin-nav strong {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.admin-nav .nav-link {
  display: block;
  padding: 0.75rem 1rem;
  margin: 0.25rem 0;
  border-radius: var(--radius-md);
}

/* ========== Stat Cards ========== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: var(--accent-orange);
}

.stat-card strong {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.stat-card p {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-primary);
  margin: 0;
}

/* ========== Page Hero ========== */
.page-hero {
  padding: 10rem 0 4rem;
  position: relative;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  max-width: 500px;
  font-size: 1.15rem;
}

.page-hero-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-hero-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ========== Package Hero ========== */
.package-hero {
  height: 450px;
  border-radius: var(--radius-lg);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}

.package-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.7) 100%);
}

.package-hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem;
  z-index: 2;
  color: white;
}

.package-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  margin-bottom: 0.5rem;
}

/* ========== Sticky CTA ========== */
.sticky-cta {
  position: fixed;
  right: 2rem;
  bottom: 2rem;
  z-index: 90;
  animation: slideUp 0.5s ease;
}

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

/* ========== Animations ========== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}

.fade-up.delay-1 {
  animation-delay: 0.1s;
}
.fade-up.delay-2 {
  animation-delay: 0.2s;
}
.fade-up.delay-3 {
  animation-delay: 0.3s;
}

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

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

@media (max-width: 1024px) {
  .hero-grid,
  .page-hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .eyebrow {
    justify-content: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

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

  .hero-illustration {
    order: -1;
    min-height: 300px;
  }

  .grid-4,
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-nav {
    position: static;
  }
}

@media (max-width: 768px) {
  .top-nav-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero {
    padding: 7rem 0 3rem;
    min-height: auto;
  }

  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }

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

  .cta-section {
    padding: 3rem 2rem;
  }

  .section {
    padding: 4rem 0;
  }

  .sticky-cta {
    right: 1rem;
    bottom: 1rem;
  }

  .stat-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2.5rem;
  }

  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .category-pill {
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
  }
}

/* ========== Selection & Focus ========== */
::selection {
  background: rgba(232, 106, 51, 0.2);
  color: var(--text-primary);
}

:focus-visible {
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

/* ========== Scrollbar ========== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-light);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}
