/* ==========================================================
   FANTASY-INSPIRED, FOREST-GREEN THEME
   ========================================================== */

/* A clean, modern serif can still evoke classic fantasy.
   Load a Google Font like "Merriweather" or "Cormorant Garamond"
   for a more refined look. */
   body {
    font-family: 'Merriweather', Georgia, serif;
    margin: 0;
    padding: 0;
    background-color: #f8fff8; /* Soft, forest-inspired neutral (like sunlight through leaves) */
    color: #2f4131;            /* Deep greenish-brown text for readability */
    line-height: 1.8;
  }
  
  /* Optional banner if needed (e.g., announcements) */
  .banner {
    background-color: #3b6e4c; /* Medium forest green */
    color: #f0f7f0;
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  /* ==========================================================
     HEADER
     ========================================================== */
  
  /* Subtle overlay to give a slightly green hue to the header image. */
  header {
    background:
      linear-gradient(
        rgba(47, 65, 49, 0.4),
        rgba(47, 65, 49, 0.4)
      ),
      url('/images/Header.webp') center/cover no-repeat;
    color: #f0f7f0;
    padding: 5rem 2rem;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
  }
  
  header h1 {
    font-size: 3.5rem;
    margin: 0;
    letter-spacing: 1px;
  }
  
  header p {
    font-size: 1.5rem;
    margin: 1rem auto 0;
    max-width: 800px;
  }
  
  /* ==========================================================
     NAVIGATION
     ========================================================== */
  
  nav {
    background-color: #29593d; /* Darker forest green */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  }
  
  .nav-logo {
    color: #f0f7f0;
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
    margin: 0;
    padding: 0;
  }
  
  .nav-links li {
    margin: 0;
    padding: 0;
  }
  
  .nav-links a {
    color: #f0f7f0;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s, color 0.3s;
    font-weight: 500;
  }
  
  .nav-links a:hover {
    background: #3b6e4c;  /* Slightly lighter green for hover effect */
    color: #ffffff;
  }
  
  /* ==========================================================
     OVERVIEW / INTRO TEXT
     ========================================================== */
  
  .overview {
    max-width: 900px;
    margin: 3rem auto;
    padding: 0 1rem;
    text-align: center;
  }
  
  .overview h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2f4131;
    font-weight: bold;
  }
  
  .overview p {
    color: #3e4f3c;
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    text-align: justify;
  }
  
  /* ==========================================================
     FLOATING CARDS (for main/promo pages)
     ========================================================== */
  
  .main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 3rem 5%;
  }
  
  .section {
    background: #ffffff;
    border: 1px solid #cce1cc; /* Light greenish-gray border */
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .section:hover {
    transform: translateY(-10px);
  }
  
  .section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 1rem;
  }
  
  .section h3 {
    margin: 0 0 1rem;
    font-size: 1.75rem;
    color: #29593d;
  }
  
  .section p {
    font-size: 1rem;
    color: #3e4f3c;
    text-align: justify;
  }
  
  /* ==========================================================
     "TEXTBOOK" STYLE (History pages)
     ========================================================== */
  
  .textbook-container {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
  }
  
  .chapter {
    background: #ffffff;
    border: 1px solid #cce1cc;
    border-radius: 4px;
    margin-bottom: 4rem;
    padding: 3rem 4rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  }
  
  .chapter h2 {
    margin-top: 0;
    font-size: 2rem;
    color: #29593d;
    border-bottom: 2px solid #bdd9bc;
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  .chapter p {
    font-size: 1.1rem;
    color: #3e4f3c;
    margin-bottom: 1.5rem;
    text-align: justify;
  }
  
  .sidebar {
    background: #f0f8f0;
    border-left: 4px solid #29593d;
    padding: 1rem 2rem;
    margin: 2rem 0;
    font-size: 1rem;
    color: #2f4131;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.05);
  }
  
  .sidebar strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
  }
  
  .timeline {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
  }
  
  .timeline li {
    padding: 0.5rem 0;
    position: relative;
    font-size: 1rem;
    color: #3e4f3c;
  }
  
  .timeline li::before {
    content: "•";
    color: #29593d;
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
  }
  
  /* ==========================================================
     FIELD GUIDE STYLE (for field-guide pages)
     ========================================================== */
  
  .field-guide-container {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 1.5rem;
  }
  
  .field-guide-intro {
    background: #ffffff;
    border: 1px solid #cce1cc;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
  }
  
  .field-guide-intro h2 {
    margin-top: 0;
    font-size: 1.75rem;
    color: #29593d;
    border-bottom: 2px solid #bdd9bc;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .field-guide-intro p {
    font-size: 1rem;
    color: #3e4f3c;
    margin-bottom: 1rem;
    text-align: justify;
  }
  
  .guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
  }
  
  .guide-card {
    background: #ffffff;
    border: 1px solid #cce1cc;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
  }
  
  .guide-card:hover {
    transform: translateY(-6px);
  }
  
  .guide-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
  }
  
  .guide-card h3 {
    font-size: 1.4rem;
    color: #29593d;
    margin-top: 0;
    margin-bottom: 0.5rem;
  }
  
  .guide-card p {
    color: #3e4f3c;
    font-size: 0.95rem;
    text-align: justify;
  }
  
  /* ==========================================================
     FOOTER
     ========================================================== */
  footer {
    text-align: center;
    padding: 2rem;
    background: #29593d; /* Deep forest green for footer */
    color: #f0f7f0;
    font-size: 0.9rem;
    margin-top: 2rem;
  }
  