/* Elegant Hero Carousel Styles */
.elegant-hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .elegant-hero-carousel {
        height: 500px;
    }
}

.elegant-hero-carousel .elegantHeroSwiper {
    width: 100%;
    height: 100%;
}

.elegant-hero-carousel .elegant-slide {
    position: relative;
    width: 100%;
    height: 100%;
}

.elegant-hero-carousel .elegant-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.elegant-hero-carousel .elegant-slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.elegant-hero-carousel .elegant-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
    z-index: 1;
}

.elegant-hero-carousel .elegant-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.elegant-hero-carousel .elegant-text-wrapper {
    text-align: center;
    color: white;
    animation: fadeInUp 1s ease-out forwards;
    opacity: 1;
    pointer-events: auto;
}

.elegant-hero-carousel .elegant-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
    opacity: 1;
    visibility: visible;
}

@media (max-width: 992px) {
    .elegant-hero-carousel .elegant-title {
        font-size: 2.5rem;
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .elegant-hero-carousel .elegant-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
}

.elegant-hero-carousel .elegant-button-wrapper {
    margin-top: 1rem;
}

.elegant-hero-carousel .elegant-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bs-primary, #0d6efd);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 1;
    visibility: visible;
}

.elegant-hero-carousel .elegant-btn:hover {
    background: var(--bs-primary-dark, #0b5ed7);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: white;
}

.elegant-hero-carousel .elegant-btn i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.elegant-hero-carousel .elegant-btn:hover i {
    transform: translateX(5px);
}

@media (max-width: 576px) {
    .elegant-hero-carousel .elegant-btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Navigation Buttons */
.elegant-hero-carousel .elegant-nav {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    color: var(--bs-primary, #0d6efd);
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 20;
}

.elegant-hero-carousel .elegant-nav:hover {
    background: white;
    transform: scale(1.1);
}

.elegant-hero-carousel .elegant-nav::after {
    display: none;
}

.elegant-hero-carousel .elegant-nav i {
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .elegant-hero-carousel .elegant-nav {
        width: 40px;
        height: 40px;
    }
    
    .elegant-hero-carousel .elegant-nav i {
        font-size: 1.2rem;
    }
}

.elegant-hero-carousel .swiper-button-prev {
    left: 20px;
}

.elegant-hero-carousel .swiper-button-next {
    right: 20px;
}

/* Pagination Dots */
.elegant-hero-carousel .elegant-dots {
    bottom: 30px !important;
    z-index: 20;
}

.elegant-hero-carousel .elegant-dots .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
}

.elegant-hero-carousel .elegant-dots .swiper-pagination-bullet-active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

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