/* 서비스 상세 페이지 스타일 */
.portfolio-detail {
    padding: 40px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    min-height: 100vh;
}

.portfolio-detail .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 브레드크럼 */
.breadcrumb {
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: #fff;
    font-weight: 500;
}

/* 프로젝트 헤더 */
.project-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-info h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-subtitle {
    font-size: 1.25rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.6;
}

.project-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.meta-label {
    font-weight: 600;
    color: #cccccc;
    min-width: 80px;
}

.meta-value {
    color: #ffffff;
    font-weight: 500;
}

.project-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover img {
    transform: scale(1.05);
}

/* YouTube 영상 컨테이너 */
.youtube-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    background: #000;
}

.youtube-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 15px;
}

/* 서비스 콘텐츠 */
.project-content {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 서비스 혜택 리스트 */
.benefit-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.benefit-item {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #00d4ff;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.benefit-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.benefit-item p {
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

.content-section {
    margin-bottom: 50px;
}

.content-section:last-child {
    margin-bottom: 0;
}

.content-section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin-bottom: 20px;
}

/* 기능 그리드 */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.feature-item:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

.feature-item p {
    font-size: 0.95rem;
    color: #cccccc;
    line-height: 1.6;
    margin: 0;
}

/* 기술 세부사항 */
.tech-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 30px;
}

.tech-category {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #00d4ff;
}

.tech-category h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.tech-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-category li {
    padding: 8px 0;
    color: #cccccc;
    position: relative;
    padding-left: 20px;
}

.tech-category li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #00d4ff;
    font-weight: bold;
}

/* 결과 통계 */
.result-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    color: #ffffff;
    border-radius: 15px;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* 적용 사례 스타일 */
.case-study {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.case-item {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.case-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
}

.case-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
    border-color: #00d4ff;
}

.case-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}


.case-item p {
    color: #cccccc;
    line-height: 1.7;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.solution {
    margin-bottom: 20px;
    padding-left: 20px;
    border-left: 3px solid #3b82f6;
}

.solution strong {
    color: #1e40af;
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 8px;
}

.result {
    padding-left: 20px;
    border-left: 3px solid #10b981;
}

.result strong {
    color: #047857;
    font-weight: 700;
    font-size: 1.05rem;
    display: block;
    margin-bottom: 8px;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .case-study {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .case-item {
        padding: 25px;
    }
    
    .case-item h3 {
        font-size: 1.2rem;
    }
    
    .solution, .result {
        padding: 15px 20px;
    }
}

/* 고객 피드백 (기존 스타일 유지) */
.testimonial {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    padding: 40px;
    border-radius: 15px;
    border-left: 5px solid #00d4ff;
    margin-top: 30px;
}

.testimonial blockquote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #cccccc;
    margin: 0 0 20px 0;
    font-style: italic;
}

.testimonial cite {
    color: #00d4ff;
    font-weight: 600;
    font-style: normal;
}

/* 프로젝트 네비게이션 */
.project-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-primary {
    background: #00d4ff;
    color: white;
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

/* 반응형 디자인 */
@media (max-width: 1024px) {
    .project-header {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .project-info h1 {
        font-size: 2.5rem;
    }
    
    .content-section {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .portfolio-detail {
        padding: 20px 0;
    }
    
    .project-header {
        padding: 30px 20px;
        margin-bottom: 40px;
    }
    
    .project-info h1 {
        font-size: 2rem;
    }
    
    .project-subtitle {
        font-size: 1.1rem;
    }
    
    .project-content {
        padding: 30px 20px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .tech-details {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .project-navigation {
        flex-direction: column;
        align-items: stretch;
    }
    
    .project-navigation .btn {
        width: 100% !important;
        max-width: none !important;
    }
    
    .btn {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .project-info h1 {
        font-size: 1.75rem;
    }
    
    .result-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}
