﻿/*.floor-guide {
	padding: 5rem 0 4rem;
	background-color: #faf8f5;
}*/

/* 標題 */
/*.floor-guide-header {
	text-align: center;
	margin-bottom: 3rem;
}

.floor-guide-label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: #999;
	font-family: 'Noto Sans TC', sans-serif;
	margin-bottom: 0.8rem;
}

.floor-guide-title {
	font-family: 'Noto Serif TC', serif;
	font-size: 2rem;
	font-weight: 700;
	color: #2c1810;
	margin: 0 0 1rem;
}

.floor-guide-line {
	width: 48px;
	height: 3px;
	background-color: #c0392b;
	margin: 0 auto;
}*/

/* 主體左右分割 */
/*.floor-guide-body {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
}*/

/* 左側樓層列表 */
/*.floor-list {
	flex: 0 0 240px;
	display: flex;
	flex-direction: column;
}

.floor-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem;
	cursor: pointer;
	border-left: 3px solid transparent;
	transition: all 0.25s ease;
	border-bottom: 1px solid #f0ece6;
}

	.floor-item:hover {
		background: #fff;
		border-left-color: #e8c4a0;
	}

	.floor-item.active {
		background: #fff;
		border-left-color: #c0392b;
	}

.floor-num {
	font-family: 'Noto Serif TC', serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #c0392b;
	min-width: 32px;
}

.floor-info .floor-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #2c1810;
	font-family: 'Noto Serif TC', serif;
	margin-bottom: 0.15rem;
}

.floor-info .floor-sub {
	font-size: 0.7rem;
	color: #aaa;
	font-family: 'Noto Sans TC', sans-serif;
	letter-spacing: 0.05em;
}*/

/* 右側詳細內容 */
/*.floor-detail {
	flex: 1;
}

.floor-detail-img {
	position: relative;
	width: 80%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	margin: 0 auto 1.5rem;
}

	.floor-detail-img img {
		width: 100%;
		height: 100%;
		object-fit: cover;
		display: block;
	}

.floor-highlight-tag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: rgba(0,0,0,0.6);
	color: #fff;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	padding: 0.35rem 0.8rem;
	font-family: 'Noto Sans TC', sans-serif;
}

.floor-detail-content h3 {
	font-family: 'Noto Serif TC', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: #2c1810;
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.floor-detail-num {
	color: #c0392b;
}

.floor-detail-content p {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.8;
	border-left: 3px solid #e8c4a0;
	padding-left: 1rem;
	margin-bottom: 0.5rem;
	font-family: 'Noto Sans TC', sans-serif;
}

.floor-detail-link {
	font-size: 0.85rem;
	color: #c0392b;
	text-decoration: none;
	font-family: 'Noto Sans TC', sans-serif;
	letter-spacing: 0.05em;
	transition: opacity 0.2s ease;
	animation: blinkSoft 1.2s infinite ease-in-out;
}

@keyframes blinkSoft {
	0%, 100% {
		opacity: 1;
	}

	50% {
		opacity: 0.4;
	}
}


	.floor-detail-link:hover {
		opacity: 0.7;
	}*/

/* 響應式 */
/*@media (max-width: 768px) {
	.floor-guide-body {
		flex-direction: column;
		gap: 1.5rem;
	}

	.floor-list {
		flex: none;
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 0;
	}

	.floor-item {
		border-bottom: 1px solid #f0ece6;
		border-left: 3px solid transparent;
	}

	.floor-detail-img {
		aspect-ratio: 5 / 3;
	}
}

@media (max-width: 480px) {
	.floor-guide-title {
		font-size: 1.5rem;
	}

	.floor-detail-content h3 {
		font-size: 1.2rem;
	}
}*/
.floor-guide {
	padding: 5rem 0 4rem;
	background-color: #faf8f5;
}

/* ========== 標題 ========== */
.floor-guide-header {
	text-align: center;
	margin-bottom: 2.5rem;
}

.floor-guide-label {
	display: block;
	font-size: 0.75rem;
	letter-spacing: 0.3em;
	color: #999;
	font-family: 'Noto Sans TC', sans-serif;
	margin-bottom: 0.8rem;
}

.floor-guide-title {
	font-family: 'Noto Serif TC', serif;
	font-size: 2rem;
	font-weight: 700;
	color: #2c1810;
	margin: 0 0 1rem;
}

.floor-guide-line {
	width: 48px;
	height: 3px;
	background: linear-gradient(90deg, transparent, #FF8C42, transparent);
	margin: 0 auto;
}

/* ========== 館別切換 ========== */
.building-tabs {
	display: flex;
	gap: 0.75rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 2.5rem;
}

.building-tab {
	flex: 1;
	min-width: 140px;
	max-width: 200px;
	padding: 0.75rem 1rem;
	border: 1px solid #ddd;
	background: #fff;
	cursor: pointer;
	text-align: center;
	transition: all 0.3s ease;
	font-family: 'Noto Serif TC', serif;
}

	.building-tab:hover {
		border-color: #FF8C42;
		color: #FF8C42;
	}

	.building-tab.active {
		background: #c0392b;
		border-color: #c0392b;
		color: #fff;
	}

.building-tab-name {
	display: block;
	font-size: 0.95rem;
	font-weight: 700;
}

.building-tab-eng {
	display: block;
	font-size: 0.65rem;
	letter-spacing: 0.15em;
	opacity: 0.6;
	margin-top: 0.2rem;
	font-family: 'Noto Sans TC', sans-serif;
}

/* ========== 主體 ========== */
.floor-guide-body {
	display: flex;
	gap: 3rem;
	align-items: flex-start;
}

/* ========== 左側樓層列表 ========== */
.floor-list {
	flex: 0 0 240px;
	display: flex;
	flex-direction: column;
}

.floor-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.2rem;
	cursor: pointer;
	border-left: 3px solid transparent;
	border-bottom: 1px solid #f0ece6;
	transition: all 0.25s ease;
}

	.floor-item:hover {
		background: #fff;
		border-left-color: #e8c4a0;
	}

	.floor-item.active {
		background: #fff;
		border-left-color: #c0392b;
	}

.floor-num {
	font-family: 'Noto Serif TC', serif;
	font-size: 1.1rem;
	font-weight: 700;
	color: #c0392b;
	min-width: 50px;
}

.floor-item:not(.active) .floor-num {
	color: #bbb;
}

.floor-item.active .floor-num {
	color: #c0392b;
}

.floor-info .floor-name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #2c1810;
	font-family: 'Noto Serif TC', serif;
	margin-bottom: 0.15rem;
}

.floor-info .floor-sub {
	font-size: 0.7rem;
	color: #aaa;
	font-family: 'Noto Sans TC', sans-serif;
	letter-spacing: 0.05em;
}

/* ========== 右側詳細 ========== */
.floor-detail {
	flex: 1;
	min-width: 0;
}

/* 圖片輪播 */
.floor-detail-carousel {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 4px;
	margin-bottom: 1.5rem;
	background: #e0ddd8;
}

.floor-carousel-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0;
	transition: opacity 1s ease;
}

	.floor-carousel-img.active {
		opacity: 1;
	}

/* 圖片左上角標籤 */
.floor-highlight-tag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background: #c0392b;
	color: #fff;
	font-size: 0.7rem;
	letter-spacing: 0.15em;
	padding: 0.35rem 0.8rem;
	font-family: 'Noto Sans TC', sans-serif;
	z-index: 2;
}

/* 輪播指示器 */
.floor-carousel-dots {
	position: absolute;
	bottom: 1rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 2;
}

.floor-carousel-dot {
	height: 3px;
	border-radius: 2px;
	background: rgba(255,255,255,0.35);
	transition: all 0.5s ease;
	cursor: pointer;
	width: 20px;
}

	.floor-carousel-dot.active {
		width: 48px;
		background: #fff;
	}

/* 詳細內容 */
.floor-detail-content h3 {
	font-family: 'Noto Serif TC', serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: #2c1810;
	margin-bottom: 0.8rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.floor-detail-num {
	color: #c0392b;
}

.floor-detail-content p {
	font-size: 0.95rem;
	color: #666;
	line-height: 1.8;
	border-left: 3px solid #e8c4a0;
	padding-left: 1rem;
	margin-bottom: 1.5rem;
	font-family: 'Noto Sans TC', sans-serif;
}

/* 虛線分隔 */
.floor-detail-divider {
	border: none;
	border-top: 1px dashed #ddd;
	margin: 1.2rem 0;
}

/* 底部資訊列 */
.floor-detail-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	flex-wrap: wrap;
}

.floor-detail-meta {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	flex-wrap: wrap;
}

.floor-meta-item {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 0.78rem;
	color: #888;
	font-family: 'Noto Sans TC', sans-serif;
	letter-spacing: 0.03em;
}

	.floor-meta-item i {
		color: #c0392b;
		font-size: 0.75rem;
	}

.floor-meta-dot {
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: #ccc;
}

.floor-detail-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.7rem 1.4rem;
	background: #2c1810;
	color: #fff;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	text-decoration: none;
	font-family: 'Noto Sans TC', sans-serif;
	transition: background 0.3s ease;
	white-space: nowrap;
}

	.floor-detail-link:hover {
		background: #c0392b;
	}

	.floor-detail-link i {
		transition: transform 0.3s ease;
	}

	.floor-detail-link:hover i {
		transform: translateX(4px);
	}

/* ========== 響應式 ========== */
@media (max-width: 1023px) {
	.floor-guide-body {
		flex-direction: column;
		gap: 1.5rem;
	}

	.floor-list {
		flex: none;
		width: 100%;
		display: flex;
		flex-direction: row;
		overflow-x: auto;
		gap: 0;
		padding-bottom: 0.5rem;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

		.floor-list::-webkit-scrollbar {
			display: none;
		}

	.floor-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
		min-width: 90px;
		padding: 0.8rem 0.6rem;
		border-left: none;
		border-bottom: 3px solid transparent;
		flex-shrink: 0;
		gap: 0.3rem;
	}

		.floor-item:hover {
			border-left: none;
			border-bottom-color: #e8c4a0;
		}

		.floor-item.active {
			border-left: none;
			border-bottom-color: #c0392b;
		}

	.floor-detail-footer {
		flex-direction: column;
		align-items: flex-start;
	}

	.floor-detail-link {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 640px) {
	.building-tabs {
		gap: 0.5rem;
	}

	.building-tab {
		min-width: calc(50% - 0.25rem);
		max-width: none;
		flex: none;
		width: calc(50% - 0.25rem);
	}

	.floor-guide-title {
		font-size: 1.5rem;
	}

	.floor-detail-content h3 {
		font-size: 1.2rem;
	}

	.floor-detail-meta {
		gap: 1rem;
	}
}