/* Main CSS for gday.express - Optimized for SEO and responsiveness */
:root {
  --primary-color: #4ECDC4;
  --secondary-color: #FF6B6B;
  --accent-color: #FED766;
  --text-color: #2A2D34;
  --bg-color: #F7F9FB;
  --footer-bg: #1A535C;
}

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

body {
  font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-color);
  overflow-x: hidden;
}

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

header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 50px;
  height: 50px;
}

.logo h1 {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
}

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

nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 4px;
}

nav a:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

.hero {
  padding: 100px 0;
  background: url('../images/hero-bg.svg') no-repeat center center/cover;
  text-align: center;
  color: var(--text-color);
}

.hero h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--text-color);
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.features {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h3 {
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.section-title p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--text-color);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: white;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.feature-icon {
  font-size: 40px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.feature-card h4 {
  margin-bottom: 15px;
  font-size: 22px;
}

.games {
  padding: 80px 0;
  background-color: #f0f4f8;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.game-card {
  background-color: white;
  border-radius: 10px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.game-card h4 {
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.game-card p {
  margin-bottom: 20px;
}

.game-links {
  margin-top: 15px;
}

.game-links a {
  display: inline-block;
  margin-right: 10px;
  margin-bottom: 10px;
  padding: 8px 15px;
  background-color: var(--accent-color);
  color: var(--text-color);
  text-decoration: none;
  border-radius: 20px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.game-links a:hover {
  background-color: var(--secondary-color);
  color: white;
}

.news {
  padding: 80px 0;
}

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

.news-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-img {
  height: 200px;
  background-color: #ddd;
  background-position: center;
  background-size: cover;
}

.news-content {
  padding: 20px;
}

.news-content h4 {
  margin-bottom: 10px;
  font-size: 20px;
}

.news-content p {
  color: #666;
  margin-bottom: 15px;
}

.news-source {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: bold;
}

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

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo {
  grid-column: span 1;
}

.footer-logo img {
  width: 80px;
  margin-bottom: 15px;
}

.footer-links h5 {
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.footer-links h5:after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 30px;
  height: 2px;
  background-color: var(--accent-color);
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #ddd;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
  color: #ddd;
}

/* Responsive styles */
@media (max-width: 992px) {
  .feature-grid, 
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-content {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 0;
  }
  
  nav {
    position: fixed;
    top: 70px;
    right: -100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    height: calc(100vh - 70px);
    width: 250px;
    padding-top: 20px;
    transition: 0.3s;
  }
  
  .nav-active {
    right: 0;
  }
  
  nav ul {
    flex-direction: column;
    gap: 0;
  }
  
  nav a {
    display: block;
    padding: 15px 20px;
    border-radius: 0;
  }
  
  .hamburger {
    display: block;
  }
  
  .hero {
    padding: 60px 0;
  }
  
  .hero h2 {
    font-size: 36px;
  }
  
  .feature-grid,
  .news-grid,
  .game-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .hero h2 {
    font-size: 28px;
  }
  
  .section-title h3 {
    font-size: 28px;
  }
}

/* Animations for better UX */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.feature-card, .game-card, .news-card {
  animation: fadeIn 0.5s ease-out forwards;
}

.feature-card:nth-child(2) {
  animation-delay: 0.1s;
}

.feature-card:nth-child(3) {
  animation-delay: 0.2s;
}

.game-card:nth-child(even) {
  animation-delay: 0.1s;
}

.news-card:nth-child(2) {
  animation-delay: 0.1s;
}

.news-card:nth-child(3) {
  animation-delay: 0.2s;
}
