/* style.css */

/* Pretendard Variable Font 추가 */
@font-face {
    font-family: 'Pretendard';
    src: url('../font/PretendardVariable.woff2') format('woff2');
    font-weight: 1 999;
    font-style: normal;
}

/* 초기화 */
* {
    margin: 0;    
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow: visible;    
    width: 100%;
}

body {
    font-family: 'Pretendard', Arial, sans-serif;
}

html {
    scroll-behavior: smooth; /* 부드러운 스크롤 */
}

/* 전화 링크 - 웹에서는 일반 텍스트처럼, 모바일에서만 링크 스타일 */
.tel-link {
    color: inherit;
    text-decoration: none;
    pointer-events: none;
}
@media (max-width: 768px) {
    .tel-link {
        color: #0d6efd;
        text-decoration: underline;
        font-weight: bold;
        pointer-events: auto;
    }
}

/* 응급지원 섹션 */
#emergency-support-section {
    scroll-margin-top: 87px; /* 헤더 높이만큼 여백 설정 */
}

/* 솔루션 섹션 */
#solution-section {
    scroll-margin-top: 80px; /* 헤더 높이만큼 여백 설정 */
}

/* 회사 소개 섹션 */
#about-section {
    scroll-margin-top: 0px; /* 헤더 높이만큼 여백 설정 */
}

/* 연구 & 특허 섹션 */
#research-section {
    scroll-margin-top: 40px; /* 헤더 높이만큼 여백 설정 */
}

/* 사회공헌 섹션 */
#social-contribution-section {
    scroll-margin-top: 40px; /* 헤더 높이만큼 여백 설정 */
}

/* 구급차 요금 계산기 섹션 */
#fare-calculator-section {
    scroll-margin-top: 40px; /* 헤더 높이만큼 여백 설정 */
}
