/* Main Container */
.elka-projects-showcase {
    position: relative;
    width: 100%;
    background: #000;
    overflow: hidden;
}

/* Main Slider */
.elka-main-slider {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 600px;
}

.elka-main-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.elka-main-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}

.elka-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.elka-main-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 2;
}

/* Main Content */
.elka-main-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 3;
    padding: 60px 0 40px;
}

.elka-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    color: #fff;
}

.elka-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.elka-project-title {
    font-size: 48px;
    font-weight: 700;
    margin: 0 0 20px 0;
    line-height: 1.2;
    color: #fff;
}

.elka-project-info {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.elka-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    opacity: 0.95;
}

.elka-info-item .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.elka-view-button {
    display: inline-block;
    background: #fff;
    color: #000;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    border: 2px solid #fff;
}

.elka-view-button:hover {
    background: transparent;
    color: #fff;
}

/* Thumbnails Section */
.elka-thumbnails-wrapper {
    position: relative;
    background: #1a1a1a;
    padding: 30px 0;
}

.elka-thumbnails-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 80px;
    overflow: hidden;
}

.elka-thumbnails {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.elka-thumbnail {
    position: relative;
    flex: 0 0 250px;
    height: 180px;
    cursor: pointer;
    border-radius: 8px;
    overflow: hidden;
    border: 3px solid transparent;
    transition: all 0.3s ease;
}

.elka-thumbnail:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.elka-thumbnail.active {
    border-color: #fff;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.elka-thumb-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.elka-thumbnail:hover .elka-thumb-image {
    transform: scale(1.1);
}

.elka-thumb-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    color: #fff;
}

.elka-thumb-title {
    font-size: 14px;
    font-weight: 600;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Thumbnail Navigation */
.elka-thumb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.elka-thumb-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.elka-thumb-prev {
    right: 15px;
}

.elka-thumb-next {
    left: 15px;
}

.elka-thumb-nav .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

/* No Projects */
.elka-no-projects {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #666;
}

/* Responsive */
@media (max-width: 1024px) {
    .elka-thumbnail {
        flex: 0 0 200px;
        height: 150px;
    }
}

@media (max-width: 768px) {
    .elka-main-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .elka-content-wrapper {
        padding: 0 20px;
    }
    
    .elka-project-title {
        font-size: 32px;
    }
    
    .elka-project-info {
        gap: 15px;
        font-size: 14px;
    }
    
    .elka-thumbnails-container {
        padding: 0 60px;
    }
    
    .elka-thumbnail {
        flex: 0 0 150px;
        height: 110px;
    }
    
    .elka-thumb-nav {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .elka-project-title {
        font-size: 24px;
    }
    
    .elka-thumbnails-wrapper {
        padding: 20px 0;
    }
    
    .elka-thumbnail {
        flex: 0 0 120px;
        height: 90px;
    }
}
