/*
Theme Name: Live Music Band
Author: wpelemento
Version: 0.1.5
*/

/* =========================================================
   VARIABLEN
   ========================================================= */
:root {
  --header-h: 96px;
  --header-h-scrolled: 64px;

  --bg-header: rgba(0,0,0,0.7);
  --bg-header-scrolled: rgba(0,0,0,0.85);

  --bg-overlay: rgba(0,0,0,0.78);
  --bg-item: rgba(0,0,0,0.5);
  --bg-active: rgba(0,0,0,0.65);

  --border-active: rgba(0,0,0,0.9);

  --accent-warm: #d2b48c;
  --text: #ffffff;
}

/* =========================================================
   RESET / BASIS
   ========================================================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0e0e0e;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

/* =========================================================
   THEME-BALLAST AUS
   ========================================================= */
.header-image-box,
.headerimgbox-meta,
.crumb-box,
.page-title,
.entry-title {
  display: none !important;
}

/* =========================================================
   HEADER
   ========================================================= */
#site-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-h);
  background: var(--bg-header);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  transition: height 0.3s ease, background 0.3s ease;
}

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
}

.header-left,
.header-center,
.header-right {
  flex: 1;
}

.header-center {
  text-align: center;
}

.header-logo img {
  height: 85px;
  transition: height 0.3s ease;
}

.header-right {
  text-align: right;
}

/* =========================================================
   DESKTOP MENÜ
   ========================================================= */
#main-menu {
  display: block;
}

#main-menu ul {
  display: flex;
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}

#main-menu ul li {
  background: var(--bg-item);
  border-radius: 8px;
}

#main-menu ul li a {
  display: block;
  padding: 10px 16px;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  white-space: nowrap;
}

#main-menu ul li.current_page_item,
#main-menu ul li.current-menu-item {
  background: var(--bg-active);
  border: 2px solid var(--border-active);
}

#main-menu ul li.current_page_item > a,
#main-menu ul li.current-menu-item > a {
  color: var(--accent-warm);
}

.close-menu {
  display: none;
}

/* =========================================================
   HAMBURGER
   ========================================================= */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  cursor: pointer;
}

/* =========================================================
   MOBILE MENU – FULLSCREEN
   ========================================================= */
@media (max-width: 768px) {

  #main-menu {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

#main-menu.is-open {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
}

  #main-menu.is-open ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
    padding: 120px 24px 24px;
  }

  #main-menu.is-open ul li {
    background: var(--bg-item);
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
  }
@media (max-width: 768px) {
  #main-menu.is-open ul li.page_item {
    background: rgba(0,0,0,0.9) !important; /* 90 % schwarz */
  }

  #main-menu.is-open ul li.page_item a {
    background-color: transparent !important;
    color: #ffffff !important; /* Text weiß */
  }
}


/* DAS IST DER FEHLENDE TEIL */
#main-menu.is-open ul li a {
  background: transparent;
  color: #ffffff;
}
	
  #main-menu.is-open ul li a {
    padding: 14px 18px;
    font-size: 1.05rem;
    color: #000000de;
    text-align: center;
    white-space: nowrap;
  }

  #main-menu.is-open ul li.current_page_item,
  #main-menu.is-open ul li.current-menu-item {
    background: var(--bg-active);
    border-color: var(--border-active);
  }

  #main-menu.is-open ul li:hover {
    border-color: rgba(160,160,160,0.9);
  }

  #main-menu.is-open .close-menu {
    display: block;
    position: fixed;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 32px;
    cursor: pointer;
  }
}

/* =========================================================
   CONTENT OFFSET
   ========================================================= */
#content,
.site-content,
.site-main {
  padding-top: var(--header-h);
}

/* =========================================================
   HEADER SHRINK
   ========================================================= */
body.header-scrolled #site-navigation {
  height: var(--header-h-scrolled);
  background: var(--bg-header-scrolled);
}

body.header-scrolled .header-logo img {
  height: 48px;
}

/* =========================================================
   ARTIST CONTENT
   ========================================================= */

.artist-row {
  display: grid;
  gap: 40px;
  margin-bottom: 64px;
}

.artist-text {
  background: rgba(0,0,0,0.8);
  padding: 32px 36px;
  border-radius: 16px;
}

.artist-image {
  border-radius: 16px;
  overflow: hidden;
  background: #000;
}

.artist-image img {
  width: 100%;
  height: auto;
  object-fit: contain; /* kein Abschneiden */
}

/* Mobile */
@media (max-width: 768px) {
  .artist-row {
    grid-template-columns: 1fr !important;
  }
}
/* =========================================================
   LEGAL
   ========================================================= */
.legal {
  max-width: 900px;
  margin: 0 auto 80px;
  background: rgba(0,0,0,0.8);
  padding: 36px 40px;
  border-radius: 16px;
}

.legal p {
  color: #e6e6e6;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer-widget,
.footer-copyright {
  background: #0000;
}

footer * {
  color: #fff;
}

/* =========================================================
   MINI FOOTER – FIXIERT
   ========================================================= */
.mini-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background: rgba(0,0,0,0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  font-size: 24px;
  z-index: 9999;
}

.mini-footer a {
  color: #ffffff;
  text-decoration: none;
  opacity: 0.8;
}

.mini-footer a:hover {
  opacity: 1;
  color: var(--accent-warm);
}
/* =========================================================
   HAMBURGER – FIX: FARBE & POSITION UNABHÄNGIG VOM THEME
   ========================================================= */

/* Button selbst */
.menu-toggle {
  background-color: #ffffff !important; /* weiß statt rot */
  color: #000000 !important;
  margin-left: auto;                    /* rechtsbündig */
}

/* Icon (die 3 Striche) */
.menu-toggle i,
.menu-toggle span {
  color: #000000 !important;
}



/* Mobile Header Layout absichern */
@media (max-width: 768px) {
  .header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
  }
}
/* =========================================================
   HAMBURGER – THEME-VARIABLE LOKAL ÜBERSCHREIBEN
   ========================================================= */

#site-navigation {
  --primary-theme-color: #ffffff !important; /* kein Rot mehr */
}



