/* styles.css */

/* Root Variables */
:root {
  --primary-color: #1a1a1a;
  --accent-color: #FF6B6B;
  --text-light: #ffffff;
  --text-secondary: #cccccc;
  --bg-color: #2a2a2a;
  --bg-alt-color: #343729;
}

/* Base Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-light);
  padding-top: 80px; /* Adjust for header */
  min-height: 100vh;
}

/* Header */
header {
  background: linear-gradient(135deg, #2c3e50, #3498db);
  color: var(--text-light);
  padding: 1.2rem;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: var(--primary-color);
  color: var(--text-secondary);
  padding: 1rem;
  text-align: center;
  margin-top: auto;
}

/* Headings */
h1 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

h2 {
  margin: 0;
  font-size: 1.25rem;
  font-style: oblique;
}

h3 {
  margin: 0;
  font-style: italic;
  font-size: 0.75rem;
}

/* Grid Container for Albums */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Album Card */
.album-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.album-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.album-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 2px solid var(--accent-color);
}

.album-card div {
  padding: 1rem;
  font-weight: 600;
  color: var(--text-light);
  text-align: center;
}

/* Music Container */
.music-container {
  margin: 2rem auto;
  max-width: 800px;
  padding: 1rem;
  color: burlywood;
}

/* Audio Element */
audio {
  width: 100%;
  max-width: 600px;
  margin: 1rem 0;
}

/* Button Styles */
.button-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 2rem 0;
  flex-wrap: wrap;
}

button {
  background: var(--accent-color);
  color: var(--text-light);
  border: none;
  padding: 12px 24px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
  min-width: 150px;
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* Anchor Links */
a {
  color: antiquewhite;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: aquamarine;
}

/* Iframe Styles */
iframe {
  width: 90%;
  height: 315px;
  margin: 1rem 0;
  border: none;
  border-radius: 10px;
  padding: 5px;
}

/* Paragraphs */
p {
  padding-bottom: 30px;
}

/* Social Links */
.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.2);
  flex-wrap: wrap;
}

.social-links a {
  color: var(--text-secondary);
  font-weight: 500;
}

/* Media Queries for Mobile */
@media (max-width: 1024px) {
  header {
      padding: 1rem;
      font-size: 0.9rem;
  }

  .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
      padding: 1.5rem;
  }

  .album-card img {
      height: 180px;
  }

  iframe {
      width: 95%;
      height: 250px;
  }

  button {
      min-width: 120px;
      padding: 10px 20px;
      font-size: 0.9rem;
  }
}

@media (max-width: 768px) {
  header {
      font-size: 0.85rem;
      padding: 0.8rem;
  }

  .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
      padding: 1rem;
  }

  .album-card img {
      height: 160px;
  }

  iframe {
      width: 100%;
      height: 220px;
  }

  button {
      min-width: 100px;
      padding: 8px 18px;
      font-size: 0.85rem;
  }

  h1 {
      font-size: 1.5rem;
  }

  h2 {
      font-size: 1rem;
  }
}

@media (max-width: 480px) {
  header {
      padding: 0.6rem;
      font-size: 0.75rem;
  }

  .grid-container {
      grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
      padding: 0.8rem;
  }

  .album-card img {
      height: 140px;
  }

  iframe {
      height: 200px;
  }

  button {
      padding: 6px 16px;
      font-size: 0.8rem;
  }

  h1 {
      font-size: 1.3rem;
  }

  h2 {
      font-size: 0.9rem;
  }
}