.portfolio-page { padding: 20px; max-width: 1400px; margin: 0 auto; }

.portfolio-hero {
    text-align: center;
    padding: 80px 20px;
    margin-bottom: 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.portfolio-hero h1 { font-family: 'Poppins', sans-serif; font-size: 48px; font-weight: 700; color: #fff; margin-bottom: 15px; }
.portfolio-hero p { font-size: 20px; color: #d0d0d0; }

/* Filter Buttons */
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

/* Featured Section */
.featured-section { margin-bottom: 50px; }
.section-title { font-size: 28px; color: #fff; margin-bottom: 25px; display: flex; align-items: center; gap: 10px; }
.section-title i { color: #f59e0b; }

.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    height: 300px;
}

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

.featured-card:hover img { transform: scale(1.1); }

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.featured-tag {
    background: #f59e0b;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
}

.featured-overlay h3 { color: white; font-size: 18px; margin-top: 10px; }
.featured-overlay p { color: #aaa; font-size: 14px; }

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.portfolio-card {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: rgba(102, 126, 234, 0.6);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.portfolio-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

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

.portfolio-card:hover .portfolio-image img { transform: scale(1.1); }

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

.portfolio-card:hover .portfolio-overlay { opacity: 1; }

.zoom-btn {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    text-decoration: none;
}

.featured-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f59e0b;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.portfolio-content { padding: 25px; }

.portfolio-category {
    display: inline-block;
    padding: 5px 14px;
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    border-radius: 15px;
    font-size: 12px;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    font-size: 20px;
    color: #fff;
    margin-bottom: 10px;
}

.portfolio-content p {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
    margin-bottom: 15px;
}

.portfolio-meta {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 13px;
}

.portfolio-meta i { color: #818cf8; margin-right: 5px; }

/* Stats Section */
.portfolio-stats { margin-bottom: 50px; padding: 40px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item i {
    font-size: 40px;
    color: #818cf8;
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 36px;
    color: #fff;
    font-weight: 700;
}

.stat-item p { color: #aaa; font-size: 14px; margin-top: 5px; }

/* CTA Section */
.portfolio-cta {
    text-align: center;
    padding: 60px 30px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.portfolio-cta h2 {
    font-size: 32px;
    color: #fff;
    margin-bottom: 15px;
}

.portfolio-cta p { color: #aaa; font-size: 18px; margin-bottom: 30px; }

.portfolio-cta .cta-btn {
    display: inline-block;
    padding: 16px 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.portfolio-cta .cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
    .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .portfolio-hero h1 { font-size: 36px; }
    .featured-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .portfolio-hero { padding: 50px 15px; }
    .portfolio-hero h1 { font-size: 28px; }
    .portfolio-filter { gap: 8px; }
    .filter-btn { padding: 8px 16px; font-size: 12px; }
}