/* Main CSS for ParcHateCali.com */
:root {
  --primary-color: #2e4c6d;
  --secondary-color: #fc814a;
  --accent-color: #396eb0;
  --text-color: #333333;
  --light-color: #ffffff;
  --bg-color: #f5f5f5;
  --footer-color: #1c2e42;
  --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: var(--primary-color);
  color: var(--light-color);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  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: 1rem;
}

.logo svg {
  width: 40px;
  height: 40px;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--light-color);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s;
}

nav a:after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background-color: var(--secondary-color);
  transition: width 0.3s;
}

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

nav a:hover:after {
  width: 100%;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--gradient);
  color: var(--light-color);
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.cta-button {
  display: inline-block;
  background: var(--light-color);
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

/* Features Section */
.features {
  padding: 4rem 0;
}

.features h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

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

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

.feature-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

/* Games Section */
.games {
  padding: 4rem 0;
  background-color: #f9f9f9;
}

.games h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

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

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

.game-image {
  height: 180px;
  background-color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.game-image svg {
  width: 80px;
  height: 80px;
}

.game-content {
  padding: 1.5rem;
}

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

.game-content p {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

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

.game-links a {
  display: inline-block;
  margin: 0.5rem 0.5rem 0.5rem 0;
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

/* About Section */
.about {
  padding: 4rem 0;
}

.about h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary-color);
}

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

.about-text p {
  margin-bottom: 1.5rem;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image svg {
  max-width: 100%;
  height: auto;
}

/* Footer */
footer {
  background: var(--footer-color);
  color: var(--light-color);
  padding: 3rem 0 1rem;
}

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

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo svg {
  width: 50px;
  height: 50px;
  margin-bottom: 1rem;
}

.footer-links h3 {
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
}

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

.footer-links ul li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: var(--light-color);
  text-decoration: none;
  transition: color 0.3s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Media Queries */
@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--primary-color);
    flex-direction: column;
    padding: 1rem 0;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    padding: 0.5rem 1.5rem;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .hero h2 {
    font-size: 2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  
  .feature-card,
  .game-card {
    padding: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .features,
  .games,
  .about {
    padding: 3rem 0;
  }
}
