/* Main CSS styles for livechat-tanken.com */
:root {
  --primary-color: #3a7bd5;
  --secondary-color: #ff4e50;
  --tertiary-color: #24c6dc;
  --background-color: #f7f9fc;
  --text-color: #333;
  --light-text: #f5f5f5;
  --dark-text: #222;
  --accent-color: #ff9966;
  --border-radius: 8px;
}

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

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, 
    Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  background-color: var(--background-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.logo img {
  height: 40px;
  margin-right: 10px;
}

.logo h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--light-text);
}

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

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

nav ul li a {
  color: var(--light-text);
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
}

nav ul li a:hover {
  background-color: rgba(255,255,255,0.2);
  text-decoration: none;
}

.hamburger {
  display: none;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--light-text);
  font-size: 1.5rem;
}

/* Hero Section */
.hero {
  padding: 80px 0;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/hero-bg.svg');
  background-size: cover;
  background-position: center;
  color: var(--light-text);
  text-align: center;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

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

.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: var(--accent-color);
  color: white;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.btn:hover {
  background-color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  text-decoration: none;
  color: white;
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: white;
}

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

.section-title h2 {
  font-size: 2.2rem;
  color: var(--dark-text);
  position: relative;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  display: block;
  width: 60%;
  height: 4px;
  background-color: var(--tertiary-color);
  margin: 10px auto 0;
  border-radius: 2px;
}

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

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

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

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

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

/* Game Module Section */
.games-section {
  padding: 80px 0;
  background-color: #f0f4fa;
}

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

.game-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

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

.game-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.game-info {
  padding: 20px;
}

.game-info h3 {
  color: var(--dark-text);
  margin-bottom: 10px;
}

.game-info p {
  margin-bottom: 15px;
  font-size: 0.9rem;
  color: #666;
}

/* About Section */
.about {
  padding: 80px 0;
  background-color: white;
}

.about-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 40px;
}

.about-image {
  flex: 1;
  min-width: 300px;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-content {
  flex: 1;
  min-width: 300px;
}

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

/* Contact Section */
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--tertiary-color), var(--primary-color));
  color: var(--light-text);
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-color);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-control:focus {
  border-color: var(--primary-color);
  outline: none;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.submit-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.submit-btn:hover {
  background-color: var(--tertiary-color);
}

/* Footer */
footer {
  background-color: #222;
  color: #aaa;
  padding: 60px 0 30px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

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

.footer-logo img {
  height: 30px;
  margin-right: 10px;
}

.footer-logo span {
  color: white;
  font-size: 1.2rem;
  font-weight: 600;
}

.footer-column h3 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

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

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

.footer-links a {
  color: #aaa;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

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

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

.social-links a:hover {
  color: white;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  margin-top: 30px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
  
  nav {
    width: 100%;
    margin-top: 15px;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    width: 100%;
  }
  
  nav ul.active {
    display: flex;
  }
  
  nav ul li {
    margin: 5px 0;
  }
  
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 20px;
  }
  
  .hero h2 {
    font-size: 2.2rem;
  }
  
  .about-container {
    flex-direction: column;
  }
}
