/* Modern Slider Styles */
#heroSlider {
    position: relative;
}

#heroSlider .carousel-item {
    height: 600px;
    position: relative;
}

#heroSlider .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

#heroSlider.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

#heroSlider.carousel-fade .carousel-item.active {
    opacity: 1;
}

#heroSlider .carousel-caption {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 0;
}

#heroSlider .slider-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

#heroSlider .carousel-caption h1 {
    font-size: 2rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

#heroSlider .carousel-caption p {
    font-size: 1.25rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.8);
}

#heroSlider .carousel-caption .btn {
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    padding: 12px 30px;
    font-size: 1.1rem;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInUp {
    animation-name: fadeInUp;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -50px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Carousel Controls */
#heroSlider .carousel-control-prev,
#heroSlider .carousel-control-next {
    width: 10%;
    opacity: 0.8;
    z-index: 100;
    cursor: pointer;
}

#heroSlider .carousel-control-prev:hover,
#heroSlider .carousel-control-next:hover {
    opacity: 1;
}

#heroSlider .carousel-control-prev-icon,
#heroSlider .carousel-control-next-icon {
    width: 50px;
    height: 50px;
    background-size: 100% 100%;
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

/* Carousel Indicators */
#heroSlider .carousel-indicators {
    bottom: 30px;
}

#heroSlider .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255,255,255,0.5);
    border: 2px solid rgba(255,255,255,0.8);
}

#heroSlider .carousel-indicators .active {
    background-color: #e6a756;
    border-color: #e6a756;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    #heroSlider .carousel-item {
        height: 400px;
    }
    
    #heroSlider .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    #heroSlider .carousel-caption p {
        font-size: 1rem;
    }
    
    #heroSlider .carousel-caption .btn {
        padding: 10px 20px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    #heroSlider .carousel-item {
        height: 300px;
    }
    
    #heroSlider .carousel-caption h1 {
        font-size: 1.2rem;
    }
    
    #heroSlider .carousel-caption p {
        font-size: 0.9rem;
        padding: 0 15px;
    }
    
    #heroSlider .carousel-caption .btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
}

/* Modern responsive improvements */
.page-section {
    padding: 4rem 0;
}

@media (max-width: 992px) {
    .intro .intro-text {
        position: static !important;
        width: 100% !important;
        margin-top: 2rem !important;
    }
    
    .intro .intro-img {
        width: 100% !important;
        float: none !important;
    }
}