/* =============================
   FARBEN UND SCHRIFTEN
============================= */

/* Beispielhafte Farbdefinitionen (anpassbar an dein Farbschema) */
:root {
  --color_prim: #c94c7c;   /* gedecktes Pink – stark, aber nicht Barbie */
  --color_sec: #1b1b1b;
  --color_header: #2a2a2a; /* etwas dunkler statt hellgrau */
  --mainText: #f8f8f8;
  --bg_main: #111111;
  --color_accent: #39ff14;   /* Neon-Grün Hover */
  --color_accent_light: rgba(57, 255, 20, 0.7); /* Transparente Variante */
}


/* Schriftarten laden */
@import url('https://fonts.googleapis.com/css2?family=Russo+One&display=swap');

/* Grundschrift */
body {
  margin: 0;
  font-family: 'Russo One', sans-serif;
  background-color: var(--bg_main);
  color: var(--mainText);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =============================
   TYPOGRAFIE
============================= */

h1 {
  color: var(--color_prim);
  font-family: 'Russo One', sans-serif;
  font-weight: 500;
  font-size: 48px;
  margin-top: 0;
}

h2 {
  color: var(--color_prim);
  font-family: 'Russo One', sans-serif;
  font-weight: 500;
  font-size: 36px;
}

h3 {
  color: var(--color_prim);
  font-family: 'Russo One', sans-serif;
  font-weight: 500;
  font-size: 28px;
}

h4, h5, h6, strong {
  color: var(--mainText);
  font-family: 'Russo One', sans-serif;
  font-weight: 500;
}

p, li, span, label, input, textarea, div {
  color: var(--color_prim);
  font-family: 'Russo One', monospace;
  line-height: 1.6;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--color_header);
    padding: 10px 20px;
    flex-wrap: wrap; /* Zeilenumbruch bei Platzmangel */
    border-bottom: 2px solid var(--color_prim);
}


.header-logo img {
    height: 60px;
    width: auto;
    filter: brightness(0.9) contrast(1.1);
}

.main-nav {
    display: flex;
    gap: 20px;
}

.main-nav a {
    color: var(--color_accent); /* angenehmes hellgrau statt Weiß */
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, transform 0.15s ease;
}

.main-nav a:hover {
  background-color: var(--color_accent_light);
  color: var(--color_prim);
  box-shadow: 0 0 10px var(--color_accent);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.main-nav a:active,
.main-nav a:focus {
    color: #f0f0f0; /* leicht heller, aber kein reines Weiß */
}

/* Hauptbereich */
.site-content {
    flex: 1 0 auto;  /* nimmt den verfügbaren Platz, damit Footer unten bleibt */
    display: flex;
    flex-direction: column;
    align-items: center;  /* optional, um Inhalte zu zentrieren */
    padding: 30px 20px;
    background-color: var(--color_sec);
    max-width: 1200px;
    margin: 40px auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0,0,0,0.6);
    box-sizing: border-box;
}

/* Footer */
.site-footer {
    display: flex;
    justify-content: center;
    align-items: center; /* sorgt dafür, dass alle Elemente vertikal mittig sind */
    gap: 20px;
    background-color: var(--color_header);
    padding: 15px 0;
    font-size: 0.9em;
    border-top: 1px solid #333;
    border-top: 2px solid var(--color_prim);
}

.site-footer a {
    color: var(--color_accent); /* angenehmes hellgrau statt Weiß */
    text-decoration: none;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.2s ease, transform 0.15s ease;
}

.site-footer a:hover {
  background-color: var(--color_accent_light);
  color: var(--color_prim);
  box-shadow: 0 0 10px var(--color_accent);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
    .site-header {
        flex-direction: row;       /* nebeneinander */
        justify-content: space-between; /* Logo links, Nav rechts */
        align-items: center;
        text-align: center;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-content {
        padding: 20px;
    }
}

/* Mobile */
@media (max-width: 350px) {
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }

    .header-logo img {
        height: 50px;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
    }
}

/* =============================
   BAND INFO PAGE
============================= */

.band-info {
  max-width: 1200px;       /* Begrenzung der Breite */
  margin: 0 auto;         /* Zentriert im Viewport */
  text-align: left;
  line-height: 1.6;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.02); /* leicht abgesetzter Hintergrund (optional) */
  border-radius: 10px;
  box-sizing: border-box;
}

.band-info p {
  color: var(--color_prim);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.band-photo {
  display: block;
  margin: 2rem auto 0 auto;
  max-width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

* =============================
   MEDIA PAGE
============================= */

/* Container für Alben */
.image-container {
  max-width: 800px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.image-container img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* Gruppierung der Songs */
.song-groups {
    width: 100%;      /* nimmt die volle Breite von site-content */
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    box-sizing: border-box;
}


.letter-group {
  flex: 1 1 220px; /* wächst flexibel, min. Breite 220px */
  background-color: var(--color_sec);
  border-radius: 8px;
  padding: 1rem;
  box-sizing: border-box;
  transition: background-color 0.2s ease;
}

.letter-group:hover {
  background-color: rgba(255,255,255,0.05);
}

.letter-header {
  font-size: 1.4rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--color_prim);
  text-transform: uppercase;
}

.songs-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.song-item {
  text-decoration: none;
  color: inherit;
  padding: 0.3rem 0.5rem;
  border-radius: 4px;
  transition: background-color 0.15s ease;
}

.song-item:hover {
  background-color: var(--color_accent_light);
  color: var(--color_prim);
  box-shadow: 0 0 10px var(--color_accent);
  transition: background-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}



/* ---------- Responsive ---------- */

/* Tablet */
@media (max-width: 1024px) {
  .image-container img {
    width: 120px;
    height: 120px;
  }

  .letter-group {
    flex: 1 1 45%;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .image-container {
    gap: 0.5rem;
  }

  .image-container img {
    width: 100px;
    height: 100px;
  }

  .song-groups {
    flex-direction: column;
  }

  .letter-group {
    flex: 1 1 100%;
  }
}

/* =============================
   SONG DETAIL PAGE
============================= */

.flex-container-content {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.song-main-layout {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2rem;
  max-width: 1000px;     /* 👈 Begrenzung der Breite */
  margin: 0 auto;        /* 👈 zentriert das Ganze */
  flex-wrap: wrap;       /* bei kleineren Viewports umbrechen */
  width: 100%;
  flex-wrap: wrap; /* falls eng, bricht um */
}

/* Linke Spalte: Song-Meta (Titel, Player) */
.song-meta {
  flex: 0 1 auto;      /* wächst nur nach Inhalt */
  background-color: var(--color_sec);
  border-radius: 8px;
  padding: 1rem; /* statt 1.5rem */
  box-sizing: border-box;
  min-width: 280px;
}


.song-meta h1 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--color_prim);
  padding-bottom: 0.5rem;
}

/* Audio-Player anpassen */
.custom-audio-player {
  width: 100%;
  margin-top: 0.5rem;
  border-radius: 6px;
  background-color: #222;
}

/* Rechte Spalte: Lyrics */
.song-lyrics {
  flex: 2 1 400px;
  background-color: var(--color_header);
  border-radius: 4px;
  padding: 1.5rem;
  box-sizing: border-box;
  line-height: 1.6;
  white-space: pre-line;
  min-width: 0;         /* extrem wichtig bei langen Texten */
  overflow-wrap: break-word;
}

.song-lyrics h2,
.song-lyrics h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color_prim);
}

.lyrics-section.chorus {
  text-align: right;
}

/* Responsives Verhalten */
@media (max-width: 900px) {
  .song-main-layout {
    flex-direction: column;
  }

  .song-meta,
  .song-lyrics {
    width: 100%;
  }
}

audio::-webkit-media-controls-panel {
  background-color: #222;
  color: #fff;
}

audio::-webkit-media-controls-play-button,
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  filter: invert(1);
}

/* =============================
   CONTACT PAGE
============================= */

.contact-info {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
  line-height: 1.6;
  padding: 2rem;
  background-color: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
  box-sizing: border-box;
}

.contact-info h1 {
  color: var(--color_prim);
  font-family: 'Russo One', sans-serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-info a {
  color: var(--color_prim);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 1px solid transparent;
  transition: all 0.2s ease;
}

.contact-info a:hover {
  color: var(--neon_accent, #39ff14);
  border-bottom-color: var(--neon_accent, #39ff14);
}
