/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* ========================= HEADER ========================= */
.site-header {
  background: #111;
  color: #fff;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* 🔥 BIGGER LOGO (UPDATED) */
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;
}

/* CELTICS GREEN TEXT */
.team-green {
  color: #00a651;
  font-weight: 900;
}

/* NAV */


.nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #00a651;
}

.dropdown {
  position: relative;
  display: inline-block;
}

/* button styling (same as nav links) */
.dropbtn {
  color: white;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
  display: inline-block;
}

.dropbtn:hover {
  color: #00a651;
}

/* dropdown menu */
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #111;
  min-width: 180px;
  border: 1px solid #222;
  border-radius: 8px;
  z-index: 999;
  overflow: visible;
}

/* links inside dropdown */
.dropdown-content a {
  display: block;
  padding: 12px 14px;
  color: white;
  text-decoration: none;
  font-size: 13px;
  transition: 0.2s;
}

.dropdown-content a:hover {
  background: #00a651;
  color: white;
}

/* show on hover */
.dropdown:hover .dropdown-content {
  display: block;
}

.sub-dropdown {
  position: relative;
}

.sub-dropdown-content {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  background: #111;
  min-width: 180px;
  border: 1px solid #222;
  border-radius: 8px;
  z-index: 1000;
  overflow: hidden;
}

a:link,
a:visited {
  color: inherit; /* or your chosen color */
  text-decoration: none; /* optional */
}

.sub-dropdown:hover .sub-dropdown-content {
  display: block;
}

.sub-dropdown > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.donate-hero {
  padding: 140px 0 40px;
  text-align: center;
}

.donate-intro {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.7;
  opacity: .85;
}

.donate-section {
  padding: 20px 0 100px;
}

.donate-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
}

/* ========================= HERO ========================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: white;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.8)
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 0.95;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease-out;
}

.accent {
  color: #00a651;
}

.hero-subtitle {
  font-size: 18px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #ccc;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease-out 0.2s both;
}

.hero-text {
  font-size: 14px;
  max-width: 600px;
  margin: 0 auto 30px;
  line-height: 1.6;
  color: #ddd;
  animation: fadeUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease-out 0.6s both;
}

.btn {
  padding: 14px 28px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 6px;
  transition: 0.3s ease;
  font-weight: bold;
}

.btn.primary {
  background: #00a651;
  color: white;
}

.btn.primary:hover {
  background: #008c44;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: white;
}

.btn.secondary:hover {
  border-color: #00a651;
  color: #00a651;
}

.scroll-indicator {
  position: absolute;
  bottom: 20px;
  font-size: 24px;
  animation: bounce 2s infinite;
  z-index: 2;
}

.scroll-indicator a {
  color: #aaa;
  text-decoration: none;
}

/* ========================= ANIMATIONS ========================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(10px);
  }
}

/* ========================= TEAMS SECTION ========================= */
.teams-section {
  padding: 100px 20px;
  background: #111;
  color: white;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title {
  margin: 40px 0 20px;
  font-size: 1.6rem;
  border-left: 4px solid #2ecc71;
  padding-left: 10px;
}

.accent {
  color: #00a651;
}

.underline {
  width: 80px;
  height: 4px;
  background: #00a651;
  margin: 15px auto 0;
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .teams-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .teams-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.team-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  text-decoration: none;
  color: white;
  aspect-ratio: 3 / 4;
}

.image-wrap {
  width: 100%;
  height: 100%;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.team-card:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.9),
    rgba(0,0,0,0.4),
    transparent
  );
}

.card-content {
  position: absolute;
  bottom: 0;
  padding: 20px;
}

.card-content h3 {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.card-content p {
  font-size: 13px;
  color: #ccc;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card-content span {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #00a651;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.team-card:hover p,
.team-card:hover span {
  opacity: 1;
}

.team-card:hover h3 {
  color: #00a651;
}

/* ========================= FOOTER ========================= */
.footer {
  background: #1a1a1a;
  border-top: 1px solid #333;
  color: white;
  padding: 80px 20px 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-brand p {
  margin-top: 15px;
  font-size: 13px;
  color: #aaa;
  line-height: 1.6;
}

.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.socials a {
  background: #2a2a2a;
  padding: 10px;
  border-radius: 8px;
  display: flex;
  transition: 0.3s ease;
}

.socials a:hover {
  background: rgba(0, 166, 81, 0.15);
}

.icon {
  width: 20px;
  height: 20px;
  fill: #aaa;
}

.socials a:hover .icon {
  fill: #00a651;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.footer-links nav a {
  display: block;
  font-size: 13px;
  color: #aaa;
  margin-bottom: 10px;
  text-decoration: none;
  transition: 0.3s ease;
}

.footer-links nav a:hover {
  color: #00a651;
}

.footer-contact .contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.icon.small {
  width: 16px;
  height: 16px;
  margin-top: 4px;
  fill: #00a651;
}

.footer-contact p {
  font-size: 13px;
  color: #ccc;
}

.footer-contact a {
  font-size: 13px;
  color: #00a651;
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333;
  text-align: center;
}

.footer-bottom p {
  font-size: 11px;
  color: #777;
}

/* ========================= ABOUT ========================= */
.about-section {
  padding: 100px 20px;
  background: #0f0f0f;
  color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-image {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 10px;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.decor {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  z-index: -1;
}

.decor-1 {
  bottom: -20px;
  right: -20px;
  background: rgba(0, 166, 81, 0.2);
}

.decor-2 {
  top: -20px;
  left: -20px;
  border: 2px solid rgba(0, 166, 81, 0.3);
}

.about-content p {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
  margin-bottom: 16px;
}

.accent-text {
  color: #00a651;
  font-weight: 600;
}

.stats-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media (min-width: 640px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 15px;
  text-align: center;
  border-radius: 10px;
}

.value {
  font-size: 22px;
  font-weight: 800;
}

.label {
  font-size: 11px;
  color: #888;
  margin-top: 4px;
}

/* ========================= TEAM PAGE ========================= */
.team-hero {
  position: relative;
  height: 45vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.team-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 20px;
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-content p {
  margin-top: 10px;
  color: #ccc;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 14px;
}

.team-page {
  padding: 80px 20px;
  background: #0f0f0f;
  color: white;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
}

.card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.card h2,
.card h3 {
  margin-bottom: 15px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.card p {
  color: #bbb;
  line-height: 1.6;
  margin-bottom: 12px;
}

.accent {
  color: #00a651;
  font-weight: 700;
}

.schedule {
  width: 100%;
  border-collapse: collapse;
}

.schedule th,
.schedule td {
  padding: 12px;
  border-bottom: 1px solid #333;
  text-align: left;
  font-size: 14px;
}

.schedule-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.season-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: white;
}

.spring-badge {
  background: linear-gradient(135deg, #2ecc71, #27ae60);
}

.summer-badge {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.fall-badge {
  background: linear-gradient(135deg, #c0392b, #922b21);
}

.location-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: white;
}

.location-badge.home {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.location-badge.away {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.outcome-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.outcome-badge.win {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.outcome-badge.loss {
  background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.outcome-badge.upcoming {
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  color: #1b1b1b;
}

.score-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
}

.score-badge.win {
  background: rgba(46, 204, 113, 0.15);
  color: #27ae60;
  border: 1px solid #27ae60;
}

.score-badge.loss {
  background: rgba(231, 76, 60, 0.15);
  color: #c0392b;
  border: 1px solid #c0392b;
}

.score-badge.upcoming {
  background: rgba(127, 140, 141, 0.12);
  color: #7f8c8d;
  border: 1px dashed #7f8c8d;
}

.schedule th {
  color: #00a651;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.sidebar .card {
  margin-bottom: 20px;
}

.cta {
  background: rgba(0, 166, 81, 0.08);
  border: 1px solid rgba(0, 166, 81, 0.3);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
}

.cta h3 {
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 15px;
}

.cta a {
  display: inline-block;
  padding: 10px 18px;
  background: #00a651;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: 0.3s ease;
}

.cta a:hover {
  background: #008c44;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
  }

  .hero-content h1 {
    font-size: 32px;
  }
}

/* ========================= OFFICERS PAGE FIX ========================= */

.officers-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  align-items: stretch;
}

/* override shared .card ONLY inside officers page */
.officers-grid .card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;

  gap: 10px; /* ✅ THIS controls spacing properly */
}

/* officer image placeholder fix */
.officer-placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
  border: 3px solid #00a651;
  margin-bottom: 1px;
}

.officer-placeholder svg {
  width: 40px;
  height: 40px;
  fill: #00a651;
}


/* name styling consistency */
.officer-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: white;
}

/* hover effect (optional but makes it feel alive) */
.officers-grid .card:hover {
  transform: translateY(-4px);
  transition: 0.25s ease;
  border-color: rgba(0, 166, 81, 0.5);
}

/* ========================= BADGE SYSTEM (BASE) ========================= */

.badge,
.role-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: white;

  line-height: 1.2;
  text-align: center;

  white-space: normal;
  max-width: 180px;

  /* ✅ this is what got lost */
  border-radius: 999px;
}

/* ========================= ROLE BADGES ========================= */

.role-president {
  background: linear-gradient(135deg, #f39c12, #e67e22);
}

.role-vp {
  background: linear-gradient(135deg, #8e44ad, #9b59b6);
}

.role-treasurer {
  background: linear-gradient(135deg, #3498db, #2980b9);
}

.role-recruiting {
  background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.role-fundraising {
  background: linear-gradient(135deg, #16a085, #1abc9c);
}

.role-social {
  background: linear-gradient(135deg, #e84393, #fd79a8);
}

.role-captain {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.role-archivist {
  background: linear-gradient(135deg, #2d3436, #636e72);
}

/* ========================= ROSTER HERO ========================= */

.roster-hero {
  height: 40vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background: linear-gradient(
    to bottom,
    #111,
    #0f0f0f
  );

  color: white;
}

.roster-hero-content h1 {
  font-size: 48px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.roster-hero-content p {
  margin-top: 10px;
  color: #aaa;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ========================= ROSTER SECTION ========================= */

.roster-section {
  padding: 80px 20px;
  background: #0f0f0f;
  color: white;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

/* ========================= PLAYER CARD ========================= */

.player-card {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 12px;

  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;

  text-align: center;
  gap: 10px;

  transition: 0.25s ease;
}

.player-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 166, 81, 0.5);
}

/* avatar placeholder */
.player-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #111;
  border: 2px solid #00a651;
}

/* text */
.player-info h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}

.player-info p {
  margin: 0;
  font-size: 12px;
  color: #aaa;
}

/* ========================= REUSE YOUR BADGE SYSTEM ========================= */

.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;

  color: white;
  line-height: 1.2;
}

/* reuse your existing role colors */
.role-captain {
  background: linear-gradient(135deg, #c0392b, #e74c3c);
}

.donate-btn {
  margin-left: auto;
  background: #1f7a3d; /* team green */
  color: white;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
}

.donate-btn:hover {
  background: #15592c;
  transform: translateY(-1px);
}

/* ================= MOBILE HEADER ================= */

.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* MOBILE LAYOUT */
@media (max-width: 768px) {

  .hamburger {
    display: block;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    background: #111;
    margin-top: 10px;
    padding: 10px 0;
  }

  .nav a {
    display: block;
    padding: 12px 20px;
    margin-left: 0;
  }

  .nav.active {
    display: flex;
  }

  /* dropdown fix for mobile */
  .dropdown-content,
  .sub-dropdown-content {
    position: static;
    display: none;
    border: none;
  }

  .dropdown:hover .dropdown-content {
    display: none; /* disable hover on mobile */
  }

}

@media (max-width: 768px) {
  .dropdown.open .dropdown-content {
    display: block;
  }
}
