/* Portfolio Popup Styles */
.portfolio-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    overflow-y: auto;
}

.portfolio-popup-container {
    width: 90%;
    max-width: 1400px;
    background-color: #fff;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 5px;
}

.portfolio-popup-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
}

.portfolio-popup-close:hover {
    transform: rotate(90deg);
}

.project-details-1-area {
    padding: 30px;
}

.project-details-1-left {
    padding-right: 20px;
}

.project-details-1-thumb {
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.project-details-1-thumb img {
    width: 100%;
    height: auto;
    display: block;
}

.project-details-1-right-wrap {
    padding: 30px 0;
}

.project-details-1-subtitle {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #666;
    display: block;
    margin-bottom: 10px;
}

.project-details-1-subtitle i {
    font-style: normal;
    margin-right: 10px;
    font-weight: bold;
}

.project-details-1-title {
    font-size: 32px;
    margin-bottom: 20px;
}

.project-details-1-info-wrap {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.project-details-1-info {
    margin-bottom: 20px;
}

.project-details-1-info span {
    font-size: 14px;
    color: #666;
    display: block;
    margin-bottom: 5px;
}

.project-details-1-info h4 {
    font-size: 16px;
    margin: 0;
}

.project-details-1-social {
    display: flex;
    justify-content: flex-start;
    margin-top: 30px;
}

.project-details-1-social-inner {
    display: flex;
    gap: 15px;
}

.project-details-1-social-inner a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.project-details-1-social-inner a:hover {
    background-color: #e0e0e0;
}

.project-details-1-navigation {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.project-details-1-prev,
.project-details-1-next {
    display: flex;
    align-items: center;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-details-1-prev i,
.project-details-1-next i {
    margin: 0 10px;
}

/* Animation classes for GSAP */
.fade-in {
    opacity: 0;
}

@media (max-width: 991px) {
    .project-details-1-left {
        padding-right: 0;
    }
    
    .project-details-1-right-wrap {
        padding-left: 0;
        padding-top: 20px;
    }
}

/* Make the portfolio items clickable */
.portfolio-item {
    cursor: pointer;
}

.not-hide-cursor {
    cursor: pointer !important;
}

/* Prevent scrolling when popup is open */
body.popup-open {
    overflow: hidden;
}
