@charset "utf-8";

/* 서비스 페이지 전용 스타일 */
.service-hero {
    position: relative;
    width: 100%;
    height: 75vh; /* 60%로 변경 */
    background: url('../img/main/corp.jpg') no-repeat center 80% / cover; /* bottom으로 변경하여 창고 부분이 더 잘 보이도록 */
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 왼쪽 정렬로 변경 */
    color: white;
    text-align: left; /* 왼쪽 정렬로 변경 */
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* 투명도 조정 */
    z-index: 1;
}

.service-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    gap: 50px;
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 60px; /* 왼쪽 여백 증가 */
    margin-left: 10%; /* 왼쪽에서 약간 떨어뜨림 */
}

.service-hero-content h1 {
    font-size: 1rem; /* 크기 축소 */
    font-weight: 700;
    margin-bottom: 30px; /* 간격 축소 */
    font-family: 'NanumSquareNeoExtraBold';
    color: #fff; /* 파란색으로 변경 */
    text-transform: uppercase;
    letter-spacing: 1px;
}

.service-hero-content .main-title {
    font-size: 3.5rem; /* 크기 조정 */
    font-weight: 500;
    margin-bottom: 15px; /* 간격 축소 */
    font-family: 'NanumSquareNeoExtraBold';
    color: white;
    line-height: 1.2; /* 줄 간격 조정 */
}

.service-hero-content p {
    font-size: 1rem; /* 크기 축소 */
    opacity: 0.9;
    line-height: 1.5;
    color: white;
    margin-top: 10px;
}

.service-cards {
    padding: 60px 0;
    background: white; /* 흰색 배경으로 변경 */
    height: 40vh; /* 40%로 설정 */
    display: flex;
    align-items: center;
}

.service-cards-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.service-cards-title {
    text-align: center;
    margin-bottom: 40px;
}

.service-cards-title h2 {
    font-size: 2rem;
    color: #111;
    margin-bottom: 15px;
    font-family: 'NanumSquareNeoExtraBold';
}

.service-cards-title p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    min-width: 350px;
    background: white;
    border-radius: 5px;
    padding: 20px 35px;
    text-align: left;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    /* cursor: pointer; */
    border: 1px solid #f0f0f0;
    position: relative;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* 제로셀 카드 스타일 */
.service-card.zero-sell .service-card-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 15px;
    margin-bottom: 0px;
    font-family: 'Black Han Sans', sans-serif;
    background: linear-gradient(90deg, #0055FF, #6CF47C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
}

.service-card.zero-sell .zero-text {
    font-family: 'Black Han Sans', sans-serif;
}

/* 셀독 카드 스타일 */
.service-card.selldoc .service-card-logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 0px;
}

/* 제로리스크 카드 스타일 */
.service-card.zero-risk .zero-risk-text {
    font-size:2.9rem;
    font-weight: 500;
    margin-top: 15px;
    margin-bottom: 0px;
    color: #0055FF;
    font-family: 'JalnanGothic';
}

.service-card-desc {
    color: #000;
    line-height: 1.5;
    margin-top: 30px;
    margin-bottom: 50px;
    font-size: 0.8rem;
}

.service-card-download {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: #C8C8C8;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
}

/* 제로리스크 카드 다운로드 버튼 기본 스타일 제거 */
/* .service-card.zero-risk .service-card-download {
    background: #007bff;
    color: white;
} */

.service-card-download:hover {
    transform: scale(1.1);
    background: #007bff; /* 호버 시 파란색 배경 */
}

.service-card-download img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: filter 0.3s ease;
}

/* 셀독 카드 특별 스타일 */
.service-card.selldoc .service-card-logo img {
    width: 200px;
    height: auto;
    position: relative;
    right: 12px;
    transition: all 0.3s ease;
}

.service-card.zero-sell .service-card-logo img {
    width: 185px;
    height: auto;
    position: relative;
    right: 12px;
    transition: all 0.3s ease;
}

/* 반응형 */
@media (max-width: 1024px) {
    .service-hero {
        height: 50vh;
    }
    
    .service-cards {
        height: 50vh;
    }

    .contact-divider {
        top: 30px;
        left: 110px;
    }

    .history-divider {
        top: 30px;
        left: 80px;
    }

    .service-divider {
        top: 30px;
        left: 80px;
    }
    
    .service-hero-content {
        padding: 0 40px;
        margin-left: 3%;
    }
    
    .service-hero-content h1 {
        font-size: 1.5rem;
    }
    
    .service-hero-content .main-title {
        font-size: 2.8rem;
    }
    
    .service-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 40vh;
        background-position: center center;
    }
    
    .service-cards {
        height: auto;
        min-height: 50vh;
        padding: 40px 0;
    }

    .contact-divider, .history-divider, .service-divider {
        display: none;
    }
    
    .service-hero-content {
        padding: 0 20px;
        margin-left: 0;
        gap: 0px;
        text-align: center;
    }
    
    .service-hero-content h1 {
        display: none;
        font-size: 1.3rem;
    }
    
    .service-hero-content .main-title {
        font-size: 2.2rem;
    }
    
    .service-hero-content p {
        font-size: 0.9rem;
    }
    
    .service-cards-grid {
        grid-template-columns: 1fr;
        gap: 15px;
        max-width: 95%;
        margin: 0 auto;
    }
    
    .service-cards-title h2 {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 25px 20px;
        margin-bottom: 15px;
    }
    
    /* 모바일에서 제목 크기 조정 */
    .service-card.zero-sell .service-card-title {
        font-size: 2rem;
    }
    
    .service-card.zero-risk .zero-risk-text {
        font-size: 2rem;
    }
    
    /* 모바일에서 다운로드 버튼 크기 조정 */
    .service-card-download {
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    
    .service-card-download img {
        width: 20px;
        height: 20px;
    }
    
    /* 셀독 로고 크기 조정 */
    .service-card.selldoc .service-card-logo img, .service-card.zero-sell .service-card-logo img {
        width: 150px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        height: 35vh;
    }
    
    .service-cards {
        height: auto;
        min-height: 65vh;
        padding: 30px 0;
    }
    
    .service-hero-content {
        padding: 0 15px;
    }
    
    .service-hero-content h1 {
        font-size: 1.1rem;
    }
    
    .service-hero-content .main-title {
        font-size: 1.8rem;
    }
    
    .service-cards-grid {
        gap: 12px;
        max-width: 98%;
    }
    
    .service-cards-title h2 {
        font-size: 1.4rem;
    }
    
    .service-card {
        min-width: 200px;
        padding: 20px 15px;
        margin-bottom: 12px;
    }
    
    /* 작은 화면에서 제목 크기 조정 */
    .service-card.zero-sell .service-card-title {
        font-size: 1.6rem;
    }
    
    .service-card.zero-risk .zero-risk-text {
        font-size: 1.6rem;
    }
    
    .service-card-desc {
        font-size: 0.8rem;
        margin-top: 10px;
        margin-bottom: 40px;
    }
    
    /* 작은 화면에서 다운로드 버튼 크기 조정 */
    .service-card-download {
        width: 45px;
        height: 45px;
        bottom: 12px;
        right: 12px;
    }
    
    .service-card-download img {
        width: 18px;
        height: 18px;
    }
    
    /* 셀독 로고 크기 조정 */
    .service-card.selldoc .service-card-logo img, .service-card.zero-sell .service-card-logo img {
        width: 130px;
    }
}

@media (max-width: 380px) {
    .service-hero {
        height: 30vh;
    }
    
    .service-cards {
        min-height: 70vh;
        padding: 25px 0;
    }
    
    .service-hero-content h1 {
        font-size: 1rem;
    }
    
    .service-hero-content .main-title {
        font-size: 1.6rem;
    }
    
    .service-card {
        padding: 18px 12px;
        margin-bottom: 10px;
    }
    
    .service-card.zero-sell .service-card-title {
        font-size: 1.4rem;
    }
    
    .service-card.zero-risk .zero-risk-text {
        font-size: 1.4rem;
    }
    
    .service-card-desc {
        font-size: 0.75rem;
        margin-top: 10px;
        margin-bottom: 45px;
    }
    
    .service-card-download {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
    }
    
    .service-card-download img {
        width: 16px;
        height: 16px;
    }
    
    .service-card.selldoc .service-card-logo img, .service-card.zero-sell .service-card-logo img {
        width: 130px;
    }
}

/* 터치 디바이스에서 호버 효과 비활성화 */
@media (hover: none) {
    .service-card:hover {
        transform: none;
    }
    
    .service-card-download:hover {
        transform: none;
    }
    
    /* 터치 시 활성화 효과 */
    .service-card:active {
        transform: scale(0.98);
    }
    
    .service-card-download:active {
        transform: scale(0.95);
        background: #007bff;
    }
    
    .service-card-download:active img {
        filter: brightness(0) invert(1);
    }
} 