/* =========================================
   CSS Variables & Theming
   ========================================= */
:root {
  /* Farben laut Vorgabe */
  --bg-dark: #121214;
  --bg-box: #26262b;
  --accent: #00ff66;
  
  /* Textfarben */
  --text-main: #f0f0f0;
  --text-muted: #a0a0a0;
  
  /* Typografie */
  --font-heading: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Effekte */
  --radius: 8px;
  --transition: all 0.3s ease;
}

/* =========================================
   Reset & Base Styles
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  background-color: var(--bg-dark);
}

body {
  font-family: var(--font-body);
  background-color: transparent;
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  opacity: 0;
  animation: pageFadeIn 0.25s ease-out forwards;
}

a {
  color: var(--text-main);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--accent);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Typografie */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
  background-color: var(--bg-box);
  border-bottom: 2px solid #1f1f23;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo a {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent);
}

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

.main-nav a {
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-nav a.active {
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
  padding-bottom: 5px;
}

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  border-radius: 20px;
  padding: 5px 15px;
  border: 1px solid transparent;
  transition: var(--transition);
}

.search-bar:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.search-bar input {
  background: transparent;
  border: none;
  color: var(--text-main);
  outline: none;
  padding: 5px;
  font-family: var(--font-body);
  width: 150px;
}

.search-bar button {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.search-bar button:hover {
  color: var(--accent);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  cursor: pointer;
}

/* =========================================
   Hero Section
   ========================================= */
.hero {
  position: relative;
  height: 500px;
  background-image: linear-gradient(to top, var(--bg-dark) 0%, rgba(18, 18, 20, 0.5) 100%), url('https://images.unsplash.com/photo-1598387181032-a3103a2db5b3?auto=format&fit=crop&q=80&w=1600&h=600');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 600px;
}

.hero-tag {
  display: inline-block;
  background-color: var(--accent);
  color: var(--bg-dark);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  padding: 5px 10px;
  font-size: 14px;
  margin-bottom: 15px;
  border-radius: 4px;
}

.hero-title {
  font-size: 48px;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

.hero-desc {
  font-size: 18px;
  color: #ddd;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
}

.btn {
  display: inline-block;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.btn-primary:hover {
  background-color: #00d656;
  color: var(--bg-dark);
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.4);
}

/* =========================================
   Main Layout & Filter
   ========================================= */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 60px 20px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
  border-bottom: 2px solid var(--bg-box);
  padding-bottom: 15px;
}

.section-header h2 {
  font-size: 32px;
}

.filter-controls {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--text-main);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
  font-weight: 600;
}

/* =========================================
   Review Grid & Cards
   ========================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
}

.review-card {
  background-color: var(--bg-box);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  /* For JS filtering animation */
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.review-card.hidden {
  display: none;
}

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

.card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.review-card:hover .card-image img {
  transform: scale(1.05);
}

.rating-box {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid var(--text-muted);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.rating-box.rating-high {
  color: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.2);
}

.card-content {
  padding: 15px;
}

.genre-tag {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
}

.band-name {
  font-size: 18px;
  margin-bottom: 2px;
}

.album-title {
  font-size: 14px;
  color: var(--text-muted);
}

/* =========================================
   Sidebar
   ========================================= */
.widget {
  background-color: var(--bg-box);
  padding: 25px;
  border-radius: var(--radius);
  margin-bottom: 30px;
}

.widget-title {
  font-size: 20px;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.widget p {
  color: var(--text-muted);
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  background-color: var(--bg-dark);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.social-links a:hover {
  background-color: var(--accent);
  color: var(--bg-dark);
}

.tour-list li {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
}

.tour-list li:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.tour-date {
  background-color: var(--bg-dark);
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  padding: 5px;
  border-radius: 4px;
  min-width: 50px;
}

.tour-info {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.4;
}

.tour-info strong {
  color: var(--text-main);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background-color: var(--bg-box);
  padding: 40px 0;
  border-top: 2px solid #1f1f23;
  margin-top: 40px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
}

.footer-logo span {
  color: var(--accent);
}

.copyright {
  font-size: 13px;
  color: var(--text-muted);
  font-family: var(--font-body);
  margin-top: 5px;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent);
}

/* =========================================
   Responsive Design
   ========================================= */
@media (max-width: 992px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 60px;
  }
  
  .main-nav, .search-bar {
    display: none; /* In a real app, toggle via JS */
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title {
    font-size: 32px;
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* =========================================
   Über Uns Page
   ========================================= */
.page-header {
  background-color: var(--bg-box);
  padding: 60px 0;
  text-align: center;
  border-bottom: 2px solid #1f1f23;
}

.page-header h1 {
  font-size: 40px;
  color: var(--text-main);
  margin-bottom: 10px;
}

.page-header p {
  color: var(--accent);
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: 1px;
}

.about-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 50px;
  padding: 60px 20px;
}

.about-content h2 {
  font-size: 32px;
  margin-bottom: 25px;
  color: var(--accent);
}

.about-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--text-main);
  line-height: 1.8;
}

.shoutout-box {
  background-color: var(--bg-box);
  padding: 30px;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  margin-top: 40px;
}

.shoutout-box h3 {
  font-size: 24px;
  margin-bottom: 15px;
}

.shoutout-box p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.profile-widget {
  text-align: center;
}

.profile-image {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 3px solid var(--accent);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-details {
  text-align: left;
  margin-top: 25px;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
}

.profile-details h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.genre-tags span {
  background-color: var(--bg-dark);
  color: var(--accent);
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--accent);
}

.top-albums {
  list-style-position: inside;
  color: var(--text-muted);
  font-size: 14px;
}

.top-albums li {
  margin-bottom: 8px;
}

.top-albums strong {
  color: var(--text-main);
}

@media (max-width: 992px) {
  .about-layout {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   News Page
   ========================================= */
.news-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  padding: 60px 20px;
}

.news-feed {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.news-item {
  display: flex;
  background-color: var(--bg-box);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 200px;
}

.news-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  border-left: 4px solid var(--accent);
}

.news-thumb {
  width: 250px;
  min-width: 250px;
  height: 100%;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-meta {
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 8px;
}

.news-meta span {
  color: var(--text-muted);
  margin-left: 10px;
}

.news-item h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--text-main);
}

.news-item p {
  color: var(--text-muted);
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trending-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.trending-item {
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px dashed rgba(255,255,255,0.1);
  padding-bottom: 15px;
  transition: var(--transition);
}

.trending-item:hover {
  transform: translateX(5px);
}

.trending-item:last-child {
  border-bottom: none;
}

.trending-rank {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--text-muted);
  font-weight: 700;
  opacity: 0.3;
}

.trending-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
}

.trending-title:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .news-layout {
    grid-template-columns: 1fr;
  }
  .news-item {
    flex-direction: column;
    height: auto;
  }
  .news-thumb {
    width: 100%;
    height: 200px;
  }
}

/* =========================================
   Page Transitions
   ========================================= */
body.fade-out {
  opacity: 0 !important;
  transition: opacity 0.2s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
