/* Стилове за Banner Slider */
.banner {
    position: relative;
    width: 100%;          /* безкрайна ширина */
    background-color: #2c5e2e;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.banner .logo {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 220px;
    height: auto;
}

.slider-container {
    position: relative;
    width: 70%;
    max-width: 900px;
    height: 250px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.slider {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

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

.slide-content {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    text-align: left;
    max-width: 80%;
}

.slide-content h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.slide-content p {
    margin: 5px 0 0;
    font-size: 16px;
}

.slide-content h3,
.slide-content p {
    opacity: 0;
}

.slide-content.animate h3 {
    animation: slideFromCenterToLeft 0.8s ease-out forwards;
}

.slide-content.animate p {
    animation: slideFromCenterToLeft 0.8s ease-out 0.2s forwards;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7);
    color: #333;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    font-size: 20px;
    transition: background 0.3s;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.9);
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

@keyframes slideFromCenterToLeft {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}