/* =========================================
   Owl Carousel Custom Styles
   Modern Indian Design Theme
   ========================================= */

/* Owl Carousel Container */
.owl-carousel {
    position: relative;
}

/* Owl Dots Custom Styling */
.owl-carousel .owl-dots {
    text-align: center;
    padding-top: var(--spacing-md);
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    margin: 0;
    background: var(--border-color);
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background: var(--primary-green);
    transform: scale(1.2);
}

/* Owl Nav Custom Styling */
.owl-carousel .owl-nav {
    margin-top: 0;
}

.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--background-white) !important;
    color: var(--primary-green) !important;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px !important;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    opacity: 0.8;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover {
    background: var(--primary-green) !important;
    color: var(--background-white) !important;
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

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

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

/* Mobile Adjustments */
@media (max-width: 768px) {
    .owl-carousel .owl-nav button.owl-prev,
    .owl-carousel .owl-nav button.owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px !important;
    }
    
    .owl-carousel .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .owl-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}

/* Testimonial Carousel Specific */
.testimonial-carousel .owl-item {
    padding: 0 15px;
}

.testimonial-carousel .testimonial-card {
    margin: 10px 0;
}

/* Product/Service Carousel Specific */
.product-carousel .owl-item {
    padding: 0 10px;
}

.product-carousel .card {
    margin: 10px 0;
}

/* Hero Carousel Specific */
.hero-carousel .owl-dots {
    position: absolute;
    bottom: 30px;
    left: 0;
    right: 0;
}

.hero-carousel .owl-dot span {
    background: rgba(255, 255, 255, 0.5);
}

.hero-carousel .owl-dot.active span {
    background: var(--background-white);
}

/* Smooth transitions */
.owl-carousel .owl-item img {
    border-radius: var(--radius-lg);
}

.owl-carousel.owl-drag .owl-item {
    cursor: move;
    cursor: grab;
}

.owl-carousel.owl-drag .owl-item:active {
    cursor: grabbing;
} 