
@import url("../fonts/flaticon/flaticon.css");
@import url("all.min.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	 標題設定
=========================================================*/

.h2-title {
    font-size: 2rem;
    font-weight: normal;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.carousel-indicators {
    bottom: -14px;
}
@media (min-width: 640px) {
	.carousel-indicators {
		bottom: 0px;
	}
}

/*========================================================
                         共同設定
=========================================================*/
.all_bg{
	background: url("../img/index/all_bg.jpg") no-repeat center top;
	background-size: cover;
	overflow: hidden;	
}
/*@media (min-width: 992px) {
	.all_bg{
		background: url("../img/index/all_bg.jpg") no-repeat center top;
	}
}*/



.img-w-b{
	padding: 10px 0;
}

/*========================================================
                         商品介紹
=========================================================*/
/*.product-wrap{
	background: url(../img/index/product-bg.jpg) no-repeat center center;
	background-size: cover;
	padding-top: 60px;
    padding-bottom: 60px;
	position:relative;
	overflow: hidden;
}
.product-list {
    padding: 40px;
	text-align: center;
}
.product-list h2 {
    font-size: 2.2rem;
    color: #235789;
	font-weight: bold;
}
.product-list h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
}
.product-list p {
    color: 555;
}

.product-container {
	max-width: 1200px;
	margin: 50px auto;
	padding: 10px 20px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}
.product-item {
  background: #ffffff !important;
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid #186e80 !important;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}
.img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.content-flex {
  padding: 25px;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  background: #ffffff; 
}

.product-title {
  color: #186e80 !important;
  font-size: 1.3rem !important;
  margin: 0 0 5px 0 !important;
  font-weight: bold !important;
  line-height: 1.2;
}

.product-desc {
  color: #666666 !important;
  font-size: 1rem !important;
  margin: 0 !important;
}
.btn-more {
  display: inline-block !important;
  padding: 4px 30px !important;
  color: #186e80 !important;
  border: 2px solid #186e80 !important;
  text-decoration: none !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  letter-spacing: 1px;
  transition: all 0.3s ease !important;
  background: transparent;
}

.btn-more:hover {
  background-color: #186e80 !important;
  color: #ffffff !important;
}
@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .content-flex {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px;
  }
  
  .btn-more {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}*/
/* 整體容器 */
.product-wrap-modern{
	padding-top: 60px;
    padding-bottom: 60px;
    position: relative;
    background: url(../img/index/product-bg.jpg) center center / cover no-repeat;
    overflow: hidden;
}

.catalog-style-container {
    margin: 50px auto;
    position: relative;
    padding: 20px;
}


.product-list {
    padding-top: 60px;
	text-align: center;
}
.product-list h2 {
    font-size: 2.2rem;
    color: #235789;
	font-weight: bold;
}
.product-list h2+p {
    font-size: 2rem;
    font-weight: bold;
    color: #555;
}
.product-list p {
    color: 555;
}


/* 質感卡片 */
.catalog-card {
    background: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
}

.catalog-bg-text {
    position: absolute;
    right: -20px;
    bottom: -30px;
    font-size: 8rem;
    font-weight: 900;
    color: #f1f1f1; 
    z-index: 0;
    pointer-events: none;
    line-height: 1;
}

/* 圖片區塊 */
.catalog-img-box {
    background: #f8f9fa;
    /*padding: 60px;*/
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-img-box img {
    /*max-width: 100%;*/
	width: 100%;
    transition: transform 0.5s ease;
}

.catalog-card:hover .catalog-img-box img {
    transform: scale(1.05);
}

/* 內容區塊 */
.catalog-content {
    padding: 60px;
    position: relative;
    z-index: 1;
}

.catalog-content .product-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #222 !important;
    margin-bottom: 5px !important;
}

.catalog-content .product-desc {
    font-size: 1.2rem !important;
    color: #666 !important;
    margin-bottom: 30px !important;
}

.catalog-detail p {
    color: #888;
    line-height: 1.8;
    margin-bottom: 40px;
}

/* 簡約按鈕 */
.btn-catalog {
    display: inline-block;
    padding: 15px 45px;
    background: #186e80;
    color: #fff !important;
    text-decoration: none;
    font-weight: bold;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s;
}

.btn-catalog:hover {
    background: #235789;
    box-shadow: 0 10px 20px rgba(24, 110, 128, 0.2);
}

/* 手機版適應 */
@media (max-width: 991px) {
    .catalog-img-box { padding: 40px; }
    .catalog-content { padding: 40px 30px; }
    .catalog-bg-text { display: none; }
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
	}
a.figure:before,a.figure:after {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    z-index: 10;
    content: '';
    display: inline-block;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s; 
}
a.figure:before {
    background: #fff;
}
a.figure:after {
    background: url(../images/magnifier.png) no-repeat center center;
}
a.figure:hover:before, a.figure:hover:after {
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:hover:before {
    opacity: 0.15;
}
a.figure:hover:after {
    opacity: 1;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(12, 56, 98, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}
/*========================================================
                         按鈕效果
=========================================================*/

.btn-back{
    display: block;
    text-align: center;
    cursor: pointer;
    line-height: 45px;
    position: relative;
    transition: all .3s linear;
    float: left;
    margin: 0px auto;
    margin-top: 0px;
    justify-content: center!important;
    /*position: absolute;*/
    top: 30%; 
    left: 50%;
    transform: translate(-50%,30%);
    z-index: 9;
	font-family: 'Noto Serif TC', serif;
}
.btn-back > a{
    position: relative;
    z-index: 1;
	padding: 10px 30px;
	color: #fff;
    border: 1px solid #fff;
}
.btn-1{
	color: #555;
    border: 1px solid #555;
}
.btn-1 > a{
	color: #555;
}

.btn-back::before{
    content: "";
    width: 0%;
    height: 100%;
    display: block;
    background-image: linear-gradient(45deg, #db9e4b 0%, #f9dfb7 100%);
    position: absolute;
    top: 0;
    left: 0;
	opacity: 0;
    transition: all .3s ease;
}
.btn-back > a:hover{
    color: #fff;
	border: 1px solid #f9dfb7;
}
.btn-back:hover::before{
    width: 100%;
    height: 100%;
    opacity: 1;
}
@media (min-width: 1200px) {
	.btn-back{
		top: -60%; 
		transform: translate(-50%,-60%);
	}
}
.rd-navbar-static .rd-navbar-dropdown{
	margin-top: 20px!important;
}
