/* Mix Listings - Front Page & Archives - Refactored with Color Variables */

/* Hero Sections - Updated to match mix pages */
.mix-archive-hero,
.front-page-hero {
  background: var(--primary);
  color: white;
  padding: 120px 0 80px;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.mix-archive-hero::before,
.front-page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.9;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
}

.hero-subtitle {
  font-size: 24px;
  font-weight: 300;
  opacity: 0.95;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
  color: white;
}

/* Mix Navigation Tabs */
.mix-navigation {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  margin-bottom: 60px;
  position: sticky;
  margin-top: -55px; /* Account for header height */
  z-index: 100;
  backdrop-filter: blur(10px);
}

.mix-nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mix-nav-tabs {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.mix-nav-tabs::-webkit-scrollbar {
  display: none;
}

.mix-nav-tabs li {
  margin: 0;
  flex-shrink: 0;
}

.mix-nav-tabs a {
  display: block;
  padding: 20px 32px;
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.mix-nav-tabs a:hover {
  color: var(--primary);
  background: var(--primary-bg-light);
}

.mix-nav-tabs a.active,
.mix-nav-tabs a strong {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--primary-bg-light);
}

/* Mix Grid */
.mix-listings-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.mix-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

/* Individual Mix Cards */
.mix-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px var(--shadow-light);
  position: relative;
  display: flex;
  flex-direction: column;
}

.mix-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 32px var(--shadow-medium);
  border-color: var(--primary-border);
}

.mix-card-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--border);
}

.mix-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

/* Play Button Overlay */
.mix-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--overlay-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(2px);
}

.mix-card:hover .mix-play-overlay {
  opacity: 1;
}

.mix-play-btn {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white-95);
  color: var(--primary);
  border: none;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px var(--black-20);
}

.mix-play-btn:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.3);
}

.mix-play-btn:active {
  transform: scale(0.95);
}

/* Mix Info Badge */
.mix-info-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--black-80);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
}

/* Mix Source Badge */
.mix-source-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 6px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
}

.mix-source-badge.soundcloud {
  background: rgba(255, 85, 0, 0.9);
  color: white;
}

.mix-source-badge.mp3 {
  background: rgba(37, 99, 235, 0.9);
  color: white;
}

.mix-source-badge i {
  font-size: 12px;
}

/* Mix Card Content */
.mix-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mix-card-date {
  color: var(--light-text);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mix-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 12px 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mix-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mix-card-title a:hover {
  color: var(--primary);
}

.mix-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.mix-card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.mix-card-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.mix-card-author-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--medium-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  transition: color 0.2s ease;
}

.mix-card-author-name:hover {
  color: var(--primary);
  text-decoration: none;
}

/* Clickable Category Tags */
.mix-card-category {
  background: var(--primary-bg-medium);
  color: var(--primary);
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.mix-card-category:hover {
  background: var(--primary-bg-medium);
  color: var(--primary-dark);
  text-decoration: none;
  transform: translateY(-1px);
}

/* Recent Mixes Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-text);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 18px;
  color: var(--light-text);
  margin: 0;
}

/* More Mixes Button */
.more-mixes-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--primary);
  color: white;
  padding: 16px 32px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  margin: 40px auto 0;
  display: block;
  width: fit-content;
  box-shadow: 0 4px 16px var(--shadow-primary);
}

.more-mixes-btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
  color: white;
  text-decoration: none;
}

.more-mixes-btn i {
  transition: transform 0.3s ease;
}

.more-mixes-btn:hover i {
  transform: translateX(4px);
}


/* DJ Profiles Styles - Reusing existing components */

/* DJ Profiles Grid - Similar to mix grid */
.dj-profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.dj-profile-card {
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 8px var(--shadow-light);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.dj-profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px var(--shadow-medium);
  border-color: var(--primary-border);
}

.dj-profile-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.dj-profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.dj-profile-card:hover .dj-profile-image img {
  transform: scale(1.05);
}

.dj-profile-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dj-profile-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 16px 0;
}

.dj-profile-name a {
  color: var(--dark-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.dj-profile-name a:hover {
  color: var(--primary);
}

.dj-profile-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.dj-profile-location {
  font-size: 14px;
  color: var(--light-text);
  display: flex;
  align-items: center;
  gap: 6px;
}

.dj-profile-social {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.dj-profile-social .social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.dj-profile-social .social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--shadow-heavy);
}

.dj-profile-social .social-link.soundcloud {
  background: var(--soundcloud-color);
}

.dj-profile-social .social-link.instagram {
  background: var(--instagram-color);
}

.dj-profile-social .social-link.facebook {
  background: var(--facebook-color);
}

.dj-profile-social .social-link.bandcamp {
  background: var(--bandcamp-color);
}

.dj-profile-social .social-link.website {
  background: var(--gray-600);
}

.dj-profile-bio {
  font-size: 15px;
  line-height: 1.6;
  color: var(--medium-text);
  margin-bottom: 20px;
  flex: 1;
}

.dj-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-top: auto;
}

.dj-profile-link i {
  transition: transform 0.2s ease;
}

.dj-profile-link:hover {
  color: var(--primary-dark);
}

.dj-profile-link:hover i {
  transform: translateX(4px);
}

/* Single DJ Profile Hero */
.dj-profile-hero {
  background: var(--primary);
  color: white;
  padding: 80px 0;
  margin-bottom: 60px;
  position: relative;
  overflow: hidden;
}

.dj-profile-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  opacity: 0.9;
  z-index: 1;
}

.dj-profile-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 48px;
}

.dj-profile-hero-image {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--white-25);
  box-shadow: 0 10px 30px var(--black-20);
  flex-shrink: 0;
}

.dj-profile-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dj-profile-hero-info {
  flex: 1;
}

.dj-profile-hero-name {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 24px;
  color: white;
}

.dj-profile-hero-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.dj-profile-hero-location {
  font-size: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0.9;
}

.dj-profile-hero-location i {
  font-size: 20px;
}

.dj-profile-hero-social {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 8px;
}

.dj-profile-hero-social .social-link {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white-15);
  color: white;
  padding: 10px 16px;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dj-profile-hero-social .social-link:hover {
  background: var(--white-25);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--shadow-medium);
}

.dj-profile-hero-social .social-link i {
  font-size: 18px;
}

/* Bio Section */
.dj-profile-bio-section {
  margin-bottom: 60px;
}

.dj-profile-bio-content {
  background: var(--surface);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 2px 8px var(--shadow-light);
  border: 1px solid var(--border);
}

.dj-profile-bio-text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--medium-text);
}

.dj-profile-bio-text p {
  margin-bottom: 1.5rem;
}

.dj-profile-bio-text p:last-child {
  margin-bottom: 0;
}

/* DJ Mixes Section - Reuses existing mix-listings styles */
.dj-profile-mixes {
  margin-bottom: 80px;
}

/* Footer Styles - Ensure columns display properly */
.site-footer {
  background: var(--surface);
  color: var(--medium-text);
  padding: 80px 0 60px;
  margin-top: 80px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  min-width: 0;
}

.footer-title {
  color: var(--dark-text);
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 32px 0;
  line-height: 1.2;
  position: relative;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.footer-text {
  color: var(--medium-text);
  font-size: 16px;
  line-height: 1.7;
}

.footer-text p {
  margin: 0 0 18px 0;
}

.footer-text p:last-child {
  margin-bottom: 0;
}

.latest-posts {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.latest-post-link {
  color: var(--light-text);
  text-decoration: none;
  font-size: 16px;
  line-height: 1.5;
  transition: all 0.2s ease;
  padding: 8px 0;
  border-radius: 4px;
}

.latest-post-link:hover {
  color: var(--primary);
  text-decoration: none;
  background: var(--primary-bg-light);
  padding-left: 8px;
}

.subscribe-links,
.elsewhere-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.subscribe-link,
.elsewhere-link {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--light-text);
  text-decoration: none;
  font-size: 16px;
  transition: all 0.2s ease;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid transparent;
}

.subscribe-link:hover,
.elsewhere-link:hover {
  color: var(--primary);
  background: var(--primary-bg-light);
  border-color: var(--primary-border);
}

.subscribe-link i,
.elsewhere-link i {
  width: 20px;
  font-size: 16px;
  color: var(--primary);
  transition: transform 0.2s ease;
}

.subscribe-link:hover i,
.elsewhere-link:hover i {
  transform: scale(1.1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 42px;
    margin-bottom: 20px;
  }
  .footer-content{
    display: flex;
    flex-direction: column;
    font-size: 10px;
}
  .hero-subtitle {
    font-size: 18px;
  }

  .mix-archive-hero,
  .front-page-hero {
    padding: 80px 0 60px;
    margin-bottom: 40px;
  }

  .mix-navigation {
    top: 65px; /* Adjust for mobile header */
  }

  .mix-nav-tabs a {
    padding: 16px 20px;
    font-size: 14px;
  }

  .mix-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
  }

  .mix-card-content {
    padding: 20px;
  }

  .mix-card-title {
    font-size: 18px;
  }

  .mix-play-btn {
    width: 64px;
    height: 64px;
    font-size: 20px;
  }

  .section-title {
    font-size: 28px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  
@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .mix-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mix-nav-tabs a {
    padding: 14px 16px;
    font-size: 13px;
  }

  .mix-card-content {
    padding: 16px;
  }

  .mix-play-btn {
    width: 56px;
    height: 56px;
    font-size: 18px;
  }

  .mix-source-badge {
    top: 10px;
    right: 10px;
    padding: 3px 6px;
    font-size: 9px;
  }

  .mix-source-badge i {
    font-size: 9px;
  }

  /* Mobile Resume Message for Small Screens */
  .mobile-resume-message {
    top: -45px;
    font-size: 12px;
    padding: 8px 14px;
    border-radius: 18px;
  }

  .mobile-resume-message i {
    font-size: 13px;
  }

  .dj-profile-hero-image {
    width: 160px;
    height: 160px;
  }

  .dj-profile-hero-name {
    font-size: 32px;
  }

  .dj-profile-hero-social .social-link {
    padding: 8px 12px;
    font-size: 14px;
  }

  .dj-profile-bio-content {
    padding: 24px;
  }

  .dj-profile-bio-text {
    font-size: 16px;
  }

  .site-footer {
    padding: 48px 0 45px;
  }
}

/* Print Styles */
@media print {
  .mix-play-overlay,
  .mix-play-btn,
  .more-mixes-btn {
    display: none;
  }
}

