/* 서비스 상세 페이지 공통 스타일 (ai / bigdata / itconsulting / platform / si / sm) */
/* .page-header → 히어로 섹션으로 대체됨 (hero-slider.css) */
/* .container / h2 / .section-subtitle / section → common.css */

/* 뒤로가기 버튼 */
.back-btn {
    display: inline-block;
    margin-bottom: 2rem;
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.back-btn:hover {
    opacity: 0.75;
    transform: translateX(-3px);
}

/* 섹션 공통 */
.service-detail {
    background: #f8f9fa;
    padding: 4rem 0;
}

.service-detail .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    margin-bottom: 3rem;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.section h2 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--primary-color);
}

/* 주요 서비스 체크리스트 */
.services {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1rem 0;
    font-size: 1.05rem;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
}

.service-item:last-child {
    border-bottom: none;
}

.service-item::before {
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    min-width: 26px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
}

/* 수행 프로세스 */
.process {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.process-item {
    flex: 1;
    padding: 1.2rem 0.8rem;
    background: #f9f9f9;
    border-radius: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.process-item h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.process-item p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.4;
}

/* 수행 사례 타임라인 */
.timeline-item {
    margin-bottom: 1rem;
    padding: 1.2rem 1.5rem;
    background: #f9f9f9;
    border-radius: 8px;
}

.timeline-item.current {
    background: #e8f4fd;
    border-left: 3px solid #4a90e2;
}

.year {
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.timeline-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.timeline-item li {
    margin-bottom: 0.3rem;
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.timeline-item li::before {
    content: "• ";
    color: #4a90e2;
    margin-right: 4px;
}

/* 프로젝트 메인 스와이퍼 */
.project-swiper {
    width: 100%;
    padding-bottom: 3rem;
}

.project-slide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
    padding: 0.5rem 0;
}

.project-images {
    border-radius: 12px;
    overflow: hidden;
    height: 340px;
    background: #eee;
}

.project-img-swiper {
    width: 100%;
    height: 100%;
}

.project-img-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.project-info {
    padding: 0.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.project-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.project-client {
    font-size: 1.5rem;
    font-weight: 700;
    color: #222;
}

.project-year {
    background: var(--primary-color);
    color: white;
    padding: 0.25rem 0.85rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.project-tag {
    background: #f4fce8;
    border: 1px solid var(--primary-color);
    color: #555;
    padding: 0.3rem 0.9rem;
    border-radius: 20px;
    font-size: 0.875rem;
}

.project-desc {
    font-size: 1rem;
    color: #555;
    line-height: 1.9;
}

.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
    color: var(--primary-color);
    top: 45%;
}

.project-swiper .swiper-button-next::after,
.project-swiper .swiper-button-prev::after {
    font-size: 1.4rem;
    font-weight: 700;
}

.project-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

/* 수행 사례 카드 (레거시) */
.case-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.case-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    background: white;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.13);
}

.case-swiper {
    width: 100%;
    height: 200px;
}

.case-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.case-swiper .swiper-pagination-bullet-active {
    background: var(--primary-color);
}

.case-info {
    padding: 1rem 1.2rem;
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.case-client {
    font-weight: 700;
    font-size: 1rem;
    color: #333;
}

.case-year {
    font-size: 0.85rem;
    color: white;
    background: var(--primary-color);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-weight: 600;
}

.case-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* 반응형 */
@media (max-width: 1024px) {
    .case-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .process { flex-direction: column; }
    .services { grid-template-columns: 1fr; }
    .case-cards { grid-template-columns: 1fr; }
    .project-slide { grid-template-columns: 1fr; }
    .project-images { height: 220px; }
}
