/**
 * Orion Project Gallery Slider Styles
 *
 * @package Orion_Construction
 * @author WebbyCrown Solutions Pvt Ltd
 */

.orion-project-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.orion-project-gallery__container {
    position: relative;
    width: 100%;
}

.orion-project-gallery__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.orion-project-gallery__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
}

.orion-project-gallery__navigation {
    display: flex;
    gap: 10px;
}

.orion-project-gallery__nav-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #e5e5e5;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
    color: #666;
}

.orion-project-gallery__nav-btn:hover {
    border-color: #007cba;
    color: #007cba;
    transform: scale(1.05);
}

.orion-project-gallery__nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.orion-project-gallery__nav-btn:disabled:hover {
    border-color: #e5e5e5;
    color: #666;
    transform: none;
}

.orion-project-gallery__slider {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.orion-project-gallery__slides {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
}

.orion-project-gallery__slide {
    flex: 0 0 100%;
    width: 100%;
    position: relative;
}

.orion-project-gallery__slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.orion-project-gallery__slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 30px 20px 20px;
    border-radius: 0 0 8px 8px;
}

.orion-project-gallery__slide-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.orion-project-gallery__slide-description {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
    opacity: 0.9;
}

.orion-project-gallery__indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.orion-project-gallery__indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e5e5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.orion-project-gallery__indicator.active {
    background: #007cba;
    transform: scale(1.2);
}

.orion-project-gallery__indicator:hover {
    background: #007cba;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .orion-project-gallery__header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .orion-project-gallery__title {
        font-size: 1.5rem;
    }
    
    .orion-project-gallery__nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .orion-project-gallery__slide img {
        height: 300px;
    }
    
    .orion-project-gallery__slide-content {
        padding: 20px 15px 15px;
    }
    
    .orion-project-gallery__slide-title {
        font-size: 1.25rem;
    }
    
    .orion-project-gallery__slide-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .orion-project-gallery__title {
        font-size: 1.25rem;
    }
    
    .orion-project-gallery__slide img {
        height: 250px;
    }
    
    .orion-project-gallery__slide-content {
        padding: 15px 10px 10px;
    }
    
    .orion-project-gallery__slide-title {
        font-size: 1.1rem;
    }
    
    .orion-project-gallery__slide-description {
        font-size: 0.85rem;
    }
}

/* Loading State */
.orion-project-gallery__loading {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    background: #f5f5f5;
    border-radius: 8px;
}

.orion-project-gallery__loading::after {
    content: '';
    width: 40px;
    height: 40px;
    border: 4px solid #e5e5e5;
    border-top: 4px solid #007cba;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty State */
.orion-project-gallery__empty {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 300px;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    text-align: center;
}

.orion-project-gallery__empty-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.orion-project-gallery__empty-text {
    font-size: 1.1rem;
    margin: 0;
}
