.elementor-6583 .elementor-element.elementor-element-49e3dfa{--display:flex;}/* Start custom CSS *//* 포트폴리오 페이지 스타일 */


body.elementor-page-6583 button:hover {
    background-color: #ffffff00;
}

body.elementor-page-6583 button {
    color: black;
}

.filter-tab.active span {
    color: white !important;
}


/* 포트폴리오 페이지 스타일 */

/* 컨테이너 기본 설정 */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}

/* 페이지 헤더 - 전체 너비 */
.page-header {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #0066FF 0%, #0052CC 100%);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 30s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.page-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

.page-subtitle {
    font-size: 1.5rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
    z-index: 1;
}

.portfolio-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.125rem;
    opacity: 0.9;
}

/* 필터 섹션 */
.filter-section {
    background: white;
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.filter-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 3rem; /* 간격 늘림 */
    flex-wrap: wrap; /* 화면이 좁아지면 줄바꿈 */
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 28px;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 100px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-tab:hover {
    border-color: #0066FF;
    color: #0066FF;
}

.filter-tab.active {
    background: #0066FF;
    border-color: #0066FF;
    color: white;
}

.filter-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 100px;
    font-size: 0.875rem;
}

.filter-tab.active .filter-count {
    background: rgba(255, 255, 255, 0.2);
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex: 1;
    max-width: 500px; /* 전체 너비 제한 */
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8f8f8;
    padding: 12px 20px;
    border-radius: 100px;
    flex: 1;
    min-width: 280px; /* 최소 너비 보장 */
}

.search-icon {
    color: #666666;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.search-input {
    border: none;
    background: none;
    outline: none;
    font-size: 0.9375rem;
    flex: 1;
    width: 100%;
    color: #1a1a1a;
}

.search-input::placeholder {
    color: #999999;
}

.sort-dropdown {
    padding: 12px 18px;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    background: white;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 110px;
    max-width: 140px;
    flex-shrink: 0;
    font-weight: 500;
}

.sort-dropdown option {
    padding: 8px;
}

.sort-dropdown:hover,
.sort-dropdown:focus {
    border-color: #0066FF;
    outline: none;
}

/* 검색창 포커스 효과 추가 */
.search-box:focus-within {
    background: #f0f0f0;
    box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.1);
}

/* 포트폴리오 그리드 */
.portfolio-section {
    padding: 80px 0 120px;
    background: #f8f8f8;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 3rem;
    margin-bottom: 60px;
}

.portfolio-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.portfolio-card.filtering {
    opacity: 0;
    transform: scale(0.8);
}

.portfolio-card.filtered {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.card-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    cursor: pointer;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-card:hover .card-image img {
    transform: scale(1.1);
}

.card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 102, 255, 0.9);
    color: white;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: flex-end;
    padding: 2rem;
}

.portfolio-card:hover .card-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
}

.overlay-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.overlay-cta {
    font-size: 1rem;
    opacity: 0.9;
}

.card-content {
    padding: 2rem;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: #1a1a1a;
}

.card-excerpt {
    color: #666666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #f0f0f0;
    color: #666666;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.card-date {
    color: #999999;
    font-size: 0.875rem;
}

/* 로드 더 버튼 */
.load-more-container {
    text-align: center;
}

.load-more-btn {
    background: white;
    border: 2px solid #0066FF;
    color: #0066FF;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.load-more-btn:hover {
    background: #0066FF;
    color: white;
    transform: translateY(-2px);
}

.load-more-btn span {
    display: inline-block;
    transition: transform 0.3s ease;
}

.load-more-btn:hover span {
    transform: translateY(2px);
}

.no-portfolio {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: 16px;
}

.no-portfolio p {
    font-size: 1.125rem;
    color: #666666;
}

/* 반응형 */
@media (max-width: 1024px) {
    .container {
        padding: 0 40px;
    }
    
    .portfolio-stats {
        gap: 2rem;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .filter-tabs {
        justify-content: center;
    }
    
    .filter-controls {
        width: 100%;
        max-width: none;
        flex-direction: row; /* 태블릿에서는 가로 유지 */
        gap: 0.75rem;
    }
    
    .search-box {
        flex: 1;
        min-width: 200px;
    }
    
    .sort-dropdown {
        min-width: 100px;
        max-width: 120px;
        font-size: 0.875rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .page-header {
        padding: 80px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .portfolio-stats {
        flex-direction: column;
        gap: 2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .filter-tab {
        padding: 10px 20px;
        font-size: 0.875rem;
    }
    
    .filter-tab {
        display: none;
    }
    
    .sort-dropdown {
        display: none;
    }
    
    .filter-controls {
        display: none;
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-box {
        width: 100%;
    }
    
    .sort-dropdown {
        width: 100%;
        padding: 12px 16px;
    }
}/* End custom CSS */