/* Hero Slider */
.hero-slider-container {
    position: relative;
    width: 100%;
    max-width: 2560px;
    height: 600px;
    overflow: hidden;
    margin: 0 auto 2rem;
}

.hero-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transform: scale(1.1);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slide Content Overlay */
.slide-content {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 2.5rem;
    z-index: 3;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 0.75rem;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    width: calc(100% - 200px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

@media screen and (min-width: 1440px) {
    .slide-content {
        left: calc((100% - 1440px) / 2 + 20px);
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        max-width: 450px;
    }
}

@media screen and (min-width: 768px) and (max-width: 1439px) {
    .slide-content {
        left: 80px;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        max-width: 450px;
    }
}

.slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.75rem 0;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px) translateX(-20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s,
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
    line-height: 1.2;
}

.hero-slide.active .slide-title {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.slide-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin: 0 0 1.5rem 0;
    max-width: 100%;
    line-height: 1.5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transform: translateY(30px) translateX(-20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s,
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.5s;
}

.hero-slide.active .slide-description {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.slide-button {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.4);
    opacity: 0;
    transform: translateY(30px) translateX(-20px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s,
                transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.7s,
                background 0.3s ease,
                box-shadow 0.3s ease;
}

.hero-slide.active .slide-button {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.hero-slide.active .slide-button {
    opacity: 1;
    transform: translateY(0);
}

.slide-button:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.5);
}

/* Slider Navigation Buttons */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: #374151;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.slider-nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid #000;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    box-shadow: 0 0 0 1px #000;
}

.slider-dot.active {
    background: #ff0000;
    width: 32px;
    border-radius: 6px;
    border: 2px solid #000;
    box-shadow: 0 0 0 1px #000;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: #000;
}

/* Slider Responsive */
@media screen and (max-width: 1023px) {
    .hero-slider-container {
        height: 480px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .slider-prev {
        left: 1rem;
    }
    
    .slider-next {
        right: 1rem;
    }
    
    .slide-content {
        left: 80px;
        right: auto;
        margin-left: 0;
        margin-right: 0;
        width: auto;
        padding: 1.5rem 2rem;
        max-width: 400px;
    }
    
    .slide-title {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-description {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
    }
    
    .slide-button {
        padding: 0.625rem 1.75rem;
        font-size: 0.9375rem;
    }
}

@media screen and (max-width: 767px) {
    .hero-slider-container {
        height: 360px;
    }
    
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.875rem;
    }
    
    .slider-prev {
        left: 0.5rem;
    }
    
    .slider-next {
        right: 0.5rem;
    }
    
    .slider-dots {
        bottom: 1rem;
    }
    
    .slide-content {
        left: 1rem;
        right: 1rem;
        top: auto;
        bottom: 2rem;
        transform: none;
        padding: 1.5rem;
        max-width: 100%;
        background: rgba(0, 0, 0, 0.7);
    }
    
    .slide-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .slide-description {
        font-size: 0.875rem;
        margin-bottom: 1rem;
        max-width: 100%;
    }
    
    .slide-button {
        padding: 0.75rem 1.5rem;
        font-size: 0.9375rem;
    }
}

