/* Hero Slider Base Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 65vh;
    /*min-height: 500px;*/
    overflow: hidden;
    background: var(--wp--preset--color--contrast);
}

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

/* Slide Styles */
.alch-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

.alch-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

/* Background Styles */
.slide-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 60%;
    height: 100%;
    overflow: hidden;
}

.slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

/* Zoom Effect */
.zoom-effect .slide-image {
    transform: scale(1);
    animation: zoomIn 10s ease-out infinite;
}

@keyframes zoomIn {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

/* Video Background */
.video-background {
    position: relative;
}

.slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

/* Content Styles */
.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    max-width:1180px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: var(--wp--preset--color--base);
    /*padding: 0 2rem;*/
}

.slide-content .container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.9);
    /*padding: 6rem 3rem;*/
    backdrop-filter: blur(1px);
    /*align-self:flex-end;*/
}

.slide-text {
    /*max-width: 540px;*/
    margin: 0 7rem;
}

.slide-title {
    font-family: var(--wp--preset--font-family--oswald);
    color: var(--wp--preset--color--base);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 500;
    letter-spacing: 0.4px;
    margin: 0 0 3.5rem 0;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-title:after {
    content:'';
    display:flex;
    width:120px;
    height:5px;
    background-color:var(--wp--preset--color--primary);
    position: relative;
    top: 30px;
}

.slide-subtitle {
    font-family: var(--wp--preset--font-family--roboto);
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin: 0 0 1.5rem 0;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-family: var(--wp--preset--font-family--roboto);
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.6;
    margin: 0 0 2rem 0;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.slide-button {
    margin-top: 2rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--wp--preset--font-family--roboto);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--wp--preset--color--primary);
    color: var(--wp--preset--color--base);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: #8b1322;
    color:#000;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Navigation Arrows */
.slider-navigation {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    z-index: 4;
    pointer-events: none;
}

.slider-arrow {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--wp--preset--color--base);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

@media (min-width:770px) and (max-width:1100px) {

    .slide-content {
        width:48%;
    }

    .slide-background {
        width:52%;
    }
    .slider-navigation {
    padding: 0 1rem;
    }

    .slide-text {
    margin: 0 4rem;
    }
}


@media (max-width:769px) {

    .hero-slider {
        height: 100%;
    }

    .slider-container {
        height:48vh;
    }

    .slide-background {
        width:100%;
    }

    .slide-title {
        font-size:3vh;
        margin: 0 0 2rem 0;
    }

    .slide-title::after {
        top: 20px;
    }

    .slide-text {
        margin: 14px 14px;
    }

    .slide-description {
        margin:0;
        font-size:1.8vh;
    }

    .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

    .slider-arrow {
        width: 30px;
        height: 30px;
    }

    .slider-navigation {
        padding: 0 0.6rem;
    }
    .slide-content {
        width:100%;
        height:100%;
        padding:0;
    }

    .slide-content .container {
        width: auto;
        height: auto;
        min-height:320px;
        max-height:320px;
        padding: 0 30px;
        margin: 16px;
    }

}

@media (max-width:400px) {

    .slider-container {
        height:54vh;
    }

    .slide-content .container {
        min-height:340px;
        max-height:340px;
        padding: 0 14px;
    }

    .slide-title {
        font-size:2.9vh;
        margin: 0 0 1.8rem 0;
    }

    .slide-title::after {
        top: 18px;
        height:3px;
    }

    .slider-arrow {
        width: 26px;
        height: 26px;
    }

    .slider-navigation {
        padding: 0 0.4rem;
    }
}