:root {
  --deep-violet: #2C003E;
  --dark-blue: #0D1B2A;
  --gold: #D4AF37;
  --black: #000000;
  --cream: #FFF8DC;
  --web-overlay: rgba(0, 0, 0, 0.4);
  --text-color: var(--cream);
  --focus-outline: 2px solid var(--gold);
  --transition-speed: 0.3s;
}

/* Basic Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden; /* Prevents horizontal scrolling */
  transition: background var(--transition-speed) ease;
}

a {
  text-decoration: none;
  color: inherit;
  outline: none;
  transition: color var(--transition-speed) ease;
}

a:focus {
  outline: var(--focus-outline);
}

button:focus {
  outline: var(--focus-outline);
}

/* NEW: Mobile-Responsive Navigation Bar */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 10px 0;
  z-index: 100;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

#main-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

#main-nav ul.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 50px;
  left: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  text-align: center;
}

#main-nav ul li {
  margin: 15px 0;
}

#main-nav ul li a {
  color: var(--gold);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  transition: color var(--transition-speed) ease;
  padding: 12px 20px; /* Increased padding for larger buttons */
  border-radius: 8px; /* Slightly less rounded corners */
  display: block; /* Make links fill the list item */
}

#main-nav ul li a:hover {
  color: var(--cream);
  background: rgba(212, 175, 55, 0.2);
}

/* Hamburger Menu (for mobile) */
.menu-toggle {
  display: none;
  flex-direction: column; /* Stack the bars */
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle .bar {
  width: 30px;
  height: 3px;
  background-color: var(--gold);
  margin: 3px 0;
  transition: background-color 0.3s ease;
}

/* HERO SECTION */
#hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding: 0;
  margin: 0;
  background-color: var(--dark-blue); /* Fallback color */
  background-size: cover;
  background-position: center;
  transition: background var(--transition-speed) ease;
}

/* Style the video background */
#hero .bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1; /* set opacity to 1 */
  z-index: 1; /* Place behind content */
  /* Add vendor prefixes for maximum compatibility */
  -webkit-transform: translateZ(0);
  -ms-transform: translateZ(0);
  transform: translateZ(0);
}

.hero-content {
  padding: 20px;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 980px;
}

/* New Social Links in Hero */
.hero-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.hero-social-btn {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  transition: background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-social-btn img {
  width: 24px;
  height: 24px;
  margin-right: 8px;
}

.hero-social-btn:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Specific social button styles */
.hero-social-btn.spotify {
  background: #1DB954;
  color: white;
}

.hero-social-btn.instagram {
  background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
  color: white;
}

.hero-social-btn.youtube {
  background: #FF0000;
  color: white;
}

.hero-social-btn.apple-music {
  background: linear-gradient(45deg, #FB233B, #FF0000);
  color: white;
}

.hero-social-btn.deezer {
  background: #00C7F2;
  color: white;
}

.hero-social-btn.amazon-music {
  background: #00A8E1;
  color: white;
}

.hero-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Improved Spiderweb Lines */
#spiderCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: 0.7;
  filter: blur(1px);
  transition: opacity var(--transition-speed) ease;
}

.artist-name {
  font-family: 'Cinzel', serif;
  font-size: 4em;
  margin-bottom: 0.5em;
  color: #000000;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
  animation: flame 2s infinite alternate;
}

/* Keyframes für die Flame-Animation */
@keyframes flame {
  0% {
    text-shadow: 0 0 5px #fff, 0 0 10px #f8c700, 0 0 15px #f00, 0 0 20px #f00; /* More intense at start */
  }
  100% {
    text-shadow: 0 0 8px #fff, 0 0 15px #ffc700, 0 0 25px #f00, 0 0 35px #f00; /* Even more intense at end */
  }
}

.slogan {
  font-size: 1.5em;
  color: #ddd;
  font-style: italic;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  margin: 1.5rem 0;
  transition: color var(--transition-speed) ease, text-shadow var(--transition-speed) ease;
}

.cta-buttons {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap; /* Allow buttons to wrap to the next line */
  justify-content: center; /* Center buttons horizontally */
  gap: 15px; /* Add some space between buttons */
}

.cta-btn {
  display: inline-block;
  /* margin: 0 15px; Remove individual margins */
  padding: 15px 40px;
  background: linear-gradient(45deg, var(--gold), #FFD700);
  color: var(--text-color);
  border: none;
  border-radius: 50px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
  font-size: 1.1rem;
  max-width: 180px; /* Limit the button width */
  text-align: center; /* Center text within the button */
}

/* Distinct styling for Spotify button */
.cta-btn.spotify-btn {
  background: #1DB954;
  color: #ffffff;
  border-radius: 50px;
}

/* Distinct styling for Instagram button */
.cta-btn.insta-btn {
  background: linear-gradient(45deg, #833AB4, #FD1D1D, #F77737);
  color: #ffffff;
  border-radius: 50px;
}

/* Hover states for improved UX */
.cta-btn.spotify-btn:hover,
.cta-btn.spotify-btn:focus {
  background: #1ed760;
}

.cta-btn.insta-btn:hover,
.cta-btn.insta-btn:focus {
  background: linear-gradient(45deg, #9B59B6, #ff4e4e, #ff8c42);
}

.cta-btn:hover,
.cta-btn:focus {
  transform: translateY(-3px);
  box-shadow: 0 0 10px var(--gold), 0 0 20px var(--gold);
}

/* SOCIAL MEDIA & MUSIC LINKS */
#social-links {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 30px 20px;
  margin: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  display: none;
  transition: background var(--transition-speed) ease, backdrop-filter var(--transition-speed) ease;
}

.social-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;
  align-items: center;
}

.social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #fff;
  text-decoration: none;
  transition: transform 0.3s ease;
  position: relative;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.8), rgba(139, 0, 0, 0.8));
  border-radius: 20px;
  border: 1px solid var(--gold);
}

.social-icon:hover,
.social-icon:focus {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2);
}

/* Hover-Effekt: Simuliert Spinnenfäden */
.social-icon::after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gold);
  transition: width var(--transition-speed) ease;
}

.social-icon:hover::after,
.social-icon:focus::after {
  width: 70%;
}

.social-icon img {
  width: 50px;
  height: 50px;
  margin-bottom: 8px;
}

.social-icon span {
  font-size: 0.9rem;
}

/* BIOGRAFIE */
#about {
  padding: 60px 20px;
  text-align: center;
  font-size: 1.3rem;
  background: linear-gradient(135deg, rgba(128, 0, 32, 0.9), rgba(139, 0, 0, 0.9));
  margin: 20px;
  border-radius: 10px;
  backdrop-filter: blur(12px);
  border: 1px solid var(--gold);
  color: var(--cream);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: background var(--transition-speed) ease, border var(--transition-speed) ease, color var(--transition-speed) ease, transform var(--transition-speed) ease;
}

#about:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

#about blockquote {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-size: 1.8rem;
  border-left: 4px solid var(--gold);
  padding-left: 2rem;
  margin: 2rem 0;
  transition: color var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

#about p {
  margin-bottom: 1.2rem;
  padding: 0 10px;
}

/* VIDEO-SEKTION (OPTIONAL) */
#video-section {
  position: relative;
  height: 70vh;
  overflow: hidden;
  margin: 20px;
  border-radius: 10px;
  transition: transform var(--transition-speed) ease;
}

#video-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
}

.bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.9);
  color: #888;
  font-size: 0.9em;
  border-top: 1px solid var(--gold);
  transition: background var(--transition-speed) ease, border-color var(--transition-speed) ease;
  margin-top: 20px;
}

footer a {
  color: #ddd;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

footer a:hover {
  color: #fff;
}

/* Visually hidden (für Screenreader) */
.visually-hidden {
  position: absolute;
  left: -9999px;
  top: -9999px;
}

/* Media Query for Mobile Devices */
@media (max-width: 768px) {
  #main-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  #main-nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    text-align: center;
  }

  #main-nav ul.active {
    display: flex;
  }

  #main-nav ul li {
    margin: 15px 0;
  }

  .menu-toggle {
    display: flex;
    align-self: flex-end;
  }

  #hero {
    min-height: auto;
    padding-top: 80px;
    padding-bottom: 40px;
  }

  .hero-content {
    padding: 15px;
    width: 90%;
    margin: 0 auto;
  }

  .artist-name {
    font-size: 2.5rem;
  }

  .hero-social-links {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .hero-social-btn {
    width: 100%; /* Make buttons full width */
    max-width: 180px; /* Limit the width */
    justify-content: center; /* Center the content */
    padding: 10px 20px; /* Adjust padding */
    font-size: 0.9rem; /* Smaller font size */
  }

  .hero-social-btn img {
    width: 20px;
    height: 20px;
  }

  #acerca, #musica, #tour, #tienda, #contacto {
    margin: 10px;
    padding: 30px 15px;
  }

  .section-title {
    font-size: 2rem;
  }

  /* Hide the original social grid on mobile */
  #social-links {
    display: none;
  }

  .hero-content {
    margin-left: 0;
    text-align: center;
    background: none;
    border: none;
    backdrop-filter: none;
    padding: 1rem;
  }

  .artist-name {
    font-size: 3rem;
  }

  .slogan {
    display: none;
  }

  /* NEW: Style adjustments for social media buttons in mobile view */
  .hero-social-links {
    flex-direction: column; /* Stack the buttons */
    width: 100%;
    gap: 8px; /* Reduce gap for smaller screens */
  }

  .hero-social-btn {
    width: 100%; /* Make buttons full width */
    max-width: 180px; /* Limit the width */
    justify-content: center; /* Center the content */
    padding: 10px 20px; /* Adjust padding */
    font-size: 0.9rem; /* Smaller font size */
  }

  .hero-social-btn img {
    width: 20px; /* Smaller icon size */
    height: 20px;
  }
}

/* SHOP SECTION Styling */
.shop-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.shop-item {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.shop-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.5);
  background: rgba(0, 0, 0, 0.7);
}

.shop-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* Additional Element Styling */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 30px;
  color: #e4d4a6; /* Gold color for titles */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Title shadow for emphasis */
  transition: color var (--transition-speed) ease, transform var (--transition-speed) ease;
}

.section-title:hover {
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.tour-dates {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.tour-dates li {
  padding: 15px;
  margin-bottom: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #e4d4a6;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.tour-dates li strong {
  color: #e4d4a6;
}

.tour-dates li .countdown {
  float: right;
  font-size: 0.8em;
  color: #ccc;
}

.music-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form label {
  font-size: 1em;
  color: #ddd;
}

.contact-form input,
.contact-form textarea {
  padding: 10px;
  border-radius: 5px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.contact-form button {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  background-color: #e4d4a6;
  color: #000;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #c8b075;
}

/* Style the music toggle button */
#music-toggle {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1000; /* Ensure it's above other elements */
  transition: background-color 0.3s ease;
}

#music-toggle:hover {
  background-color: rgba(0, 0, 0, 0.7);
}

#music-icon {
  width: 24px;
  height: auto;
}
