/*
 * Custom styling for the Muus Collective panel.
 *
 * This stylesheet defines a clean, modern layout for the Muus Collective
 * section of the career blade site. It uses flexible layouts so content
 * scales gracefully from large monitors down to mobile screens. Colors
 * complement the base theme defined in styles.css while giving the panel
 * its own identity. See muus.js for the JavaScript that builds the DOM.
 */

/* Primary panel wrapper adjustments */
#panels .panel:nth-of-type(5) {
  /* Provide a slightly darker background than the default bright green to
     improve legibility. The nth-of-type selector targets the fifth panel
     (zero‑based index plus one) which corresponds to Muus Collective.
  */
  background: #26b96f;
  color: #fff;
  overflow-y: auto;
}

/* Hero section at the top of the Muus panel */
.muus-hero {
  position: relative;
  width: 100%;
  max-height: 360px;
  overflow: hidden;
  border-radius: 8px;
  margin: 1rem 0 2rem 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.muus-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.muus-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
  color: #fff;
}
.muus-hero-overlay h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}
.muus-hero-overlay p {
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.4;
}

/* Content cards layout */
.muus-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 2rem auto;
}
.muus-card {
  flex: 1 1 300px;
  min-width: 280px;
  background: rgba(0,0,0,0.25);
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  color: #fff;
}
.muus-card h4 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
  color: #ffd700;
  font-weight: 700;
  text-align: center;
}
.muus-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.muus-card li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.6rem;
  line-height: 1.4;
}
.muus-card li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  top: 0;
  color: #ffe680;
  font-size: 1.2rem;
  line-height: 1.3;
}

/* Metrics grid showing quantitative accomplishments */
.muus-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}
.muus-metric {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.muus-metric .number {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #ffe680;
}
.muus-metric .label {
  font-size: 0.9rem;
  opacity: 0.85;
}

/* Timeline list for Muus milestones */
.muus-timeline {
  border-left: 3px solid #ffe680;
  margin-top: 1.5rem;
  padding-left: 1rem;
}
.muus-timeline li {
  margin-bottom: 1rem;
  position: relative;
  padding-left: 1rem;
  color: #fff;
}
.muus-timeline li::before {
  content: '';
  position: absolute;
  left: -1.15rem;
  top: 0.2rem;
  width: 0.8rem;
  height: 0.8rem;
  background: #ffe680;
  border-radius: 50%;
}
.muus-timeline .date {
  font-weight: 700;
  margin-right: 0.5rem;
  color: #ffd700;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .muus-hero-overlay h3 {
    font-size: 1.5rem;
  }
  .muus-hero-overlay p {
    font-size: 0.9rem;
  }
  .muus-cards {
    flex-direction: column;
    align-items: stretch;
  }
}
