:root { --main-blue: #0066ff; --sub-gray: #f8f9fa; }
body { font-family: 'Pretendard', sans-serif; color: #333; background-color: #fff; }

/* 그누보드의 고정 높이와 패딩을 초기화 */
.btn {
display: inline-flex !important;
align-items: center !important;
justify-content: center !important;
height: auto !important; /* 그누보드의 height: 40px 같은 설정을 무시 */
padding: 0.375rem 0.75rem !important; /* 부트스트랩 기본 패딩 복구 */
line-height: 1.5 !important;
}

/* sm 버튼은 더 작게 */
.btn-sm {
padding: 0.25rem 0.5rem !important;
font-size: 0.875rem !important;
}


/* 네비게이션 */
.navbar { border-bottom: 1px solid #eee; }
.nav-link { font-weight: 500; color: #444 !important; padding: 0.5rem 1rem !important; }
.nav-link:hover { color: var(--main-blue) !important; }

/* 메인 배너 슬라이드 */
.hero-carousel .carousel-item { height: 550px; background-size: cover; background-position: center; }
.hero-overlay { background: rgba(0,0,0,0.3); width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #fff; text-align: center; }

/* 퀵 아이콘 메뉴 */
.quick-item { transition: transform 0.3s; text-decoration: none; color: #333; }
.quick-item:hover { transform: translateY(-7px); }
.quick-icon { width: 65px; height: 65px; background: #fff; border-radius: 20px; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 20px rgba(0,0,0,0.05); margin: 0 auto 10px; font-size: 1.8rem; color: var(--main-blue); }

/* 커뮤니티 & 상품 섹션 */
.section-title { font-size: 1.5rem; font-weight: 800; margin-bottom: 1.8rem; display: flex; justify-content: space-between; align-items: flex-end; }
.post-card { border: none; border-radius: 12px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.05); transition: 0.3s; }
.post-card:hover { box-shadow: 0 15px 30px rgba(0,0,0,0.1); }
.post-img { height: 200px; object-fit: cover; }

/* 사이드바 상품 리스트 */
.side-item { display: flex; align-items: center; padding: 15px 0; border-bottom: 1px solid #f1f1f1; position: relative; }
.side-item:last-child { border-bottom: none; }
.side-img { width: 70px; height: 70px; border-radius: 10px; object-fit: cover; margin-right: 15px; }

/* 푸터 */
footer { background: #222; color: #bbb; padding: 60px 0; font-size: 0.9rem; }
footer strong { color: #fff; }

/* 모바일 최적화 스타일 (768px 미만) */
@media (max-width: 767px) {
    /* 1. 로고 크기 축소 */
    .navbar-brand img {
        width: 60px !important; /* 80px에서 60px로 축소 */
    }
    
    /* 2. 네비게이션 텍스트 크기 조절 */
    .navbar-brand {
        font-size: 1.2rem !important; /* fs-3(약 1.75rem)에서 축소 */
    }

    /* 3. 상단 바 패딩 축소 (답답함 해소) */
    .navbar {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }

    /* 4. 버튼 크기 및 간격 조정 */
    .navbar .d-flex.gap-3 {
        gap: 10px !important; /* 버튼 사이 간격 좁힘 */
        margin-top: 15px !important;
        justify-content: center; /* 모바일 메뉴 열렸을 때 버튼 중앙 정렬 */
    }
    
    .btn-sm {
        padding: 5px 15px !important;
        font-size: 0.8rem !important;
    }

    /* 5. 메뉴 항목 간격 조절 */
    .nav-link {
        padding: 0.7rem 0 !important;
        font-size: 0.95rem;
        border-bottom: 1px solid #f8f9fa; /* 메뉴간 구분선 추가 */
    }
}





    
    /* 일정표 상시 노출 이미지 그리드 수정 */
    .schedule-spot-item { border-bottom: 1px solid #eee; padding: 25px 0; }
    .schedule-spot-item:last-child { border-bottom: none; }
    .day-badge { background: #0066ff; color: #fff; padding: 4px 15px; border-radius: 4px; font-size: 0.9rem; font-weight: 700; }
    
    .spot-img-container { display: flex; gap: 10px; margin-bottom: 15px; }
    .spot-img-wrapper { flex: 1; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 12px; background-color: #f8f9fa; }
    .spot-img-wrapper img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s; }
    .spot-img-wrapper img:hover { transform: scale(1.05); }
    
    .spot-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
    .spot-title { font-size: 1.15rem; font-weight: 700; margin: 0; }
    .btn-detail { font-size: 0.8rem; padding: 4px 12px; border-radius: 6px; background: #6c757d; color: #fff; border: none; cursor: pointer; }

    .section-title { font-size: 1.4rem; font-weight: 800; margin: 40px 0 20px; display: flex; align-items: center; scroll-margin-top: 70px; }
    .section-title i { color: #0066ff; margin-right: 10px; }
    .group-title { font-size: 1.1rem; font-weight: 700; margin: 25px 0 10px; padding-left: 10px; border-left: 4px solid #0066ff; scroll-margin-top: 70px; }
    
    .booking-card { border: 1px solid #0066ff; border-radius: 20px; padding: 25px; position: sticky; top: 80px; background: #fff; z-index: 10; }

    /* 추가된 네비게이션 스타일 (이미지와 동일한 색상/구조) */
    .nav-tabs-custom { position: sticky; top: 0; background: #1a233a; z-index: 1000; display: flex; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.1); margin-bottom: 30px; }
    .nav-tabs-custom a { flex: 1; color: #fff; text-align: center; padding: 15px 5px; text-decoration: none; font-size: 0.95rem; border-right: 1px solid rgba(255,255,255,0.1); transition: 0.2s; }
    .nav-tabs-custom a:last-child { border-right: none; }
    .nav-tabs-custom a:hover { background: rgba(255,255,255,0.1); }
