:root {
    --primary-color: #800020;   /* Maroon */
    --secondary-color: #f6c1cc; /* Light Pink */
    --text-color: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

.slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: all 1s ease-in-out;
}

.slide.active {
    opacity: 1;
    transform: translateX(0);
    z-index: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomEffect 8s linear infinite;
}

@keyframes zoomEffect {
    0% { transform: scale(1); }
    100% { transform: scale(1.1); }
}

.caption {
    position: absolute;
    bottom: 20%;
    left: 8%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    padding: 25px 35px;
    border-radius: 10px;
    color: var(--text-color);
    animation: fadeUp 1.5s ease;
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.caption h1 {
    font-size: 38px;
    margin-bottom: 10px;
}

.caption p {
    font-size: 18px;
}

/* Navigation buttons */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 30px;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 2;
}

.prev { left: 20px; }
.next { right: 20px; }

.nav:hover {
    background: var(--primary-color);
}

/* Dots */
.dots {
    position: absolute;
    bottom: 25px;
    width: 100%;
    text-align: center;
}

.dots span {
    height: 12px;
    width: 12px;
    margin: 0 5px;
    background: #fff;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    opacity: 0.5;
}

.dots span.active {
    background: var(--secondary-color);
    opacity: 1;
}
