/**
 * Künstler Pages Styles
 * Ella Radio Theme
 */

/* ==============================================
   ARCHIVE PAGE - HEADER
============================================== */
.kuenstler-header {
    padding: 2rem 0 3rem;
}

.header-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .header-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.header-text h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.625;
}

@media (max-width: 768px) {
    .header-text h1 {
        font-size: 1.875rem;
        margin-bottom: 0.75rem;
    }
}

.header-text .description {
    font-size: 1.125rem;
    color: #999;
    max-width: 48rem;
}

/* Search Container */
.search-container {
    padding-top: 0.5rem;
}

@media (max-width: 1024px) {
    .search-container {
        padding-top: 0;
    }
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 1.25rem;
    color: #999;
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    height: 3.5rem;
    font-size: 1.125rem;
    background-color: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.5rem;
    transition: border-color 0.2s;
    outline: none;
}

.search-input:focus {
    border-color: #E30917;
}

/* ==============================================
   ALPHABETICAL NAVIGATION
============================================== */
.alphabet-nav-section {
    margin-bottom: 2rem;
}

.alphabet-nav {
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}

.alphabet-nav-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

.letter-button {
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 0.375rem;
    transition: all 0.2s;
    background: transparent;
    border: 1px solid transparent;
    cursor: pointer;
    color: #333;
}

@media (max-width: 768px) {
    .letter-button {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
}

.letter-button.available:hover {
    background-color: #E30917;
    color: #ffffff;
    border-color: #E30917;
}

.letter-button.selected {
    background-color: #E30917;
    color: #ffffff;
    border-color: #E30917;
}

.letter-button.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Hide alphabet nav when searching */
.is-searching .alphabet-nav-section {
    display: none;
}

/* ==============================================
   LETTER SECTIONS
============================================== */
.artists-section {
    padding-bottom: 4rem;
}

.letter-section {
    scroll-margin-top: 12rem;
    margin-bottom: 3rem;
}

.letter-heading {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #E30917;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(227, 9, 23, 0.3);
}

@media (max-width: 768px) {
    .letter-heading {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
}

/* ==============================================
   ARTISTS GRID
============================================== */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }
}

/* ==============================================
   ARTIST CARD
============================================== */
.artist-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.artist-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(227, 9, 23, 0.2);
}

.artist-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Image Container */
.artist-card-image-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
    border-radius: 0 !important;
}

.artist-card-image,
.artist-card-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    border-radius: 0 !important;
}

.artist-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #999;
}

.artist-card:hover .artist-card-image {
    transform: scale(1.1);
}

/* Gradient Overlay */
.artist-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.2),
        transparent
    );
    opacity: 0;
    transition: opacity 0.3s;
}

.artist-card:hover .artist-card-overlay {
    opacity: 1;
}

/* Instrument Badge */
/* Image Credit Badge */
.image-credit {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    padding: 0.25rem 0.5rem;
    background-color: rgba(0, 0, 0, 0.6);
    color: #ffffff;
    font-size: 0.625rem;
    font-weight: 400;
    border-radius: 0.25rem;
    z-index: 2;
    max-width: calc(100% - 1rem);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .image-credit {
        font-size: 0.5rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Instrument Badge */
.instrument-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.25rem 0.75rem;
    background-color: rgba(227, 9, 23, 0.9);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    z-index: 2;
}

@media (max-width: 768px) {
    .instrument-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Card Content */
.artist-card-content {
    padding: 1.5rem;
}

@media (max-width: 768px) {
    .artist-card-content {
        padding: 1rem;
    }
}

.artist-card-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    transition: color 0.2s;
}

.artist-card:hover .artist-card-name {
    color: #E30917;
}

@media (max-width: 768px) {
    .artist-card-name {
        font-size: 1.125rem;
        margin-bottom: 0.25rem;
    }
}

.artist-card-subtitle {
    font-size: 0.875rem;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 768px) {
    .artist-card-subtitle {
        font-size: 0.75rem;
    }
}

/* ==============================================
   NO RESULTS
============================================== */
.no-results {
    text-align: center;
    padding: 4rem 0;
}

.no-results-text {
    font-size: 1.25rem;
    color: #999;
}

/* ==============================================
   SINGLE PAGE - BACK LINK
============================================== */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #999;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    transition: color 0.2s;
    text-decoration: none;
}

.back-link:hover {
    color: #E30917;
}

.back-link-icon {
    width: 1rem;
    height: 1rem;
}

/* ==============================================
   SINGLE PAGE - HERO IMAGE
============================================== */
.hero-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .hero-image-container {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 768px) {
    .hero-image-container {
        aspect-ratio: 4 / 3;
        border-radius: 0.75rem;
        margin-bottom: 1.5rem;
    }
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.image-credit-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ==============================================
   SINGLE PAGE - CONTENT GRID
============================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    align-items: flex-start;
}

@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ==============================================
   PROFILE CARD (SIDEBAR)
============================================== */
.profile-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
}

@media (max-width: 768px) {
    .profile-card {
        border-radius: 0.75rem;
        padding: 1rem;
        position: static;
    }
}

.profile-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    background: linear-gradient(135deg, #E30917, #C10713);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.profile-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-label {
    font-size: 0.875rem;
    color: #999;
    font-weight: 500;
}

.profile-value {
    font-size: 0.875rem;
    color: #1a1a1a;
    text-align: right;
    max-width: 60%;
}

/* Social Media Links */
.social-media-links {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    flex-wrap: wrap;
}

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

.social-link:hover {
    background: #C10713;
    transform: translateY(-2px);
}

.social-link svg {
    width: 18px;
    height: 18px;
}

/* Listen Button */
.listen-button {
    width: 100%;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #E30917;
    color: #ffffff;
    border-radius: 0.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.listen-button:hover {
    background-color: rgba(227, 9, 23, 0.9);
    transform: scale(1.02);
    color: #ffffff;
}

.listen-button-icon {
    width: 1.25rem;
    height: 1.25rem;
}

/* ==============================================
   BIOGRAPHY SECTION
============================================== */
.biography-section {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 5rem;
}

@media (max-width: 768px) {
    .biography-section {
        border-radius: 0.75rem;
        padding: 1.5rem;
    }
}

.biography-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.biography-text {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.75;
    text-align: justify;
}

.biography-text p {
    margin-bottom: 1rem;
}

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

/* ==============================================
   AWARDS SECTION
============================================== */
.awards-section {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.awards-heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.awards-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #E30917;
}

.awards-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.award-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: rgba(227, 9, 23, 0.1);
    border: 1px solid rgba(227, 9, 23, 0.2);
    border-radius: 9999px;
    font-size: 0.875rem;
    color: #E30917;
}

.award-badge-icon {
    width: 1rem;
    height: 1rem;
}

/* ==============================================
   DISCOGRAPHY SECTION
============================================== */
.discography-section {
    margin-top: 3rem;
    padding-bottom: 5rem;
}

.discography-heading {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discography-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #E30917;
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .albums-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .albums-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

/* ==============================================
   ALBUM CARD
============================================== */
.album-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.album-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(227, 9, 23, 0.15);
}

.album-cover-container {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f5f5f5;
}

.album-cover,
.album-cover-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.album-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f5f5, #e0e0e0);
    color: #999;
}

.album-card:hover .album-cover {
    transform: scale(1.05);
}

/* Vinyl Effect */
.album-vinyl-overlay {
    position: absolute;
    right: -20%;
    top: 50%;
    transform: translateY(-50%);
    width: 80%;
    height: 80%;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.9),
        rgba(0, 0, 0, 0.7)
    );
    opacity: 0;
    transition: all 0.3s;
}

.album-card:hover .album-vinyl-overlay {
    opacity: 1;
    right: -10%;
}

.album-info {
    padding: 1rem;
}

.album-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.album-year {
    font-size: 0.75rem;
    color: #999;
}

/* ==============================================
   RESPONSIVE - MOBILE
============================================== */
@media (max-width: 768px) {
    .social-link {
        width: 32px;
        height: 32px;
    }
    
    .social-link svg {
        width: 16px;
        height: 16px;
    }
}

/* ==============================================
   BIOGRAPHY TEXT HEADINGS
============================================== */
.biography-text h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.75rem 0;
    color: #1a1a1a;
}

.biography-text h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem 0;
    color: #1a1a1a;
}

.biography-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
    color: #1a1a1a;
}

/* Album Title */
.album-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #1a1a1a;
}
