/* =====================
   SECTION STYLING
===================== */
/* ===============================
   🌄 BACKGROUND WRAPPER FOR TOP SECTION
   Applies a background image at 80vh like lore.html
================================= */

.about-header {
  position: relative;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url('../../assets/images/map-fade.jpg');  /* ✅ Update path as needed */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #f4ecd9;
  text-align: center;
  padding: 2rem;
  z-index: 1;
}

.about-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 10, 5, 0.5); /* Optional dark overlay */
  z-index: 0;
}

.about-header h1,
.about-header p {
  position: relative;
  z-index: 1;
}


/* =====================
   HEADINGS & TEXT
===================== */
h2 {
  background-color: rgba(27, 27, 27, 0.85);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  display: inline-block;
}

h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.4rem;
  margin-top: 1.5rem;
  color: #f5e6c2;
}

.note {
  font-style: italic;
  margin-bottom: 1rem;
  color: #e0d2a0;
  text-align: center;
}

/* =====================
   GRID LAYOUT
===================== */
.grid-3col {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 0 2rem;
  flex-wrap: wrap;
}

.grid-col {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}


/* =====================
   MAP LINK STYLES
===================== */
.map-link {
  background-color: rgba(20, 20, 20, 0.92);
  border: 2px solid #d2b074;
  padding: 1.5rem 1.25rem;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s ease, background-color 0.3s;

  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fdf2d0;

  width: 100%;
  flex: 1 1 auto;
  margin: 0;
}

.map-link:hover {
  transform: scale(1.03);
  background-color: #4d3a22;
}

.map-link img {
  max-width: 72px;
  margin-bottom: 1rem;
}

.map-link span {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 0 4px rgba(0, 0, 0, 0.8);
  text-align: center;
}

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

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

  .colormap-content {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .map-link span {
    font-size: 0.9rem;
  }
}
