.portfolio-section {
 
    padding: 80px 0;
}

.portfolio-content {
    margin-top: 30px;
}

.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    background: white;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filter-btn:hover, .filter-btn.active {
    background: #f7941d;
    color: white;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding: 20px 0;
}

.portfolio-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    aspect-ratio: 16/9;
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.portfolio-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

.portfolio-item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5), transparent);
    padding: 30px 20px 20px;
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-item-overlay {
    transform: translateY(0);
}

.portfolio-item-overlay h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    color: #fff;
    font-weight: 600;
}

.portfolio-item-overlay p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.project-details-container {
    display: none;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
    position: relative;
    margin-top: 30px;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.project-details img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.project-info h2 {
    margin: 0;
    color: #333;
    font-size: 28px;
    font-weight: 600;
}

.project-info p {
    margin: 0;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
}

.technologies {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 5px;
}

.tech-tag {
    padding: 6px 16px;
    background: #f0f0f0;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.project-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.project-links a {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 140px;
}

.project-links .btn-primary {
    background: #f7941d;
    color: white;
}

.project-links .btn-primary:hover {
    background: #e88710;
    transform: translateY(-2px);
}

.project-links .btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.project-links .btn-secondary:hover {
    background: #e4e4e4;
    transform: translateY(-2px);
}

.close-details {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 24px;
    color: #333;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f0f0f0;
    transition: all 0.3s ease;
}

.close-details:hover {
    background: #e0e0e0;
    transform: rotate(90deg);
}

@media (max-width: 992px) {
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .project-details {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .portfolio-filters {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-links {
        flex-direction: column;
    }
    
    .project-details-container {
        padding: 20px;
    }
} 