/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background-color: #ffffff;
  color: #333;
  line-height: 1.6;
  background: linear-gradient(270deg, #b40000, #ff6347, #b40000);
  background-size: 600% 600%;
  animation: backgroundShift 20s ease infinite;
}

@keyframes backgroundShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* Header - FIXED: overlay behind menu, clickable */
header {
  background-image: url('team1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  padding: 20px 20px;
  position: sticky;
  top: 0;
  z-index: 100;
  position: relative; /* FIXED: allows proper layering */
}

header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4); /* FIXED: lighter overlay */
  z-index: 0; /* FIXED: BEHIND content (was 1) */
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo and title */
header .logo {
  display: flex;
  align-items: center;
  gap: 15px;
  flex: 0 0 auto;
}

header .logo img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  object-fit: cover;
}

header .logo h1 {
  font-size: 24px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
  margin: 0;
}

/* NAVIGATION (desktop default) - FIXED colors */
nav {
  position: relative;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: #ffffff !important; /* FIXED: bright white, forced */
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  transition: all 0.3s;
  font-weight: 500;
  background: rgba(255,255,255,0.1); /* FIXED: slight background */
}

nav a:hover {
  background: rgba(255, 255, 255, 0.3) !important; /* FIXED: visible hover */
  color: #000 !important;
}

/* Dropdown - FIXED colors */
.has-dropdown {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(180, 0, 0, 0.98) !important; /* FIXED: solid red */
  min-width: 200px;
  flex-direction: column;
  border-radius: 5px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.2);
}

.has-dropdown:hover .dropdown {
  display: flex;
}

.dropdown li {
  width: 100%;
}

.dropdown a {
  padding: 1rem;
  border-radius: 0;
  background: transparent;
}

.dropdown a:hover {
  background: rgba(255,255,255,0.2) !important;
}

/* Mobile menu button - FIXED */
.menu-toggle {
  display: none;
  background: rgba(255,255,255,0.2);
  border: 2px solid rgba(255,255,255,0.5);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 5px;
}

/* Hero */
.hero {
  background-color: #fcecec;
  padding: 60px 20px;
  text-align: center;
}

.hero h2 {
  color: #b40000;
  margin-bottom: 10px;
}

/* Home latest news */
#home .latest-news {
  margin-top: 40px;
  padding: 0 20px;
}

#home .latest-news .news-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#home .latest-news .news-item {
  width: 300px;
  background-color: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
}

#home .latest-news .news-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* News section */
.news-section {
  padding: 40px 20px;
  background-color: #fffefc;
}

.news-section h2 {
  color: #b40000;
  text-align: center;
  margin-bottom: 30px;
}

.news-item {
  background-color: #fff3f3;
  border-left: 4px solid #b40000;
  padding: 20px;
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: left;
  margin: 0 auto 20px auto;
}

.news-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.team-section{
  padding:40px 16px;
  max-width:1100px;
  margin:0 auto;
}
.team-section h2{
  font-size:24px;
  color:#b71c1c;
  margin-bottom:6px;
  text-align:center;
}
.team-intro{
  font-size:14px;
  color:#555;
  margin-bottom:20px;
  text-align:center;
}

.team-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.team-card{
  background:#ffffff;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 1px 3px rgba(0,0,0,0.15);
  text-decoration:none;
  color:#222;
  display:flex;
  flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease;
}
.team-card:hover{
  transform:translateY(-3px);
  box-shadow:0 4px 10px rgba(0,0,0,0.22);
}

.team-photo{
  width:100%;
  height:150px;
  object-fit:cover;
  display:block;
}

.team-info{
  padding:10px 12px 12px;
}
.team-info h3{
  font-size:16px;
  font-weight:700;
  margin-bottom:2px;
}
.team-info p{
  font-size:13px;
  color:#555;
}


/* Results */
.results-section {
  padding: 40px 20px;
  text-align: center;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 2rem auto;
}

/* About / Contact */
.about-hero,
.contact-hero {
  background-image: url('team1.jpg');
  background-size: cover;
  background-position: center;
  padding: 80px 20px;
  text-align: center;
  position: relative;
  color: white;
}

.about-hero::before,
.contact-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1;
}

.about-hero h2,
.contact-hero h2 {
  position: relative;
  z-index: 2;
  font-size: 48px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.about-content,
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
  background-color: #fff;
}

/* Footer */
footer {
  background-color: #222;
  color: #eee;
  text-align: center;
  padding: 20px;
  font-size: 14px;
  margin-top: 40px;
}

footer a {
  color: #f7bebe;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Global image style */
img {
  border-radius: 12px;
  box-shadow: 2px 2px 7px black;
}

/* ========== RESPONSIVE (CELLPHONE) ========== */
@media (max-width: 768px) {
  header {
    padding: 10px;
  }

  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  header .logo h1 {
    font-size: 18px;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
  }

  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
    background: rgba(180, 0, 0, 0.98) !important; /* FIXED: solid red */
    padding: 0.5rem 0;
    margin-top: 0.5rem;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  }

  nav ul.active {
    display: flex;
  }

  nav li {
    width: 100%;
  }

  nav a {
    width: 100%;
    padding: 0.7rem 1rem;
    border-radius: 0;
    background: rgba(255,255,255,0.05) !important;
  }

  /* Dropdown on mobile */
  .dropdown {
    position: static;
    box-shadow: none;
    background: rgba(0,0,0,0.9);
    margin-left: 1rem;
  }

  .has-dropdown:hover .dropdown {
    display: none;
  }

  .has-dropdown.dropdown-open .dropdown {
    display: flex;
  }

  .hero,
  .news-section,
  .team-section,
  .results-section {
    padding: 20px 10px;
  }

  .about-hero h2,
  .contact-hero h2 {
    font-size: 32px;
  }
}

@media (min-width: 769px) {
  .about-content {
    grid-template-columns: 2fr 1fr;
  }
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }
}
.results-section {
  padding: 40px 20px;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.result-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  font-size: 13px;
}

.result-league {
  font-size: 11px;
  font-weight: 700;
  color: #b71c1c;
  text-transform: uppercase;
}

.result-card h4 {
  margin: 8px 0 6px;
  font-size: 14px;
}

.result-score {
  margin: 6px 0;
}

.result-outcome {
  margin-top: 8px;
  font-weight: 700;
}

.result-outcome.win {
  color: #2e7d32;
}

.result-outcome.loss {
  color: #c62828;
}




