* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #200545;
  color: #fff;
  line-height: 1.6;
}

header {
  background: #6b0505;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

.logo img { height: 100px;
border-radius:50%;
width:150px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav ul li a:hover, nav ul li a.active {
  color: #1db954;
}

main { max-width: 900px; margin: 30px auto; padding: 0 20px; }
h1 { text-align: center; color: #1db954; margin-bottom: 30px; }

.song-card {
  background: #1a1a1a;
  display: grid;
  grid-template-columns: repeat(auto-fit(250px, 1f));
  gap: 20px;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.song-card img { width: 150px; height: 150px; border-radius: 8px; object-fit: cover; }
.song-info { flex: 1; }
audio { width: 100%; margin: 10px 0; }

.download-btn {
  background: #1db954;
  color: #000;
  padding: 10px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
}
.download-btn:hover { background: #1ed760; }

footer { text-align: center; padding: 20px; background: #111; margin-top: 40px; }

@media(max-width: 700px){
  .song-card { flex-direction: column; text-align: center; }
  nav ul { gap: 15px; font-size: 14px; }
}

.container { max-width: 1100px; margin: 0 auto; padding: 40px 20px; }

.hero { text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 2.5rem; color: #1db954; }
.hero p { font-size: 1.1rem; color: #ccc; margin: 20px 0 30px 0; }

.quick-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 40px; }
.link-card { background: #1a1a1a; padding: 25px; border-radius: 10px; border: 1px solid #333; text-align: center; }
.link-card h3 { color: #1db954; margin-bottom: 10px; }
.link-card a { color: #1db954; text-decoration: none; font-weight: bold; }
.link-card a:hover { text-decoration: underline; }

#searchInput {
  width: 100%;
  max-width: 500px;
  padding: 12px 15px;
  margin: 0 auto 30px auto;
  display: block;
  border: 2px solid #1db954;
  border-radius: 25px;
  background: #1a1a1a;
  color: #fff;
  font-size: 16px;
  outline: none;
}
#searchInput:focus {
  border-color: #1ed760;
}

.subscribe { background: #1a1a1a; padding: 40px 20px; text-align: center; border-radius: 10px; margin-top: 40px; }
.subscribe h2 { color: #1db954; }
.subscribe input { padding: 12px; width: 250px; border: none; border-radius: 5px; margin-right: 10px; }
.subscribe button { padding: 12px 20px; background: #1db954; color: #000; border: none; border-radius: 5px; font-weight: bold; cursor: pointer; }
.subscribe button:hover { background: #1ed760; }

/* HERO HEADER WITH PHOTO BACKGROUND */
.hero {
  background: url('../images/hero-bg.jpg') no-repeat center center/cover;
  height: 80vh; /* 80% of screen height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}

/* DARK OVERLAY SO TEXT IS READABLE */
.hero .overlay {
  background: rgba(0, 0, 0, 0.6); /* black with 60% opacity */
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.hero h1 {
  font-size: 3rem;
  color: #1db954; /* Spotify green */
  margin-bottom: 15px;
}

.hero .site-description {
  font-size: 1.2rem;
  max-width: 700px;
  margin-bottom: 25px;
  line-height: 1.6;
}

.about {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  line-height: 1.8;
}
.about h1 {
  color: #1db954;
  text-align: center;
  font-size: 2.5rem;
}
.about h2 {
  color: #333;
  margin-top: 30px;
}
.about-img {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 20px auto;
  border-radius: 12px;
}
blockquote {
  font-style: italic;
  border-left: 4px solid #1db954;
  padding-left: 15px;
  margin: 30px 0;
  color: #555;
}

.quick-links{
  display: grid;
  grid-template-columns: repeat(auto-fit(250px, 1f));
  gap: 20px;
  padding: 20px;
}

.quick-link-box{
  background: orange;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: 0.3s;
  height: 100%;
}

.quick-link-box:hover{
  transform: translateY(-5px);
}

.quick-link-box image{
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.quick-link-content h3{
  font-size: 18px;
  margin: 0 0 10px;
  color: #fff;
}

.quick-link-content p{
  font-size: 14px;
  color: #aaa;
  flex-grow: 1;
}

.quick-link-content a{
  margin-top: 10px;
  padding: 10px;
  background: #1f0354;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  display: block;
}

.container {
  max-width: 800px;
  margin: 30px auto;
  padding: 20px;
}

.announcement-box {
  background: #1a1a1a;
  border: 2px solid #e50914;
  border-radius: 12px;
  padding: 30px;
  color: #fff;
  line-height: 1.7;
}

.announcement-box h2 {
  color: #e50914;
  text-align: center;
  margin-bottom: 15px;
}

.announcement-box h3 {
  margin-top: 20px;
  color: #fff;
}

.announcement-box ol {
  margin-left: 20px;
}

.fee-notice {
  background: #2a2a2a;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
}

.contact-note a {
  color: #e50914;
  text-decoration: none;
  font-weight: bold;
}

/* TICKER / NEWS BAR */
.ticker-wrap {
  width: 100%;
  background: #e50914; /* DJKBM red */
  color: white;
  padding: 12px 0;
  overflow: hidden; /* hides the text outside */
  font-size: 16px;
  font-weight: 600;
}

.ticker {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%; /* starts off screen right */
  animation: scroll-left 40s linear infinite;
}

.ticker span {
  display: inline-block;
  padding-right: 100%; /* space before it loops again */
}

/* ANIMATION */
@keyframes scroll-left {
 0% {
    transform: translateX(0);
  }
 100% {
    transform: translateX(-100%);
  }
}

/* PAUSE ON HOVER */
.ticker-wrap:hover .ticker {
  
}

/* MOBILE RESPONSIVE FIX */
@media (max-width: 768px) {

  header {
    display: flex;
    flex-direction: column; /* stack logo on top of nav */
    align-items: center;
    text-align: center;
    padding: 10px;
  }

  header img.logo { /* if your logo has class="logo" */
    width: 120px; /* make logo smaller on mobile */
    height: auto;
    margin-bottom: 10px;
  }

  nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* allows Home About Download to wrap */
  }

  nav a {
    font-size: 14px;
    padding: 5px 8px;
  }

  .search-bar {
    width: 90%; /* make search bar fit screen */
    margin: 10px auto;
  }

  h1, h2 {
    font-size: 28px; /* make "Welcome to DJKBM" smaller */
    line-height: 1.3;
    padding: 0 10px;
  }

  .container {
    padding: 15px;
  }

  
  .Section placement{
    background: orange;
  padding: 15px;
  border-radius: 8px;
  margin: 20px 0;
  text-align: center;
  }

  /* GRID LAYOUT FOR SONG LIST */
#song-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
  gap: 20px;
  padding: 20px 0;
}

.song-card {
  background: #0d001a;
  padding: 15px;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid #333;
}

.song-card:hover {
  transform: translateY(-5px);
  border: 1px solid #00ff88;
}

.song-card img {
  width: 100%;
  height: 180px;
  border-radius: 10px;
  object-fit: cover;
  margin-bottom: 10px;
}

.song-card h3 {
  font-size: 16px;
  margin: 8px 0;
  color: #fff;
  min-height: 40px; /* keeps titles aligned */
}

.song-card audio {
  width: 100%;
  height: 35px;
  margin: 10px 0;
}

.upload-date {
  color: #aaa;
  font-size: 12px;
  margin: 0;
}

.download-btn {
  display: block;
  background: #00ff88;
  color: #000;
  padding: 10px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 10px;
}
.download-btn:hover {
  background: #00cc66;
}

/* TABLET: 2 COLUMNS */
@media (max-width: 900px) {
  #song-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* MOBILE: 1 COLUMN */
@media (max-width: 600px) {
  #song-list {
    grid-template-columns: 1fr;
  }
  .song-card img {
    height: 200px;
  }
}