/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    border-radius: 12px;
}

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

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

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-bg {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 8s ease-out;
}

.slide.active .slide-bg img {
    transform: scale(1.05);
}

.slider-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 3rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.3));
}

.content-wrapper {
    max-width: 600px;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s;
}

.slide.active ~ .slider-content .content-wrapper,
.slide.active + * .content-wrapper {
    transform: translateY(0);
    opacity: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: #D32F2F;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(211, 47, 47, 0.3);
}

.hero-cta:hover {
    background: #B71C1C;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(211, 47, 47, 0.4);
    color: white;
}

.slider-dots {
    position: absolute;
    bottom: 2rem;
    right: 3rem;
    display: flex;
    gap: 0.5rem;
    z-index: 4;
}

.dot {
    width: 4px !important;
    height: 4px !important;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.7) !important;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: white !important;
    border-color: white !important;
    transform: scale(1.5) !important;
}

.slider-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255,255,255,0.2);
    z-index: 4;
}

.progress-bar {
    height: 100%;
    background: #D32F2F;
    width: 0%;
    transition: width 4s linear;
}

@media (max-width: 768px) {
    .hero-slider {
        height: 60vh;
        min-height: 400px;
    }
    
    .slider-content {
        padding: 2rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .slider-dots {
        right: 1.5rem;
        bottom: 1.5rem;
    }
}