﻿/* =====================================================
   로랑한의원 - 공통 스타일시트
   Color System: White / Dark Gray / Main Teal / Lite Dot Orange
   ===================================================== */

/* ===== 폰트 불러오기 ===== */
@import url('https://cdn.jsdelivr.net/gh/moonspam/NanumBarunGothic@latest/nanumbarungothicsubset.css');
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/static/pretendard.min.css');

/* ===== CSS Variables ===== */
:root {
    /* ===== Color System ===== */

    /* 1. White - 메뉴, 푸터, 배경 */
    --white: #FFFFFF;
    --cream: #FAF9F7;

    /* 2. Dark Gray - 메인메뉴, 서브메뉴, 텍스트 */
    --dark-gray: #2d2d2d;
    --dark-gray-light: #3d3d3d;
    --dark-gray-dark: #1a1a1a;

    /* 3. Main Color (Teal) - 섹션 배경, 포인트 */
    --main: #023E4A;
    --main-light: #0A5A6A;
    --main-dark: #01303A;

    /* 4. Lite Dot (Orange) - 라이트닷 브랜드, 액센트 */
    --orange: #F37021;
    --orange-light: #FFF4F0;
    --orange-dark: #E55A2B;

    /* Gray Scale */
    --gray-50: #FAFAFA;
    --gray-100: #F5F5F5;
    --gray-200: #EEEEEE;
    --gray-300: #E0E0E0;
    --gray-400: #BDBDBD;
    --gray-500: #9E9E9E;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    --black: #1A1A1A;

    /* System Colors */
    --silver: #C0C0C0;
    --naver-green: #03C75A;
    --kakao-yellow: #FEE500;

    /* Typography - Pretendard */
    --font-main: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;

    /* Spacing */
    --gnb-height: 100px;
    --section-padding: 120px;
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
}

/* ===== Reset ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

html {
    scroll-behavior: smooth;
    background-color: #2d2d2d;
    /* Match footer for overscroll */
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    letter-spacing: -0.02em;
    color: var(--gray-900);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overscroll-behavior: none;
    /* Disable overscroll bounce */

    /* 가로 스크롤 방지 */
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul,
ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding) 0;
}

/* ===== Background Color Classes ===== */
.bg-white {
    background-color: var(--white);
}

.bg-cream {
    background-color: var(--cream);
}

.bg-main {
    background-color: var(--main);
    color: var(--white);
}

.bg-dark {
    background-color: var(--dark-gray);
    color: var(--white);
}

.bg-orange {
    background-color: var(--orange);
    color: var(--white);
}

/* ===== Text Color Classes ===== */
.text-main {
    color: var(--main);
}

.text-orange {
    color: var(--orange);
}

.text-white {
    color: var(--white);
}

.text-gray {
    color: var(--gray-500);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    :root {
        --gnb-height: 60px;
        --section-padding: 80px;
    }
}

/* ========== Standard CTA Buttons ========== */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn svg {
    width: 18px;
    height: 18px;
}

.cta-naver {
    background: var(--naver-green);
    color: #fff;
}

.cta-naver:hover {
    background: #02a74c;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(3, 199, 90, 0.4);
}

.cta-kakao {
    background: var(--kakao-yellow);
    color: #3C1E1E;
}

.cta-kakao:hover {
    background: #e8d200;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(254, 229, 0, 0.4);
}

@media (max-width: 768px) {
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}