/* People Slider Component - Scoped Styles */
.people-slider {
    padding: 60px 0;
    position: relative;
}

.people-slider .slider-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.people-slider .slider-track {
    display: flex;
    transition: transform 0.5s ease;
    padding: 40px 0;
}

.people-slider .slide {
    flex: 0 0 25%;
    padding: 0 15px;
    transition: all 0.5s ease;
    position: relative;
}

.people-slider .slide.active {
    transform: scale(1.2);
    z-index: 10;
}

.people-slider .portrait-frame {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.5s ease;
    height: 350px;
    display: flex;
    align-items: center;
    background: #f8f9fa;
}

.people-slider .slide.active .portrait-frame {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 8px solid #fff;
}

.people-slider .portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
}

.people-slider .slide.active .portrait-frame img {
    transform: scale(1.05);
}

.people-slider .spotlight {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 235, 59, 0.8) 0%, rgba(255, 235, 59, 0) 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 5;
    pointer-events: none;
}

.people-slider .slide.active .spotlight {
    opacity: 1;
}

.people-slider .light-bulb {
    position: absolute;
    top: -70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 40px;
    color: #ffeb3b;
    text-shadow: 0 0 20px #ffeb3b;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 15;
}

.people-slider .slide.active .light-bulb {
    opacity: 1;
    animation: bulb-flicker 2s infinite alternate;
}

@keyframes bulb-flicker {
    0% { opacity: 0.8; text-shadow: 0 0 15px #ffeb3b; }
    100% { opacity: 1; text-shadow: 0 0 25px #ffeb3b; }
}

.people-slider .slide-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 15px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    text-align: center;
}

.people-slider .slide.active .slide-info {
    transform: translateY(0);
}

.people-slider .slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 20;
}

.people-slider .slider-nav button {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #333;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.people-slider .slider-nav button:hover {
    background: white;
    transform: scale(1.1);
}

.people-slider .slide-indicators {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.people-slider .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.people-slider .indicator.active {
    background: #333;
    transform: scale(1.3);
}

/* Link styling specific to slider */
.people-slider .portrait-frame {
    position: relative;
}

.people-slider .slide-link {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 8;
    display: block;
}

.people-slider .slide-info {
    z-index: 10;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .people-slider .slide {
        flex: 0 0 33.33%;
    }
}

@media (max-width: 768px) {
    .people-slider .slider-container {
        padding: 0 20px;
    }
    
    .people-slider .slide {
        flex: 0 0 50%;
        padding: 0 10px;
    }
    
    .people-slider .portrait-frame {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .people-slider .slide {
        flex: 0 0 100%;
        padding: 0 10px;
    }
    
    .people-slider .portrait-frame {
        height: 250px;
    }
    
    .people-slider .slider-nav button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}