/* 
* 6Sports Today - Main Stylesheet
* Website: https://6sports.today
* Description: Modern, responsive styling for 6Sports Today website
*/

:root {
  /* Primary colors - Brazilian sports inspired */
  --primary-green: #009c3b; /* Green from Brazilian flag */
  --primary-yellow: #ffdf00; /* Yellow from Brazilian flag */
  --primary-blue: #002776; /* Blue from Brazilian flag */
  --accent-color: #ff9500;
  
  /* Neutral colors */
  --text-dark: #212121;
  --text-medium: #555555;
  --text-light: #ffffff;
  --background-light: #f8f9fa;
  --background-dark: #121212;
  --border-color: #e0e0e0;
  
  /* Fonts */
  --heading-font: 'Montserrat', sans-serif;
  --body-font: 'Roboto', sans-serif;
  
  /* Layout */
  --container-width: 1280px;
  --section-spacing: 5rem;
  --element-spacing: 1.5rem;
  --border-radius: 8px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text-dark);
  line-height: 1.6;
  background-color: var(--background-light);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
  color: var(--text-dark);
}

h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2.25rem;
  position: relative;
  margin-bottom: 1.5rem;
  text-align: center;
}

h2:after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 60px;
  height: 4px;
  background-color: var(--primary-green);
}

h3 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--accent-color);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Button styles */
.btn-primary {
  display: inline-block;
  background-color: var(--primary-green);
  color: var(--text-light);
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-blue);
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 39, 118, 0.2);
}

/* Header styles */
.main-header {
  background-color: var(--background-light);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--primary-blue);
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
}

.logo img {
  margin-right: 0.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-green);
  transition: width 0.3s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--text-dark);
  transition: all 0.3s ease;
}

/* Hero section */
.hero {
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-green) 100%);
  padding: 6rem 1rem;
  text-align: center;
  color: var(--text-light);
}

.hero h1 {
  color: var(--text-light);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto 2rem;
}

/* Latest News section */
.latest-news {
  padding: var(--section-spacing) 1rem;
  background-color: var(--background-light);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.news-card {
  background-color: var(--text-light);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.news-content {
  padding: 1.5rem;
}

.news-content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}

.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
  color: var(--primary-green);
}

.read-more:hover {
  color: var(--primary-blue);
}

/* Sports coverage section */
.sports-coverage {
  padding: var(--section-spacing) 1rem;
  background-color: #f0f0f0;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.sport-item {
  background-color: var(--text-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.sport-item:hover {
  transform: translateY(-5px);
}

.sport-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

/* Events section */
.events {
  padding: var(--section-spacing) 1rem;
  background-color: var(--background-light);
}

.events-timeline {
  margin-top: 2rem;
}

.event-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.event-item:last-child {
  border-bottom: none;
}

.event-date {
  flex: 0 0 100px;
  font-weight: 700;
  color: var(--primary-green);
  font-size: 1.1rem;
}

.event-details h3 {
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
}

.event-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 500;
}

/* Games section */
.games {
  padding: var(--section-spacing) 1rem;
  background-color: #f0f0f0;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.game-item {
  background-color: var(--text-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-item h3 {
  color: var(--primary-blue);
  margin-bottom: 1rem;
}

.game-links {
  margin-top: 1rem;
}

.game-links li {
  margin-bottom: 0.75rem;
}

.game-links a {
  color: var(--primary-green);
  font-weight: 500;
  transition: all 0.2s ease;
}

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

/* About section */
.about {
  padding: var(--section-spacing) 1rem;
  background-color: var(--background-light);
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

/* Footer */
.main-footer {
  background-color: var(--primary-blue);
  color: var(--text-light);
  padding-top: 3rem;
}

.main-footer .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo p {
  font-family: var(--heading-font);
  font-weight: 700;
  font-size: 1.5rem;
}

.footer-links {
  display: flex;
  justify-content: space-between;
}

.footer-column h3 {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-column ul li {
  margin-bottom: 0.75rem;
}

.footer-column a {
  color: #b8c2e0;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--text-light);
}

.copyright {
  margin-top: 3rem;
  padding: 1.5rem 0;
  background-color: rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* Responsive styles */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .main-footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-logo {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }
  
  .nav-list {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background-color: var(--background-light);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 100;
  }
  
  .nav-list.active {
    transform: translateY(0);
  }
  
  .events-timeline .event-item {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 14px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero {
    padding: 4rem 1rem;
  }
  
  .news-grid, .sports-grid, .games-grid {
    grid-template-columns: 1fr;
  }
}
