/* style.css
   Ashworth Hollow Digital Preservation Project
   -- built in a hurry for HeritageHack 2024, don't judge the CSS lol -- J.W.
*/

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  color: #2b2b2b;
  background: #eef1f4;
  line-height: 1.5;
}

a { color: #2f5fa8; }
a:hover { color: #1c3d73; }

.navbar {
  background: #2f5fa8;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.navbar .brand {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-decoration: none;
}

.navbar .brand span {
  display: block;
  font-size: 11px;
  font-weight: normal;
  opacity: 0.75;
}

.navbar nav a {
  color: #dfe8f7;
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}

.navbar nav a:hover { color: #fff; text-decoration: underline; }

.container {
  max-width: 860px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}

.hero {
  background: #ffffff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 28px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 26px;
  color: #1c3d73;
  margin-bottom: 8px;
}

.hero p { color: #46505c; max-width: 65ch; }

.status-box {
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 20px;
  margin-bottom: 24px;
}

.status-box h2 {
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #555;
  margin-bottom: 12px;
}

.status-box ul { list-style: none; }

.status-box li {
  padding: 6px 0;
  border-bottom: 1px dashed #e2e6ea;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

.status-box li:last-child { border-bottom: none; }

.tag-ok { color: #2e7d32; font-weight: bold; }
.tag-progress { color: #b26a00; font-weight: bold; }
.tag-error { color: #b71c1c; font-weight: bold; }

.badges {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  padding: 16px 0 4px;
}

.badges img { height: 46px; }

.badges .badge-label {
  font-size: 11px;
  color: #8b93a1;
}

footer {
  text-align: center;
  font-size: 12px;
  color: #8b93a1;
  padding: 30px 20px 40px;
}

/* --- About page: grid that Jordan never really fixed --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.about-grid .card {
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 18px;
  position: relative;
}

/* known issue, never fixed before the deadline */
.about-grid .card.card-3 {
  grid-column: 2 / 4;
  margin-top: -46px;
  z-index: 2;
}

.construction-banner {
  background: repeating-linear-gradient(45deg, #f6c945, #f6c945 12px, #2b2b2b 12px, #2b2b2b 24px);
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.6);
  font-weight: bold;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 3px;
  font-size: 13px;
}

.unfinished { color: #9aa2ad; font-style: italic; }

/* --- Team page --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.team-card {
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 18px;
}

.team-card .avatar {
  width: 56px;
  height: 56px;
  background: #dfe4ea;
  border: 1px solid #c6cdd6;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}

.team-card h3 { font-size: 16px; color: #1c3d73; }
.team-card .role { font-size: 12px; color: #8b93a1; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: #46505c; }
.team-card .note { font-size: 11px; color: #b26a00; margin-top: 6px; }

.team-card.advisor { border-style: dashed; }

/* --- Gallery page --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 24px 0;
}

.gallery-item {
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 12px;
  text-align: center;
}

.gallery-item img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  background: #e6e9ed;
  border: 1px dashed #c6cdd6;
}

.gallery-item .caption {
  font-size: 12px;
  color: #46505c;
  margin-top: 8px;
}

/* --- Updates page --- */
.updates-feed { margin: 24px 0; }

.update-entry {
  background: #fff;
  border: 1px solid #d7dce3;
  border-radius: 3px;
  padding: 20px 22px;
  margin-bottom: 16px;
}

.update-entry h2 {
  font-size: 17px;
  color: #1c3d73;
  margin-bottom: 4px;
}

.update-entry .byline {
  font-size: 12px;
  color: #8b93a1;
  margin-bottom: 10px;
}

.update-entry p {
  font-size: 14px;
  color: #3a4450;
}

.update-entry-last {
  background: #f4f5f7;
  border-style: dashed;
}

.update-entry-last h2.no-title {
  color: #b0b6bf;
  font-size: 15px;
}

.update-entry-last p {
  color: #5c6570;
  font-style: italic;
}
.contact-form label {
  display: block;
  font-size: 13px;
  margin: 14px 0 4px;
  color: #46505c;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #c6cdd6;
  border-radius: 3px;
  font-family: inherit;
  font-size: 14px;
}

.contact-form button {
  margin-top: 18px;
  background: #2f5fa8;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
}

.contact-form button:hover { background: #1c3d73; }

.form-note {
  font-size: 12px;
  color: #8b93a1;
  margin-top: 10px;
}
