body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa;
}

.artists-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr; /* Left = alphabet, right = artists */
    gap: 20px;
    align-items: start;
    padding-top: 120px; /* Default for desktop */

}

.page-title {
    grid-column: 1 / -1; /* Title spans all columns */
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: #4E0008;
    padding-bottom: 0.5rem;
    font-weight: 600;
}
.page-subtitle{
    grid-column: 1 / -1; /* Title spans all columns */
    text-align: center;
}

.alphabet-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 letters per row */
    gap: 10px;
    padding: 15px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alphabet-letter {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    transition: all 0.3s;
    cursor: pointer;
}
.alphabet-letter:hover, .alphabet-letter.active {
    background-color: #5a3921;
    color: white;
    border-color: #5a3921;
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.artist-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.artist-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.artist-image-container {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.artist-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-card:hover .artist-image {
    transform: scale(1.05);
}

.initials {
    color: white;
    font-size: 3rem;
    font-weight: bold;
    text-transform: uppercase;
}

.artist-details {
    padding: 20px;
    background: #fff;
}

.artist-placeholder {
    height: 100%;
    width: 100%;
    background: linear-gradient(135deg, #5a3921 0%, #7a4f31 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.artist-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: #333;
}
.artist-label {
    display: block;
    color: #5a3921;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    font-weight: 500;
}
.view-works-btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: #5a3921;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    border: none;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.view-works-btn:hover {
    background-color: #7a4f31;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(90, 57, 33, 0.3);
}

/* Mobile alphabet filter */
.mobile-alphabet-toggle {
    display: none;
    background-color: #5a3921;
    color: white;
    padding: 12px 20px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 15px;
    cursor: pointer;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .artists-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 per row on tablets */
    }
}

@media (max-width: 768px) {
    .artist-image { 
        width: 100%; 
        height: 100%; 
        object-fit: contain; 
        transition: transform 0.5s ease; 
    }
    .artists-container {
        grid-template-columns: 1fr; /* Stack alphabet on top */
        padding-top: 120px; /* Less padding on smaller screens */

    }
    
    .alphabet-filter {
        grid-template-columns: repeat(5, 1fr);
        margin-bottom: 20px;
    }
    
    .mobile-alphabet-toggle {
        display: block;
    }
    
    .alphabet-filter {
        display: none;
    }
    
    .alphabet-filter.show {
        display: grid;
    }
}

@media (max-width: 576px) {
    .alphabet-filter {
        grid-template-columns: repeat(3, 1fr); /* Smaller on mobile */
    }
    
    .artists-grid {
        grid-template-columns: repeat(1, 1fr); /* 1 per row on small phones */
    }
    
    .page-title {
        font-size: 2rem;
    }
}


