/*
Theme Name: Villa Fadenfroh Theme
Author: Dein Name
Version: 1.0
Description: Eigenes WordPress-Theme mit zentriertem Content und Hintergrundbild
*/

/* =============================== */
/* ============ GLOBAL =========== */
/* =============================== */

/* Schriftart */
@font-face {
  font-family: 'Schreibstil';
  src: url('fonts/GravitasOne-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Body */
body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: url('http://nashvillebluebirds.de/wp-content/uploads/2025/11/pexels-lumber-film-540218201-16557322-scaled.jpg')
    no-repeat center center fixed;
  background-size: cover;
  color: #ffffff;
  line-height: 1.6;
}

@media (max-width: 768px) {
  body {
    padding-top: 160px;
  }
}

/* Links */
a {
  color: #98bbe5;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* =============================== */
/* ============ LAYOUT =========== */
/* =============================== */

.site-wrapper {
  max-width: 1100px;
  margin: 40px auto;
  background-color: rgba(8, 1, 1, 0.95);
  padding: 40px 30px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  position: relative;
  z-index: 1;
}

/* =============================== */
/* ============ TOPBAR =========== */
/* =============================== */

.topbar {
  background-image: url('http://nashvillebluebirds.de/wp-content/uploads/2025/11/texture-1306790_1280.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
  color: #fff;
  padding: 8px 0;
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 1002;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px;
}

.topbar-left span {
  font-weight: 600;
}

.topbar-right a {
  color: #ccc;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.topbar-right a:hover {
  color: #fff;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
  }
}

/* =============================== */
/* ============ HEADER =========== */
/* =============================== */

header {
  background-image: url('http://nashvillebluebirds.de/wp-content/uploads/2025/11/header6.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
  box-shadow: none;
  max-width: 1100px;
  margin: 0 auto 20px auto;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  transition: background-color 0.3s ease;
  position: relative;
  z-index: 1;
}

header .container {
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo-Container */
header .site-logo {
  padding: 5px 0 5px 10px;
  position: relative;
  z-index: 10;       /* höher als die Trennlinie */
  top: -110px;       /* Logo nach oben verschieben */
  transition: top 0.3s ease, max-height 0.3s ease;
}
/* Logo im Header gescrollt */
header.scrolled .site-logo {
  top: -10px;        /* leicht nach oben versetzt im gescrollten Zustand */
}
/* Logo-Bild */
header .site-logo img {
  max-height: 160px;
  height: auto;
  width: auto;
  border-radius: 10px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: max-height 0.3s ease, padding 0.3s ease;
}
header.scrolled {
  background-color: rgba(214, 102, 74, 0.95);
  padding: 10px 20px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

/* Logo-Bild gescrollt */
header.scrolled .site-logo img {
  max-height: 100px; /* kleiner im gescrollten Zustand */
  padding: 10px;     /* optional anpassen */
}


/* TV-Videobereich */
.tv-video {
  position: relative;
  width: 320px;
  margin-top: 20px;
  align-self: flex-end;
}

.tv-video .tv-image {
  width: 100%;
}

.tv-video .tv-screen {
  position: absolute;
  top: 10%;
  left: 5%;
  width: 70%;
  height: 80%;
  overflow: hidden;
}

.tv-video .tv-screen iframe {
  width: 120%;
  height: 110%;
  border: 0;
}

header.scrolled .tv-video {
  display: none !important;
}

/* =============================== */
/* ======== NAVIGATION =========== */
/* =============================== */

nav ul {
  list-style: none;
  padding-left: 0;
  display: flex;
  gap: 15px;
  margin: 0;
  flex-wrap: wrap;
}

nav ul li a,
.topbar-nav .menu li a {
  display: inline-block;
  padding: 4px 10px;
  margin: 3px 5px;
  border-radius: 8px;
  background-color: #c1121f;
  color: #fff;
  border: 2px solid #fff;
  font-family: 'Schreibstil', cursive;
  font-size: 24px;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

nav ul li a::after,
.topbar-nav .menu li a::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url('http://nashvillebluebirds.de/wp-content/uploads/2025/11/old-effect-scratches-4trueartists-blackandwhite-Transparent-Scratch-Texture-Png-Png-Download1024x768-PngFind.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.9;
  mix-blend-mode: multiply;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

nav ul li a:hover,
.topbar-nav .menu li a:hover {
  background-color: #e01e2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

nav ul li a:hover::after,
.topbar-nav .menu li a:hover::after {
  opacity: 0.4;
}

/* =============================== */
/* ======== TOPBAR NAV ========== */
/* =============================== */

.topbar-nav {
  background-color: rgba(0, 0, 0, 0.95);
  border-bottom: 1px solid #000;
  font-family: 'Schreibstil', cursive;
  position: relative;
  z-index: 1001;
}

.topbar-nav .menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 10px 0;
  list-style: none;
  margin: 0;
}

/* =============================== */
/* ========== BURGER ============= */
/* =============================== */

.menu-icon {
  display: none;
  font-size: 32px;
  cursor: pointer;
  color: #fff;
  z-index: 10001;
  position: fixed;
  top: 80px;
  right: 20px;
}

header.scrolled .menu-icon {
  display: block;
  position: absolute;
  top: 15px;
  right: 20px;
}

#menu-toggle {
  display: none;
}

#menu-toggle:checked + .menu-icon + .topbar-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  padding: 20px 0;
  z-index: 9999;
}

/* Mobile Slide-In */
@media (max-width: 768px) {
  .topbar-nav {
    transform: translateY(-100%);
    transition: transform 0.3s ease;
    position: fixed;
    top: 40px;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
  }

  #menu-toggle:checked + .menu-icon + .topbar-nav {
    transform: translateY(0);
  }

  .menu-icon {
    display: block !important;
  }

  .topbar-nav .menu {
    flex-direction: column;
    align-items: center;
  }
}

/* =============================== */
/* =========== SLIDER ============ */
/* =============================== */

.start-slider {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.slider-wrapper {
  display: flex;
  width: 200%;
  animation: scrollSlider 210s linear infinite;
}

.slider-item {
  flex-shrink: 0;
  width: 200px;
  margin-right: 20px;
  height: 150px;
  object-fit: cover;
  border-radius: 8px;
}

@keyframes scrollSlider {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* =============================== */
/* ======== CONTENT BOXES ======== */
/* =============================== */

.post-box {
  background-color: #fff;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 2rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.post-title {
  background-color: #0073e6;
  color: #fff;
  padding: 10px 15px;
  margin: -20px -20px 15px -20px;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  font-family: 'Schreibstil', cursive;
  font-size: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.post-title .post-icon {
  width: 35px;
  height: 35px;
  object-fit: contain;
}

.post-content {
  font-size: 16px;
  line-height: 1.6;
  color: #333;
}

/* =============================== */
/* ======== EVENTS STYLES ======== */
/* =============================== */

.single-tribe_events * {
  color: #fff !important;
}

.single-tribe_events .tribe-events-content a:hover {
  color: #f5f5f5 !important;
}

.widget .tribe-events-widget-events-list {
  background: #fff;
  padding: 10px;
  border-radius: 6px;
  list-style: none;
}

.widget .tribe-events-widget-events-list__event {
  border-bottom: 1px solid #ddd;
  padding: 8px 0;
}

.widget .tribe-events-widget-events-list__event:last-child {
  border-bottom: none;
}

.widget .tribe-events-widget-events-list__event-title,
.widget .tribe-events-widget-events-list__event-title a {
  color: #000 !important;
  font-weight: 600;
  text-decoration: none;
}

.widget .tribe-events-widget-events-list__event-title a:hover {
  color: #333 !important;
}

.widget .tribe-events-widget-events-list__event-date,
.widget .tribe-events-widget-events-list__event-venue {
  color: #000 !important;
  font-size: 0.9em;
  opacity: 0.8;
}

.widget .tribe-events-widget-events-list__event-image {
  display: none !important;
}

.event-title-sidebar {
  display: block;
  background-color: #0073e6;
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.event-title-sidebar:hover {
  background-color: #005bb5;
  transform: translateY(-2px);
}
/* Textfarbe im Event-Kalender auf Weiß setzen */
.tribe-events, 
.tribe-events * {
    color: #ffffff !important;
}

/* Falls Links ebenfalls geändert werden sollen */
.tribe-events a {
    color: #ffffff !important;
}
/* Blauer Balken hinter dem Titel auf EINZELNEN Event-Seiten */
.single-tribe_events .tribe-events-single-event-title {
    background-color: #0044aa !important;
    color: #ffffff !important;
    padding: 20px 30px;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* Je nach Theme muss auch der Wrapper eingefärbt werden */
.single-tribe_events .tribe-events-single-event-title-wrapper,
.single-tribe_events .tribe-events-single-header {
    background-color: #0044aa !important;
    padding: 20px 30px !important;
}

/* Sicherstellen, dass der Text weiß bleibt */
.single-tribe_events .tribe-events-single-header * {
    color: #ffffff !important;
}

/* ============ EVENTS HEADER FIX ============ */
/* ===== Event-Übersicht: Blaue Balken hinter jedem Eventtitel ===== */
.post-type-archive-tribe_events .tribe-events-calendar-list__event-title {
    background-color: #0044aa !important;
    color: #ffffff !important;
    padding: 10px 15px;
    display: block;
    border-radius: 4px;
}

/* Eventtitel-Links in der Übersicht */
.post-type-archive-tribe_events .tribe-events-calendar-list__event-title a {
    color: #ffffff !important;
    text-decoration: none;
}

/* ===== Einzel-Eventseite: Titel blau hinterlegen ===== */
.single-tribe_events .tribe-events-single-event-title {
    background-color: #0044aa !important;
    color: #ffffff !important;
    padding: 15px 20px;
    display: inline-block;
    border-radius: 4px;
}
/* =============================== */
/* =========== SHOP BOX ========== */
/* =============================== */

.shop-highlight-box {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.5rem;
  background-color: #fff;
  border: 2px solid #000;
  padding: 0.4rem 1rem;
  border-radius: 12px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 1.2rem;
}

.shop-highlight-box > ul {
  width: 100%;
}

.shop-title {
  color: #333;
  font-size: 0.9rem;
  border-bottom: 2px solid #de476d;
  padding-bottom: 2px;
  display: inline-block;
}

.shop-icon {
  height: 40px;
  margin-right: 0.5rem;
}

/* =============================== */
/* ============ FOOTER =========== */
/* =============================== */

footer {
  text-align: center;
  padding: 20px 10px;
  font-size: 14px;
  color: #000;
  background-color: #fdfdfd;
  margin-top: 40px;
  border-top: 1px solid #ddd;
}

.footer-wrapper {
  padding: 2rem;
  background-color: #fff;
  color: #000;
}

.footer-columns {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid #000;
  padding-top: 2rem;
}

.footer-column {
  flex: 1;
  min-width: 200px;
}

.footer-separator {
  width: 1px;
  background-color: #000;
  opacity: 0.5;
  margin: 0 1rem;
}

.footer-column h4 {
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.footer-column a {
  color: #000;
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}

.footer-menu-list {
  list-style: disc !important;
  padding-left: 20px;
  margin: 0;
}

.footer-menu-list li {
  margin-bottom: 6px;
}

.footer-menu-list li a {
  font-family: Arial, sans-serif !important;
  font-size: 15px !important;
  color: #000 !important;
}

.footer-copy {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-columns {
    flex-direction: column;
  }
  .footer-separator {
    display: none;
  }
}
/* =============================== */
/* ===== HEADER – DIVIDER ======== */
/* =============================== */

.header-divider {
  position: absolute; /* absolut innerhalb des Headers */
  bottom: -45px;      /* leicht über den unteren Rand hinaus */
  left: -10;
  width: 105%;
  height: 100px; /* Höhe der Trennlinie */
  background-image: url('http://nashvillebluebirds.de/wp-content/uploads/2025/11/gurtel.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  z-index: 5;
}

/* Mobile Version */
@media (max-width: 768px) {
  .header-divider {
    height: 60px;
    bottom: -15px;
  }
}