/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Full-width hero section */
.albums-hero {
  position: relative;
  height: 60vh;
  min-height: 400px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../images/hero5.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.2em;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Filter bar */
.albums-filter-bar {
  background-color: var(--card-bg);
  padding: 2rem 0;
  width: 100%;
  border-bottom: 1px solid var(--border-color);
}

.filter-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.filter-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.filter-option {
  color: var(--secondary-color);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s ease;
}

.filter-option:hover,
.filter-option.active {
  color: var(--primary-color);
}

.filter-option.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--accent-color);
}

/* Full-width albums grid */
.albums-grid-section {
  width: 100%;
  padding: 10px;
  background-color: var(--bg-color);
}

.albums-grid-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  margin: 0;
}

/* Album card with subtle hover effect - same as homepage */
.album-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: var(--card-bg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="light"] .album-card {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

[data-theme="light"] .album-card:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.album-image-container {
  position: relative;
  width: 100%;
  height: 100%;
}

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

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

/* Album info - same style as homepage */
.album-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2rem;
  transition: var(--transition);
}

.album-info h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.album-count {
  font-size: 1.4rem;
  color: #ffffff;
}

/* Load more section */
.load-more-section {
  padding: 4rem 0;
  text-align: center;
  background-color: var(--bg-color);
}

.load-more-button {
  background: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding: 1rem 3rem;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.load-more-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  transition: left 0.3s ease;
  z-index: -1;
}

.load-more-button:hover {
  color: var(--dark-color);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(130, 168, 83, 0.3);
}

.load-more-button:hover::before {
  left: 0;
}

.load-more-button.loading span {
  opacity: 0.5;
}

/* No albums message */
.no-albums {
  padding: 4rem 2rem;
  text-align: center;
  background-color: var(--bg-color);
  color: var(--secondary-color);
}

.no-albums a {
  color: var(--primary-color);
  text-decoration: underline;
}

/* Responsive design */
@media (max-width: 1200px) {
  .albums-grid-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .albums-grid-section {
    padding: 10px;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .albums-grid-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .albums-grid-section {
    padding: 10px;
  }

  .filter-options {
    gap: 1rem;
  }

  .filter-option {
    font-size: 1rem;
  }

  .album-info {
    padding: 1.5rem;
  }

  .album-info h3 {
    font-size: 1.8rem;
  }

  .album-count {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .albums-grid-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .albums-grid-section {
    padding: 10px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .filter-options {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .album-info {
    padding: 1.2rem;
  }

  .album-info h3 {
    font-size: 1.6rem;
  }

  .album-count {
    font-size: 1.1rem;
  }
}

/* Animation classes */
.fade-in {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}
