/* Karuselli */

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 5px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    min-width: 100%;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Source Code Pro", monospace;
    font-size: 1.4rem;
    color: #fff;
    user-select: none;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(34, 34, 34, 0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 2;
}

.carousel-arrow:hover {
    background: hotpink;
}

.carousel-arrow--prev {
    left: 12px;
}

.carousel-arrow--next {
    right: 12px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 16px 0 0;
}

.carousel-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid hotpink;
    background: transparent;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.carousel-dot:hover {
    background: rgba(255, 105, 180, 0.4);
}

.carousel-dot.active {
    background: hotpink;
}

@media (max-width: 600px) {
    .carousel-slide {
        height: 200px;
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
}
