body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    color: white;    
	font-family: 'Arial', 'Helvetica Neue', sans-serif;
	scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0;  /* 隱藏垂直滾動條 */
    height: 0; /* 隱藏水平滾動條 */
}

/* Language 多國語言 */

.lang-dropdown {
  position: fixed;
  top: 9px;
  right: 8px;
  z-index: 1050; /* Ensure it's always on top */
  display: inline-block;
/*  margin-left: 15px; */
}

.lang-button {
  width: 65px;
  padding-left: 10px;
}

.lang-menu {
  min-width: 40px !important;
}

.lang-item {
  text-align: left;
}

/* Navigation 標頭與功能列 */

.title-nav {
  font-size: 22px
}

.navbar {
  background: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */
  border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* 淡淡的下邊框分隔效果 */
}

/* Make the navbar-toggler-icon thicker */
.navbar-toggler-icon {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 30 30%22%3E%3Cpath stroke%3D%22rgba%28255, 255, 255, 1%29%22 stroke-width%3D%224%22 d%3D%22M4 7h22M4 15h22M4 23h22%22/%3E%3C/svg%3E');
}
		
.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem white;
}

.navbar-index {
  margin-left: 15px;
  color: white;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link {
  padding: 8px 15px;
  margin-right: 15px;
  color: white;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #97CBFF; /* 淺藍色 hover 效果 */
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

.menu-toggler {
  margin-right: 70px;
}

.menu-collapse {
  margin-right: 60px
}

.line-absolute a{
  position:relative;
}
.line-absolute a::after{
  content:" ";
  position: absolute;
  right:50%;
  left:50%;
  bottom:3px;
  border-bottom:3px solid #ffffff;
  transition: .3s;
}
.line-absolute2 a:hover::after{
  right:0%;
  left:0%;
}

/* Section */

.section {
  height: 100vh; /* 確保區塊高度為視窗高度 */	
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

/* Section 1: Home */

#home.section {
  background: url('../assets/images/home_center_bg.webp') no-repeat center center/cover;
  align-items: baseline;
  padding-top: 130px;
}

/* Section 2: Wedding 文字與地圖的排版 */

#wedding.section {
  background: url('../assets/images/wedding_bg.webp') no-repeat center center/cover;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  overflow: hidden; /* 隱藏超出的內容 */
}

/* 文字與地圖的容器配置 */
#wedding .content-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%; /* 確保容器填滿區塊 */
}

/* 文字內容 */
#wedding .text-content {
  flex: 1;
  min-width: 300px;
  max-width: 50%; /* 限制最大寬度 */
  padding-top: 10px;
  overflow: hidden; /* 防止內容溢出 */
}

#wedding #wedding-venue {
  font-weight: 700;
}

#wedding #venue-address {
  font-weight: 700;
  font-size: x-large;
  margin-bottom: 0px;
}

#wedding #elevatorImg {
  max-width: 95%;
}

/* 地圖容器配置 */
#wedding .map-content {
  flex: 0.5;
  min-width: 300px;
  max-width: 50%; /* 限制最大寬度 */
  overflow: hidden; /* 防止內容溢出 */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 響應式地圖框架 */
#wedding .iframe-container {
  position: relative;
  width: 100%;
  height: 80%; /* 讓地圖適應容器高度 */
}

#wedding .iframe-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Section 3: Survey 邀請調查 */

#survey {
    background: url('../assets/images/survey_bg.webp') no-repeat center center/cover;
}

/* Section 4: Gallery */

#gallery.section {
  background: url('../assets/images/gallery_bg-02.jpg') no-repeat center center/cover;
  background-color: rgba(255, 255, 255, 0.4); /* 半透明白色背景 */
  background-blend-mode: lighten; /* 混合模式 */
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  display: flow-root;
  height: max-content;
}

#photos.row {
  padding-top: 60px;
/*  padding-left: 10px; */
/*  padding-bottom: 20px; */
/*  padding-right: 10px; */
}

.photos-item {
    margin-bottom: 15px;
    overflow: hidden;
    border-radius: 10px;
}

.photos-item img {
    width: 100%;
    display: block;
}

.fancybox-slide {
  will-change: transform;  /* 告訴瀏覽器進行 GPU 優化 */
}

/* Section 5: story */
#story.section {
  background: url('../assets/images/wedding-page-coming-soon.webp') no-repeat center center/cover;
}

/* Section 6: blessing */
#blessing.section {
  background: url('../assets/images/wedding-page-coming-soon.jpg') no-repeat center center/cover;
}

/* Section 7: thanks */
#thanks.section {
  background: url('../assets/images/wedding-page-coming-soon.webp') no-repeat center center/cover;
}
