/*
Theme Name: StreamerZoneX Modern Header
Theme URI: https://streamerzonex.example
Author: Dein Name
Author URI: https://deine-website.example
Description: Modernes, rotes Header-Layout für StreamerZoneX (Header, Footer, responsive Navigation).
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: streamerzonex
Tags: streaming, modern, rot, responsive
*/

/* Basic reset */
* { margin: 0; padding: 0; box-sizing: border-box; }

html, body { height: 100%; }

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0d0d0d;
  color: #f5f5f5;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Site header */
.site-header {
  width: 100%;
  background: linear-gradient(90deg, #8b0000, #ff1a1a);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
  border-bottom: 2px solid rgba(255,51,51,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
}

/* Logo */
.logo .site-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
}

/* Nav */
.main-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Primary menu */
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  transition: background 0.18s ease, transform 0.12s ease;
}

.main-nav a:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-2px);
}

/* CTA button style inside nav */
.nav-cta {
  background: rgba(255,51,51,1);
  padding: 0.45rem 0.9rem;
  border-radius: 10px;
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: 700;
}

.nav-cta:hover { background: #cc0000; transform: scale(1.03); }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  margin-left: 0.5rem;
}

.nav-toggle .hamburger {
  width: 22px;
  height: 2px;
  background: #fff;
  display: block;
  position: relative;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 22px;
  height: 2px;
  background: #fff;
  transition: transform 0.2s ease;
}

.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after  { top: 7px; }

/* Mobile menu closed by default */
#primary-menu { display: flex; }

/* Hero fallback styles for index content */
.site-main {
  padding: 3rem 0;
  min-height: calc(100vh - 180px);
}

.site-main .home-hero {
  text-align: center;
  padding: 3rem 1rem;
}

.site-main h1 { color: #ff1a1a; font-size: 2.4rem; margin-bottom: 1rem; }
.site-main p { color: #ddd; max-width: 900px; margin: 0 auto 2rem; }

/* Footer */
.site-footer {
  background: #111;
  color: #bdbdbd;
  padding: 1.2rem 0;
  border-top: 3px solid rgba(255,51,51,0.08);
  text-align: center;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 900px) {
  .header-inner { padding: 0.7rem 0; }
  #primary-menu { display: none; position: absolute; right: 1rem; top: 100%; background: rgba(10,10,10,0.95); padding: 1rem; border-radius: 8px; box-shadow: 0 8px 30px rgba(0,0,0,0.6); min-width: 200px; flex-direction: column; gap: 0.6rem; }
  #primary-menu.is-open { display: flex; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .main-nav ul { flex-direction: column; gap: 0; }
  .main-nav a { padding: 0.6rem 0.9rem; }
}

/* Accessibility helpers */
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); padding: 0; border: 0; height: 1px; width: 1px; overflow: hidden; }
