/* Smooth animated gradient background */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  display: flex;
  min-height: 100vh;
  background: linear-gradient(-45deg, #000000, #800000, #ff3300, #330000);
  background-size: 400% 400%;
  animation: gradientShift 15s ease infinite;
  color: white;
  overflow-x: hidden;
}

@keyframes gradientShift {
  0% {background-position: 0% 50%;}
  50% {background-position: 100% 50%;}
  100% {background-position: 0% 50%;}
}

/* Sidebar */
.sidebar {
  width: 220px;
  background: rgba(20,0,0,0.9);
  backdrop-filter: blur(8px);
  padding-top: 40px;
  position: fixed;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s ease;
  z-index: 1000;
}

.sidebar a {
  display: block;
  color: #ff3300;
  padding: 15px 25px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.sidebar a:hover {
  background: #ff3300;
  color: #000;
}

/* Content */
.content {
  margin-left: 220px;
  padding: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 1s forwards;
  text-align: center;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Buttons */
.link-button {
  display: block;
  width: 100%;
  max-width: 400px;
  margin: 20px auto;
  padding: 20px;
  background: #ff3300;
  color: #fff;
  text-decoration: none;
  font-size: 1.3em;
  font-weight: bold;
  text-align: center;
  border-radius: 25px;
  box-shadow: 0 0 15px rgba(255, 51, 0, 0.6);
  transition: all 0.3s ease;
}

.link-button:hover {
  background: #660000;
  color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 51, 0, 0.9);
  transform: scale(1.05);
}

/* Headings */
.content h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ff3300;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.6);
}

/* ---------- Gallery ---------- */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  border: 2px solid #ff3300;
  box-shadow: 0 0 15px rgba(255, 51, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img,
.gallery-item iframe {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
  border-radius: 15px;
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 0 25px rgba(255, 51, 0, 0.8);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Responsive YouTube embeds */
.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 15px;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

/* ---------- MOBILE SIDEBAR ---------- */
.menu-toggle {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  font-size: 2em;
  color: #ff3300;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

/* ---------- MOBILE FIXES ---------- */
@media (max-width: 1024px) {
  .gallery-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sidebar {
    transform: translateX(-100%);
  }
  .sidebar.active {
    transform: translateX(0);
  }
  .content {
    margin-left: 0;
    padding: 20px;
  }
  .menu-toggle {
    display: block;
  }

  /* ✅ Scale down logo & headings */
  .content img {
    width: 160px;
  }
  .content h1 {
    font-size: 2em;
  }

  /* ✅ Stack buttons with equal spacing */
  .link-button {
    max-width: 90%;
    padding: 15px;
    margin: 15px auto;
    font-size: 1.1em;
  }

  /* ✅ Gigs and Members grid fix */
  .gigs-container,
  .members-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .gig-card,
  .member-card,
  .contact-card {
    width: 90%;
    padding: 15px;
    margin: 0 auto;
  }

  /* ✅ Contact form inputs scale */
  #contact-form input,
  #contact-form textarea,
  #contact-form button {
    font-size: 1em;
  }
}
