/* Album heading styling */
.section-album {
    padding-top: 50px;
    background: linear-gradient(135deg, #e0f7fa 0%, #fffbe6 100%);
    padding: 60px 20px 60px 20px;
    margin: 0;
}

/* Album Card Styles */
.album-card-harmony {
    background: rgba(255,255,255,0.97);
    border-radius: 24px;
    box-shadow: 0 8px 32px rgba(0, 197, 215, 0.10), 0 2px 12px rgba(237, 144, 5, 0.08);
    max-width: 950px;
    margin: 40px auto 0 auto;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    overflow: hidden;
    border: 1.5px solid #00c5d7;
}

/* Album Info Styles */
.album-info-harmony {
    flex: 2 1 400px;
    padding: 36px 32px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: transparent;
}

.album-title-harmony {
    font-size: 2.2rem;
    color: #006666;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.album-desc-harmony {
    font-size: 1.18rem;
    color: #444;
    font-family: 'Crimson Pro', serif;
    margin-bottom: 18px;
    line-height: 1.7;
    font-style: italic;
}

.featured-track-harmony {
    background: linear-gradient(90deg, #00c5d7 0%, #ed9005 100%);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 1.08rem;
    font-family: 'Raleway', sans-serif;
    margin-bottom: 18px;
    display: inline-block;
    box-shadow: 0 2px 8px rgba(0,197,215,0.08);
}

/* Music Links Styles */
.music-links-harmony {
    display: flex;
    flex-direction: row;
    gap: 18px;
    margin-bottom: 18px;
    align-items: center;
}

.music-links-harmony a {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,197,215,0.13);
    padding: 0;
    transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s, background 0.18s;
    aspect-ratio: 1 / 1;
    width: 80px;
    height: 80px;
    min-width: 0;
    min-height: 0;
    border: 2px solid #00c5d7;
}

.music-links-harmony a:hover {
    transform: scale(1.10);
    box-shadow: 0 8px 24px rgba(237,144,5,0.18);
    border-color: #ed9005;
    background: linear-gradient(135deg, #e0f7fa 0%, #fffbe6 100%);
}

.music-links-harmony img {
    max-width: 70%;
    max-height: 70%;
    width: auto;
    height: auto;
    display: block;
    margin: 0;
    object-fit: contain;
}

/* Listen Now Button */
.listen-now-btn {
    background: linear-gradient(90deg, #00c5d7 0%, #ed9005 100%);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 0;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,197,215,0.10);
    transition: background 0.2s, box-shadow 0.2s;
}

.listen-now-btn:hover {
    background: linear-gradient(90deg, #ed9005 0%, #00c5d7 100%);
    box-shadow: 0 4px 16px rgba(0,197,215,0.13);
}

/* Album Video Styles */
.album-video-harmony {
    margin-top: 24px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.10);
    background: #fff;
    padding: 12px;
}

.album-video-harmony h4 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.album-video-harmony .music-links-harmony {
    margin-top: 32px;
}

/* Music Blurb */
.music-blurb-harmony {
    margin-top: 18px;
    background: linear-gradient(90deg, #e0f7fa 60%, #fffbe6 100%);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
    color: #006666;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0 2px 8px rgba(0,197,215,0.07);
}

/* Album Covers Layout */
.album-covers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px; /* Adjust the gap for consistent spacing */
    margin-top: 20px; /* Add spacing above the album covers */
}

/* Album Info Border */
.album-info-harmony {
    border-right: 1px solid #e0f7fa;
}

/* Album Covers Harmony */
.album-covers-harmony {
    margin-bottom: 18px;
}

/* Album Video Harmony */
.album-video-harmony {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #fff;
    margin: 0;
    padding: 36px 18px;
    border-radius: 0 24px 24px 0;
    box-shadow: none;
}

.album-video-harmony h4 {
    text-align: center;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.album-video-harmony .video-thumbnail {
    width: 100%;
    max-width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.album-video-harmony .video-thumbnail video {
    width: 100%;
    border-radius: 10px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Music Blurb Harmony */
.music-blurb-harmony {
    margin-top: 18px;
    background: linear-gradient(90deg, #e0f7fa 60%, #fffbe6 100%);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
    color: #006666;
    font-family: 'Raleway', sans-serif;
    box-shadow: 0 2px 8px rgba(0,197,215,0.07);
}

.cover-item {
    display: flex; /* Enable flexbox for centering */
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    padding-top: 20px;
}

.cover-item img {
    width: 100%; /* Ensure responsiveness */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    transition: transform 0.3s, box-shadow 0.3s;
}

.cover-item img:hover {
    transform: scale(1.05); /* Slight zoom effect */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Enhanced shadow on hover */
}

.album-desc-harmony {
  font-size: 1.6rem !important;
}

.music-blurb-harmony {
  font-size: 1.6rem;
  display: block;
}
@media (max-width: 900px) {
  .music-blurb-harmony {
    display: block;
  }
}
@media (max-width: 600px) {
  .music-blurb-harmony {
    display: block;
  }
}
@media (max-width: 480px) {
  .music-blurb-harmony {
    display: block;
  }
}

.album-title-harmony {
  font-size: 2rem;
}

.album-covers-harmony {
  flex: 1 1 320px;
  background: linear-gradient(135deg, #00c5d7 0%, #ed9005 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 18px;
  gap: 24px;
}
.album-covers-harmony a {
  display: block;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  transition: transform 0.2s, box-shadow 0.2s;
}
.album-covers-harmony a:hover {
  transform: scale(1.04);
  box-shadow: 0 8px 32px rgba(0, 197, 215, 0.18);
}
.album-covers-harmony img {
  max-width: 340px;
  max-height: 340px;
  min-width: 180px;
  width: 100%;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}
@media (max-width: 900px) {
  .album-covers-harmony img {
    max-width: 220px;
    min-width: 100px;
  }
}

@media (max-width: 600px) {
  .album-covers-harmony img {
    max-width: 140px;
    min-width: 60px;
  }
}
@media (max-width: 425px) {
  .album-covers-harmony img {
    width: 280px;
    max-width: 280px;
  }
}
@media (max-width: 390px) {
  .album-covers-harmony img {
    width: 280px;
    max-width: 280px;
  }
}

/* Media Queries */
@media (max-width: 768px) {
    /* .section-album {
        padding-bottom: 20px;
        padding-top: 20px;
    } */
    
    .album-covers-harmony img {
        max-width: 380px;
        min-width: 180px;
    }
    
    .album-video-harmony {
        flex: none;
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }
    .album-video-harmony .video-card,
    .album-video-harmony .music-links-harmony,
    .album-video-harmony .music-blurb-harmony {
        max-width: 100%;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    .album-video-harmony .music-links-harmony {
        margin-bottom: 0;
        margin-top: 18px;
    }
    .album-video-harmony .music-blurb-harmony {
        margin-top: 18px;
    }
    .album-music-info {
      flex: none;
    }
    
    .album-video-harmony .video-thumbnail {
        flex: 1;
        max-width: 50%;
    }
    
    .album-video-harmony .music-links-harmony,
    .album-video-harmony .music-blurb-harmony {
        flex: 1;
        max-width: 50%;
    }

    .album-container {
        padding: 0 15px; /* Reduce padding for tablets */
    }

    /* Stack albums vertically on tablets and smaller screens */
    .album-container .heading-title {
        flex-direction: column;
        gap: 20px;
    }

    .album-container .heading-title .album-info {
        flex: 1 1 100%;
        min-width: auto;
    }

    /* Alternative selector for tablets */
    .section-album .album-container .heading-title {
        flex-direction: column !important;
        gap: 20px !important;
    }

    .section-album .album-container .heading-title .album-info {
        flex: 1 1 100% !important;
        min-width: auto !important;
    }

    .heading-title h2 {
        font-size: 1.5rem;
    }

    .music-links img {
        width: 100px; /* Slightly smaller icons for tablets */
    }

    .album-covers {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .cover-item {
        flex: 1 1 100%; /* Full width for stacked layout */
        max-width: none; /* Remove width restriction */
    }
}

@media (max-width: 480px) {
    .section-album {
        padding-bottom: 0;
        padding-top: 20px;
    }

    .album-container {
        padding: 0 10px; /* Further reduce padding for mobile */
    }

    /* Ensure albums stack vertically on mobile */
    .album-container .heading-title {
        flex-direction: column;
        gap: 15px;
    }

    .album-container .heading-title .album-info {
        flex: 1 1 100%;
        min-width: auto;
        margin-bottom: 20px;
    }

    /* Alternative selector for mobile */
    .section-album .album-container .heading-title {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .section-album .album-container .heading-title .album-info {
        flex: 1 1 100% !important;
        min-width: auto !important;
        margin-bottom: 20px !important;
    }

    .heading-title h2 {
        font-size: 1.5rem;
    }

    .music-links img {
        width: 100px; /* Slightly smaller icons for tablets */
    }

    .album-covers {
        flex-direction: column; /* Stack items vertically on smaller screens */
    }

    .cover-item {
        flex: 1 1 100%; /* Full width for stacked layout */
        max-width: none; /* Remove width restriction */
    }

    .album-video-harmony .video-thumbnail video {
      margin-top: 40px;
      max-width: 100%;
      height: auto;
      object-fit: contain;
    }
    .album-video-harmony {
      flex: none !important;
    }
}

@media (max-width: 390px) {
  .section-album {
    padding-left: 2vw;
    padding-right: 2vw;
    box-sizing: border-box;
    padding: 60px 8px 60px 8px !important;
  }
  .album-title-harmony {
    font-size: 1.3rem;
  }
  .album-desc-harmony,
  .music-blurb-harmony {
    font-size: 1.1rem;
    word-break: break-word;
  }
  .album-card-harmony {
    max-width: 98vw;
    box-sizing: border-box;
    border-radius: 10px;
    padding-left: 0;
    padding-right: 0;
  }
  .music-links-harmony a {
    width: 40px;
    height: 40px;
  }
}

/* Responsive Design */
@media (max-width: 900px) {
    .album-card-harmony {
        flex-direction: column;
        padding: 0 0;
    }
    
    .album-covers-harmony, .album-info-harmony {
        padding: 28px 10px;
    }
    
    .album-covers-harmony {
        flex-direction: row;
        gap: 18px;
        justify-content: center;
    }
    
    .music-links-harmony a {
        width: 64px;
        height: 64px;
    }
}

@media (max-width: 768px) and (min-width: 601px) {
    /* Album covers responsive styles handled in album-covers-harmony section */
}

@media (max-width: 600px) {
    .album-card-harmony {
        border-radius: 12px;
        margin: 20px 0 0 0;
    }
    
    .album-covers-harmony, .album-info-harmony {
        padding: 16px 4px;
    }
    
    .album-title-harmony {
        font-size: 1.3rem;
    }
    
    .album-desc-harmony {
        font-size: 1rem;
    }
    
    .featured-track-harmony {
        font-size: 0.98rem;
        padding: 7px 10px;
    }
    
    .music-links-harmony img {
        width: 36px;
    }
    
    .listen-now-btn {
        font-size: 1rem;
        padding: 10px 18px;
    }
    
    .album-video-harmony .music-links-harmony {
        margin-top: 18px;
    }
    
    .music-links-harmony a {
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 425px) {
    .album-covers-harmony {
        flex-direction: column !important;
        gap: 12px !important;
    }
    .album-video-harmony .video-thumbnail {
      max-width: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      margin: 0 auto;
    }
}

@media (max-width: 390px) {
    .section-album {
        text-align: center !important;
        padding: 0 8px 60px 8px !important;
    }
    
    .album-card-harmony {
        margin: 20px auto 0 auto !important;
        border-radius: 12px !important;
        max-width: calc(100% - 16px) !important;
    }
    
    .album-covers-harmony, .album-info-harmony {
        padding: 12px 8px !important;
    }
    
    .album-covers-harmony {
        flex: 1 1 300px !important;
        max-width: 300px !important;
        min-width: 300px !important;
    }
    
    .album-covers-harmony img {
        width: 260px !important;
        max-width: 260px !important;
        min-width: 260px !important;
    }
    
    .album-title-harmony {
        font-size: 1.2rem !important;
        margin-bottom: 8px !important;
    }
    
    .album-desc-harmony {
        font-size: 0.95rem !important;
        line-height: 1.4 !important;
        margin-bottom: 12px !important;
    }
    
    .featured-track-harmony {
        font-size: 0.9rem !important;
        padding: 6px 8px !important;
        margin-bottom: 12px !important;
    }
    
    .music-links-harmony {
        gap: 12px !important;
        margin-bottom: 12px !important;
    }
    
    .music-links-harmony a {
        width: 40px !important;
        height: 40px !important;
    }
    
    .music-links-harmony img {
        max-width: 60% !important;
    }
    
    .listen-now-btn {
        font-size: 0.9rem !important;
        padding: 8px 16px !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 375px) {
    .album-covers-harmony img {
        width: 300px;
        max-width: 300px;
    }
}

@media (max-width: 320px) {
    .album-covers-harmony {
        flex: 1 1 280px;
        max-width: 280px;
        min-width: 280px;
        padding: 24px 12px;
    }
    
    .album-covers-harmony img {
        width: 240px;
        max-width: 240px;
        min-width: 240px;
    }
    
    .album-card-harmony {
        max-width: calc(100% - 16px);
        margin: 20px 8px 0 8px;
    }
    
    .album-info-harmony {
        padding: 20px 12px;
    }
}

/* Video Card Styles */
.video-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.10);
  padding: 24px 18px 18px 18px;
  max-width: 420px;
  margin: 0 auto 18px auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* General Video Thumbnail Styles (moved from topcontent.css) */
.video-thumbnail {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
}

.video-thumbnail video {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: block;
    margin: 0 auto;
}

.video-thumbnail video:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Desktop specific video thumbnail improvements */
@media (min-width: 1024px) {
    .video-thumbnail {
        flex: 1 1 100% !important;
        width: 100% !important;
        height: 100% !important;
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        min-width: 100% !important;
    }
    
    .video-thumbnail video {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }
}

/* Mobile responsive video thumbnail */
@media (max-width: 768px) {
    .video-card {
        padding: 20px 15px 15px 15px;
    }
    
    .video-thumbnail video {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .video-card {
        padding: 16px 12px 12px 12px;
    }
    
    .video-thumbnail video {
        width: 100%;
        border-radius: 8px;
        margin-top: 0;
    }
}

@media (max-width: 390px) {
    .video-card {
        padding: 12px 8px 8px 8px;
    }
}

.video-card h4,
.album-video-harmony h4 {
  color: #2c3e50;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  text-align: center;
}

.album-video-harmony .video-thumbnail video {
  width: 100%;
  border-radius: 12px;
  box-shadow: none;
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin: 0 auto;
  padding: 0;
}

.music-links-harmony {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
}

.music-links-harmony a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border: 2px solid #00c5d7;
  border-radius: 16px;
  background: #fff;
  box-shadow: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.music-links-harmony a:hover {
  border-color: #ed9005;
  box-shadow: 0 4px 16px rgba(0,197,215,0.13);
}

.music-links-harmony img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.music-blurb-harmony {
  margin-top: 18px;
  background: linear-gradient(90deg, #e0f7fa 60%, #fffbe6 100%);
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
  color: #006666;
  font-family: 'Raleway', sans-serif;
  font-size: 1.15rem;
  box-shadow: 0 2px 8px rgba(0,197,215,0.07);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.music-blurb-harmony b,
.music-blurb-harmony strong {
  color: #00c5d7;
  font-weight: 700;
}

.music-blurb-harmony .album-title {
  color: #00c5d7;
  font-weight: 700;
}

.music-blurb-harmony .artist-name {
  color: #006666;
  font-weight: 700;
}

.album-video-harmony {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.video-card {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.album-music-info {
  flex: 1 1 320px;
  min-width: 220px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.album-music-info .music-links-harmony,
.album-music-info .music-blurb-harmony {
  width: 100%;
  max-width: 100%;
}

/* Stack vertically on screens 1440px and larger */
@media (min-width: 1440px) {
  .album-video-harmony {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }
  .video-card,
  .album-music-info {
    flex: 0 0 0;
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .album-video-harmony {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .video-card,
  .album-music-info {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .album-music-info {
    flex: none;
  }
}

/* Desktop layout - side by side albums */
@media (min-width: 768px) {
  .album-container .heading-title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 60px !important;
    flex-wrap: wrap !important;
  }
  
  .album-container .heading-title .album-info {
    flex: 1 !important;
    max-width: 400px !important;
    margin-bottom: 0 !important;
  }
  
  /* Override any conflicting styles */
  .section-album .album-container .heading-title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 60px !important;
    flex-wrap: wrap !important;
  }
  
  .section-album .album-container .heading-title .album-info {
    flex: 1 !important;
    max-width: 400px !important;
    margin-bottom: 0 !important;
  }
}

/* Large desktop layout - two columns for 1024px and larger */
@media (min-width: 1024px) {
  .album-container .heading-title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 80px !important;
    flex-wrap: nowrap !important;
  }
  
  .album-container .heading-title .album-info {
    flex: 0 1 450px !important;
    max-width: 450px !important;
    margin-bottom: 0 !important;
  }
  
  /* Override any conflicting styles */
  .section-album .album-container .heading-title {
    display: flex !important;
    flex-direction: row !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 80px !important;
    flex-wrap: nowrap !important;
  }
  
  .section-album .album-container .heading-title .album-info {
    flex: 0 1 450px !important;
    max-width: 450px !important;
    margin-bottom: 0 !important;
  }
}
