/* Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 650px;
    overflow: hidden;
    background-color: #000;
    margin-bottom: 40px;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.9);
}

/* Captions with Slider Revolution style animations */
.slide-content {
    position: absolute;
    bottom: 0;
    z-index: 2;
    color: #fff;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s ease-out 0.5s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 3.0rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: color(srgb red green blue);
    color: hsl(from color h s l);
    color: #FFF;
}

.slide-content p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Navigation Controls */
.slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.nav-dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0,0,0,0.2);
    color: #fff;
    padding: 15px;
    cursor: pointer;
    font-size: 24px;
    transition: background 0.3s;
    user-select: none;
}
.slider-arrow:hover { background: rgba(0,0,0,0.5); }
.prev { left: 20px; }
.next { right: 20px; }