 /* ==================================== */
/* 首頁大圖輪播專屬 CSS 樣式 (獨立區隔) */
/* ==================================== */
#main-carousel-section {
	position: relative;
	width: 100%;
	/* 輪播圖高度，調整以適應全屏或特定比例 */
	/* 考慮到上方固定 Header 和 Marquee 的高度 */
	height: calc(100vh - var(--marquee-height) - var(--header-top-height) - var(--desktop-nav-height));
	overflow: hidden; /* 確保圖片在容器內 */
	margin-top: -1px; /* 微調以避免固定 Header 和輪播之間的間隙 */
}
@media (max-width: 1023px) {
	#main-carousel-section {
		height: calc(100vh - var(--marquee-height) - var(--header-top-height));
	}
}
/* 可選：針對極小螢幕進一步調整高度 */
@media (max-height: 600px) {
	#main-carousel-section {
		height: 500px; /* 或者您希望的最小高度 */
	}
}


.carousel-container {
	display: flex;
	width: 100%;
	height: 100%;
	transition: transform 0.7s ease-in-out; /* 平滑過渡效果 */
}

.carousel-slide {
	min-width: 100%; /* 確保每張圖片佔滿整個容器寬度 */
	height: 100%;
	background-size: cover; /* 圖片覆蓋整個區域 */
	background-position: center; /* 圖片居中 */
	background-repeat: no-repeat;
	display: flex;
	align-items: center;
	justify-content: center;
	color: white; /* 圖片上的文字顏色 */
	font-size: 3rem;
	font-weight: bold;
	text-shadow: 2px 2px 4px rgba(0,0,0,0.7); /* 文字陰影增強可讀性 */
}
@media (max-width: 768px) {
	.carousel-slide {
		font-size: 2rem;
	}
}

.carousel-nav-button {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background-color: rgba(0, 0, 0, 0.5); /* 半透明按鈕背景 */
	color: white;
	border: none;
	padding: 1rem 1.2rem;
	cursor: pointer;
	font-size: 1.5rem;
	border-radius: 0.5rem;
	transition: background-color 0.3s ease, transform 0.3s ease;
	z-index: 10;
}

.carousel-nav-button:hover {
	background-color: rgba(0, 0, 0, 0.8);
	transform: translateY(-50%) scale(1.05);
}

.carousel-nav-button.prev {
	left: 1rem;
}

.carousel-nav-button.next {
	right: 1rem;
}

.carousel-pagination {
	position: absolute;
	bottom: 1.5rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.5rem;
	z-index: 10;
}

.carousel-dot {
	width: 10px;
	height: 10px;
	background-color: rgba(255, 255, 255, 0.5);
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.carousel-dot.active {
	background-color: white;
	transform: scale(1.2);
}
/* ==================================== */
/* 輪播專屬 CSS 樣式結束 */
/* ==================================== */