/* 포트폴리오 갤러리 섹션 스타일 - Oscar Akermo 스타일 */
.portfolio-showcase {
    padding: 100px 0;
    background: #f8f8f8;
}

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

.portfolio-showcase .section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 60px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #333;
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: #000;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}

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

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

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

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
    text-align: center;
}

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

.portfolio-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.portfolio-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.portfolio-title {
    color: white;
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    line-height: 1.3;
}

.portfolio-category {
    color: #ccc;
    font-size: 0.8rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-price {
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* 로딩 상태 스타일 */
.portfolio-loading {
    text-align: center;
    padding: 60px 0;
    color: #666;
    font-size: 1.1rem;
}

.portfolio-cta {
    text-align: center;
}

.btn-view-all {
    display: inline-block;
    background: transparent;
    color: #333;
    border: 2px solid #333;
    padding: 15px 40px;
    font-size: 1rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-view-all:hover {
    background: #333;
    color: white;
    transform: translateY(-2px);
}

/* 포트폴리오 아이템 애니메이션 */
.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.portfolio-item:nth-child(1) { animation-delay: 0.1s; }
.portfolio-item:nth-child(2) { animation-delay: 0.2s; }
.portfolio-item:nth-child(3) { animation-delay: 0.3s; }
.portfolio-item:nth-child(4) { animation-delay: 0.4s; }
.portfolio-item:nth-child(5) { animation-delay: 0.5s; }
.portfolio-item:nth-child(6) { animation-delay: 0.6s; }
.portfolio-item:nth-child(7) { animation-delay: 0.7s; }
.portfolio-item:nth-child(8) { animation-delay: 0.8s; }
.portfolio-item:nth-child(9) { animation-delay: 0.9s; }
.portfolio-item:nth-child(10) { animation-delay: 1.0s; }
.portfolio-item:nth-child(11) { animation-delay: 1.1s; }
.portfolio-item:nth-child(12) { animation-delay: 1.2s; }
.portfolio-item:nth-child(13) { animation-delay: 1.3s; }
.portfolio-item:nth-child(14) { animation-delay: 1.4s; }
.portfolio-item:nth-child(15) { animation-delay: 1.5s; }
.portfolio-item:nth-child(16) { animation-delay: 1.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 반응형 디자인 */
@media (max-width: 1200px) {
    .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

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

@media (max-width: 768px) {
    .portfolio-showcase {
        padding: 60px 0;
    }
    
    .portfolio-showcase .section-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .portfolio-number {
        font-size: 1.5rem;
    }
    
    .portfolio-title {
        font-size: 0.9rem;
    }
    
    .portfolio-category {
        font-size: 0.7rem;
    }
    
    .portfolio-price {
        font-size: 0.8rem;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .portfolio-showcase .container {
        padding: 0 15px;
    }
    
    .portfolio-showcase .section-title {
        font-size: 1.8rem;
    }
    
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .portfolio-overlay {
        padding: 15px;
    }
    
    .portfolio-number {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .portfolio-title {
        font-size: 0.8rem;
    }
    
    .portfolio-category {
        font-size: 0.6rem;
    }
    
    .portfolio-price {
        font-size: 0.7rem;
        padding: 2px 5px;
    }
    
    .btn-view-all {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}
