@charset "utf-8";

.wiz-service-wrap {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* 상단 타이틀 */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
}

.header-titles .sub-title {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #ea5b0c;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.header-titles .main-title {
    font-size: 32px;
    font-weight: 700;
    color: #222;
    margin: 0;
    letter-spacing: -1px;
}

/* 화살표 버튼 */
.service-nav {
    display: flex;
    gap: 8px;
}

.service-nav button {
    background: #fff;
    border: 1px solid #eee;
    color: #333;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-nav button:hover {
    background: #222;
    color: #fff;
    border-color: #222;
}

/* 🌟 카드 디자인 (사선, 텍스트, 버튼 모두 삭제) 🌟 */
.wiz-service-card {
    aspect-ratio: 1 / 1; 
    display: block;
    position: relative;
    border-radius: 8px; /* 곡률 살짝 조정 */
    overflow: hidden;
    text-decoration: none;
    background-color: #eee;
}

.card-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease-out;
}

/* 오버레이: 평소엔 투명, 호버 시에만 아주 살짝 어둡게 */
.card-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
}

/* 🌟 마우스 오버 애니메이션 🌟 */
.wiz-service-card:hover .card-bg {
    transform: scale(1.1); /* 이미지 줌인 */
}

.wiz-service-card:hover .card-overlay {
    background: rgba(0, 0, 0, 0.2); /* 호버 시에만 원본 색상 위로 살짝 음영 */
}

/* 모바일 대응 */
@media (max-width: 768px) {
    .header-titles .main-title { font-size: 24px; }
}

/* 링크가 있을 때만 손가락 모양 커서 */
.wiz-service-card.has-link {
    cursor: pointer;
}

/* 링크가 없을 때는 기본 화살표 커서로 변경하여 클릭 불가임을 인지시킴 */
.wiz-service-card.no-link {
    cursor: default;
}

/* 링크가 없을 때는 호버 시 이미지 확대 효과를 끄고 싶다면 아래 주석 해제 */
/* .wiz-service-card.no-link:hover .card-bg {
    transform: none;
}
.wiz-service-card.no-link:hover .card-overlay {
    background: rgba(0, 0, 0, 0);
}
*/