/* css/slider.css */

.hero-slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-blue-dark);
}

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

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease-in-out, visibility 1s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Gradient overlay using brand colors */
    background: linear-gradient(
        90deg, 
        rgba(7, 53, 117, 0.85) 0%, 
        rgba(11, 86, 179, 0.6) 40%, 
        rgba(0, 0, 0, 0.1) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: var(--white);
    padding-left: 5%;
    transform: translateY(30px);
    opacity: 0;
    transition: transform 0.8s ease-out 0.3s, opacity 0.8s ease-out 0.3s;
}

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

.slide-subtitle {
    display: inline-block;
    padding: 6px 14px;
    background-color: var(--brand-red);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border-radius: 4px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.slide-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-blue-dark);
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0px  2px 5px rgba(0,0,0,0.5);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--primary-blue-dark);
    font-weight: 600;
    text-shadow: 
        -1px -1px 0 #fff,  
         1px -1px 0 #fff,
        -1px  1px 0 #fff,
         1px  1px 0 #fff,
         0px  1px 3px rgba(0,0,0,0.5);
}

.slide-actions {
    display: flex;
    gap: 15px;
}

/* Slider Controls */
.slider-nav {
    position: absolute;
    bottom: 40px;
    left: 5%;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.dot.active {
    background-color: var(--brand-red);
    transform: scale(1.2);
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.arrow:hover {
    background-color: var(--brand-red);
    border-color: var(--brand-red);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-slider-container {
        height: 60vh;
        min-height: 450px;
    }
    
    .slide-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .slide-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .slide-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .slide-actions .btn {
        width: 100%;
    }
}
