@charset "utf-8";

/* 화이트 & 스카이블루 고급 테마 변수 설정
*/
:root {
    --bg-body: #ffffff;           /* 전체 배경: 순백색 */
    --bg-light: #f8fafc;          /* 밝은 배경 (섹션 구분용): 아주 연한 하늘색 틴트 */
    --bg-card: #ffffff;           /* 카드 배경: 흰색 */
    
    --text-primary: #1e293b;      /* 기본 텍스트: 짙은 네이비/그레이 */
    --text-secondary: #64748b;    /* 보조 텍스트: 중간 톤 그레이 */
    --text-light: #94a3b8;        /* 연한 텍스트 */
    
    --accent: #0ea5e9;            /* 강조색: 선명한 스카이블루 */
    --accent-light: #e0f2fe;      /* 강조색 배경 (연한 버전) */
    --accent-dark: #0284c7;       /* 강조색 어두운 버전 (호버용) */
    
    --border-color: #e2e8f0;      /* 테두리: 밝은 회색 */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 15px;
}
a { text-decoration: none; color: inherit; transition: color 0.2s; }
ul { list-style: none; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* 텍스트 & 유틸리티 */
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-light) !important; }
.badge-notice { background: var(--accent); color: white; padding: 2px 6px; font-size: 11px; border-radius: 4px; margin-right: 6px; font-weight: bold; }
.reply-count { font-size: 11px; color: var(--accent); font-weight: bold; margin-left: 4px; }

/* 최상단 바 */
.top-bar { border-bottom: 1px solid var(--border-color); font-size: 13px; padding: 10px 0; background: var(--bg-body); color: var(--text-secondary); }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar strong { color: var(--text-primary); font-weight: 600; }

/* 헤더 */
.header { padding: 25px 0; background: var(--bg-body); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-text { font-size: 22px; font-weight: 800; color: var(--text-primary); line-height: 1; letter-spacing: -0.5px; }
.logo-text span { font-size: 14px; color: var(--accent); font-weight: 500; letter-spacing: 1px; display: block; margin-top: 2px; }

.user-menu { display: flex; gap: 25px; }
.user-menu a { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 12px; color: var(--text-secondary); font-weight: 500; }
.user-menu a i { font-size: 18px; margin-bottom: 2px; }
.user-menu a:hover { color: var(--accent); }

/* 네비게이션 (GNB) - 깔끔하고 모던하게 */
.gnb-wrap { border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-body); }
.gnb { display: flex; justify-content: space-between; }
.gnb > li { flex: 1; text-align: center; position: relative; }
.gnb > li > a { display: block; padding: 18px 0; font-weight: 600; color: var(--text-primary); font-size: 16px; position: relative; }
.gnb > li > a::after { content: ''; position: absolute; bottom: 0; left: 50%; width: 0; height: 3px; background: var(--accent); transition: all 0.3s ease; transform: translateX(-50%); }
.gnb > li:hover > a { color: var(--accent); }
.gnb > li:hover > a::after { width: 100%; }

/* 드롭다운 메뉴 - 깨끗한 흰색 박스 */
.dropdown { position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-card); border: 1px solid var(--border-color); border-top: none; display: none; z-index: 100; box-shadow: var(--shadow-md); padding: 10px 0; border-radius: 0 0 8px 8px; }
.gnb > li:hover .dropdown { display: block; }
.dropdown li a { display: block; padding: 10px 20px; font-size: 14px; color: var(--text-secondary); text-align: left; font-weight: 500; }
.dropdown li a:hover { color: var(--accent); background: var(--accent-light); }

/* 메인 배너 - 밝고 신뢰감 있는 이미지와 그래디언트 */
.hero-banner { 
    /* 밝은 비즈니스 이미지로 교체 */
    background: linear-gradient(135deg, rgba(224, 242, 254, 0.9) 0%, rgba(255, 255, 255, 0.8) 100%), url('https://images.unsplash.com/photo-1497366216548-37526070297c?q=80&w=1200&auto=format&fit=crop') center/cover no-repeat;
    padding: 140px 0; 
    text-align: center; 
}
.hero-banner h2 { color: var(--accent); font-size: 20px; font-weight: 600; margin-bottom: 15px; letter-spacing: 1px; text-transform: uppercase; }
.hero-banner h1 { color: var(--text-primary); font-size: 42px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; word-break: keep-all; }
.hero-banner p { color: var(--text-secondary); font-size: 18px; margin-bottom: 30px; }

/* 섹션 공통 */
.section-items, .section-boards { padding: 80px 0; }
.section-items { background-color: var(--bg-light); } /* 아이템 섹션에 밝은 배경 적용 */
.section-title { text-align: center; font-size: 28px; font-weight: 800; margin-bottom: 50px; color: var(--text-primary); letter-spacing: -0.5px; }

/* 아이템 그리드 - 깔끔한 카드 스타일 */
.item-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 25px; }
.item-card { background: var(--bg-card); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform 0.3s, box-shadow 0.3s; border: 1px solid var(--border-color); text-align: center; padding: 30px 20px; }
.item-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent-light); }
.card-thumb { color: var(--accent); margin-bottom: 20px; }
.card-desc h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: var(--text-primary); }
.card-desc p { font-size: 14px; color: var(--text-secondary); }

/* 게시판 영역 - 깨끗한 리스트 디자인 */
.board-grid { display: grid; gap: 30px; margin-bottom: 40px; }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-bottom { grid-template-columns: 2fr 1.5fr 1.5fr; }

.board-box { background: var(--bg-card); border-radius: 12px; padding: 25px; border: 1px solid var(--border-color); box-shadow: var(--shadow-sm); }
.board-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--border-color); }
.board-title h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); }
.board-title .more { color: var(--text-secondary); font-size: 14px; font-weight: 500; }
.board-title .more:hover { color: var(--accent); }

.board-list li { margin-bottom: 12px; display: flex; align-items: center; font-size: 14px; }
.board-list li:last-child { margin-bottom: 0; }
.board-list i { margin-right: 8px; width: 16px; text-align: center; }
.board-list a { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--text-secondary); }
.board-list a:hover { color: var(--accent); text-decoration: underline; }

/* 연락처 박스 - 스카이블루 강조 */
.contact-box { background: var(--accent-light); border-radius: 12px; padding: 30px; text-align: center; border: 1px solid var(--accent); }
.contact-box h3 { font-size: 18px; font-weight: 700; color: var(--text-primary); margin-bottom: 15px; }
.contact-box .phone { font-size: 32px; font-weight: 800; color: var(--accent); margin-bottom: 10px; letter-spacing: -1px; }
.contact-box p { font-size: 14px; color: var(--text-secondary); margin-bottom: 20px; line-height: 1.5; }
.btn-kakao { display: inline-block; background: #fee500; color: #191919; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; width: 100%; }

/* 푸터 - 깔끔한 어두운 배경 */
.footer { background: #1e293b; color: #94a3b8; padding: 60px 0; font-size: 14px; }
.footer-logo { font-size: 20px; font-weight: 800; color: white; margin-bottom: 20px; }
.footer-info { margin-bottom: 10px; }
.footer-info span { margin-right: 20px; position: relative; }
.footer-info span::after { content: ''; position: absolute; right: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 12px; background: #475569; }
.footer-info span:last-child::after { display: none; }
.copyright { margin-top: 30px; border-top: 1px solid #334155; padding-top: 20px; font-size: 13px; }

/* 반응형 */
@media (max-width: 1024px) {
    .item-grid { grid-template-columns: repeat(3, 1fr); }
    .grid-5 { grid-template-columns: repeat(2, 1fr); }
    .grid-bottom { grid-template-columns: 1fr 1fr; }
    .hero-banner h1 { font-size: 32px; }
}
@media (max-width: 768px) {
    .gnb { display: none; } /* 모바일 메뉴 버튼 필요 */
    .item-grid { grid-template-columns: 1fr; }
    .grid-5, .grid-bottom { grid-template-columns: 1fr; }
    .header-inner { flex-direction: column; gap: 20px; }
}