/* ============================================================
   POMPEJI-PROJEKT - STYLES (MIT BILDERN)
   ============================================================ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', Times, serif;
  background-color: #f5f3ef;
  color: #2c2c2c;
  line-height: 1.7;
  padding: 2rem 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.container {
  background-color: #fffef7;
  padding: 2rem 2.2rem;
  border-radius: 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  border: 1px solid #e0d6c8;
}

/* ===== HEADER ===== */
h1 {
  font-size: 1.8rem;
  font-weight: normal;
  color: #2c2c2c;
  border-left: 6px solid #6b4f8a;
  padding-left: 1rem;
  margin-bottom: 0.3rem;
}

.subhead {
  font-size: 0.95rem;
  color: #6b6b6b;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid #e0d6c8;
  padding-bottom: 0.8rem;
}

/* ===== SCENE ===== */
.scene {
  background: #faf8f3;
  border-left: 4px solid #6b4f8a;
  padding: 1.5rem 1.8rem;
  margin-bottom: 1.5rem;
  border-radius: 0 10px 10px 0;
}

.scene h2 {
  font-size: 1.1rem;
  font-weight: bold;
  color: #6b4f8a;
  margin-bottom: 0.8rem;
  letter-spacing: 0.5px;
}

.scene-content {
  font-size: 1.05rem;
  line-height: 1.8;
}

.scene-content p {
  margin-bottom: 0.8rem;
}

.scene-content em {
  color: #6b4f8a;
  font-style: italic;
}

/* ===== SCENE BILDER ===== */
.scene-image {
  margin-bottom: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #e0d6c8 0%, #f5f3ef 100%);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0d6c8;
}

.scene-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.scene-image img:hover {
  opacity: 0.95;
}

/* Fallback für fehlende Bilder */
.scene-image img:not([src]),
.scene-image img[src=""],
.scene-image img[src="#"] {
  display: none;
}

.scene-image .no-image-text {
  display: none;
  color: #8b8b8b;
  font-size: 0.8rem;
  padding: 1rem;
  text-align: center;
}

/* ===== CHOICES ===== */
.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.choice-btn {
  background: #f0ede6;
  border: 1px solid #d4cab8;
  padding: 0.6rem 1.5rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-size: 0.95rem;
  transition: all 0.2s;
  color: #2c2c2c;
}

.choice-btn:hover {
  background: #6b4f8a;
  color: #fff;
  border-color: #5a3f73;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(107, 79, 138, 0.3);
}

.choice-btn:active {
  transform: translateY(0px);
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
  background: #e0d6c8;
  border-radius: 20px;
  height: 6px;
  margin: 1.5rem 0;
  overflow: hidden;
}

.progress-bar .fill {
  height: 100%;
  width: 0%;
  background: #6b4f8a;
  border-radius: 20px;
  transition: width 0.5s ease;
}

/* ===== NAV LINKS ===== */
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0;
  padding-top: 1rem;
  border-top: 1px solid #e0d6c8;
}

.nav-links button {
  background: #f0ede6;
  border: 1px solid #d4cab8;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  cursor: pointer;
  font-family: 'Georgia', serif;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.nav-links button:hover {
  background: #6b4f8a;
  color: #fff;
  border-color: #5a3f73;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 640px) {
  .container {
    padding: 1.2rem;
  }
  
  h1 {
    font-size: 1.4rem;
  }
  
  .scene {
    padding: 1rem 1.2rem;
  }
  
  .choices {
    flex-direction: column;
  }
  
  .choice-btn {
    width: 100%;
    text-align: center;
  }
  
  .scene-image img {
    max-height: 200px;
  }
}

@media (max-width: 480px) {
  body {
    padding: 0.5rem;
  }
  
  .container {
    padding: 0.8rem;
  }
  
  .scene {
    padding: 0.8rem 1rem;
  }
  
  .scene-image img {
    max-height: 150px;
  }
}