@font-face {
  font-family: 'IBMPlexSansKR';
  src: url('/fonts/IBMPlexSansKR-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'IBMPlexSansKR';
  src: url('/fonts/IBMPlexSansKR-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

html, body {
	max-width: 100%;
	overflow-x: hidden;
	background-image: url('/images/img_background.png'); /* 이미지 경로 */
	background-position: bottom;
	background-repeat: no-repeat;
}

footer{
	color: #ffffff;
}

@media (max-width: 770px) {
	html, body {
		background-image: none;
	} 
	footer {
	    color: #000000;
	}
}

body {
	padding-top: 70px;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
	line-height: 1.5;
	top: 0px !important;
	font-family: 'IBMPlexSansKR', sans-serif;
}

.blind {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    margin: -1px;
    padding: 0;
    border: 0;
}

.main-wrapper {
	flex: 1;
}

.main-inner {
	max-width: 1280px;
	margin: 0 auto;
	width: 100%;
	display: flex;
}

footer {
	text-align: center;
	padding: 1rem;
	/*border-top: 1px solid #ddd;*/
}

.content {
	flex: 1;
	min-width: 0;
}

#mainHeader {
	top: 0;
	position: fixed;
	width: 100%;
	z-index: 4000;
	background-color: white;
	border-bottom: 1px solid #f0e6e0;
}

header {
	transition: top 0.3s;
	z-index: 1050;
	height: 68px;
}

@media (max-width: 1200px) {
	header {
		height: 50px;
	}
	.logo-img {
		height: 30px;
		position: relative;
		top: -20px;
	}
	.main-wrapper {
		position: relative;
		top: -25px;
	}
}

.header-hidden {
	top: -80px !important;
}

.header-show {
	top: 0 !important;
}

#mainHeader.hidden {
	display: none !important;
}

#deskTopSearch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0.9rem 1rem;
	margin: 0 auto;
}

.desktop-search .bi-list {
	font-size: 1.8rem; 
	cursor: pointer; 
	position: relative;
	top: -3px; 
	color:#D2D2D2;
	display: none;
}

.mobile-search-trigger .bi-list {
	font-size: 1.8rem; 
	cursor: pointer; 
	position: relative;
	top: -10px; 
	color:#D2D2D2;
}

.mobile-search-trigger img {
	max-width: 140px;
	height: auto;
	position: relative;
	top: -10px;
	left: 0px;
}


#mobileSearch {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1049;
	background-color: white;
	padding: 0.75rem 1rem;
	animation: fadeIn 0.3s ease-in-out;
	border-bottom: 1px solid #f0e6e0;
}

#mobileSearch.active {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
}

aside.sidebar.d-none {
  display: none !important;
}

.logo-img {
	width: 200px;
	height: auto;
    position: relative;
    top: -5px;
    left: -10px;
}

.sidebar {
	width: 284px;
	/*border-right: 1px solid #ddd;*/
	padding: 1rem;
	flex-shrink: 0;
	z-index: 2010;
}

.sidebar.active {
  left: 0;
}

.content {
	flex: 1;
	padding: 1rem;
}

.card-group-inner {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	width: 100%;
}

.card-group-inner .card {
	width: 100%;
	margin: 0 8px;
	border-radius: 12px;
	box-shadow: 0 1px 5px rgba(0, 0, 0, 0.05);
}

.card-body {
	padding: 1.25rem;
}

p.card-text.text-muted,
.text-muted {
	color: #8b6f47 !important;
	line-height: 1.65;
}

.popular-card p {
	height: 40px;
} 


h6.card-title {
	margin-bottom: 0.75rem;
	height: 40px;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

main.content>.d-flex.justify-content-end>.btn.btn-outline-dark {
	background-color: #ff8c00;
	border-color: #ff8c00;
	color: white;
	font-weight: 600;
	padding: 0.6rem 1.5rem;
	border-radius: 50px;
	transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

main.content>.d-flex.justify-content-end>.btn.btn-outline-dark:hover {
	background-color: #ff7f50;
	border-color: #ff7f50;
	color: white;
	transform: scale(1.03);
}

.content section:nth-of-type(2) .badge.rounded-pill.text-dark.border {
	background-color: #fffaf0;
	border: 1px solid #ff8c00;
	color: #5c4033;
	padding: 0.6em 1.2em;
	font-size: 0.9rem;
	font-weight: 500;
	transition: all 0.2s ease-in-out;
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.content section:nth-of-type(2) .badge.rounded-pill.text-dark.border:hover {
	background-color: #ff8c00;
	color: white;
	border-color: #ff7f50;
	transform: translateY(-2px) scale(1.02);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.nav-item {
	background-color: #FAF8EA;
	border-radius: 15px;
	margin: 0 0 6px 0;
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sidebar .nav-link:hover,
.sidebar .nav-link:focus {
	border-top-left-radius: 25% 100%;
	border-bottom-left-radius: 25% 100%;
	border-top-right-radius: 25% 100%;
	border-bottom-right-radius: 25% 100%;
}

.sticky-box {
	position: relative;
	top: -24px;
	z-index: 10;
}

.roof {
  width: 100%;
  
  background-repeat: no-repeat;
  background-size: 100% auto;
  background-position: top center;
  
  position: relative;
}

.roof h2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: clamp(14px, 4vw, 20px);
  margin: 0;
  text-align: center;
  white-space: nowrap;
  padding-top: 5px;
}

.bird {
	height: 105px;
	background-image: url('/images/img_roof_with_bird_1.png');
	background-size: 100% 100%; 
	background-position: bottom;
	background-repeat: no-repeat;
}

.bird h2 {
	position: relative;
}

.bird-none {
	height: 100px;
	background-image: url('/images/img_roof.png');
	background-size: 100% 100%; 
	background-position: bottom;
	background-repeat: no-repeat;
}

.bird-none h2 {
	position: relative;
	top: 60px
}

@media (max-width: 1200px) {
	.bird {
		height: 105px;
	} 
	.bird-none {
		height: 100px;
	}
}

@media (max-width: 500px) {
  .bird {
    background-image: url('/images/img_m_roof_with_bird_1.png');
	height: 65px;
  }
  .bird h2 {
  	top: 28px
  }
  .bird-none {
  	background-image: url('/images/img_m_roof.png');
	height: 60px;
  }
  
  .bird-none h2 {
  	top: 29px
  }
}

.menu_top {
	background-image: url('/images/img_sidebar_frame.png');
	background-size: 252px;
	background-repeat: no-repeat;
	background-color: #FAF9EC;
}

.menu_top span{
	display: flex;
	text-align: center;
	align-items: center;
	justify-content: center;
	height: 79px;
}

.menu_body {
	border: 4px solid #C1A675;
	padding: 15px 8px 10px 8px;
	position: relative;
	top: -20px;
	background-color: #FFFFFF;
}

.menu_body a img {
	width: 65px;
	height: 65px;
}

.menu_body p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
}

:root {
	--theme-accent-color: #ff8c00;
	--theme-accent-hover-color: #ff7f50;
	--badge-bg-color: #fffaf0;
	--text-muted-light: #8b6f47;
}

@media (min-width: 1200px) {
	#deskTopSearch {
		max-width: 1200px;
	}
	
	#menuToggle {
		display: none;
	}
}

@media (max-width: 1200px) {
	.sidebar {
		/*display: none;*/
		position: fixed;
		left: -284px;
		transition: left 0.3s ease;
	}
	.desktop-search {
		display: flex !important;
	}
	.mobile-search-trigger,
	#mobileSearch {
		display: none !important;
	}
	p.card-text.text-muted {
		display: -webkit-box;
	}
}

@media (max-width: 1199.98px) {
	.desktop-search {
		display: none !important;
	}
	.mobile-search-trigger {
		display: flex !important;
	}
}

@media (max-width: 770px) {
	p.card-text.text-muted {
		display: -webkit-box;
	}
}

@media (max-width: 760px) {
	.slide-item {
		min-width: 100% !important;
	}
	.row.flex-column-reverse {
		flex-direction: row !important;
	}
	#foodInfo .col-md-4 {
		width: 100%;
		height: 240px;
		overflow: hidden;
		position: relative;
	}
	#foodInfo .col-md-4 img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		/* 핵심: 이미지 잘라도 꽉 채우기 */
		object-position: center center;
		/* 가운데 기준으로 잘라 보여줌 */
		display: block;
	}
}

#themeDetail .position-relative {
	width: 100%;
	height: 300px;
	overflow: hidden;
	position: relative;
}

#themeDetail .position-relative img {
	width: 100%;
	height: 300px;
	object-fit: cover;
	/* 핵심: 이미지 잘라도 꽉 채우기 */
	object-position: center center;
	/* 가운데 기준으로 잘라 보여줌 */
	display: block;
}

#themeDetailList .card-icons {
	position: relative;
	top: -3px;
}

@media (min-width: 761px) {
	.slide-item {
		min-width: 33.3333% !important;
	}
}

.skiptranslate,
.goog-te-banner-frame,
.goog-logo-link,
.goog-te-gadget {
	display: none !important;
}

.swiper {
	width: 100%;
	height: 100%;
}

.swiper-slide {
	text-align: center;
	font-size: 18px;
	display: flex;
	justify-content: center;
	align-items: center;
}
/*
.swiper-slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
*/
.swiper-controls {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
}

.swiper-controls .swiper-button-prev,
.swiper-controls .swiper-button-next {
	position: static;
	color: #ff8c00;
	margin: 0;
	width: 20px;
	height: 15px;
	font-size: 15px;
}

.swiper-controls .swiper-button-prev::after,
.swiper-controls .swiper-button-next::after {
	font-size: 15px;
	font-weight: bold;
}

.swiper-controls .swiper-pagination {
	position: static;
	margin: 0;
	width: 200px;
}

#map {
	width: 100%;
	height: 400px;
	aspect-ratio: 16 / 9;
	/* 또는 4/3, 3/2 등 */
}

.infowindow-content {
	padding: 10px;
	max-width: 90vw;
	width: 250px;
	word-break: break-word;
	font-size: 14px;
}

@media (max-width: 480px) {
	.infowindow-content {
		width: calc(100vw - 80px);
	}
}

.heart-button {
	cursor: pointer;
	display: inline-block;
}

.heart-button .bi {
	display: inline-block;
}

.heart-button.liked .bi {
	color: #ff4500;
}

.heart-bounce {
	animation: pop 0.3s ease;
}

.review-form-container {
	margin: 0 auto;
}

.review-input-group {
	display: flex;
	align-items: stretch;
	gap: 10px;
}

.review-textarea {
	flex-grow: 1;
	padding: 10px;
	border: 1px solid #f0e6e0;
	border-radius: 6px;
	min-height: 50px;
	font-size: 16px;
	line-height: 1.5;
	resize: vertical;
}

.review-submit-button {
	border: none;
	background-color: #ff8c00;
	color: white;
	font-size: 16px;
	font-weight: bold;
	border-radius: 6px;
	cursor: pointer;
	transition: background-color 0.2s;
	white-space: nowrap;
	width: 60px;
}

.review-submit-button:hover {
	background-color: #ff7f50;
}

.char-counter {
	text-align: right;
	margin-top: 5px;
	font-size: 14px;
	color: #8b6f47;
	padding-right: 90px;
}

#foodInfo .text-ellipsis-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;     /* 3줄까지 표시 */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em;
  max-height: 4.5em;         /* 1.5em * 3줄 */
}

:root {
    --swiper-theme-color:  #ff7f50;
}

/* 오버레이 기본 상태: 안보임 */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5); /* 반투명 검정 */
  z-index: 2000; /* 사이드바 바로 아래 */
  display: none;
}

/* 오버레이 보이기 */
.overlay.active {
  display: block;
}

/* 카드 전체 높이를 일정하게 */
.popular-card {
  height: 435px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 15px;
}

/* 이미지 높이 고정 (PC 기준) */
.popular-img {
  width: 100%;
  height: 300px;
  object-fit: fill;
  object-position: center;
  display: block;
  border-radius: 15px;
}

/* 카드 내 본문 영역이 남은 공간을 차지하게 */
.popular-card .card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.safe-info .item {
	font-size: 1rem;
	width: 30px;
	position: relative;
	top: 2px;
	text-align: center;
	padding: 0 10px 0 0;
}
.flag {
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
	border:1px solid #e5e7eb;
}

@media (max-width: 600px) {
	.langBtn .label {
		display: none;
	}
}

.dropdown-menu .dropdown-item .flag {
	margin-right: 8px;
}

.theme-info img{
	width: 130px;
	height: 130px;
}
