/* Main Styles for Flint Metro League Brazil */
:root {
  --primary-color: #006400;
  --secondary-color: #ffdd00;
  --accent-color: #1e88e5;
  --text-color: #333;
  --light-color: #f8f9fa;
  --dark-color: #212529;
}

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

body {
  font-family: 'Roboto', 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: #f4f4f4;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

header {
  background: linear-gradient(135deg, var(--primary-color), #004d00);
  color: white;
  padding: 1rem 0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  position: relative;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.logo svg {
  margin-right: 10px;
  height: 40px;
  width: auto;
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav ul li a:hover {
  color: var(--secondary-color);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.hero {
  background: url('../images/hero-bg.svg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 80px 0;
  text-align: center;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 100, 0, 0.7);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: var(--secondary-color);
  color: var(--dark-color);
  padding: 10px 25px;
  border: none;
  border-radius: 5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
}

.btn:hover {
  background: #e5c700;
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.features {
  padding: 60px 0;
  background-color: white;
}

.section-title {
  text-align: center;
  margin-bottom: 40px;
  color: var(--primary-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card svg {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--dark-color);
}

.about {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-image {
  height: 100%;
  max-height: 400px;
  background: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.about-image svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.games {
  background-color: white;
  padding: 60px 0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.game-card {
  background: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s;
}

.game-card:hover {
  transform: translateY(-5px);
}

.game-content {
  padding: 20px;
}

.game-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.game-content p {
  margin-bottom: 15px;
}

.game-links {
  padding: 20px;
  background: #f4f4f4;
}

.game-links h4 {
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.game-links a {
  display: inline-block;
  margin: 5px 10px 5px 0;
  color: var(--accent-color);
  text-decoration: none;
  transition: color 0.3s;
}

.game-links a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.news {
  padding: 60px 0;
  background-color: #f8f9fa;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0,0,0,0.1);
}

.news-content {
  padding: 20px;
}

.news-content h3 {
  margin-bottom: 10px;
  color: var(--primary-color);
}

.news-content .date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 10px;
  display: block;
}

.cta {
  background: linear-gradient(135deg, var(--primary-color), #004d00);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

.cta p {
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

footer {
  background-color: var(--dark-color);
  color: white;
  padding: 40px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-column h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column ul li a:hover {
  color: white;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: white;
  font-size: 1.2rem;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--secondary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
  color: #adb5bd;
}

.footer-bottom a {
  color: var(--secondary-color);
  text-decoration: none;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo svg {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--primary-color);
    flex-direction: column;
    padding: 20px 0;
    box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    z-index: 100;
  }

  nav ul.show {
    display: flex;
  }

  nav ul li {
    margin: 10px 0;
    text-align: center;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media screen and (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .btn {
    padding: 8px 15px;
  }
  
  .feature-card, .game-card, .news-card {
    padding: 15px;
  }
}
