.autoklub-slider-wrapper {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.autoklub-slider {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
    background: #000;
}

/* 16:9 аспект */
.autoklub-slider-track {
    display: flex;
    transition: transform 0.6s ease;
    width: 100%;
}

.autoklub-slide {
    position: relative;
    min-width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 */
    overflow: hidden;
}

.autoklub-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 0.8s ease;
}

.autoklub-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.85) 20%, rgba(0, 0, 0, 0.2) 80%);
}

/* Содржина */
.autoklub-slide-content {
    position: absolute;
    bottom: 8%;
    left: 5%;
    max-width: 55%;
    color: #fff;
    z-index: 2;
    text-shadow: 0 6px 20px rgba(0, 0, 0, 0.9);
}

.autoklub-slide-category {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.12);
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.autoklub-slide-title {
    font-size: 30px;
    line-height: 1.2;
    margin: 5px 0 12px 0;
    font-weight: 700;
}

.autoklub-slide-title a {
    color: #fff;
    text-decoration: none;
}

.autoklub-slide-title a:hover {
    text-decoration: underline;
}

.autoklub-slide-meta {
    font-size: 13px;
    opacity: 0.85;
    margin-bottom: 18px;
}

.autoklub-slide-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    background: linear-gradient(135deg, #ff0000, #cc0000);
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.11em;
    box-shadow: 0 10px 25px rgba(255, 60, 0, 0.5);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.3s ease;
}

.autoklub-slide-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 35px rgba(255, 60, 0, 0.65);
}

/* Навигација */
.autoklub-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(0, 0, 0, 0.45);
    border: none;
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(6px);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.autoklub-slider-nav:hover {
    background: rgba(0, 0, 0, 0.75);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5);
    transform: translateY(-50%) scale(1.05);
}

.autoklub-slider-prev {
    left: 16px;
}

.autoklub-slider-next {
    right: 16px;
}

/* Точки (pagination) */
.autoklub-slider-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}

.autoklub-slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: width 0.2s ease, background 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.autoklub-slider-dot.active {
    width: 24px;
    background: #ff0000;
    opacity: 1;
}

/* Hover zoom на background */
.autoklub-slide:hover .autoklub-slide-bg {
    transform: scale(1.1);
}

/* Empty state */
.autoklub-slider-empty {
    text-align: center;
    font-style: italic;
    margin: 20px 0;
    color: #555;
}

/* Responsive */
@media (max-width: 992px) {
    .autoklub-slide-content {
        max-width: 70%;
        bottom: 10%;
    }

    .autoklub-slide-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .autoklub-slide-content {
        max-width: 90%;
        left: 6%;
        bottom: 12%;
    }

    .autoklub-slide-title {
        font-size: 20px;
    }

    .autoklub-slider-nav {
        width: 34px;
        height: 34px;
        font-size: 18px;
    }
}

@media (max-width: 576px) {
    .autoklub-slide-content {
        bottom: 10%;
    }

    .autoklub-slide-category {
        font-size: 11px;
        padding: 4px 10px;
    }

    .autoklub-slide-meta {
        font-size: 12px;
    }

    .autoklub-slide-button {
        font-size: 12px;
        padding: 8px 18px;
    }
}
