body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
   
}

.header {
    background-color: #4CAF50;
    color: white;
    padding: 10px 0;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}   
.page-header small {
    color: #999595; /* 顏色比 h1 淡 */
    font-size: 0.6em; /* 字形小一點 */
}

.breadcrumb {
    list-style: none;
    background-color: #e4e0e0;
    padding: 8px 15px;
    margin: 0;
    border-radius: 4px;
}

.breadcrumb > li {
    display: inline;
    font-size: 14px;
}

.breadcrumb > li + li:before {
    content: "/";
    padding: 0 5px;
}

.breadcrumb .active {
    font-weight: bold;
}

.fill {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}


a {
    text-decoration: none;
    color: inherit;
}
.header h1 {
    margin: 0;
    padding-left: 20px;
}

.header nav {
    margin-right: 20px;
}
/* 設置導航為 Flexbox 佈局 */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}


.nav-links,
.dropdown-content {
    display: flex;
    gap: 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 5px;
}

.nav-links a:hover {
    background-color: #45a049;
}

.dropdown {
    position: relative;
    display: inline-block;
    margin: 10px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: white;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #ddd;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.container {
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
}

/* 新增 Flexbox 佈局 */
.about-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    /* 使項目在空間不足時換行 */
    gap: 20px;
    /* 項目之間的間距 */
}
.page-header {
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.panel {
    flex: 1;
    /* 使每個面板具有相同的彈性 */
    max-width: 30%;
    /* 設置最大寬度 */
    box-sizing: border-box;
    /* 確保內邊距和邊框不會影響寬度 */
}

.panel img {
    width: 100%;
    /* 使圖片寬度自適應面板 */
    height: auto;
    /* 高度自動調整 */
}


.section {
    background: white;
    margin: 20px 0;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.section h2 {
    color: #333;
}

.contact {
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
}

.contact p {
    margin: 0;
}

.contact a {
    color: #4CAF50;
    text-decoration: none;
}

.locations ul {
    list-style: none;
    padding: 0;
}

.locations li {
    margin-bottom: 10px;
}

.footer {
    text-align: center;
    padding: 10px 0;
    background-color: #4CAF50;
    color: white;
    margin-top: 20px;
}

.footer-contact {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    background-color: #f4f4f4;
    border-top: 1px solid #ddd;
}

.footer-contact .contact-info,
.footer-contact .map {
    width: 48%;
}

.footer-contact h2 {
    margin-bottom: 10px;
}

.footer-contact ul {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    margin-bottom: 5px;
}

.map iframe {
    border: 0;
    width: 100%;
    height: 100%;
}
/* Carousel Container */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Carousel Images Container */
.carousel-images {
    display: flex;
    transition: transform 0.5s ease;
}

/* Carousel Images */
.carousel-images img {
    width: 100%;
    height: auto;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    width: 50px;
    height: 50px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    cursor: pointer;
    transform: translateY(-50%);
}

.prev { left: 0; }
.next { right: 0; }


.row_top {
    margin-bottom: 30px; /* 调整 .row_top 和 .product 之间的间距 */
}

.product {
    display: flex;
    align-items: flex-start; /* 使内容靠近上方对齐 */
    
    gap: 20px; /* 图片和文本之间的间距 */
}

.img-product img {
    max-width: 100%;
    height: auto;
    display: block;
}

.col-md-4 {
    flex: 1;
    max-width: 600px; /* 可以根据需要调整宽度 */
    margin: 0 auto; /* 在剩余空间中水平居中 */  
}

.ul-container {
    display: flex; /* 使用 Flexbox 布局 */
    justify-content: space-between; /* 在容器中均匀分布子项 */
    gap: 20px; /* 子项之间的间距 */
}

/* 确保 ul 不显示默认的列表样式 */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ul-one, .ul-sec, .ul-thr,.ul-four {
    padding: 10px; /* 给每个块添加内边距 */
    box-sizing: border-box; /* 包括内边距和边框在内的总宽度 */
}


.ul-one, .ul-sec, .ul-thr,.ul-four {
    flex: 1; /* 每个 div 占据相等的空间 */
    margin: 0; /* 去掉外边距 */
}

.ul-one ul, .ul-sec ul, .ul-thr, .ul-four ul {
    padding: 0; /* 去掉内边距 */
    margin: 0; /* 去掉外边距 */
}

.font-color {
    color: #007bff; /* 默认链接颜色 */
}

