/* Reset und Basis-Styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Arial', sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
header {
  position: relative;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
}

/* Logo - ganz links */
.logo {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  padding-left: 20px;
}

.logo a img {
  height: 60px;
  width: auto;
}

/* Navigation im Container */
.header-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

header nav ul {
  list-style: none;
  display: flex;
}

header nav ul li {
  margin-left: 20px;
}

header nav ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

header nav ul li a:hover,
header nav ul li a.active {
  color: #00f0ff;
}

/* Hero Section */
.hero {
  background: url('images/game1-logo.webp') no-repeat center center/cover;
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 80px;
}

.hero-overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  text-align: center;
  border-radius: 10px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00f0ff;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #00c6d7;
}

/* Cards Section */
.cards-section {
  padding: 60px 0;
  background: #111;
}

.cards-section h2 {
  text-align: center;
  margin-bottom: 40px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.card {
  background: #222;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card img {
  width: 100%;
  height: auto; /* Beibehaltung des Seitenverhältnisses */
  object-fit: contain; /* Skaliert das Bild so, dass es vollständig sichtbar ist */
  display: block;
}



.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px #00f0ff;
}

/* Sicherstellen, dass der Link die gesamte Karte abdeckt und das Standard-Styling (Farben, etc.) beibehält */
.cards-grid a.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* Optional: Hover-Effekt für den Link, der auch den Card-Hover-Effekt übernimmt */
.cards-grid a.card-link:hover .card {
  transform: scale(1.05);
  box-shadow: 0 0 15px #00f0ff;
}

/* Wenn nur ein Eintrag in der Karten-Galerie vorhanden ist, das Bild verkleinern */
.cards-grid > a:only-child .card img {
  max-height: 200px;  /* Beispielwert – anpassen je nach gewünschter Bildgröße */
  object-fit: contain;  /* Füllt den Container, Bildteile werden beschnitten */
}


/* Game Info Section */
.game-info {
  background: #1a1a1a;
  padding: 60px 20px;
  border-top: 2px solid #00f0ff;
  border-bottom: 2px solid #00f0ff;
  margin: 40px 0;
}

.game-info h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #00f0ff;
}

.game-info p {
  max-width: 800px;
  margin: 0 auto 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: justify;
  color: #ccc;
}

.game-info h3 {
  margin-top: 40px;
  color: #00f0ff;
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 15px;
}

.game-info ul {
  max-width: 800px;
  margin: 0 auto 20px;
  padding-left: 20px;
  color: #ccc;
}

.game-info ul li {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

/* FAQ Section (sowohl für .faq als auch .eden-faq) */
.faq, .eden-faq {
  padding: 60px 0;
}

.faq h2, .eden-faq h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00f0ff;
  scroll-margin-top: 120px;
}

.faq-item {
  background: #222;
  margin-bottom: 10px;
  border-radius: 5px;
  overflow: hidden;
  transition: background 0.3s ease;
}

.faq-item:hover {
  background: #333;
}

.faq-question {
  padding: 15px;
  cursor: pointer;
}

.faq-answer {
  padding: 15px;
  display: none;
}

.faq-item.open .faq-answer {
  display: block;
}

/* Gallery Section */
.gallery {
  padding: 60px 0;
  background: #111;
}

.gallery h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00f0ff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.gallery-card {
  overflow: hidden;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-card:hover {
  transform: scale(1.05);
}

.gallery-card img {
  width: 100%;
  display: block;
}

/* Modal */
.modal {
  display: none; 
  position: fixed;
  z-index: 1000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto;
  display: block;
  max-width: 80%;
}

.modal-close {
  position: absolute;
  top: 50px;
  right: 50px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* Footer */
footer {
  background: #111;
  padding: 20px 0;
  text-align: center;
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-container p {
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 768px) {
  .header-container {
    flex-direction: column;
  }
  header nav ul {
    flex-direction: column;
    margin-top: 10px;
  }
  header nav ul li {
    margin: 5px 0;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .banner-overlay h1 {
    font-size: 2.5rem;
  }
}

/* Game Logo Section */
.game-logo-section {
  padding: 40px 0;
  text-align: center;
}

.game-logo {
  max-width: 200px;  /* Passe die maximale Breite nach Bedarf an */
  height: auto;
}
/* Neue Styles für Navigation-Buttons */
.nav-button {
  display: inline-block;
  padding: 8px 16px;
  background-color: #00f0ff;
  color: #000;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.nav-button:hover,
.nav-button.active {
  background-color: #00c6d7;
  transform: translateY(-2px);
}

.system-anforderungen {
  background: #1a1a1a;
  padding: 60px 20px;
  border-top: 2px solid #00f0ff;
  border-bottom: 2px solid #00f0ff;
  margin: 40px 0;
}

.system-anforderungen h2 {
  text-align: center;
  color: #00f0ff;
  margin-bottom: 20px;
}

.anforderungen {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.anforderungen > div {
  flex: 1 1 45%;
  margin-bottom: 20px;
}

.anforderungen h3 {
  color: #00f0ff;
  margin-bottom: 10px;
}

.anforderungen ul {
  list-style: none;
  padding-left: 0;
}

.anforderungen li {
  margin-bottom: 5px;
  color: #ccc;
}

/* Kontaktformular Styling */
.contact {
  padding: 60px 20px;
  background: #1a1a1a;
  border-top: 2px solid #00f0ff;
  border-bottom: 2px solid #00f0ff;
  margin: 40px 0;
}

.contact h2 {
  text-align: center;
  color: #00f0ff;
  margin-bottom: 20px;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ccc;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #333;
  border-radius: 4px;
  background: #222;
  color: #fff;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #00f0ff;
}

.contact-form button.btn {
  display: inline-block;
  padding: 10px 20px;
  background: #00f0ff;
  color: #000;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease;
  cursor: pointer;
}

.contact-form button.btn:hover {
  background: #00c6d7;
}

