/**
 * Slider Component - Frontend Styles
 * 
 * @package Eagle_Ride
 */

.eagleride-slider {
    position: relative;
    width: 100%;
    height: 700px;
    overflow: hidden;
    background: #000;    
    margin-bottom: 0px !important;
}


.eagleride-slider .slide {
    background-size: cover;
    background-position: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.eagleride-slider .slick-slide,
.eagleride-slider .slick-slide > div {
    height: 100%;
}
.eagleride-slide {
    position: relative;
    width: 100%;
    min-height: 100%;
    background-size: cover;
    background-position: center;
    display: flex !important;
    /* align-items: center; Removed to allow content to stretch and center itself */
    justify-content: flex-start;
    padding-left: 3%;
}

.eagleride-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.eagleride-slide-content {
    position: relative;
    z-index: 2;
    text-align: left;
    color: #fff;
    max-width: 800px;
    width: 100%;
    height: 100%; /* Take full height */
    display: flex; /* Enable flexbox */
    flex-direction: column; /* Stack children vertically */
    justify-content: center; /* Center children vertically */
    align-items: flex-start; /* Prevent full width stretching */
    padding: 20px;
    opacity: 0;
    transform: translateY(150px);
    transition: transform 0.7s ease-out, opacity 0.6s ease-out;
}

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

.eagleride-slide-content h2 {
    font-family: 'Roboto Slab', sans-serif;
    font-size: 48px;
    margin-bottom: 20px;
    color: #fff;
}

.eagleride-slide-description {
    font-size: 20px;
    margin-bottom: 30px;
}

.eagleride-slide-button {
    display: inline-block;
    padding: 12px 35px;
    background: var(--lux-gold) !important; /* Restored Gold */
    color: #000;
    text-decoration: none;
    border-radius: 50px; /* Pill shape */
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s ease;
    border: 2px solid #d4af37; /* Restored Gold */
}

.eagleride-slide-button:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.6);
}

@media (max-width: 768px) {
    .eagleride-slider {
        height: 400px;
    }
    
    .eagleride-slide-content h2 {
        font-size: 32px;
    }
    
    .eagleride-slide-description {
        font-size: 16px;
    }
}
