/* style.css - BEREINIGT UND VEREINFACHT */

/* Wichtig: Damit Abstände nicht die Breite sprengen */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  background: #2e3440;
  color: #ddd;
}

header {
  background: linear-gradient(135deg, #5c6f82 0%, #4a5d6e 100%);
  padding: 60px 20px;
  text-align: center;
  color: #f0f0f0;
  box-shadow: 0 8px 20px rgba(0,0,0,0.45);
}

header h1 {
  margin: 0;
  font-family: 'Cinzel Decorative', serif;
  font-size: 3rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #e0e6ed 0%, #aeb6c3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 15px rgba(255,255,255,0.25), 0 4px 10px rgba(0,0,0,0.7);
}

header h2 {
  margin: 15px 0 0;
  font-size: 1.3rem;
  font-weight: 400;
  color: #d7dce4;
  text-shadow: 0 0 8px rgba(0,0,0,0.6), 0 2px 6px rgba(0,0,0,0.4);
}

/* --- HAUPT LAYOUT --- */
.main {
  display: flex;
  flex-wrap: wrap;
  max-width: 1600px; /* Breite für 3-Spalten-Layout */
  margin: 0 auto;
  padding: 30px 20px;
  gap: 20px;
  align-items: flex-start;
}

.sidebar {
  width: 200px;
  min-width: 180px;
  padding: 0 15px;
  flex-shrink: 0;
}

/* --- DONATE/BIO BOXEN --- */
.donate, .bio {
  width: 220px;
  min-width: 200px;
  background: #3a4250;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  align-self: flex-start;
  flex-shrink: 0;
}

.content {
  flex: 1;
  padding: 0 15px;
  text-align: center;
  min-width: 0;
}

.content h2 {
  color: #e6eaf0;
  text-align: center;
  margin-top: 40px;
  font-weight: 400;
}

/* --- BIO (Mädchenseiten) --- */
.bio img, .bio video {
  width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 15px;
}

.bio p, .donate p {
  font-size: 0.95rem;
  color: #d0d5de;
  line-height: 1.5;
  margin: 0 0 15px;
}

/* --- MENÜ BUTTONS --- */
.menu-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  margin: 10px 0;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  background: #3e4755;
  color: #f0f0f0;
  border-radius: 6px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.menu-btn:hover {
  background: #5c6f82;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.5);
}

.wsite-menu-wrap {
  display: none;
  margin-left: 10px;
}

.wsite-menu {
  list-style: none;
  padding: 0;
}

.wsite-menu-subitem-wrap .menu-btn {
  font-size: 0.9rem;
  background: #4a5261;
}

.wsite-menu-subitem-wrap .menu-btn:hover {
  background: #6b7f96;
}

/* --- GALERIE RASTER (FLEXBOX FÜR NEWS/DETAILS) --- */

.top-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: flex-start;
  margin-top: 20px;
}

.top-row + .top-row {
  margin-top: 30px;
}

.top-row .wsite-image {
  /* Flexbox-Berechnung für 4 Spalten auf NEWS-Seiten */
  flex: 0 0 calc(25% - 15px);
  box-sizing: border-box;
  text-align: center;
  max-width: 100%;
}

.top-row .wsite-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
  display: block;
}

.top-row .wsite-image div {
  margin-top: 10px;
  font-size: 0.9rem;
  color: #d0d5de;
}

.top-row .wsite-image a.button {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 16px;
  background: #556a80;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
  transition: background 0.2s;
}

.top-row .wsite-image a.button:hover {
  background: #6b7f96;
}

.styled-hr {
  border: 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin: 30px 0;
}

/* --- GIRLS GRID (ÜBERSICHTSSEITE) --- */

.girls {
  display: grid;
  grid-template-columns: repeat(5, 1fr); /* 5 Spalten auf breiten Monitoren */
  gap: 20px;
  padding-bottom: 40px;
}

.girl {
  background-color: #1f232b;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
  transition: transform 0.2s;
  border: 1px solid rgba(255,255,255,0.05);
  margin: 0;
}

.girl:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.7);
}

.girl a {
  text-decoration: none;
  color: inherit;
  display: block;
}

.girl img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.girl figcaption {
  padding: 15px 5px;
  text-align: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #e8e8ea;
  background-color: #232833;
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- SPLIT LAYOUT (Ghost City) --- */

.split-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
}

.split-layout .city-image {
  flex: 1 1 400px;
  max-width: 600px;
  width: 100%;
}

.split-layout .city-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

.history-content {
  flex: 1 1 400px;
  background: #3a4250;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  text-align: left;
  min-width: 0;
}

.history-content h3 {
  margin-top: 0;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: #e0e6ed;
  margin-bottom: 15px;
}

.history-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #d0d5de;
  margin: 0;
}

/* --- FOOTER & LINKS --- */
.sidebar p a {
  color: #ccc;
  text-decoration: none;
}

.sidebar p a:hover {
  color: #e6eaf0;
}

.donate a.button:hover {
  background: #6b7f96;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* --- RESPONSIVE MEDIA QUERIES (ZUSAMMENGEFASST) --- */

/* Laptop XL (unter 1500px): Girls Grid 4 Spalten */
@media (max-width: 1500px) {
  .girls {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Laptop / Tablet (unter 1100px): Girls Grid 3 Spalten */
@media (max-width: 1100px) {
  .girls {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (unter 900px): Layout stapelt, Grids auf 2 Spalten */
@media (max-width: 900px) {
  .main {
    flex-direction: column;
    padding: 20px 10px;
  }
  .sidebar, .donate, .content, .bio {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
  }

  /* Girls Grid auf 2 */
  .girls {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Top Row (Flexbox) auf 2 */
  .top-row .wsite-image {
    flex: 0 0 calc(50% - 10px);
  }

  /* Split Layout stapeln */
  .split-layout {
    flex-direction: column;
  }
  .split-layout .city-image,
  .history-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* Handy (unter 500px): Girls Grid 1 Spalte, Top Row 1 Spalte */
@media (max-width: 500px) {
  .girls {
    grid-template-columns: 1fr;
    max-width: 350px;
    margin: 0 auto;
  }
  .top-row .wsite-image {
    flex: 0 0 100%;
  }
}

/* --- VIDEO PLAYER (für Movie-Seiten) --- */
.video-container {
  text-align: center;
  margin-top: 30px;
  width: 100%;
  display: none; /* Standardmäßig ausgeblendet */
  background: rgba(0, 0, 0, 0.2);
  padding: 20px;
  border-radius: 8px;
}

.video-container video {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
  background: #000;
}