/* public/css/slaider-public.css */

.slaider-container {
    position: relative;
    width: 100%;
    height: 70vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    color: #fff;
}

.slaider-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: brightness(0.8);
}

.slaider-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.slaider-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
}

.slaider-content {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1300px; /* Muudetud 1400px -> 1300px */
    margin: 0 auto;
    padding: 0 30px;
    box-sizing: border-box;
}

.slaider-text-content {
    flex: 0 0 60%;
    max-width: 700px;
    position: relative;
    z-index: 2;
}

.slaider-heading {
    font-size: 7rem; /* Suurendatud 5rem -> 6.5rem */
    font-family: 'DharmaGothicE', 'Arial Black', 'Impact', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
    margin: 0 0 1rem;
    color: #fff;
    position: relative;
    right: 0; /* Muudetud -5% -> 0 et eemaldada taane */
    z-index: 3;
    letter-spacing: 0.02em;
}

.slaider-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.slaider-button-wrapper {
    margin-top: 25px;
    position: relative;
    z-index: 5;
}

.slaider-button {
    display: inline-flex;
    align-items: center;
    position: relative;
    z-index: 2;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease;
}

.slaider-button:hover {
    transform: translateX(5px);
}

.slaider-button-img {
    max-height: 50px;
    width: auto;
}

.slaider-button-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.slaider-image {
    flex: 0 0 40%;
    text-align: right;
    position: relative;
    right: 0%;
}

.slaider-image img {
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
}

.slaider-full-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Responsive stiilid */
@media (max-width: 992px) {
    .slaider-content {
        flex-direction: column;
        text-align: center;
    }
    
    .slaider-text-content {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 30px;
    }
    
    .slaider-heading {
        right: 0;
        font-size: 4.5rem; /* Suurendatud 3.5rem -> 4.5rem */
    }
    
    .slaider-image {
        flex: 0 0 100%;
        text-align: center;
        right: 0;
    }
    
    .slaider-image img {
        margin: 0 auto;
        max-width: 250px;
    }
    
    .slaider-button {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .slaider-heading {
        font-size: 3.5rem; /* Suurendatud 2.5rem -> 3.5rem */
    }
    
    .slaider-description {
        font-size: 1rem;
    }
    
    .slaider-image img {
        max-width: 200px;
    }
}