
p {
  color: white;
}

/* BACKGROUND */
.pathway-container {
  background: radial-gradient(circle at top, #1a1a1a, #000);
  color: white;
  padding: 80px 20px;
}

/* HERO */
.pathway-hero {
  height: 60vh;
  background: url('../images/redarmyfutbolsoldier.png') center/cover no-repeat;
  position: relative;
}

.pathway-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.65);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-top: 140px;
}

.hero-content h1 {
  font-size: 3rem;
  letter-spacing: 4px;
}

.hero-content span {
  color: #c9a24c; /* gold */
}

/* INTRO */
.pathway-intro {
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.pathway-intro p {
    color: white;
}

.pathway-intro h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}



.pathway {
  width: 100%;
  background: #0a0a0a;
}


/* SECTION */
.pathway-explained {
  padding: 80px 20px;
  background: linear-gradient(to bottom, #0a0a0a, #000);
  color: white;
  text-align: center;
}

/* HEADER */
.explained-header h2 {
  font-size: 2.4rem;
  letter-spacing: 3px;
  margin-bottom: 50px;
}

/* GRID */
.explained-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* STEP CARD */
.explained-step {
  padding: 25px 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  transition: 0.2s ease;
}

/* HOVER */
.explained-step:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.05);
}

/* ROMAN NUMERAL */
.step-number img {
  width: 100%;
  height: 100%;
  object-fit: contain;

  /* Make it match your gold theme */
  filter: brightness(0.9) contrast(1.1)
          drop-shadow(0 0 6px rgba(201,162,76,0.4));

  opacity: 0.9;
  transition: 0.25s ease;
}

/* TITLE */
.explained-step h3 {
  font-size: 1rem;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

/* TEXT */
.explained-step p {
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
  color: white;
}

/* MOBILE */
@media (max-width: 900px) {
  .explained-grid {
    grid-template-columns: 1fr;
  }
}

/* EACH RANK BAND */
.rank {
  width: 100%;
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  overflow: visible;
}

/* INNER LAYOUT */
.rank-inner {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 80px 180px 1fr auto; /* KEY CHANGE */
  align-items: center;
  gap: 20px;
}

/* ROMAN NUMERAL */

.rank-number {
  width: 80px;
  height: 80px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-number img {
  max-width: 70%;
  max-height: 70%;
  object-fit: contain;
}

/* IMAGE */
.rank-image img {
  width: 180px;
  height: auto;
}

/* CONTENT */
.rank-content h2 {
  font-size: 2rem;
  letter-spacing: 2px;
}

.rank-content p {
  color: white;
}

.subtitle {
  font-size: 0.9rem;
  opacity: 0.7;
}

.identity {
  margin-top: 8px;
  letter-spacing: 2px;
  font-size: 0.95rem;
}

.focus {
  margin-top: 10px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* BUTTON */

.rank-btn {
  align-items: center;      /* center horizontally */
  justify-content: center;
  text-align: center;
  gap: 6px;                 /* space between icon + text */
  padding: 10px 16px;
  text-decoration: underline;
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: white;
}

.rank-action {
  justify-content: flex-end;
  align-items: center;
}

/* COLOR THEMES */
.tiro {
  background: linear-gradient(to right, #1a1405, #000);
}

.legionnaire {
  background: linear-gradient(to right, #1a1a1a, #000);
}

.optio {
  background: linear-gradient(to right, #2a0000, #000);
}

.centurion {
  background: linear-gradient(to right, #2b2200, #000);
}

.tiro .rank-number img {
  filter: drop-shadow(0 0 4px #aaa);
}

.legionnaire .rank-number img {
  filter: drop-shadow(0 0 4px white);
}

.optio .rank-number img {
  filter: drop-shadow(0 0 6px red);
}

.centurion .rank-number img {
  filter: drop-shadow(0 0 6px gold);
}

/* ACCENT COLORS */
.tiro .rank-number,
.tiro h2 {
  color: #c9a24c;
}

.legionnaire .rank-number,
.legionnaire h2 {
  color: #cccccc;
}

.optio .rank-number,
.optio h2 {
  color: #a40202;
}

.centurion .rank-number,
.centurion h2 {
  color: gold;
}

/* ARMILLAE */
.armillae {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 10px 0;
}

.armillae span {
  width: 50px;
  height: 6px;
  background: linear-gradient(to right, #c9a24c, #ffffff);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .rank-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .rank-image img {
    width: 140px;
    margin: auto;
  }

  .rank-action {
    margin-top: 15px;
  }

  .rank-number img {
    width: 45px;
  }
}

/* SECTION */
.legion {
  padding: 80px 20px;
  background: radial-gradient(circle at top, #111, #000);
  color: white;
  text-align: center;
}

/* HEADER */
.legion-header h2 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.legion-header p {
  opacity: 0.7;
  margin-bottom: 50px;
  color: white;
}

/* GRID */
.legion-grid {
  max-width: 1100px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* COLUMN */
.legion-column {
  padding: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

/* RANK TITLE */
.legion-column h3 {
  margin-bottom: 15px;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

/* NAMES */
.legion-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.legion-column li {
  padding: 6px 0;
  font-size: 0.9rem;
  opacity: 0.85;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* REMOVE LAST BORDER */
.legion-column li:last-child {
  border-bottom: none;
}

/* COLOR ACCENTS */
.legion-column.tiro h3 {
  color: #c9a24c;
}

.legion-column.legionnaire h3 {
  color: #cccccc;
}

.legion-column.optio h3 {
  color: #a40202;
}

.legion-column.centurion h3 {
  color: gold;
}

/* MOBILE */
@media (max-width: 900px) {
  .legion-grid {
    grid-template-columns: 1fr;
  }
}
