:root {
	--main-color: #2c3e50;
	--accent-color: #16a085;
	--light-bg: #f5f5f5;
	--text-color: #333;
	--card-bg: #ffffff;
	--card-shadow: rgba(0, 0, 0, 0.1);
}

/* 기본 초기화 */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: 'Segoe UI', sans-serif;
	background-color: var(--light-bg);
	color: var(--text-color);
}

/* 상단 고정 */
.topbar {
	position: sticky;
	top: 0;
	z-index: 999;
	background: linear-gradient(135deg, var(--main-color), var(--accent-color));
	color: white;
}

/* 헤더 */
header {
	padding: 1.5rem 1rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	position: relative;
}

header img {
	max-height: 80px;
	width: auto;
	height: auto;
}

.logo {
	max-width: 220px;
	height: auto;
}

/* 햄버거 버튼 */
.menu-toggle {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: none;
	font-size: 2rem;
	background: none;
	border: none;
	color: white;
	cursor: pointer;
}

/* 데스크탑용 메뉴 */
.mainMenu {
	display: flex;
	justify-content: center;
	gap: 1.5rem;
	padding: 0.75rem 0;
	background-color: rgba(0, 0, 0, 0.1);
}

.mainMenu a {
	color: white;
	text-decoration: none;
	font-weight: bold;
}

.mainMenu a:hover {
	color: var(--accent-color);
}

/* 본문 */
main {
	padding: 2rem 1rem;
	max-width: 960px;
	margin: auto;
}

section[id] {
	scroll-margin-top: 200px;
}

section {
	background-color: var(--card-bg);
	margin-bottom: 2rem;
	padding: 1.5rem;
	border-radius: 12px;
	box-shadow: 0 4px 8px var(--card-shadow);
}

section h2 {
	color: var(--accent-color);
	margin-bottom: 1rem;
}

/* 푸터 */
footer {
	text-align: center;
	padding: 1rem;
	background-color: var(--main-color);
	color: white;
	font-size: 0.9rem;
}

/* 반응형 - 모바일 */
@media screen and (max-width: 768px) {
	.menu-toggle {
		display: block;
		margin-left: auto;
	}

	/*.mainMenu {
		position: absolute;
		top: 100%;
		right: 0;
		width: 70%;
		max-width: 300px;
		background-color: var(--main-color);
		flex-direction: column;
		align-items: flex-start;
		padding: 1rem;
		transform: translateX(100%);
		transition: transform 0.3s ease-in-out;
		box-shadow: -2px 0 10px rgba(0,0,0,0.3);
		border-radius: 0 0 0 8px;
		z-index: 999;
		display: flex;
	}*/
	.mainMenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100vh;
  background-color: #1e2a38;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-left: 20px;
  transition: right 0.3s ease;
}

.mainMenu.active {
  right: 0;
}

.mainMenu a {
  color: white;
  font-size: 1.2rem;
  margin: 12px 0;
  text-decoration: none;
}

.menu-toggle {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: white;
}


	.mainMenu.open {
		transform: translateX(0);
	}

	.logo, header img {
		max-width: 160px;
	}

	main {
		padding: 1.5rem;
	}
}

/* 반응형 지도 */
#mapWrapper {
	position: relative;
	width: 100%;
	padding-bottom: 66.6%;
	height: 0;
}

#daumRoughmapContainer1234567890123 {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

.map-container {
	width: 100%;
	max-width: 600px;
	margin: auto;
}

.root_daum_roughmap {
	width: 100% !important;
}
/* 반응형 지도 끝 */

/* 소개 섹션 배경 */
/*#about {
	background: url('/common/img/background.jpg') no-repeat center center;
	background-size: cover;
	color: white;
	position: relative;
}

#about::before {
	content: "";
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 0;
}

#about * {
	position: relative;
	z-index: 1;
}*/