@import "hero.css";

/* 사업영역 페이지 CSS */

/* ===== 기본 설정 ===== */
.business-page {
    background-color: #ffffff;
    width: 100%;
}

/* ===== 헤더 섹션 ===== */
.business-header {
    background-color: #ffffff;
    margin: 0 auto;
    padding: 60px 0 40px 0;
    position: relative;
    width: 100%;
}

.business-header-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    height: 100%;
    justify-content: flex-end;
    margin: 0 auto;
    max-width: 1200px;
    width: 100%;
}

/* ===== 사업영역 컨텐츠 섹션 ===== */
.business-content {
    background-color: #ffffff;
    padding: 0;
    position: relative;
    width: 100%;
}

.business-content-inner {
    margin: 0 auto;
    max-width: 1200px;
    padding: 60px 0;
    position: relative;
    width: 100%;
}

/* ===== 섹션 헤더 ===== */
.section-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 100px;
    width: 950px;
}

.section-label {
    color: var(--color-primary-02);
    font-family: 'Pretendard', sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.04em;
    line-height: 30px;
}

.section-title {
    color: #151515;
    font-family: 'Pretendard', sans-serif;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 54px;
    margin: 0;
}

/* ===== 사업영역 솔루션 그리드 ===== */
.business-solutions {
    align-items: center;
    display: grid;
    grid-template-columns: repeat(2, 50%);
    height: 780px;
    justify-items: center;
    margin: 0 auto;
    max-width: 1200px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.business-solutions::before {
    aspect-ratio: 1 / 1;
    /*border: 5px solid #AAE7C4;*/
    background-color: #efefef;
    border-radius: 50%;
    content: '';
    height: auto;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40%;
    z-index: 0;
}

.business-solutions::after {
    aspect-ratio: 1 / 1;
    border: 2px solid var(--color-primary-02);
    border-radius: 50%;
    content: '';
    height: auto;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50%;
    z-index: 0;
}


/* ===== 솔루션 카드 ===== */
.solution-card {
    aspect-ratio: 590 / 380;
    background-color: #ffffff;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    width: 410px;
    z-index: 1;
}

.solution-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.solution-image {
    height: 100%;
    overflow: hidden;
    position: relative;
    width: 100%;
}

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

.solution-card:hover .solution-image img {
    transform: scale(1.05);
}

.solution-overlay {
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.2) 100%
    );
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}

.solution-content {
    left: 32px;
    position: absolute;
    top: 32px;
    z-index: 2;
}

.solution-title {
    color: #ffffff;
    font-family: 'Pretendard', sans-serif;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 42px;
    margin: 0;
}

/* ===== 반응형 디자인 - 태블릿 (1200px 이하) ===== */
@media (max-width: 1200px) {
    .business-header-content {
        padding: 40px 60px 0 60px;
    }

    .business-content-inner {
        padding: 60px;
    }

    .section-header {
        width: 100%;
    }

    .business-solutions {
        gap: 100px;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        width: 100%;
    }

    .business-solutions .solution-content {
        left: 24px;
        top: 24px;
    }

    .business-solutions .solution-title {
        font-size: 24px;
    }

    .solution-card {
        max-width: 410px;
        width: 100%;
    }
}

/* ===== 반응형 디자인 - 모바일 (768px 이하) ===== */
@media (max-width: 768px) {
    .business-header {
        padding: 20px 16px;
    }

    .business-header-content {
        padding: 0;
    }

    .business-content-inner {
        padding: 40px 16px;
    }

    .section-header {
        height: 61px;
        margin-bottom: 20px;
        width: 100%;
    }

    .section-label {
        font-size: 14px;
        letter-spacing: 0.56px;
        line-height: 21px;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: -0.02em;
        line-height: 36px;
    }

    .business-solutions {
        gap: 60px;
        height: auto;
        width: 100%;
    }

    .business-solutions .solution-content {
        left: 12px;
        top: 12px;
    }

    .business-solutions .solution-title {
        font-size: 16px;
    }

    .solution-card {
        border-radius: 10px;
    }

    .solution-content {
        left: 24px;
        top: 24px;
    }

    .solution-title {
        font-size: 20px;
        letter-spacing: -0.01em;
        line-height: 30px;
    }
}