/**
 * 웨이퍼란? 페이지 스타일시트
 * 버전: 1.2.0
 * 독립적인 CSS 클래스 네임 사용
 */

/* 페이지 헤더 */
.wafer-page-header {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    padding: 4rem 0 3rem;
    color: #ffffff;
    text-align: center;
}

.wafer-page-header .page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: 3px;
}

.wafer-page-header .page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* 콘텐츠 섹션 */
.wafer-content-section {
    background: #ffffff;
}

/* 상단 웨이퍼 소개 박스 */
.wafer-intro-box {
    background: linear-gradient(to bottom, #e8f5e9 0%, #ffffff 100%);
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

.wafer-stack-image {
    text-align: center;
}

.wafer-stack-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.wafer-intro-text {
    padding-left: 2rem;
}

.wafer-title-red {
    font-size: 3rem;
    font-weight: 700;
    color: #dc3545;
    margin-bottom: 0.5rem;
    letter-spacing: 0.2rem;
}

.wafer-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 1.5rem;
}

.wafer-definition {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin: 0;
}

/* 상세 설명 텍스트 */
.wafer-detail-content {
    max-width: 900px;
    margin: 0 auto;
}

.wafer-paragraph {
    margin-bottom: 2rem;
}

.wafer-paragraph p {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #333;
    text-align: justify;
    margin: 0;
}

/* 웨이퍼 타입 카드 */
.wafer-types-section {
    margin-top: 3rem;
}

.wafer-type-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.wafer-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.wafer-type-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.wafer-type-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.wafer-type-card h4 {
    font-size: 1rem;
    color: #0d6efd;
    margin-bottom: 1rem;
    font-weight: 500;
}

.wafer-type-card p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 공정 단계 */
.wafer-process-section {
    margin-top: 3rem;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.process-step {
    display: flex;
    align-items: flex-start;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    border-left: 4px solid #0d6efd;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-right: 1.5rem;
}

.step-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* 스펙 테이블 */
.wafer-spec-section {
    margin-top: 3rem;
}

.spec-table {
    background: #ffffff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow-x: auto;
}

.spec-table table {
    margin: 0;
}

.spec-table thead th {
    background: linear-gradient(135deg, #0d6efd 0%, #0056b3 100%);
    color: #ffffff;
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border: none;
}

.spec-table tbody td {
    padding: 1rem;
    text-align: center;
    vertical-align: middle;
    border-bottom: 1px solid #dee2e6;
}

.spec-table tbody tr:hover {
    background-color: #f8f9fa;
}

/* 반응형 디자인 */
@media (max-width: 992px) {
    .wafer-page-header .page-title {
        font-size: 2.5rem;
    }
    
    .wafer-intro-box {
        padding: 2rem;
    }
    
    .wafer-intro-text {
        padding-left: 0;
        padding-top: 2rem;
    }
    
    .wafer-title-red {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .wafer-page-header {
        padding: 3rem 0 2rem;
    }
    
    .wafer-page-header .page-title {
        font-size: 2rem;
    }
    
    .wafer-page-header .page-subtitle {
        font-size: 1rem;
    }
    
    .wafer-intro-box {
        padding: 1.5rem;
    }
    
    .wafer-title-red {
        font-size: 2rem;
        letter-spacing: 0.1rem;
    }
    
    .wafer-subtitle {
        font-size: 1.25rem;
    }
    
    .wafer-definition {
        font-size: 1rem;
    }
    
    .wafer-paragraph p {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .wafer-title-red {
        font-size: 1.75rem;
    }
    
    .wafer-subtitle {
        font-size: 1.1rem;
    }
    
    .wafer-definition {
        font-size: 0.95rem;
    }
    
    .wafer-paragraph {
        margin-bottom: 1.5rem;
    }
    
    .wafer-paragraph p {
        font-size: 0.95rem;
    }
}

