/* 전역 스타일 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --text-color: #212529;
    --bg-color: #ffffff;
}

[data-theme="dark"] {
    --primary-color: #0d6efd;
    --secondary-color: #adb5bd;
    --dark-color: #212529;
    --light-color: #343a40;
    --text-color: #f8f9fa;
    --bg-color: #212529;
}

body {
    font-family: 'Noto Sans KR', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* 네비게이션 바 */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* 히어로 섹션 */
.hero-section {
    height: 35vh;
    background: linear-gradient(rgb(255, 255, 255), rgba(0,0,0,0.6));
    background-size: cover;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

/* 섹션 공통 스타일 */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

/* 카드 스타일 */
.card {
    transition: transform 0.3s ease;
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
}

/* 연락처 섹션 */
#contact ul li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

#contact ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* 반응형 스타일 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .card-img-top {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    section {
        padding: 40px 0;
    }
}

/* 애니메이션 효과 */
.btn {
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

/* 지도 컨테이너 스타일 */
#map {
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

/* 다크모드 토글 버튼 */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    padding: 10px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* 쿠키 배너 */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-color);
    border-top: 1px solid var(--secondary-color);
    padding: 15px 0;
    display: none;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

/* 채팅 위젯 */
.chat-widget {
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 300px;
    height: 400px;
    background: var(--bg-color);
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.2);
    display: none;
    z-index: 1000;
    overflow: hidden;
}

.chat-header {
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.chat-body {
    height: 300px;
    padding: 15px;
    overflow-y: auto;
}

.chat-footer {
    padding: 10px;
    border-top: 1px solid var(--secondary-color);
    display: flex;
    gap: 10px;
}

.chat-footer input {
    flex: 1;
    padding: 8px;
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
}

.chat-footer button {
    padding: 8px 15px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.chat-message {
    margin-bottom: 10px;
    padding: 8px 12px;
    border-radius: 15px;
    max-width: 80%;
}

.user-message {
    background: var(--primary-color);
    color: white;
    margin-left: auto;
}

.system-message {
    background: var(--light-color);
    color: var(--text-color);
}

.chat-toggle {
    position: fixed;
    bottom: 20px;
    right: 80px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    transition: all 0.3s ease;
}

.chat-toggle:hover {
    transform: scale(1.1);
} 