/* Modern Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 0;
}

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

.hero-slide.prev {
    z-index: 0;
}

/* Slide Background */
.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(139, 122, 184, 0.7) 0%, rgba(215, 185, 213, 0.5) 50%, rgba(244, 217, 208, 0.6) 100%);
}

/* Video Background */
.slide-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

/* Slide Content */
.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.slide-inner {
    max-width: 900px;
    animation: slideUp 0.8s ease-out;
}

.active .slide-inner {
    animation: slideUp 1s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-label {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.9;
}

.slide-title {
    font-family: 'Playfair Display', serif;
    font-size: 64px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.slide-subtitle {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.slide-button {
    display: inline-block;
    padding: 16px 40px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slide-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    background: var(--primary);
    color: var(--white);
}

/* Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--white);
    font-size: 20px;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

/* Navigation Dots */
.slider-dots {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.slider-dot.active {
    width: 40px;
    border-radius: 10px;
    background: var(--white);
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

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

.slider-progress-bar {
    height: 100%;
    background: var(--white);
    width: 0%;
    transition: width 0.1s linear;
}

/* Scroll Indicator */
.hero-slider .hero-scroll {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider .hero-scroll span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    font-weight: 500;
}

.hero-slider .hero-scroll i {
    font-size: 20px;
    color: var(--white);
    animation: bounce 2s infinite;
}

.hero-slider .hero-scroll:hover {
    transform: translateX(-50%) translateY(-5px);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .slide-title {
        font-size: 42px;
    }
    
    .slide-subtitle {
        font-size: 16px;
    }
    
    .slider-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }
    
    .slider-arrow.prev {
        left: 15px;
    }
    
    .slider-arrow.next {
        right: 15px;
    }
    
    .slider-dots {
        bottom: 20px;
    }
    
    .hero-slider .hero-scroll {
        bottom: 70px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 32px;
    }
    
    .hero-slider .hero-scroll {
        bottom: 60px;
    }
    
    .hero-slider .hero-scroll span {
        font-size: 10px;
    }
    
    .hero-slider .hero-scroll i {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .slide-title {
        font-size: 32px;
    }
    
    .slide-subtitle {
        font-size: 14px;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ===================================
   Curved Decoration After Slider
   =================================== */

.curved-decoration {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    height: auto;
    z-index: 10;
    pointer-events: none;
}

.curved-decoration.slider-bottom {
    bottom: -1px;
}

.curved-decoration.footer-top {
    top: -1px;
    transform: rotate(180deg);
}

.curved-decoration svg {
    display: block;
    width: 100%;
    height: auto;
    min-height: 40px;
}

/* Responsive curved decoration heights */
@media (max-width: 768px) {
    .curved-decoration svg {
        min-height: 30px;
    }
}

@media (max-width: 480px) {
    .curved-decoration svg {
        min-height: 20px;
    }
}
