/* styles/slider.css */

.slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-height: 750px;
}

.slides {
    display: flex !important;
    transition: transform 0.6s ease;
    width: 100%;
    will-change: transform;
}

.slide {
    flex: 0 0 100%;
    max-width: 100%;
    position: relative;
    display: block !important;
    user-select: none;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
}

.caption {
    position: absolute;
    bottom: 10%;
    left: 1%;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 1rem;
    max-width: 60%;
    border-radius: 5px;
}

.caption h2 {
    margin-top: 0;
    color: pink;
}

.cta-button {
    display: inline-block;
    margin-top: 0.5rem;
    background-color: #e91e63;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #c2185b;
}

/* Dots */
.dots {
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 100%;
}

.dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 5px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: #333;
}

/* Progress Bar */
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
}

.progress {
    height: 100%;
    width: 0;
    background: #e91e63;
    transition: width 5s linear;
}
