/* Professional Slider Widget CSS - Matching index.html style */

.professional-slider-container {
    position: relative;
    max-width: 450px;
    width: 100%;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e1e1;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.professional-slider-container:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.professional-slider {
    position: relative;
    padding:20px 10px;
    height: 450px;
    overflow: hidden;
    background: white;
    cursor: zoom-in;
}

.professional-slider:hover {
    cursor: crosshair;
}

/* Slide Items */
.slide-item {
    display: none;
    width: 100%;
    height: 100%;
    position: relative;
    text-align: center;
    align-items: center;
    align-content: center;
}

.slide-item.active {
    display: block;
}

.slide-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.slide-item:hover img {
    transform: scale(1.5);
    cursor: crosshair;
}

/* Slide Content - Hidden by default like index.html */
.slide-content {
    display: none;
}

/* Navigation Arrows - Matching index.html style */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2b1b9a !important;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    z-index: 15;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
}

.professional-slider-container:hover .nav-arrow {
    opacity: 1;
    visibility: visible;
}

.nav-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.prev-arrow {
    left: 20px;
}

.next-arrow {
    right: 20px;
}

/* Dots Navigation - Matching index.html style */
.slider-dots {
    display: flex;
    justify-content: center;
    padding: 15px;
    margin-top: -15px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #2b1b9a !important;
    margin: 0 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    padding: 0;
}

.dot.active {
    background: #333;
    transform: scale(1.3);
}

.dot:hover {
    background: #666;
    transform: scale(1.2);
}

/* Responsive Design - Matching index.html */
@media (max-width: 768px) {
    .professional-slider {
        height: 300px;
    }

    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .prev-arrow {
        left: 15px;
    }

    .next-arrow {
        right: 15px;
    }

    .dot {
        width: 10px;
        height: 10px;
        margin: 0 5px;
    }

    .slider-dots {
        padding: 15px;
    }
}

/* Accessibility */
.nav-arrow:focus,
.dot:focus {
    outline: 2px solid rgba(255,255,255,0.8);
    outline-offset: 2px;
}

/* Placeholder styling if needed */
.placeholder {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 50px;
    font-weight: bold;
    width: 100%;
    height: 100%;
    transition: transform 0.2s ease;
    transform-origin: center center;
}

.slide-item:hover .placeholder {
    transform: scale(2);
    cursor: crosshair;
}
