/**
 * Sub0302 - 설치방법 페이지 스타일
 */

/* ==========================================================================
   1. Category Tabs Section
   ========================================================================== */
/* Category Tabs 컴포넌트는 components.css에 정의되어 있습니다 */
.category-tabs-section {
    padding: 60px 0 0;
}

/* ==========================================================================
   2. Page Title Section
   ========================================================================== */
.page-title-section {
    padding: 60px 0 40px;
}

.page-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.4;
    color: #2D2D2D;
    margin: 0;
}

.page-title .text-primary {
    color: #0068B7;
}

/* ==========================================================================
   3. Installation Images Section
   ========================================================================== */
.installation-images-section {
    padding: 80px 0;
    background-color: #E5F4FF;
}

.installation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.installation-item {
    position: relative;
}

.installation-number {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #848D9A;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.6;
    color: #FFFFFF;
    z-index: 1;
}

.installation-image {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    border: 1px solid #CBD4E1;
    background: #fff;
    overflow: hidden;
}

.installation-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================================================
   4. Installation Steps Section
   ========================================================================== */
.installation-steps-section {
    padding: 100px 0;
}

.installation-steps-section .container {
    display: flex;
    flex-direction: column;
    gap: 100px;
}

.section-title {
    font-family: 'Pretendard', sans-serif;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.4;
    color: #2D2D2D;
    margin: 0 0 30px;
}

/* Steps Content */
.steps-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.step-item {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-marker-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.step-marker {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    flex-shrink: 0;
}

.step-marker.primary {
    background-color: #E5F4FF;
    border: 1px solid #0068B7;
    color: #0068B7;
}

.step-line {
    width: 1px;
    height: 48px;
    border-left: 1px dashed #0068B7;
}

.step-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #2D333C;
    margin: 0;
    padding-top: 5px;
}

/* Checklist Content */
.checklist-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.checklist-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checklist-item {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px 30px;
    background-color: #F6F8FC;
    border-radius: 10px;
}

.checklist-marker {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E2E8F0;
    border-radius: 300px;
    font-family: 'Pretendard', sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    color: #5A626E;
    flex-shrink: 0;
}

.checklist-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #2D333C;
    margin: 0;
}

/* Inspection Content */
.inspection-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 30px;
}

.inspection-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 24px 30px;
    background-color: #F6F8FC;
    border-radius: 10px;
}

.inspection-text {
    font-family: 'Pretendard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    color: #2D333C;
    margin: 0;
}

.inspection-text .text-primary {
    color: #0068B7;
}

.inspection-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.inspection-image {
    border-radius: 10px;
    border: 1px solid #E2E8F0;
    overflow: hidden;
    max-width: 587px;
}

.inspection-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   5. Contact Section
   ========================================================================== */
/* Contact Section 컴포넌트는 components.css에 정의되어 있습니다 */
/* 페이지별 배경 이미지만 오버라이드 */
.contact-bg {
    background-image: url('/assets/img/sub0302/contact-bg.jpg');
}

/* ==========================================================================
   6. Content Preparation Section (for other type pages)
   ========================================================================== */
/* Content Preparation Section 컴포넌트는 components.css에 정의되어 있습니다 */

/* ==========================================================================
   7. Responsive
   ========================================================================== */

@media screen and (max-width: 1200px) {
    .installation-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .steps-content,
    .checklist-content,
    .inspection-content {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 28px;
    }
}

@media screen and (max-width: 768px) {
    .category-tabs-section {
        padding: 40px 0 0;
    }

    .page-title {
        font-size: 32px;
    }

    .installation-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .installation-number {
        width: 36px;
        height: 36px;
        font-size: 16px;
        top: 12px;
        left: 12px;
    }

    .installation-steps-section {
        padding: 60px 0;
    }

    .installation-steps-section .container {
        gap: 60px;
    }

    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .step-text,
    .checklist-text,
    .inspection-text {
        font-size: 16px;
    }

    .step-text br,
    .checklist-text br,
    .inspection-text br {
        display: none;
    }

    .checklist-item {
        padding: 16px 20px;
    }

    .inspection-box {
        padding: 16px 20px;
    }
}

@media screen and (max-width: 480px) {
    .installation-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .page-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px;
    }
}
