/* ===================================
   CSS Variables - Color Palette
   =================================== */
:root {
  /* Primary Colors */
  --color-white: #ffffff;
  --color-black: #000000;
  --color-blue-primary: #1d4ed8;
  --color-blue-dark: #1e40af;
  --color-blue-darker: #1e3a8a;
  --color-blue-light: #dbeafe;
  --color-yellow-footer: #ead733;

  /* Neutral Colors */
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;

  /* Opacity Values */
  --overlay-opacity: 0.3;
  --card-opacity: 0.8;
  --logo-opacity: 0.7;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--color-gray-900);
  background-color: var(--color-white);
  min-height: 100vh;
}

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

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

/* ===================================
   Layout Utilities
   =================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===================================
   Header
   =================================== */
.site-header {
  padding: 2rem 0;
  background-color: var(--color-white);
}

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

.header-logo {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  height: 24rem;
  overflow: hidden;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-black);
  opacity: var(--overlay-opacity);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--color-white);
  width: 90%;
  z-index: 1;
}

.hero-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.4;
}

/* ===================================
   Main Content
   =================================== */
.main-content {
  padding: 3rem 0;
}

.content-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.text-content {
  margin-bottom: 4rem;
}

.text-content p {
  color: var(--color-gray-700);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-size: 1.125rem;
}

/* ===================================
   Map Section
   =================================== */
.map-section {
  margin-top: 3rem;
  text-align: center;
}

.section-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 1.5rem;
}

.map-container {
  background-color: var(--color-gray-50);
  padding: 1rem;
  border-radius: 0.5rem;
  display: inline-block;
}

.trail-map {
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  max-width: 800px;
  width: 100%;
}

/* ===================================
   Quote Section
   =================================== */
.quote-section {
  background-color: var(--color-gray-100);
  padding: 4rem 0;
}

.quote-wrapper {
  max-width: 56rem;
  margin: 0 auto;
}

.featured-quote {
  font-size: 1.25rem;
  color: var(--color-black);
  line-height: 1.75;
}

.featured-quote p {
  margin-bottom: 1.5rem;
}

.drop-cap {
  font-size: 4rem;
  float: left;
  line-height: 1;
  padding-right: 0.5rem;
  padding-top: 0.25rem;
  color: var(--color-gray-600);
}

.quote-author {
  font-size: 1.125rem;
  color: var(--color-gray-600);
  font-weight: 500;
}

/* ===================================
   Navigation Section
   =================================== */
.navigation-section {
  position: relative;
  background-color: var(--color-blue-primary);
  padding: 4rem 0;
  overflow: hidden;
}

.navigation-background {
  position: absolute;
  inset: 0;
  background-image: url("images/lander-county-horizontal-logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 400px auto;
  opacity: var(--logo-opacity);
}

.navigation-grid {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.nav-card {
  background-color: var(--color-blue-dark);
  opacity: var(--card-opacity);
  padding: 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--color-blue-darker);
}

.nav-card-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.nav-icon {
  color: var(--color-white);
  flex-shrink: 0;
}

.nav-card-header .nav-icon:first-child {
  margin-right: 0.5rem;
}

.nav-card-header .nav-icon:last-child {
  margin-left: 0.5rem;
}

.nav-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-white);
}

.nav-card-subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-blue-light);
  margin-bottom: 0.75rem;
}

.nav-card-description {
  color: var(--color-blue-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.nav-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.75rem 1.5rem;
  background-color: transparent;
  border: 1px solid var(--color-white);
  color: var(--color-white);
  border-radius: 0.375rem;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-button:hover {
  background-color: var(--color-white);
  color: var(--color-blue-primary);
}

.button-icon-left {
  margin-right: 0.5rem;
}

.button-icon-right {
  margin-left: 0.5rem;
}

/* ===================================
   Footer
   =================================== */
.site-footer {
  padding: 2rem 0;
  background-color: var(--color-yellow-footer);
}

.footer-text {
  text-align: center;
  font-size: 0.875rem;
}

.footer-text a{
  border-bottom: 1px solid ;
}

/* ===================================
   Responsive Design
   =================================== */
@media (min-width: 768px) {
  .hero {
    height: 31.25rem;
  }

  .hero-title {
    font-size: 3.75rem;
  }

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .featured-quote {
    font-size: 1.5rem;
  }

  .drop-cap {
    font-size: 4.5rem;
  }

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