/* Desktop Projects Section Styles */
@media (min-width: 769px) {
    .portfolio {
        padding: 100px 0;
        background: rgba(17, 44, 57, 0.1);
        position: relative;
        z-index: 1;
    }

    .portfolio-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
        padding: 40px 0;
        position: relative;
        z-index: 2;
    }

    /* Folder Container */
    .folder-container {
        position: relative;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        cursor: pointer;
        height: 300px;
        opacity: 1 !important;
        visibility: visible !important;
        display: block !important;
    }

    .folder {
        position: relative;
        height: 100%;
        background: rgba(17, 44, 57, 0.4);
        border-radius: 20px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        border: 1px solid rgba(29, 191, 115, 0.2);
        transition: all 0.3s ease;
        opacity: 1 !important;
        visibility: visible !important;
        backdrop-filter: blur(5px);
    }

    /* Folder Icon */
    .folder::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -65%);
        width: 100px;
        height: 100px;
        background: rgba(29, 191, 115, 0.15);
        border-radius: 20px;
        z-index: 1;
        transition: all 0.3s ease;
    }

    .folder i {
        font-size: 3.5rem;
        color: #1dbf73;
        margin-bottom: 20px;
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
        text-shadow: 0 0 20px rgba(29, 191, 115, 0.4);
    }

    .folder h3 {
        font-size: 1.8rem;
        color: #fff;
        margin: 0;
        position: relative;
        z-index: 2;
        transition: all 0.3s ease;
        background: linear-gradient(45deg, #1dbf73, #fff);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-shadow: 0 0 20px rgba(29, 191, 115, 0.2);
    }

    /* Hover Effects */
    .folder-container:hover {
        transform: translateY(-10px);
    }

    .folder-container:hover .folder {
        border-color: #1dbf73;
        box-shadow: 0 10px 30px rgba(29, 191, 115, 0.3);
        background: rgba(17, 44, 57, 0.6);
    }

    .folder-container:hover .folder::before {
        transform: translate(-50%, -65%) scale(1.2);
        background: rgba(29, 191, 115, 0.25);
    }

    .folder-container:hover i {
        transform: scale(1.2);
        color: #1dbf73;
        text-shadow: 0 0 30px rgba(29, 191, 115, 0.6);
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
    }

    .folder-container {
        height: 200px;
    }

    .folder i {
        font-size: 2rem;
    }

    .folder h3 {
        font-size: 1.4rem;
    }
}

/* Enhanced Portfolio Section */
.portfolio {
    padding: 100px 0;
    position: relative;
    background: linear-gradient(
        45deg,
        rgba(17, 44, 57, 0.95),
        rgba(29, 191, 115, 0.05)
    );
}

/* Add animated background effect */
.portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #1dbf73 0%, transparent 100%);
    opacity: 0.05;
    animation: gradientMove 15s ease infinite;
}

/* Enhanced Section Title */
.portfolio .section-title h2 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.portfolio .section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #1dbf73;
    border-radius: 2px;
}

.portfolio .section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 20px;
}

/* Enhanced Folder Content */
.folder-content {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    width: 95%;
    max-width: 1400px;
    background: rgba(17, 44, 57, 0.98);
    backdrop-filter: blur(20px);
    padding: 50px;
    border-radius: 30px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(29, 191, 115, 0.2);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

/* Enhanced Video Container */
.video-container {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.video-container:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 20px 40px rgba(29, 191, 115, 0.4);
}

/* Page Overlay */
.page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 44, 57, 0.8);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.folder-container:hover ~ .page-overlay {
    opacity: 1;
    visibility: visible;
}

/* Add new animations */
@keyframes pulse {
    0% { transform: translate(-50%, -65%) scale(1); }
    50% { transform: translate(-50%, -65%) scale(1.1); }
    100% { transform: translate(-50%, -65%) scale(1); }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
} 