/* =============================
   Mansions & Millions — styles.css
   (feiner: kleinere Schrift, Links mit Unterstreichung, Carousel nebeneinander)
   ============================= */

:root { --site-max: 960px; }

html { -webkit-text-size-adjust: 100%; }

/* Breite inkl. Padding berechnen – verhindert Rechts-Überlauf */
*, *::before, *::after { box-sizing: border-box; }


html, body {
  margin: 0;
  padding: 0;
  font-family: 'Courier', monospace;
  line-height: 1.55;
  color: #111;
  background: #fff;
  overflow-x: hidden;
  text-align: center;
  font-size: 13px; /* minimal kleiner als 14px */
}

p, li, a, span, div {
  font-size: 13px;
}

img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

a { color: inherit; text-decoration: underline; }
a:hover { background: #e0e0e0; }

ul { list-style: none; padding: 0; margin: 0; }
li { font-family: 'Courier', monospace; }

.container {
  width: 100%;
  max-width: var(--site-max);
  margin: 0 auto;
  padding: 20px;
}

/* ---- Header ---- */
header { margin: 24px auto 16px; }
header img { margin: 0 auto 12px; }
nav ul { display: inline-flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* =============================
   CAROUSEL
   ============================= */
.carousel {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f2f2f2;
  margin: 0 auto;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
  will-change: transform;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  display: flex;
  flex-direction: row; /* Cover links, Text rechts */
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 20px;
  background: #f2f2f2;
  text-align: left; /* Text linksbündig innerhalb Box */
}

.release-cover { width: 160px; margin: 0; }
.release-info { max-width: 600px; margin: 0 auto; text-align: left; }
.release-title { font-size: 18px; margin-bottom: 8px; }
.release-artist { font-weight: bold; margin-bottom: 6px; }
.release-date { color: #777; margin-bottom: 10px; }
.release-description { margin-bottom: 14px; }

.btn-listen {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 6px;
  transition: opacity .2s ease;
  text-decoration: none;
}
.btn-listen:hover { opacity: .85; background: #333; }

.carousel-control-prev,
.carousel-control-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
}
.carousel-control-prev { left: 10px; }
.carousel-control-next { right: 10px; }

/* =============================
   NEWSLETTER POPUP
   ============================= */
.popup-container {
  display: none;
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.popup-content {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 480px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

/* =============================
   Footer
   ============================= */
footer { padding: 20px 0; }
footer p { margin: 0; font-size: 13px; color: #333; }

/* =============================
   Responsive tweaks
   ============================= */
@media (max-width: 768px) {
  .container { padding: 12px; }
  .carousel-item { flex-direction: column; text-align: center; }
  .release-cover { width: 120px; margin-bottom: 10px; }
  .release-info { text-align: center; }
  .release-title { font-size: 16px; }
  .popup-content { width: 90%; padding: 16px; }
}

@media (max-width: 480px) {
  .release-cover { width: 100px; }
}
/* =============================
   Alternierendes Styling für Releases & Tour
   ============================= */

/* Releases: jedes 2. Element fett */
#releases li:nth-child(odd) {
  font-weight: bold;
}
#releases li:nth-child(even) {
  font-weight: normal;
}
/* Abstand zwischen Releases-Einträgen */
#releases li {
  margin-bottom: 6px;   /* oder 8px, je nach Geschmack */
}

/* Tourdates: auch abwechselnd fett */
#tour-dates-container p:nth-child(odd),
#tour-dates-container li:nth-child(odd) {
  font-weight: bold;
}
#tour-dates-container p:nth-child(even),
#tour-dates-container li:nth-child(even) {
  font-weight: normal;
}
#tour-dates-container h3 {
  font-weight: bold;          /* bleibt fett */
  font-size: 14px;            /* 1px größer als 13px-Body */
  text-decoration: underline; /* unterstrichen */
  margin: 10px 0 6px;         /* etwas Luft, optional */
}