/* Skrabni Group Logos Styles */
.skrabni-logos-grid {
    padding: 20px 0;
}

.skrabni-logo-item {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #f0f0f0;
}

.skrabni-logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--web-primary-color, #007bff);
}

.skrabni-logo-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.skrabni-logo-item:hover img {
    filter: grayscale(0%);
}

@media (max-width: 768px) {
    .skrabni-logo-item {
        height: 100px;
        padding: 15px;
    }

    .skrabni-logo-item img {
        max-height: 60px;
    }
}

/* Vehicle Brands Carousel Styles */
.vehicle-brands-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px 20px;
    margin: 20px 0;
    text-align: center !important;
    direction: ltr !important;
}

.vehicle-brands-section .section-header {
    text-align: center !important;
    direction: ltr !important;
}

.vehicle-brands-section .vehicle-brands-carousel {
    text-align: center !important;
    direction: ltr !important;
}

.vehicle-brand-item {
    padding: 8px;
    transition: all 0.3s ease;
}

.vehicle-brand-logo-container {
    background-color: #fff;
    border-radius: 50%;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(0, 0, 0, 0.05);
    margin: 10px auto;
    position: relative;
    overflow: hidden;
}

.vehicle-brand-item:hover .vehicle-brand-logo-container {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 123, 255, 0.3);
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
}

.vehicle-brand-logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    transition: left 0.5s;
    border-radius: 50%;
}

.vehicle-brand-logo-container::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #007bff, #28a745, #ffc107, #dc3545);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.vehicle-brand-item:hover .vehicle-brand-logo-container::before {
    left: 100%;
}

.vehicle-brand-item:hover .vehicle-brand-logo-container::after {
    opacity: 0.3;
}

.vehicle-brand-logo {
    max-width: 100%;
    max-height: 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.vehicle-brand-item:hover .vehicle-brand-logo {
    filter: grayscale(0%);
}

.vehicle-brand-name {
    font-size: 14px;
    font-weight: 500;
    color: #2c3e50;
    margin-top: 15px;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
    display: block;
}

.vehicle-brand-item:hover .vehicle-brand-name {
    color: #007bff;
}

/* Carousel Navigation Styles */
.vehicle-brands-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none;
}

.vehicle-brands-carousel .owl-nav button {
    position: absolute;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e0e0e0 !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #333 !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    pointer-events: all;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

.vehicle-brands-carousel .owl-nav button:hover {
    background: var(--web-primary-color, #007bff) !important;
    color: white !important;
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
}

.vehicle-brands-carousel .owl-nav .owl-prev {
    left: -25px;
}

.vehicle-brands-carousel .owl-nav .owl-next {
    right: -25px;
}

/* Carousel Container */
.vehicle-brands-carousel {
    position: relative;
    padding: 0 50px;
}

.vehicle-brands-carousel .owl-item {
    padding: 0 15px;
}

@media (max-width: 576px) {
    .vehicle-brands-carousel .owl-item {
        padding: 0 8px;
    }

    .vehicle-brand-item {
        padding: 0 4px;
    }
}

@media (min-width: 768px) {
    .vehicle-brands-carousel .owl-item {
        padding: 0 18px;
    }
}

@media (min-width: 1200px) {
    .vehicle-brands-carousel .owl-item {
        padding: 0 25px;
    }

    .vehicle-brand-item {
        padding: 0 15px;
    }
}

@media (min-width: 1400px) {
    .vehicle-brands-carousel .owl-item {
        padding: 0 30px;
    }

    .vehicle-brand-item {
        padding: 0 20px;
    }
}

/* Brand items styling */
.vehicle-brand-item {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}

/* Desktop styles for larger images */
@media (min-width: 992px) {
    .vehicle-brand-logo-container {
        width: 160px;
        height: 160px;
        padding: 25px;
    }

    .vehicle-brands-carousel {
        padding: 0 60px;
    }

    .vehicle-brands-carousel .owl-nav .owl-prev {
        left: -30px;
    }

    .vehicle-brands-carousel .owl-nav .owl-next {
        right: -30px;
    }
}

@media (max-width: 768px) {
    .vehicle-brands-section {
        padding: 20px 15px;
    }

    .vehicle-brand-logo-container {
        width: 100px;
        height: 100px;
        padding: 15px;
        margin: 5px auto;
    }

    .vehicle-brand-logo {
        object-fit: contain;
    }

    .vehicle-brand-name {
        font-size: 12px;
    }
}

@media (min-width: 992px) {
    .vehicle-brand-logo-container {
        margin-left: 8px;
        margin-right: 8px;
    }
}