/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f9f9f9;
  color: #222;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
header {
  background-color: #007acc;
  color: #f1f1f1;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

header h1 {
  font-size: 1.8rem;
  color: #f1f1f1;
  margin-bottom: 10px;
}

  nav ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2x2 grid for larger screens */
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 auto;
    max-width: 300px;
  }

  nav li {
    background-color: #f0f0f0;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
  }

  nav a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    display: block;
  }

  nav a:hover {
    color: #1c3192;
  }

/* Hero */
.hero {
  text-align: center;
  padding: 100px 20px;
  background: url(./images/NEWS-08.jpg) no-repeat;
  background-size: cover;
  background-position: center;
  height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h2, .hero p {
  color: #f1f1f1;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.hero .btn {
  background-color: #007BFF;
  color: white;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s;
}

.hero .btn:hover {
  background-color: #0056b3;
}

/* Section */
.section {
  padding: 60px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 30px;
}

/* News Section */
.news {
  padding: 60px 20px;
  background-color: #fff;
}

.news h2 {
  text-align: center;
  margin-bottom: 40px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.news-grid article {
  background-color: #f1f1f1;
  padding: 15px;
  border-radius: 5px;
}

.news-grid img {
  width: 100%;
  border-radius: 5px;
  margin-bottom: 10px;
}

.news-grid h3 {
  margin-bottom: 10px;
}

.news-grid p {
  font-size: 0.9em;
}

/* Footer */
footer {
  background-color: #007acc;
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #f1f1f1a8;
}

/* Live Scores Section */
.live-scores {
  padding: 60px 20px;
  background: #f5f5f5;
}

.live-scores h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 600;
}

.score-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.score-card {
  background: white;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  min-width: 250px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.teams {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.vs {
  margin: 0 10px;
  color: #666;
  font-weight: 400;
}

.score {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 10px;
}

.status {
  font-size: 0.9rem;
  padding: 5px 15px;
  border-radius: 20px;
  display: inline-block;
  font-weight: 500;
}

.score-card:first-child .status {
  background: #e74c3c;
  color: white;
}

.score-card:last-child .status {
  background: #3498db;
  color: white;
}

/* Tournament Schedule Section */
.tournament-schedule {
  padding: 60px 20px;
  background: white;
}

.tournament-schedule h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
  font-weight: 600;
}

.schedule-list {
  max-width: 500px;
  margin: 0 auto;
}

.schedule-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}

.date {
  font-weight: 600;
  color: #2c3e50;
  font-size: 1rem;
}

.match {
  font-size: 1.1rem;
  color: #333;
}

.venue {
  color: #666;
  font-size: 0.9rem;
}

/* Responsive Navigation */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

    nav ul {
      grid-template-columns: 1fr; /* single column for mobile */
    }
    
  .score-cards {
    flex-direction: column;
    align-items: center;
  }
}
