/* Home Slider Styles */

.homeslider-container {
    position: relative;
    width: 100vw;
    height: 500px;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    background-color: #000;
}

.homeslider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.homeslider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homeslider-slide.active {
    opacity: 1;
    z-index: 1;
}

.homeslider-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.homeslider-image-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    z-index: 0;
}

.homeslider-image-link .homeslider-image {
    transition: transform 0.3s ease;
}

.homeslider-image-link:hover .homeslider-image {
    transform: scale(1.05);
}

.homeslider-content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

.homeslider-text {
    max-width: 600px;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.homeslider-promo {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 10px 0;
    color: #2fb5d2;
    animation: slideUp 0.8s ease-out;
}

.homeslider-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 20px 0;
    animation: slideUp 0.8s ease-out 0.1s both;
}

.homeslider-description {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 30px 0;
    animation: slideUp 0.8s ease-out 0.3s both;
}

.homeslider-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: #2fb5d2;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    animation: slideUp 0.8s ease-out 0.5s both;
}

.homeslider-button:hover {
    background-color: #25a0ba;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(47, 181, 210, 0.4);
    color: #fff;
}

/* Navigation Buttons */
.homeslider-prev,
.homeslider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: #333;
}

.homeslider-prev:hover,
.homeslider-next:hover {
    background-color: #fff;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.homeslider-prev {
    left: 20px;
}

.homeslider-next {
    right: 20px;
}

/* Dots Navigation */
.homeslider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.homeslider-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.homeslider-dot:hover {
    background-color: rgba(255, 255, 255, 0.7);
    transform: scale(1.2);
}

.homeslider-dot.active {
    background-color: #fff;
    transform: scale(1.3);
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .homeslider-container {
        height: 400px;
    }

    .homeslider-promo {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .homeslider-title {
        font-size: 36px;
    }

    .homeslider-description {
        font-size: 16px;
    }

    .homeslider-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .homeslider-container {
        height: 350px;
    }

    .homeslider-promo {
        font-size: 12px;
        margin-bottom: 8px;
    }

    .homeslider-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .homeslider-description {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .homeslider-button {
        padding: 10px 25px;
        font-size: 14px;
    }

    .homeslider-prev,
    .homeslider-next {
        width: 40px;
        height: 40px;
    }

    .homeslider-prev {
        left: 10px;
    }

    .homeslider-next {
        right: 10px;
    }

    .homeslider-dots {
        bottom: 20px;
    }

    .homeslider-dot {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .homeslider-container {
        height: 300px;
    }

    .homeslider-promo {
        font-size: 11px;
        margin-bottom: 5px;
    }

    .homeslider-title {
        font-size: 24px;
    }

    .homeslider-description {
        display: none;
    }
}
