/* ========================================
   PROJECT DETAIL CUSTOM STYLES
   ======================================== */

/* Project Info Section - Stats Bar Style */
.project-info-area {
    background: linear-gradient(135deg, #1a1d2e 0%, #0f1117 100%);
    position: relative;
    overflow: hidden;
}

.stats-bar-wrapper {
    background: linear-gradient(135deg, #1a1d2e 0%, #0f1117 100%);
    padding: 50px;
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    text-align: center;
    color: #fff;
    position: relative;
    flex: 1;
    min-width: 200px;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 2px;
    height: 80px;
    background: rgba(255, 107, 53, 0.2);
}

.stat-item:last-child::after {
    display: none;
}

.stat-item i {
    font-size: 45px;
    color: #ff6b35;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.stat-item:hover i {
    transform: scale(1.15);
    color: #ff8c5a;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.5));
}

.stat-item h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 600;
}

.stat-item p {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Project Description Section */
.project-description-area {
    background: #ffffff;
}

.project-desc-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.project-desc-image img {
    width: 100%;
    height: auto;
    display: block;
}

.project-desc-content h3 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.project-desc-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.project-desc-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.project-desc-content ul li {
    font-size: 16px;
    color: #666;
    padding-left: 30px;
    position: relative;
    margin-bottom: 15px;
}

.project-desc-content ul li:before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro";
    font-weight: 400;
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-size: 14px;
}

/* Project Gallery Section */
.project-gallery-area {
    background: #fff5e2;
}

.gallery-slider-wrapper {
    position: relative;
}

.gallery-main-image {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    cursor: pointer;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    color: #1a1a1a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    opacity: 0;
}

.gallery-main-image:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: #ff6b35;
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-nav i {
    font-size: 20px;
}

.main-gallery-img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    transition: all 0.4s ease;
}

.gallery-main-image:hover .main-gallery-img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.gallery-main-image:hover .gallery-overlay {
    opacity: 1;
}

.gallery-view-btn {
    background: #ff6b35;
    border: none;
    color: #ffffff;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.gallery-view-btn:hover {
    background: #e55a2b;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.4);
}

.gallery-view-btn i {
    font-size: 20px;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.gallery-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #d4d4d4;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-dot:hover {
    background: #ff6b35;
    transform: scale(1.2);
}

.gallery-dot.active {
    background: #ff6b35;
    width: 40px;
    border-radius: 6px;
}

.gallery-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 2px solid #ff6b35;
    border-radius: 8px;
    opacity: 0.3;
}

.gallery-item {
    display: none;
}

/* Lightbox Styles */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    display: block;
    border-radius: 8px;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 36px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    color: #ff6b35;
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    font-size: 30px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.lightbox-nav:hover {
    background: #ff6b35;
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

/* Related Projects Section */
.related-projects-area {
    background: #ffffff;
}

.related-project-item {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.related-project-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.related-project-item .image {
    position: relative;
    overflow: hidden;
}

.related-project-item .image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.4s ease;
}

.related-project-item:hover .image img {
    transform: scale(1.1);
}

.related-project-item .content {
    padding: 30px;
}

.related-project-item .content .category {
    font-size: 13px;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.related-project-item .content h5 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
}

.related-project-item .content h5 a {
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.related-project-item .content h5 a:hover {
    color: #ff6b35;
}

.related-project-item .content .meta {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #999;
}

.related-project-item .content .meta span i {
    color: #ff6b35;
    margin-right: 5px;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .stats-bar-wrapper {
        padding: 40px 30px;
        gap: 30px;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .stat-item::after {
        height: 60px;
    }
    
    .project-desc-content {
        margin-top: 40px;
    }
    
    .project-desc-content h3 {
        font-size: 28px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .stats-bar-wrapper {
        flex-direction: column;
        padding: 30px 20px;
        gap: 35px;
    }
    
    .stat-item {
        min-width: 100%;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-item i {
        font-size: 35px;
    }
    
    .stat-item p {
        font-size: 22px;
    }
    
    .project-desc-content h3 {
        font-size: 24px;
    }
    
    .main-gallery-img {
        height: 350px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
        opacity: 1;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-nav i {
        font-size: 16px;
    }
    
    .gallery-view-btn {
        padding: 14px 30px;
        font-size: 14px;
    }
    
    .gallery-dot {
        width: 10px;
        height: 10px;
    }
    
    .gallery-dot.active {
        width: 30px;
    }
    
    .related-project-item .image img {
        height: 200px;
    }
    
    .lightbox-close {
        top: 10px;
        right: 10px;
    }
}

.stat-item .icon {
    color: #ff6b35;
    margin-bottom: 20px;
    display: block;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.stat-item .icon img{
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 107, 53, 0.3));
}

.stat-item:hover .icon img {
    transform: scale(1.15);
    color: #ff8c5a;
    filter: drop-shadow(0 0 15px rgba(255, 107, 53, 0.5));
}


/* Related Projects Slider */
.related-projects-slider-wrapper {
    position: relative;
    padding: 0 60px;
}

.related-projects-slider .swiper-slide {
    height: auto;
}

.related-slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.related-slider-nav:hover {
    background: #ff6b35;
    color: #fff;
    transform: translateY(-50%) scale(1.1);
}

.related-slider-prev {
    left: 0;
}

.related-slider-next {
    right: 0;
}

.related-slider-pagination {
    text-align: center;
    margin-top: 30px;
}

.related-slider-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #d4d4d4;
    opacity: 1;
    margin: 0 6px;
}

.related-slider-pagination .swiper-pagination-bullet-active {
    background: #ff6b35;
    width: 40px;
    border-radius: 6px;
}

@media (max-width: 767px) {
    .related-projects-slider-wrapper {
        padding: 0 50px;
    }
    
    .related-slider-nav {
        width: 40px;
        height: 40px;
    }
}
