/* 
   Featured Local Artists Styles
   Penkey Délicaf & Gifts
*/

.featured-artists-section {
    background-color: var(--penkey-cream) !important;
    padding: 5rem 0 3rem !important;
    position: relative;
    z-index: 1;
}

.featured-artists-section h2 {
    color: var(--penkey-navy);
    text-align: center;
    margin-bottom: 1rem;
    font-size: clamp(1.8rem, 5vw, 2.5rem);
}

.featured-artists-section .section-intro {
    color: var(--penkey-navy);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
    padding: 0 1rem;
    font-size: clamp(1rem, 3vw, 1.2rem);
}

.featured-header {
    text-align: center;
    margin-bottom: 2rem;
}

.featured-header img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 1rem;
}

.artist-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.artist-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.placeholder-image {
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-image i {
    font-size: 3rem;
    color: #ccc;
}

.artist-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-image.active {
    opacity: 1;
}

.artist-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.artist-content h3 {
    color: var(--penkey-navy);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.artist-content h4 {
    color: var(--penkey-orange);
    font-weight: 500;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.artist-content p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.artist-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.artist-tags span {
    background: rgba(46, 61, 66, 0.1);
    color: var(--penkey-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
}

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

@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: 1fr;
    }
    
    .artist-image {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .featured-artists-section {
        padding: 3rem 0 2rem !important;
    }
    
    .artist-image {
        height: 180px;
    }
    
    .artist-content {
        padding: 1.25rem;
    }
}
