/* Service Page Styles */

/* Page Title Section */
.page-title-section {
    background-color: var(--primary-color);
    border-radius: 24px;
    overflow: hidden;
    height: 120px;
    display: flex;
    align-items: flex-end;
    padding-bottom: 20px;
}

.page-title-section .section-title {
    padding: 0 40px 0;
    text-align: left;
}

/* Service Content Section */
.service-content {
    background: var(--white);
    border-radius: 15px;
    padding: 20px 20px;
    overflow: hidden;
}

/* Service Header */
.service-header {
    text-align: center;
    padding: 40px 40px 20px;
}

.service-header h2 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 900;
    font-size: 40px;
    color: var(--primary-color);
    letter-spacing: -1.8px;
    margin-bottom: 16px;
}

.service-header p {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 16px;
    color: var(--primary-color);
    letter-spacing: -0.64px;
}

/* Service Items Container */
.service-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

/* Service Item */
.service-item {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    padding: 40px 10px;
}

.service-item.primary {
    background-color: var(--primary-color);
    border-radius: 16px;
}

.service-item.secondary {
    background-color: var(--white);
}

/* Service Image */
.service-image {
    width: 580px;
    height: 420px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

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

/* Service Info */
.service-info {
    width: 580px;
    height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 16px;
}

.service-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.service-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.service-info h3 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 300;
    font-size: 16px;
    letter-spacing: -0.64px;
    margin-bottom: 4px;
}

.service-item.primary .service-info h3 {
    color: var(--white);
}

.service-item.secondary .service-info h3 {
    color: var(--primary-color);
}

.service-divider {
    width: 24px;
    height: 2px;
    border-radius: 1px;
    margin-bottom: 16px;
}

.service-item.primary .service-divider {
    background-color: var(--white);
}

.service-item.secondary .service-divider {
    background-color: var(--primary-color);
}

.service-description {
    max-width: 548px;
    padding: 16px;
}

.service-description p {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 100;
    font-size: 14px;
    line-height: 22px;
    letter-spacing: -0.064px;
    margin-bottom: 16px;
}

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

.service-item.primary .service-description p {
    color: var(--white);
}

.service-item.secondary .service-description p {
    color: var(--text-dark);
    letter-spacing: -0.64px;
}

/* Responsive Styles */
@media screen and (max-width: 1200px) {
    .service-image,
    .service-info {
        width: 480px;
        height: 380px;
    }
}

@media screen and (max-width: 1024px) {
    .service-item {
        flex-direction: column;
        padding: 30px 20px;
    }

    .service-item.secondary {
        flex-direction: column;
    }

    .service-item.secondary .service-image {
        order: -1;
    }

    .service-image,
    .service-info {
        width: 100%;
        max-width: 580px;
        height: auto;
    }

    .service-image {
        height: 300px;
    }

    .service-info {
        min-height: 300px;
        padding: 30px 20px;
    }
}

@media screen and (max-width: 768px) {
    .service-header h2 {
        font-size: 32px;
        letter-spacing: -2px;
    }

    .service-header p {
        font-size: 14px;
    }

    .service-image {
        height: 250px;
    }

    .service-description p {
        font-size: 14px;
        line-height: 24px;
    }

    .service-info h3 {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
.service-content {
    padding: 10px 10px;
}
    .page-title-section {
        height: 100px;
    }

    .service-header {
        padding: 30px 20px 15px;
    }

    .service-header h2 {
        font-size: 28px;
    }

    .service-header p {
        font-size: 13px;
    }

    .service-item {
        padding: 20px 14px;
    }

    .service-image {
        height: 200px;
        border-radius: 12px;
    }

    .service-icon {
        width: 56px;
        height: 56px;
    }

    .service-icon img {
        width: 32px;
        height: 32px;
    }

    .service-description {
        padding: 0px;
    }

    .service-description p {
        font-size: 13px;
        line-height: 22px;
    }
}

/* Japanese font override */
html[lang="ja"] .service-header h2,
html[lang="ja"] .service-header p,
html[lang="ja"] .service-info h3,
html[lang="ja"] .service-description p {
    font-family: 'Noto Sans JP', sans-serif;
}
