/* Heathers Feather Farm - 2006 Freewebs Garden Template */

/* ── Base / Body ── */
body {
  background-color: #9FD08F;
  background-image: url('images/background.jpg');
  background-repeat: repeat;
  margin: 0;
  padding: 0;
  color: #003300;
  font-family: Trebuchet MS, Verdana, Arial, sans-serif;
}
body, td, font { font-size: small; }

/* Suppress Garden body background when a non-garden era is active */
body.era-2007,
body.era-2008,
body.era-2009,
body.era-2011,
body.era-2012 {
  background-color: transparent !important;
  background-image: none !important;
}

/* ── Links ── */
a:link    { color: #4C6C54; }
a:visited { color: #333333; }
a:hover   { color: #003300; text-decoration: underline; }
a:active  { color: #003300; }
a.section:link    { color: #4C6C54; text-decoration: none; }
a.section:visited { color: #333333; text-decoration: none; }
a.section:hover   { color: #003300; text-decoration: underline; }
a.section:active  { color: #003300; text-decoration: underline; }

/* ── Header ── */
#site-header { background-color: transparent; }
#header-center {
  background-image: url('images/welcome.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  padding: 10px 20px;
}

/* ── Navigation ── */
#nav-col { vertical-align: top; }
#nav-inner { vertical-align: top; }
#menutop-img { display: block; }
.nav-btn table { margin-bottom: 0; }
.nav-btn td { vertical-align: middle; text-align: center; }

/* ── Content ── */
#content-col { vertical-align: top; background: transparent; }
#content-td { padding: 12px; }
#copyright { color: #003300; }

/* ── Section headers ── */
.section-header-row {
  background-image: url('images/sectionheader.jpg');
  background-repeat: no-repeat;
  height: 10px;
}

/* ── Era Switcher Button ── */
#era-switcher-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 20px;
  cursor: pointer;
  z-index: 9999;
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  user-select: none;
  transition: background 0.2s, transform 0.1s;
}
#era-switcher-btn:hover {
  background: rgba(30, 30, 30, 0.9);
  transform: translateY(-1px);
}

/* ── Era Panel ── */
#era-panel {
  position: fixed;
  bottom: 62px;
  right: 20px;
  width: 340px;
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  padding: 16px;
  z-index: 9998;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #fff;
}
#era-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
#era-panel-header span {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}
#era-close-btn {
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 18px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
#era-close-btn:hover { color: #fff; }
#era-panel-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px 0;
  line-height: 1.5;
}
#era-choices { display: flex; flex-direction: column; gap: 8px; }
.era-choice {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px 12px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}
.era-choice:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
}
.era-choice.active {
  background: rgba(100, 200, 100, 0.15);
  border-color: rgba(100, 200, 100, 0.5);
}
.era-choice-year {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 2px;
}
.era-choice.active .era-choice-year { color: #90e090; }
.era-choice-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 3px;
}
.era-choice-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.45;
}
