/* 全局樣式 */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Microsoft JhengHei", sans-serif;
	line-height: 1.6;
	color: #333;
}
/* 導航欄樣式 */
.main-nav {
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	padding: 1rem 5%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	width: 100%;
	top: 0;
	z-index: 1000;
	background-image: url(/images/topbg.jpg);
	background-size: cover;
}
.logo {
	display: flex;
	align-items: center;
}
.logo a {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: inherit;
}
.logo img {
	width: 100px; /* 可依需求調整圖片高度 */
	margin-right: 8px; /* 圖片和文字的間距 */
}
.nav-links {
	display: flex;
	list-style: none;
	gap: 2rem;
}
.nav-links a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: color 0.3s ease;
}
.nav-links a:hover {
	color: #007bff;
}
/* 主要內容區域 */
main {
	margin-top: 70px;
}
.hero {
	background-color: #f8f9fa;
	padding: 4rem 5%;
	text-align: center;
}
.hero h1 {
	font-size: 2.5rem;
	margin-bottom: 1rem;
	color: #333;
}
.hero h2 {
	font-size: 1.8rem;
	color: #666;
}
/* 特色卡片區域 */
.features {
	padding: 4rem 5%;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}
.feature-card {
	background: #fff;
	padding: 2rem;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}
.feature-card:hover {
	transform: translateY(-5px);
}
.feature-card h3 {
	color: #333;
	margin-bottom: 1rem;
}
.feature-card p {
	color: #666;
}
/* 頁腳樣式 */
footer {
	background-color: #333;
	color: #fff;
	padding: 2rem 5%;
}
.footer-content {
	max-width: 1200px;
	margin: 0 auto;
}
.contact-info p {
	margin-bottom: 0.5rem;
}
/* 幻燈片樣式 */
.swiper {
	width: 100%;
	height: 600px;
	margin-top: 80px;
}
.swiper-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
	color: #fff;
}
.swiper-pagination-bullet {
	background: #fff;
}
/* 設施區域樣式 */
.amenities {
	padding: 4rem 5%;
	background-color: #f8f9fa;
}
.amenities h2 {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2rem;
	color: #333;
}
.amenities-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}
.amenity-category {
	background: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.amenity-category h3 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.2rem;
	border-bottom: 2px solid #007bff;
	padding-bottom: 0.5rem;
}
.amenity-category ul {
	list-style: none;
}
.amenity-category li {
	color: #666;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}
.amenity-category li:before {
	content: "•";
	color: #007bff;
	position: absolute;
	left: 0;
}
/* 相簿樣式 */
.gallery {
    padding: 4rem 5%;
    background-image: url(/images/bbg.jpg);
    background-size: cover;
    background-position: center top;
}
.gallery h2 {
	text-align: center;
	margin-bottom: 3rem;
	font-size: 2rem;
	color: #333;
}
.gallery-container {
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 3rem;
}
.gallery-wrapper {
	overflow: hidden;
	position: relative;
}
.gallery-items {
	display: flex;
	gap: 1rem;
	transition: transform 0.3s ease;
}
.gallery-item {
	flex: 0 0 calc(20% - 0.8rem);
	min-width: 200px;
	height: 200px;
	overflow: hidden;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}
.gallery-item:hover {
	transform: translateY(-5px);
}
.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s ease;
}
.gallery-item:hover img {
	transform: scale(1.05);
}
.gallery-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.5);
	color: white;
	border: none;
	cursor: pointer;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.3s ease;
	z-index: 2;
}
.gallery-nav:hover {
	background: rgba(0, 0, 0, 0.8);
}
.gallery-nav.prev {
	left: 0;
}
.gallery-nav.next {
	right: 0;
}

/* 響應式設計 */
@media (max-width: 768px) {
.nav-links {
	display: none;
}
.hero h1 {
	font-size: 2rem;
}
.hero h2 {
	font-size: 1.5rem;
}
.swiper {
	height: 400px;
}
.amenities-grid {
	grid-template-columns: 1fr;
}
.amenity-category {
	margin-bottom: 1rem;
}
.gallery-container {
	padding: 0 1rem;
}
.gallery-item {
	flex: 0 0 calc(50% - 0.5rem);
	min-width: 150px;
	height: 150px;
}
.gallery-nav {
	width: 30px;
	height: 30px;
	font-size: 1.2rem;
}
}

@media (max-width: 480px) {
.gallery-item {
	flex: 0 0 calc(100% - 0.5rem);
	min-width: 200px;
	height: 200px;
}
}
/* 頁面標題樣式 */
.page-header {
	background-color: #f8f9fa;
	padding: 4rem 5%;
	text-align: center;
	margin-bottom: 3rem;
}
.page-header h1 {
	font-size: 2.5rem;
	color: #333;
	margin: 0;
}
/* 常見問答樣式 */
.faq-section {
	padding: 0 5% 4rem;
}
.faq-container {
	max-width: 800px;
	margin: 0 auto;
}
.faq-item {
	background: #fff;
	border-radius: 8px;
	padding: 2rem;
	margin-bottom: 2rem;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.faq-item h3 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.3rem;
}
.faq-item p {
	color: #666;
	line-height: 1.6;
}
/* 周邊景點樣式 */
.tours-section {
	padding: 0 5% 4rem;
}
.tours-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
	max-width: 1200px;
	margin: 0 auto;
}
.tour-item {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	transition: transform 0.3s ease;
}
.tour-item:hover {
	transform: translateY(-5px);
}
.tour-item img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.tour-content {
	padding: 1.5rem;
}
.tour-content h3 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.3rem;
}
.tour-content p {
	color: #666;
	margin-bottom: 1rem;
	line-height: 1.6;
}
.tour-info {
	list-style: none;
	padding: 0;
}
.tour-info li {
	color: #666;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}
.tour-info li:before {
	content: "•";
	color: #007bff;
	position: absolute;
	left: 0;
}
/* 住宿規定樣式 */
.rules-section {
	padding: 2rem 5%;
	max-width: 1200px;
	margin: 0 auto;
}
.rules-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 2rem;
}
.rule-category {
	background: #fff;
	padding: 1.5rem;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.rule-category h2 {
	color: #333;
	margin-bottom: 1rem;
	font-size: 1.2rem;
	border-bottom: 2px solid #007bff;
	padding-bottom: 0.5rem;
}
.rule-category ul {
	list-style: none;
}
.rule-category li {
	color: #666;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}
.rule-category li:before {
	content: "•";
	color: #007bff;
	position: absolute;
	left: 0;
}
/* 最後一個規則類別全寬顯示 */
.rule-category:last-child {
	grid-column: 1 / -1;
}

/* 響應式設計 */
@media (max-width: 768px) {
.page-header h1 {
	font-size: 2rem;
}
.tours-container {
	grid-template-columns: 1fr;
}
.rules-container {
	grid-template-columns: 1fr;
}
}
