/* =========================================
   RSCE Call to Action Slider
   Content area slider with fade effect and CTA
   ========================================= */

.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin: 60px auto;
}

.hero-slider-container .swiper {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

/* Hero Slide */
.hero-slide {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark overlay gradient for better text readability */
.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
    z-index: 1;
}

/* Content Container */
.hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 60px;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}

/* Text Positioning Options */
.hero-slide-content.text-left {
    align-items: flex-start;
    text-align: left;
}

.hero-slide-content.text-right {
    align-items: flex-end;
    text-align: right;
}

.hero-slide-content.text-center {
    align-items: center;
    text-align: center;
}

.hero-slide-content.text-bottom-left {
    justify-content: flex-end;
    padding-bottom: 100px;
    align-items: flex-start;
    text-align: left;
}

.hero-slide-content.text-bottom-center {
    justify-content: flex-end;
    padding-bottom: 100px;
    align-items: center;
    text-align: center;
}

.hero-slide-content.text-bottom-right {
    justify-content: flex-end;
    padding-bottom: 100px;
    align-items: flex-end;
    text-align: right;
}

/* Typography */
.hero-slide-title {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    margin: 0 0 20px;
    line-height: 1.2;
    color: white !important;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-slide-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size:  clamp(0.95rem, 1.5vw, 1.5rem);
    font-weight: 300;
    margin: 0 0 15px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.9;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

.hero-slide-description {
    font-family: 'Montserrat', sans-serif;
    font-size:  clamp(0.95rem, 1.5vw, 1.8rem);
    font-weight: 300;
    line-height: 1.6;
    margin: 0 0 30px;
    max-width: 900px;
    text-shadow: 0 2px 15px rgba(0,0,0,0.5);
}

/* Call to Action Button */
.hero-slide-button {
    display: inline-block;
    padding: 12px 32px;
    background: transparent;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: 1px solid white;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.hero-slide-button:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
}

/* Fade In Animations */
.swiper-slide-active .hero-slide-title {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    transform: translateY(30px);
}

.swiper-slide-active .hero-slide-subtitle {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.5s;
    opacity: 0;
    transform: translateY(30px);
}

.swiper-slide-active .hero-slide-description {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.7s;
    opacity: 0;
    transform: translateY(30px);
}

.swiper-slide-active .hero-slide-button {
    animation: fadeInUp 1s ease-out forwards;
    animation-delay: 0.9s;
    opacity: 0;
    transform: translateY(30px);
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Swiper Navigation */
.hero-slider-container .swiper-pagination {
    bottom: 30px;
    z-index: 10;
}

.hero-slider-container .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: white;
    opacity: 0.5;
    transition: all 0.3s ease;
}

.hero-slider-container .swiper-pagination-bullet-active {
    opacity: 1;
    width: 40px;
    border-radius: 6px;
}

.hero-slider-container .swiper-button-prev,
.hero-slider-container .swiper-button-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--color-secondary, #d4af37);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slider-container .swiper-button-prev::after,
.hero-slider-container .swiper-button-next::after {
    font-size: 20px;
    color: var(--color-secondary, #d4af37);
    font-weight: bold;
}

.hero-slider-container .swiper-button-prev:hover,
.hero-slider-container .swiper-button-next:hover {
    background: var(--color-secondary, #d4af37);
    transform: scale(1.15);
    box-shadow: 0 5px 25px rgba(212, 175, 55, 0.4);
}

.hero-slider-container .swiper-button-prev:hover::after,
.hero-slider-container .swiper-button-next:hover::after {
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-slider-container {
        margin: 20px 0;
    }
    .hero-slider-container .swiper,
    .hero-slider-container {
        height:auto !important;
    }
    .hero-slider-container .swiper {
        border-radius: 30px;
    }
    
    .hero-slide {
        height: 450px;
        min-height: 400px;
    }

    .hero-slide-content {
        padding: 30px 20px;
    }

    .hero-slide-title {
        font-size: 35px;
    }

    .hero-slide-subtitle {
        font-size: 13px;
        letter-spacing: 1.5px;
    }

    .hero-slide-description {
        font-size: 14px;
        max-width: 100%;
    }

    .hero-slide-button {
        padding: 12px 30px;
        font-size: 12px;
    }

    .hero-slider-container .swiper-button-prev,
    .hero-slider-container .swiper-button-next {
        width: 44px;
        height: 44px;
        background: rgba(0,0,0,0.5);
    }

    .hero-slider-container .swiper-button-prev {
        left: 10px;
    }

    .hero-slider-container .swiper-button-next {
        right: 10px;
    }

    .hero-slider-container .swiper-button-prev::after,
    .hero-slider-container .swiper-button-next::after {
        font-size: 18px;
        font-weight: bold;
    }

    .hero-slide-content.text-bottom-left,
    .hero-slide-content.text-bottom-center,
    .hero-slide-content.text-bottom-right {
        padding-bottom: 100px;
    }
}

@media (max-width: 480px) {
    .hero-slider-container {
        margin: 10px 0;
    }

    .hero-slide {
        height: 400px;
        min-height: 350px;
    }

    .hero-slide-content {
        padding: 25px 15px;
    }

    .hero-slide-title {
        font-size: 35px;
        margin-bottom: 12px;
    }

    .hero-slide-subtitle {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .hero-slide-description {
        font-size: 15px;
        margin-bottom: 15px;
        font-weight:bold;
    }

    .hero-slider-container .swiper-pagination {
        bottom: 15px;
    }

    .hero-slider-container .swiper-button-prev,
    .hero-slider-container .swiper-button-next {
        width: 40px;
        height: 40px;
    }

    .hero-slider-container .swiper-button-prev::after,
    .hero-slider-container .swiper-button-next::after {
        font-size: 16px;
    }

    .hero-slide-content.text-bottom-left,
    .hero-slide-content.text-bottom-center,
    .hero-slide-content.text-bottom-right {
        padding-bottom: 90px;
    }
}