/* 
   Portfolio Dark Theme - Green & Purple Accent Colors 
   Custom CSS to be added to your existing styles
*/

/* Portfolio section */

/* Portfolio items */
.gallery .item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: var(--lighter-bg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.gallery .item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}
/* Project Details Page */
.project-details {
    padding: 120px 0;
}

.project-header {
    padding-bottom: 30px;
    border-bottom: 1px solid #2a2a2a;
}

.back-btn {
    display: inline-block;
    color: var(--text-gray);
    margin-bottom: 20px;
    text-decoration: none;
    transition: var(--transition);
}

.back-btn:hover {
    color: var(--primary-green);
}

.back-btn i {
    margin-right: 5px;
}


.project-featured-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.project-featured-image img {
    width: 100%;
    border-radius: 15px;
    transition: var(--transition);
}

.project-content {
    padding: 30px;
    background-color: var(--lighter-bg);
    border-radius: 15px;
    margin-bottom: 30px;
}

.project-content h2, 
.project-content h3 {
    color: var(--primary-green);
    margin-bottom: 20px;
}

.project-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.project-content ul {
    margin-bottom: 30px;
}

.project-content ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.project-content ul li::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--primary-purple);
    left: 0;
    top: 8px;
}

.project-sidebar {
    padding: 30px;
    background-color: var(--lighter-bg);
    border-radius: 15px;
    height: 100%;
}

.project-details-item {
    margin-bottom: 30px;
}

.project-details-item h5 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary-green);
}

.project-info-list li {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px dashed #2a2a2a;
}

.project-info-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.project-info-list .title {
    display: block;
    color: var(--text-gray);
    margin-bottom: 5px;
}

.project-info-list .value {
    font-weight: 600;
}

.project-info-list a.value {
    color: var(--primary-purple);
    text-decoration: none;
    transition: var(--transition);
}

.project-info-list a.value:hover {
    color: var(--primary-green);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list .tag {
    padding: 5px 12px;
    background-color: var(--primary-purple);
    color: #fff;
    border-radius: 20px;
    font-size: 12px;
}

.project-gallery {
    margin-top: 70px;
}

.gallery-item {
    margin-bottom: 30px;
}

.gallery-image {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.gallery-image:hover img {
    transform: scale(1.05);
}



.gallery-image:hover .image-overlay {
    opacity: 1;
}

.image-overlay a {
    width: 50px;
    height: 50px;
    background-color: var(--primary-purple);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0);
    transition: var(--transition);
}

.gallery-image:hover .image-overlay a {
    transform: scale(1);
}

.image-overlay a:hover {
    background-color: var(--primary-green);
}

.related-projects {
    margin-top: 80px;
    padding-top: 50px;
    border-top: 1px solid #2a2a2a;
}

/* AOS Animation Enhancements */
[data-aos] {
    opacity: 0;
    transition-duration: 1000ms;
    transition-property: opacity, transform;
}

[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="zoom-in"] {
    transform: scale(0.9);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateX(0) translateY(0) scale(1);
}

/* Magnific Popup Customization */
.mfp-bg {
    background-color: rgba(10, 10, 10, 0.95);
}

.mfp-close {
    color: var(--primary-green) !important;
}

.mfp-arrow:before,
.mfp-arrow:after {
    border-color: var(--primary-purple) !important;
}

/* Responsive Adjustments */
@media (max-width: 991px) {

    
    .project-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 767px) {

    .gallery .item .img img {
        height: 200px;
    }
    
    .gallery-image img {
        height: 200px;
    }
}

@media (max-width: 575px) {
 
    
    .project-title {
        font-size: 26px;
    }
}



@keyframes letters-loading {
    0% {
        color: var(--primary-purple);
    }
    50% {
        color: var(--primary-green);
    }
    100% {
        color: var(--primary-purple);
    }
}

