/*Body*/
.row [class^="col-"] {
  padding:10px;
}


body[data-type="fullpage"]:not(#managehome) #wrap > :not(:last-child) { margin-bottom: 0px; }




.fcol.fcol-header .container{
  display:none;
}


/*logo*/

 #logo img {
   padding: 16px;
 }

@media only screen and (max-width: 767px) {
  #logo a img {
    margin: 0 auto;
  }
}


/*top*/
.topnavbar {
  background-color: #fff;
  top:0px;
  position: relative;
  z-index:100;
  width:100%;
  padding: .6rem 0;
  height: 100px;

}

/*logo&頁籤選單文字區塊左右對齊*/
.topnavbar .container {
  padding: 0;  /* 清除內距 */
  display: flex;
  align-items: flex-end;  /* center上下置中; flex-end靠下; */
  justify-content: space-around; /* 平均分配 */
  padding-top:0px;
}

.topnavbar .container #logo, 
.topnavbar .container #nav { 
  width: 100%; 
}

.topnavbar .container #nav { text-align: right; }/* 讓頁籤選單文字靠右 */



@media(max-width:600px){
   .topnavbar .container {
  text-align: center;
}
}


/*nav*/
#nav ul li a {
    white-space: nowrap;
    color: #333;
    line-height: 1.3;
    font-weight: normal;
    padding: 10px 18px;
    font-size: 95%;
    border-right: 1px #888 dotted;
    transition:all 0.5s;
}

#nav ul li a:hover{
    color: #34b2e6;
}


#nav ul li.current a  {
    color: #34b2e6;  
}



/*Banner*/
.swiper-container {
  height: auto !important;
}

.swiper-wrapper,.swiper-slide {
  height: 0 !important;
  padding-bottom: calc(500 / 1920 * 100%); 
}

.swiper-slide {
  width: 100% !important;
}


#bodyinpage.aluminum #banner{
  display:none;
}



/*About_1*/
.about-section{
padding:90px 20px;
 /*background:#f8f9fb;*/
font-family:Arial, Helvetica, sans-serif;
}

.about-container{
max-width:1200px;
margin:auto;
display:flex;
flex-wrap:wrap;
align-items:center;
gap:50px;
}

.about-left{
flex:1;
min-width:320px;
}

.about-small{
color:#2c7cc3;
font-size:14px;
font-weight:600;
margin-bottom:10px;
letter-spacing:1px;
}

.about-left h2{
font-size:34px;
margin-bottom:20px;
color:#222;
}

.about-left p{
line-height:1.8;
color:#555;
margin-bottom:20px;
}

.about-icons{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:30px;
margin-bottom:30px;
}

.icon-box{
text-align:center;
font-size:14px;
}

.icon{
font-size:30px;
margin-bottom:6px;
color:#2c7cc3;
}

.about-btn{
display:inline-block;
background:#2c7cc3;
color:#fff;
padding:12px 30px;
border-radius:30px;
text-decoration:none;
transition:0.3s;
}

.about-btn:hover{
background:#1f5e97;
}

.about-right{
flex:1;
min-width:320px;
position:relative;
}

.img-main{
width:100%;
border-radius:8px;
}

.img-sub1{
width:55%;
position:absolute;
top:40px;
left:-40px;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.img-sub2{
width:50%;
position:absolute;
bottom:-40px;
right:-20px;
border-radius:8px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.about-data{
max-width:1100px;
margin:80px auto 0;
display:flex;
justify-content:space-between;
flex-wrap:wrap;
text-align:center;
}

.data-box{
flex:1;
min-width:150px;
padding:20px 20px 100px;
}

.data-box h3{
font-size:36px;
color:#fff;
margin-bottom:5px;
font-family: Arial, "Poppins",sans-serif;  
}

.data-box p{
color:#fff;
font-size:16px;  
}


/*About_2*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-2{
  background: -webkit-radial-gradient(circle,#01b4ee,#0168b7);
  background: -o-radial-gradient(circle,#01b4ee,#0168b7);
  background: -moz-radial-gradient(circle,#01b4ee,#0168b7);
  background: radial-gradient(circle,#01b4ee,#0168b7);
}



/*About_3*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container{
  max-width:100%;
  width:100%;
  padding:0px;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-3 .container>* {
  padding-left:0px;
  padding-right:0px;
}




#service-carousel .item {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

/* 圖片容器 */
.img-container {
    position: relative;
    overflow: hidden;
}

.img-container img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* 黑色遮罩 */
.img-container::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.0);
    transition: 0.4s;
}

/* hover效果 */
.item:hover img {
    transform: scale(1.1);
}

.item:hover .img-container::after {
    background: rgba(0,0,0,0.35);
}

/* 文字 */
.text-content {
    padding: 16px;
}

.service-title {
    font-size: 18px;
    margin-bottom: 6px;
    color: #2462b7;
}

.service-desc {
    font-size: 14px;
    color: #666;
}

/* 箭頭 */
.owl-nav button {
    position: absolute;
    top: 40%;
    transform: translateY(-50%);
    background: #2462b7 !important;
    color: #fff !important;
    border-radius: 50%;
    width: 38px;
    height: 38px;
}

.owl-prev { left: -15px; }
.owl-next { right: -15px; }



/*About_4*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4 .container{
  max-width:100%;
  width:100%;
  padding:0px;
}

#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-4 .container>* {
  padding-left:0px;
  padding-right:0px;
}

.project-section {
    width: 100%;
    overflow: hidden;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
}

/* 卡片 */
.project-item {
    position: relative;
    height: 340px;
    overflow: hidden;
    cursor: pointer;
}

/* 圖片 */
.project-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.7s ease;
}

/* 遮罩 */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25);
    transition: all 0.5s ease;
}

/* 內容區 */
.content {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    color: #fff;
}

/* 藍色線條 */
.line {
    width: 30px;
    height: 4px;
    background: #2462b7;
    margin-bottom: 15px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

/* 文字動畫 */
.text {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease;
}

.location {
    font-size: 14px;
    opacity: 0.85;
    margin-bottom: 5px;
}

.title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}

.desc {
    font-size: 14px;
}

/* ? Hover主效果 */
.project-item:hover img {
    transform: scale(1.12);
    filter: blur(2px);
}

.project-item:hover .overlay {
    background: rgba(0,0,0,0.55);
}

/* 文字滑上來 */
.project-item:hover .text {
    transform: translateY(0);
    opacity: 1;
}

.project-item:hover .line {
    transform: translateY(0);
    opacity: 1;
}

/* ? 整體互動（超加分） */
.project-grid:hover .project-item {
    opacity: 0.6;
}

.project-grid .project-item:hover {
    opacity: 1;
}

/* ? RWD */
@media (max-width: 1024px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .project-grid {
        grid-template-columns: 1fr;
    }

    .project-item {
        height: 260px;
    }
}



/*About_5~6*/
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-5,
#bodyinpage.rwd-collapse.viewmode.default.about-us .fcol.fcol-6{
  display:none;
}



/*Aluminum*/
/* ===== 容器 ===== */
.section{
  max-width:1100px;
  margin:auto;
  padding:50px 20px;
}

/* ===== 標題 ===== */
.title{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:20px;
}
.title-bar{
  width:6px;
  height:28px;
  background:#3b82f6;
}
.title h2{
  margin:0;
  font-size:26px;
  color:#1e3a5f;
}
.title span{
  font-size:14px;
  color:#64748b;
}

/* ===== 上方區塊 ===== */
.top{
  display:flex;
  flex-wrap:wrap;
  gap:30px;
  align-items:center;
}

.top-text{
  flex:1;
  min-width:300px;
  color:#475569;
  line-height:1.8;
}

.top-img{
  flex:1;
  min-width:300px;
  text-align:center;
}
.top-img img{
  max-width:100%;
}

/* ===== 中間數據 ===== */
.stats{
  display:flex;
  flex-wrap:wrap;
  margin-top:40px;
  border-top:1px solid #e2e8f0;
}

.stat{
  flex:1;
  min-width:220px;
  text-align:center;
  padding:25px 15px;
  border-right:1px solid #e2e8f0;
}

.stat:last-child{
  border-right:none;
}

.stat h3{
  margin:0;
  color:#3b82f6;
  font-size:22px;
}

.stat p{
  margin:8px 0 0;
  font-size:14px;
  color:#64748b;
}

/* ===== 下方系統圖 ===== */
.system{
  margin-top:60px;
  text-align:center;
}

.circle{
  width:220px;
  height:220px;
  border-radius:50%;
  margin:auto;
  background:radial-gradient(circle,#3b82f6,#1e3a5f);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:18px;
  font-weight:bold;
  position:relative;
}

/* 外圍文字 */
.system-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:20px;
  margin-top:30px;
}

.system-item{
  font-size:14px;
  color:#475569;
}

/* ===== RWD ===== */
@media(max-width:768px){

  .title{
    flex-direction:column;
    align-items:flex-start;
  }

  .top{
    flex-direction:column;
  }

  .stat{
    flex:100%;
    border-right:none;
    border-bottom:1px solid #e2e8f0;
  }

  .system-grid{
    grid-template-columns:1fr;
  }

}



/*鋁合金板交付週期*/
.al.container {
        position: relative;
        width: 100%;
        max-width: 900px; /* 大螢幕最大寬度 */
        height: 600px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    /* 中央核心 */
    .core {
        width: 160px;
        height: 160px;
        background-color: var(--main-blue);
        color: white;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        font-size: 24px;
        font-weight: bold;
        box-shadow: 0 4px 15px rgba(0,0,0,0.2);
        z-index: 10;
        border: 8px solid var(--light-blue);
        flex-shrink: 0;
    }

    /* 裝飾用的圓弧線 */
    .circle-bg {
        position: absolute;
        width: 450px;
        height: 450px;
        border: 15px solid var(--light-blue);
        border-radius: 50%;
        z-index: 1;
    }

    /* 系統區塊通用樣式 */
    .system-block {
        position: absolute;
        display: flex;
        flex-direction: column;
        width: 280px; /* 稍微縮小寬度增加適配度 */
        transition: transform 0.3s;
        z-index: 5;
    }

    .system-title {
        font-size: 20px;
        font-weight: bold;
        color: var(--text-gray);
        margin-bottom: 8px;
        border-bottom: 2px solid var(--main-blue);
        padding-bottom: 4px;
        display: inline-block;
        width: fit-content;
    }

    .system-content {
        font-size: 14px;
        line-height: 1.6;
        color: #666;
        background: white;
        padding: 12px;
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    }

    /* 大螢幕桌面定位 */
    .top-left { top: 0; left: 0; text-align: right; align-items: flex-end; }
    .top-right { top: 0; right: 0; text-align: left; align-items: flex-start; }
    .bottom-left { bottom: 0; left: 0; text-align: right; align-items: flex-end; }
    .bottom-right { bottom: 0; right: 0; text-align: left; align-items: flex-start; }

    /* --- RWD 響應式調整 --- */
    @media (max-width: 850px) {
        body {
            align-items: flex-start; /* 手機端改從頂部開始 */
        }
        
        .al.container {
            height: auto;
            flex-direction: column; /* 垂直排列 */
            gap: 20px;
            padding-top: 40px;
        }

        .circle-bg {
            display: none; /* 手機端隱藏圓圈背景避免遮擋 */
        }

        .core {
            order: -1; /* 讓圓形核心在最上方 */
            position: relative;
            margin-bottom: 20px;
            width: 120px;
            height: 120px;
            font-size: 18px;
        }

        .system-block {
            position: static; /* 取消絕對定位 */
            width: 100%;
            max-width: 400px;
            text-align: left !important;
            align-items: flex-start !important;
        }

        .system-title {
            font-size: 18px;
        }
    }



/*鋁模板交付週期流程*/
.pro.container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-title {
    background-color: var(--primary-blue);
    color: white;
    text-align: center;
    padding: 10px 30px;
    border-radius: 50px;
    display: inline-block;
    margin: 40px auto 20px;
    font-size: 1.5rem;
}

.section {
    text-align: center;
    margin-bottom: 60px;
}

/* 第一部分：交付週期佈局 */
.delivery-cycle {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-top: 20px;
}

.step-card {
    display: flex;
    flex-direction: column;
}

.card-content {
    border: 1px solid var(--primary-blue);
    border-radius: 20px;
    padding: 15px;
    min-height: 120px;
    margin-bottom: 10px;
    background: white;
}

.card-content h3 {
    margin-top: 0;
    font-size: 1.1rem;
    color: #444;
}

.card-content p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}


.arrow-label {
    background-color: var(--dark-blue);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 0% 100%, 5% 50%, 0% 0%);
}

.highlighted {
    background-color: var(--accent-blue);
}





/* 施工流程 */
/* ===== 標題優化 ===== */
.main-title {
  background: #2462b7;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ===== Timeline 結構修正 ===== */
.timeline-refined {
  position: relative;
}

/* 每個卡片要在最上層 */
.timeline-card {
  position: relative;
  z-index: 2;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* 連接線容器 */
.timeline-connector {
  position: relative;
  height: 40px;
  z-index: 3; /* 設為 3，確保比卡片的 z-index: 2 高 */
}

/* 中間線 */
.timeline-connector .line {
  width: 2px;
  height: 100%;
  background: #ccc;
  margin: 0 auto;
}

/* 箭頭修正（重點?） */
.timeline-connector .arrow-down {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #2462b7;
  margin: 0 auto;           /* 先取消負邊距 */
  position: absolute;       /* 改用絕對定位比較好控制 */
  left: 50%;
  transform: translateX(-50%);
  bottom: -5px;             /* 讓它稍微凸出來指向下一個卡片 */
}



/* ===== 卡片標頭優化 ===== */
.card-header {
  background: var(--dark-blue);
  color: #fff;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  text-align: center;
}

.card-body{
   padding:10px;
}

/* ===== 結尾強調 ===== */
.highlight-end .card-header {
  background: #1a4a8a;
}

/* ===== 紅字優化 ===== */
.red-text {
  color: #d63c3c;
  font-weight: 500;
}

/* ===== 卡片間距優化 ===== */
.timeline-card {
  margin: 0 auto;
  max-width: 500px;
}

/* ===== Footer ===== */
.footer-note {
  text-align: center;
  color: #888;
  font-size: 13px;
  margin-top: 10px;
}

/* RWD 響應式設定 */
@media (max-width: 992px) {
    .delivery-cycle {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .delivery-cycle {
        grid-template-columns: 1fr;
    }
    
    .main-title {
        font-size: 1.2rem;
    }
}


/*footer*/
#footer{
  background:#222;
}

#foot-nav{
  display:none;
}

#footer-service #copyright p{
  display:none;
}