/* Service 섹션 전용 스타일 */

/* 서비스 헤더 */
.service-header {
    background: linear-gradient(135deg, var(--color-secondary) 0%, #2A3B68 100%);
    position: relative;
    overflow: hidden;
}

.service-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png') repeat;
    opacity: 0.1;
}

/* 서비스 카드 */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    border-radius: 50%;
    color: white;
}

/* 서비스 특징 그리드 */
.service-features {
    display: grid;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .service-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .service-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    border-radius: 8px;
}

/* 프로세스 스텝 */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.process-step {
    flex: 1;
    min-width: 250px;
    text-align: center;
    position: relative;
}

.process-step::after {
    content: '';
    position: absolute;
    top: 40px;
    right: -1rem;
    width: 2rem;
    height: 2px;
    background: #e5e7eb;
}

.process-step:last-child::after {
    display: none;
}

.step-number {
    width: 80px;
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-primary);
    color: white;
    font-size: 2rem;
    font-weight: 700;
    border-radius: 50%;
}

/* 서비스 상세 섹션 */
.service-detail-section {
    padding: 5rem 0;
}

.service-detail-section:nth-child(even) {
    background: #f8f9fa;
}

/* 서비스 이미지 갤러리 */
.service-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16/10;
}

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

.gallery-item:hover img {
    transform: scale(1.1);
}

/* 서비스 통계 */
.service-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 3rem 0;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* 서비스 CTA */
.service-cta {
    background: linear-gradient(135deg, var(--color-primary) 0%, #C91A20 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    border-radius: 12px;
    margin-top: 4rem;
}

.service-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

/* 서비스 탭 */
.service-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.service-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.service-tab:hover {
    background: #f3f4f6;
}

.service-tab.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

/* 서비스 아코디언 */
.service-accordion {
    margin-top: 2rem;
}

.accordion-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.accordion-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.accordion-header:hover {
    background: #f8f9fa;
}

.accordion-item.active .accordion-header {
    background: #f8f9fa;
}

.accordion-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem;
}

/* 서비스 박스 스타일 */
.service-box {
    margin-bottom: 0;
}

.service-box:last-child {
    margin-bottom: 0;
}

.service-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.service-content {
    padding: 1.15rem 1.25rem 6.25rem 1.25rem;
}

.service-title {
    color: #000;
    font-size: 1.75rem;
    font-style: normal;
    font-weight: 700;
    line-height: 40px; /* 142.857% */
    letter-spacing: -0.84px;
    margin-bottom: 6px;
}

.service-description {
    color: var(--cg700, #404252);
    font-size: 1.125rem;
    font-weight: 500;
    line-height: 26px; /* 144.444% */
    letter-spacing: -0.54px;
}

/* 특징 태그 스타일 */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 28px;
}

.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 7px 11px;
    background: var(--cg100, #F3F4F8);
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: -0.03em;
    color: var(--cg700, #404252);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: #e5e7eb;
    border-color: #d1d5db;
}

.feature-tag svg {
    width: 16px;
    height: 16px;
    color: var(--color-primary);
}

/* 반응형 조정 */
@media (max-width: 768px) {
    .process-step::after {
        display: none;
    }
    
    .service-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .service-cta {
        padding: 3rem 1.5rem;
    }
    
    .service-cta h3 {
        font-size: 1.5rem;
    }
    
    .service-image {
        height: 250px;
    }
    
    .service-content {
        padding-top: 20px;
        padding-bottom: 80px;
    }
    
    .service-title {
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        letter-spacing: -0.6px;
    }
    
    .service-description {
        font-size: 13px;
        font-style: normal;
        font-weight: 500;
        line-height: 20px; /* 153.846% */
        letter-spacing: -0.39px;
    }
    
    .feature-tag {
        font-size: 0.75rem;
        padding: 0.375rem 0.75rem;
    }
}