/* Page Header */
.page-header {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 120px 0 60px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    color: #1d1d1f;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: #86868b;
}

/* Filter Section */
.filter-section {
    padding: 40px 0;
    background: white;
    border-bottom: 1px solid #f0f0f0;
}

.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #e0e0e0;
    background: white;
    color: #1d1d1f;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: #0066cc;
    color: white;
    border-color: #0066cc;
}

/* Portfolio Section */
.portfolio-section {
    padding: 60px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

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

.placeholder-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.placeholder-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Different styles for different categories */
.sns-style {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.sns-style-2 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.web-style {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.web-style-2 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

.lp-style {
    background: linear-gradient(135deg, #fa709a, #fee140);
}

.lp-style-2 {
    background: linear-gradient(135deg, #a8edea, #fed6e3);
}

.portfolio-info {
    padding: 1.5rem;
}

.portfolio-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1d1d1f;
    margin-bottom: 0.5rem;
}

.portfolio-category {
    color: #0066cc;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.view-details {
    color: #0066cc;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.view-details:hover {
    color: #004499;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Hidden items for filtering */
.portfolio-item.hidden {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.2rem;
    }

    .portfolio-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 1.5rem;
    }

    .filter-tabs {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .portfolio-image {
        height: 180px;
    }

    .placeholder-content h3 {
        font-size: 1.1rem;
    }

    .placeholder-content p {
        font-size: 0.8rem;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }

    .page-header {
        padding: 100px 0 40px;
    }
}