@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow:wght@400;500;600;700&family=Barlow+Condensed:wght@600;700&display=swap');

:root {
  --red: #CC0000;
  --black: #0a0a0a;
  --white: #ffffff;
  --grey: #1a1a1a;
  --grey-mid: #2a2a2a;
  --grey-light: #444;
  --text-muted: #999;
  --albion-accent: #CC0000;
  --flamingo-accent: #e8559a;
  --pumas-accent: #444;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Barlow', sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
}

/* ===== NAVBAR ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--red);
  padding: 0 2rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-brand img {
  height: 40px;
  width: 40px;
  object-fit: contain;
}

.nav-brand span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 2px;
  color: var(--white);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0 1.2rem;
  height: 64px;
  line-height: 64px;
  text-decoration: none;
  color: #ccc;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s, background 0.2s;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--white);
  background: rgba(204,0,0,0.15);
}

.nav-links a.active {
  border-bottom: 2px solid var(--red);
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  border-top: 2px solid var(--red);
  min-width: 200px;
  list-style: none;
}

.nav-dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  height: auto;
  line-height: 1;
  padding: 0.9rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--grey-mid);
}

.dropdown-menu a img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.dropdown-menu a:last-child { border-bottom: none; }

/* Hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 64px 2rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(204,0,0,0.08) 0%, transparent 50%),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 40px,
      rgba(204,0,0,0.03) 40px,
      rgba(204,0,0,0.03) 41px
    );
}

.hero-stripe {
  position: absolute;
  top: 0; bottom: 0;
  width: 8px;
  background: var(--red);
  opacity: 0.15;
}

.hero-stripe:nth-child(1) { left: 10%; }
.hero-stripe:nth-child(2) { left: 10.8%; }
.hero-stripe:nth-child(3) { left: 30%; }
.hero-stripe:nth-child(4) { left: 30.8%; }
.hero-stripe:nth-child(5) { left: 50%; }
.hero-stripe:nth-child(6) { left: 50.8%; }
.hero-stripe:nth-child(7) { left: 70%; }
.hero-stripe:nth-child(8) { left: 70.8%; }
.hero-stripe:nth-child(9) { left: 90%; }
.hero-stripe:nth-child(10) { left: 90.8%; }

.hero-content {
  position: relative;
  text-align: center;
  max-width: 800px;
  animation: fadeUp 0.8s ease both;
}

.hero-logo {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 40px rgba(204,0,0,0.4));
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7rem);
  letter-spacing: 4px;
  line-height: 0.9;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

.hero h1 span { color: var(--red); }

.hero-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  animation: fadeUp 0.8s ease 0.3s both;
}

.hero-teams {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  animation: fadeUp 0.8s ease 0.4s both;
}

.hero-team-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  padding: 1.2rem 1.5rem;
  border: 1px solid var(--grey-mid);
  background: rgba(255,255,255,0.03);
  transition: all 0.3s;
}

.hero-team-badge:hover {
  border-color: var(--red);
  background: rgba(204,0,0,0.08);
  transform: translateY(-4px);
}

.hero-team-badge img {
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.hero-team-badge span {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== SECTIONS ===== */
section {
  padding: 5rem 2rem;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  letter-spacing: 2px;
  line-height: 1;
  margin-bottom: 3rem;
}

.section-title span { color: var(--red); }

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grey-mid);
}

.stat-box {
  background: var(--grey);
  padding: 2rem;
  text-align: center;
}

.stat-box .number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  color: var(--red);
  line-height: 1;
}

.stat-box .label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

/* ===== TEAMS ===== */
.teams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--grey-mid);
}

.team-card {
  background: var(--grey);
  padding: 2.5rem 2rem;
  text-align: center;
  text-decoration: none;
  color: var(--white);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--accent, var(--red));
  transform: scaleX(0);
  transition: transform 0.3s;
}

.team-card:hover::before { transform: scaleX(1); }
.team-card:hover { background: var(--grey-mid); }

.team-card img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1.2rem;
}

.team-card h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 2px;
  margin-bottom: 0.4rem;
}

.team-card .age-group {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.team-card .kit-colours {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 1rem;
}

.kit-swatch {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
}

.btn {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 0.6rem 1.5rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--red);
  color: var(--white);
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}

.btn:hover {
  background: var(--red);
}

/* ===== TEAM PAGE HERO ===== */
.team-hero {
  padding: 120px 2rem 4rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--grey-mid);
}

.team-hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-size: 300px;
  background-position: right center;
  background-repeat: no-repeat;
}

.team-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.team-hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 0 30px rgba(204,0,0,0.3));
}

.team-hero-text h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: 3px;
  line-height: 0.9;
}

.team-hero-text .team-division {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.8rem;
}

.team-kit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.kit-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ===== FA EMBED SECTION ===== */
.fa-section {
  padding: 4rem 2rem;
  border-bottom: 1px solid var(--grey-mid);
}

.fa-tabs {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--grey-mid);
  margin-bottom: 2rem;
}

.fa-tab {
  padding: 0.8rem 1.8rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: all 0.2s;
}

.fa-tab:hover { color: var(--white); }
.fa-tab.active {
  color: var(--white);
  border-bottom-color: var(--red);
}

.fa-panel { display: none; }
.fa-panel.active { display: block; }

.fa-embed-wrapper {
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  overflow: hidden;
}

.fa-embed-wrapper iframe {
  width: 100%;
  min-height: 500px;
  border: none;
  display: block;
}

/* Placeholder styling for before iframes are added */
.embed-placeholder {
  background: var(--grey);
  border: 1px dashed var(--grey-light);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

.embed-placeholder .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.embed-placeholder p {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  letter-spacing: 1px;
}

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.contact-info p {
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1.2rem;
  color: #bbb;
}

.contact-detail strong {
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  min-width: 80px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: var(--grey);
  border: 1px solid var(--grey-mid);
  padding: 0.8rem 1rem;
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--red);
}

.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select option { background: var(--grey); }

.btn-full { width: 100%; justify-content: center; }
.btn-submit {
  background: var(--red);
  border-color: var(--red);
  font-size: 1rem;
  padding: 0.9rem;
}
.btn-submit:hover { background: #aa0000; }

.form-success {
  display: none;
  background: rgba(0,180,0,0.1);
  border: 1px solid rgba(0,180,0,0.3);
  padding: 1rem;
  text-align: center;
  color: #4caf50;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 1px;
}

/* ===== FOOTER ===== */
footer {
  background: var(--grey);
  border-top: 2px solid var(--red);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand img {
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid var(--grey-mid);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===== COMING SOON ===== */
.coming-soon-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(204,0,0,0.15);
  border: 1px solid rgba(204,0,0,0.3);
  color: var(--red);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-left: 8px;
  vertical-align: middle;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .teams-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > .footer-brand { grid-column: 1 / -1; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--grey);
    border-top: 1px solid var(--grey-mid);
    padding: 1rem 0;
  }
  .nav-links.open a { height: auto; line-height: 1; padding: 1rem 2rem; }
  .nav-dropdown .dropdown-menu { position: static; border-top: none; }
  .team-hero-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-teams { gap: 1rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

/* ===== SOCIAL LINKS ===== */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.social-link:hover { color: var(--white); }

.social-link svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  transition: color 0.2s;
}

.social-link:hover svg { color: var(--red); }

/* ===== SPONSORS ===== */
.sponsors-grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.sponsor-card {
  flex: 1;
  min-width: 220px;
  max-width: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: var(--grey-mid);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 1.5rem 1.5rem;
  position: relative;
  transition: border-color 0.3s, transform 0.3s;
}

.sponsor-card:hover {
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-3px);
}

.sponsor-card img {
  max-height: 80px;
  max-width: 100%;
  object-fit: contain;
  margin-bottom: 1.2rem;
  filter: brightness(1);
  transition: opacity 0.2s;
}

.sponsor-card:hover img { opacity: 0.9; }

.sponsor-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--white);
  text-align: center;
}

.sponsor-role {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 0.3rem;
  text-align: center;
}

.sponsor-badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.25rem 0.8rem;
  white-space: nowrap;
}

.sponsor-badge--secondary {
  background: var(--grey-light);
}
