/*

Tooplate 2133 Moso Interior

https://www.tooplate.com/view/2133-moso-interior

*/

/*---------------------------------------
  CUSTOM PROPERTIES ( VARIABLES )             
-----------------------------------------*/
:root {
  --white-color:                  #ffffff;
  --primary-color:                #D8A831;
  --secondary-color:              #D8A831;
  --section-bg-color:             #1D1F26;
  --site-footer-bg-color:         #36363e;
  --custom-btn-bg-color:          #3C3C3C;
  --dark-color:                   #000000;
  --p-color:                      #717275;
  --border-color:                 #e9eaeb;

  --twitter-color:                #1da1f2;
  --facebook-color:               #1877f2;
  --instagram-color:              #c13584;
  --pinterest-color:              #e60023;
  --whatsapp-color:               #128c7e;

  --body-font-family:             'noto sans', sans-serif;

  --h1-font-size:                 52px;
  --h2-font-size:                 40px;
  --h3-font-size:                 36px;
  --h4-font-size:                 32px;
  --h5-font-size:                 24px;
  --h6-font-size:                 22px;
  --p-font-size:                  18px;
  --btn-font-size:                16px;
  --copyright-font-size:          14px;

  --border-radius-large:          100px;
  --border-radius-medium:         20px;
  --border-radius-small:          10px;

  --font-weight-thin:             100;
  --font-weight-light:            300;
  --font-weight-normal:           400;
  --font-weight-semibold:         600;
  --font-weight-bold:             700;
}

body {
    background-color: var(--white-color);
    font-family: var(--body-font-family); 
    padding-top: 60px;
}

/*---------------------------------------
  TYPOGRAPHY               
-----------------------------------------*/


h3,
h4,
h5,
h6 {
  color: var(--dark-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: var(--font-weight-semibold);
}

h1 {
  font-size: var(--h1-font-size);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--h2-font-size);
  color:#6E5114;
}

h3 {
    font-size: var(--h3-font-size);
    text-align: center;
}

h4 {
  font-size: var(--h4-font-size);
}

h5 {
  font-size: var(--h5-font-size);
  line-height: normal;
}

h6 {
  font-size: var(--h6-font-size);
  color: #717275;
}

p {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  text-align: left;
}

winp {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-light);
  text-align: center;
}


ul li {
  color: var(--p-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
}

a, 
button {
  touch-action: manipulation;
  transition: all 0.3s;
}

a {
  color: var(--p-color);
  text-decoration: none;
}

a:hover {
  color: var(--secondary-color);
}

b,
strong {
  font-weight: var(--font-weight-bold);
}

.tooplate-red {
	color: var(--secondary-color);
}
.tooplate-green {
	color: var(--custom-btn-bg-color);
}
.highlight{
		font-size: 18px;
	font-weight: 600;
	color:#BB8B4F;
	 line-height: 2; 
}

/*---------------------------------------
  TABLE               
-----------------------------------------*/
div.winner{  line-height: 3;
	padding-bottom: 40px;
	text-align: center;
}

table{
  border-collapse:collapse;

}

td{
  background-color:#ffffff;
  width:25vw;
  height:50px;
  text-align:center;
}

tr{
  border-bottom: 1px solid #dddddd;
}


tr:nth-of-type(even) td{
  background-color:#f3f3f3;
}

/*---------------------------------------
  SECTION               
-----------------------------------------*/
.section-padding {
  padding-top: 100px;
  padding-bottom: 100px;
}

.section-bg {
  background: var(--section-bg-color);
}

.section-small-title {
  color: var(--custom-btn-bg-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  display: block;
}

.section-overlay {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.custom-block {
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
  padding: 30px 50px;
  margin-bottom: 10px;
}

.featured-custom-block {
background-color: rgba(255,255,255,1);}

.shop-detail-custom-block {
  background: transparent;
  border-top: 0;
  border-radius: 0;
  padding: 50px 30px;
}

.pagination {
  margin-top: 30px;
  margin-bottom: 0;
}

.page-link {
  border-color: var(--border-color);
  border-radius: var(--border-radius-large);
  color: var(--p-color);
  font-size: var(--copyright-font-size);
  padding: 0;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  margin-right: 10px;
  margin-left: 10px;
}

.page-item.active .page-link,
.page-link:hover {
  background: var(--secondary-color);
  border-color: transparent;
  color: var(--white-color);
}

.page-item:first-child .page-link,
.page-item:last-child .page-link {
  border: 0;
  border-radius: var(--border-radius-large);
}

.page-item:not(:first-child) .page-link {
  margin-left: 5px;
}


/*---------------------------------------
  timeline              
-----------------------------------------*/

.timeline {
  margin: 1em 0;
  line-height: 1.8;
    color: var(--p-color);
    font-size: var(--p-font-size);
    font-weight: var(--font-weight-light);
    text-align: left;
}

.timeline div {
  position: relative;
  padding-left: 4em;       /* 留給年份的空間 */
  margin-bottom: 0.6em;
}

.timeline .year {
  position: absolute;       /* 固定在左邊 */
  left: 0;
  width: 3.5em;
  color: #BB8B4F;
  font-weight: 600;
  line-height: 1.7;
}

/* 手機版 */
@media screen and (max-width: 768px) {
  .timeline div {
    position: static;        /* 取消絕對定位 */
    padding-left: 0;
    margin-bottom: 1em;
    line-height: 1.5;
  }

  .timeline .year {
    display: block;          /* 年份單獨一行 */
    width: auto;
    margin-bottom: 0em;
    position: static;        /* 取消絕對定位 */
    font-size: 1.1rem;
  }
}



/*---------------------------------------
  CUSTOM LINK               
-----------------------------------------*/
.custom-link {
  color: var(--p-color);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  vertical-align: middle;
  transition: all .3s cubic-bezier(.645,.045,.355,1);
  padding-bottom: 2px;
}

.custom-link::after {
  content: "";
  width: 0;
  height: 2px;
  bottom: 0;
  position: absolute;
  left: auto;
  right: 0;
  z-index: -1;
  transition: width .6s cubic-bezier(.25,.8,.25,1) 0s;
  background: currentColor;
}

.custom-link:hover::after {
  width: 100%;
  left: 0;
  right: auto;
}

.custom-link:hover {
  color: var(--primary-color);
}

.custom-link:hover::after {
  background: var(--custom-btn-bg-color);
}


/*---------------------------------------
  CUSTOM BADGE               
-----------------------------------------*/
.custom-badge {
  background: var(--white-color);
  display: inline-block;
  vertical-align: top;
  position: relative;
  color: var(--secondary-color);
  font-size: var(--copyright-font-size);
  font-weight: var(--font-weight-semibold);
  padding: 10px 10px 6px 10px;
}

.custom-badge::before {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 0;
  border-bottom: 7px solid var(--white-color);
  border-right: 7px solid transparent;
  border-left: 7px solid transparent;
  position: absolute;
  top: -7px;
  right: 0;
  left: 0;
}


/*---------------------------------------
  CUSTOM BUTTON               
-----------------------------------------*/
.custom-btn {
  background: var(--custom-btn-bg-color);
  border: 2px solid transparent;
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-semibold);
  line-height: normal;
  padding: 15px 20px;
}

.custom-btn:hover {
  background: transparent;
  border-color: var(--custom-btn-bg-color);
  color: var(--custom-btn-bg-color);
}

.custom-border-btn {
  background: transparent;
  border: 2px solid var(--border-color);
  color: var(--white-color);
}

.custom-border-btn:hover {
  background: var(--white-color);
  border-color: var(--white-color);
  color: var(--secondary-color);
}


/*---------------------------------------
  NAVIGATION              
-----------------------------------------*/
.navbar {
  padding-top: 0;
  padding-bottom: 0;
  transition: all 0.3s;
}

.navbar-brand {
  font-size: var(--h4-font-size);
  font-weight: var(--font-weight-bold);
}

.navbar-brand,
.navbar-brand:hover {
  color: var(--primary-color);
}

.navbar-expand-lg .navbar-nav .nav-link {
  margin-right: 0;
  margin-left: 0;
  padding: 20px 35px;
  font-size: 16px;
}

.navbar-nav .nav-link {
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 15px;
  padding-bottom: 15px;
}

.navbar-nav .nav-link.active {
  background: transparent;
  color: var(--p-color);
}
 
.navbar-nav .nav-link:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.navbar-nav .nav-link.stop {
  background: var(--primary-color);
  color: var(--white-color);
}




.dropdown-menu {
  border-radius: 0;
  border: 0;
  padding: 0;
}

.dropdown-item {
  border-bottom: 1px solid var(--border-color);
  display: inline-block;
  color: var(--p-bg-color);
  font-size: var(--menu-font-size);
  font-weight: var(--font-weight-medium);
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.dropdown-menu li:last-child .dropdown-item {
  border-bottom: 0;
}

.dropdown-item.active, 
.dropdown-item:active,
.dropdown-item:focus, 
.dropdown-item:hover {
  background: var(--primary-color);
  color: var(--white-color);
}

.dropdown-toggle::after {
  content: "\f282";
  display: inline-block;
  font-family: bootstrap-icons !important;
  font-size: var(--copyright-font-size);
  font-style: normal;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  vertical-align: -.125em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  left: 2px;
  border: 0;
}

@media screen and (min-width: 992px) {
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
.chairman-info {
        /* 電腦版：讓文字與照片置中 */
        text-align: center;
        
        /* 電腦版：與照片保持一小段行距 (例如 15px) */
        margin-top: 15px; 
    }
    
    /* 讓照片和名字與右側的文字區塊有適當距離 (如果需要) */
    .photo-container {
        padding-bottom: 0; /* 確保照片下方沒有不必要的內邊距 */
    }
	
	
}

.navbar-toggler {
  border: 0;
  padding: 0;
  cursor: pointer;
  margin: 0;
  width: 30px;
  height: 35px;
  outline: none;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: transparent;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before,
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transition: top 300ms 50ms ease, -webkit-transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease;
  transition: top 300ms 50ms ease, transform 300ms 350ms ease, -webkit-transform 300ms 350ms ease;
  top: 0;
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:before {
  transform: rotate(45deg);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon:after {
  transform: rotate(-45deg);
}

.navbar-toggler .navbar-toggler-icon {
  background: var(--dark-color);
  transition: background 10ms 300ms ease;
  display: block;
  width: 30px;
  height: 2px;
  position: relative;
}

.navbar-toggler .navbar-toggler-icon:before,
.navbar-toggler .navbar-toggler-icon:after {
  transition: top 300ms 350ms ease, -webkit-transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease;
  transition: top 300ms 350ms ease, transform 300ms 50ms ease, -webkit-transform 300ms 50ms ease;
  position: absolute;
  right: 0;
  left: 0;
  background: var(--dark-color);
  width: 30px;
  height: 2px;
  content: '';
}

.navbar-toggler .navbar-toggler-icon::before {
  top: -8px;
}

.navbar-toggler .navbar-toggler-icon::after {
  top: 8px;
}


/*---------------------------------------
  SITE HEADER              
-----------------------------------------*/
.site-header {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding-top: 150px;
  padding-bottom: 150px;
  padding-left: 30px;
}

.site-header1-1 {
  background-image: url('../images/banner/01.jpg');
}

.site-header1-2 {
  background-image: url('../images/banner/02.jpg');
}
.site-header1-3 {
  background-image: url('../images/banner/03.jpg');
}
.site-header1-4 {
  background-image: url('../images/banner/04.jpg');
}
.site-header1-5 {
  background-image: url('../images/banner/05.jpg');
}
.site-header1-6 {
  background-image: url('../images/banner/06.jpg');
}
.site-header1-7 {
  background-image: url('../images/banner/07.jpg');
}
.site-header1-8 {
  background-image: url('../images/banner/08.jpg');
}
.site-header1-9 {
  background-image: url('../images/banner/09.jpg');
}
.site-header1-10 {
  background-image: url('../images/banner/10.jpg');
}
.site-header1-11 {
  background-image: url('../images/banner/11.jpg');
}
.site-header1-12 {
  background-image: url('../images/banner/12.jpg');
}
.site-header2-1 {
  background-image: url('../images/banner/21.jpg');
}
.site-header2-2 {
  background-image: url('../images/banner/22.jpg');
}
.site-headerintro {
   background-image: url('../images/intro/banner_intro.jpg');
}




/*---------------------------------------
  HERO              
-----------------------------------------*/
.hero-section {
  position: relative;
  padding-top: 325px;
  padding-bottom: 300px;
  min-height: 625px;
  background-repeat: no-repeat;
  background-position: bottom;
  background-size:cover;
  background-attachment:scroll;
  background-image: url('../images/index/banner.jpg');
background-color: #000000;
}

@media screen and (max-width: 800px) {
 .hero-section {
   /* height: calc(100vh - 70px);*/
  min-height:inherit;
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: 200px;
    background-size:cover;
	}
}

@media screen and (max-width: 480px) {
 .hero-section {
   /* height: calc(100vh - 70px);*/
  min-height:inherit;
  padding-top: 150px;
  padding-bottom: 150px;
  min-height: 300px;
    background-size:cover;
  background-image: url('../images/index/banner_480w.jpg');
	}
}


.hero-form {
  background: var(--white-color);
  border-radius: var(--border-radius-small);
  padding: 40px;
  padding-bottom: 16px;
}

.hero-icon,
.contact-icon {
  color: var(--secondary-color);
}

.hero-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  margin: 60px auto;
}

.hero-btn-link {
  background: var(--primary-color);
  border-radius: var(--border-radius-large);
  color: var(--white-color);
  font-size: var(--h4-font-size);
  width: 64px;
  height: 64px;
  line-height: 68px;
  text-align: center;
}

.hero-btn-link:hover {
  background: var(--secondary-color);
  color: var(--white-color);
}


/*---------------------------------------
  ABOUT              
-----------------------------------------*/
.about-section {
  padding-top: 150px;
  padding-bottom: 150px;
}

.about-image {
  display: block;
  border-radius: 100%;
  width: 350px;
  height: 350px;
  object-fit: cover;
}

.about-image-small {
  display: block;
  margin: auto;
  width: 250px;
  height: 250px;
}

.photo-container {
    /* 原有的 text-align: center; 可以保留，但 Flexbox 更精確 */
    /* text-align: center; */ 
    
    /* 讓這個容器變成 Flex 容器，內容垂直堆疊 */
    display: flex;
    flex-direction: column; /* 圖片在上方，文字在下方 */
    
    /* 讓容器內的 Flex 項目 (圖片和 chairman-info) 水平置中 */
    align-items: center; 
}

.chairman-info {
    /* 保持原有的樣式，但移除 text-align，因為父層已經處理 */
    font-size: 1.1em;
    color: #333;
    
    /* 電腦版：與照片保持一小段行距 */
    margin-top: 15px; 
}

/* 確保圖片本身不要有額外的左右邊距 */
.photo-container img {
    display: block; /* 讓圖片成為塊級元素，更容易控制 */
    max-width: 100%; /* 確保圖片響應式 */
    height: auto; /* 保持圖片比例 */
}

/*---------------------------------------
  FEATURED   中間圖       
-----------------------------------------*/
.featured-section {
  background-image: url('../images/banner/darkbg.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.featured-icon {
  font-size: var(--h5-font-size);
}

.featured-section1 {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
	min-height: 800px;
    background-attachment: fixed;
}

.featured-section1-1-1 {
	background-image: url('../images/winner1/01ashun/imgc.jpg');
}

.featured-section1-1-2 {
	background-image: url('../images/winner1/02comeup/imgc.jpg');
}
.featured-section1-1-3 {
	background-image: url('../images/winner1/03crystal/imgc.jpg');
}
.featured-section1-1-4 {
	background-image: url('../images/winner1/04tolilon/imgc.jpg');
}
.featured-section1-1-5 {
	background-image: url('../images/winner1/05lancer/imgc.jpg');
}
.featured-section1-1-6 {
	background-image: url('../images/winner1/06cf/imgc.jpg');

}
.featured-section1-1-7 {
	background-image: url('../images/winner1/07ken-sean/imgc.jpg');
}
.featured-section1-1-8 {
	background-image: url('../images/winner1/08fb/imgc.jpg');
}
.featured-section1-1-9 {
	background-image: url('../images/winner1/09fe/imgc.jpg');
}
.featured-section1-1-10 {
	background-image: url('../images/winner1/10gigo/imgc.jpg');
}
.featured-section1-1-11 {
	background-image: url('../images/winner1/11synology/imgc.jpg');
}

.featured-section1-1-12 {
	background-image: url('../images/winner1/12apt/imgc.jpg');
}

.featured-section1-2-1 {
	background-image: url('../images/winner2/21tahan/imgc.jpg');

}
.featured-section1-2-2 {
	background-image: url('../images/winner2/22accutex/imgc.jpg');

}



/*---------------------------------------
  REVIEWS              
-----------------------------------------*/
.reviews-section {
  background: var(--section-bg-color);
}

.reviews-carousel .owl-item img,
.avatar-image {
  /*border-radius: var(--border-radius-large);
  width: 50px;
  height: 50px;
  object-fit: cover;  畫框圓角尺寸*/
}

.reviews-carousel .owl-nav {
  position: absolute;
  top: -100px;
  right: 0;
}

.reviews-carousel .owl-nav button.owl-next, 
.reviews-carousel .owl-nav button.owl-prev {
  background: var(--white-color);
  border-radius: var(--border-radius-large);
  width: 60px;
  height: 60px;
  margin: 5px;
  transition: all 0.5s;
}

.reviews-carousel .owl-nav button.owl-next:hover, 
.reviews-carousel .owl-nav button.owl-prev:hover {
  background: var(--secondary-color);
}

.reviews-carousel .owl-prev:hover span::before, 
.reviews-carousel .owl-next:hover span::before {
  color: var(--white-color);
}

.reviews-carousel .owl-prev span, 
.reviews-carousel .owl-next span {
  display: block;
  color: transparent;
  width: 60px;
  height: 60px;
  line-height: 60px;
}

.reviews-carousel .owl-prev span::before, 
.reviews-carousel .owl-next span::before {
  font-family: bootstrap-icons;
  display: block;
  font-size: var(--h4-font-size);
  color: var(--secondary-color);
}

.reviews-carousel .owl-prev span::before {
  content: "\f12f";
}

.reviews-carousel .owl-next span::before {
  content: "\f138";
}

.reviews-thumb {
  background: var(--white-color);
  border-radius: var(--border-radius-medium);
  position: relative;
  overflow: hidden;
}

.reviews-body {
  /*padding: 50px 40px; 畫框邊緣*/
}

.reviews-bottom {
  background: var(--secondary-color);
  background: linear-gradient(180deg, rgba(246,81,41,1) 0%, rgba(255,190,140,1) 100%);
  position: relative;
  padding: 10px 36px;
}

.reviews-bottom-up::before {
  content: "";
  display: block;
  margin: auto;
  width: 0;
  height: 0;
  border-bottom: 22px solid var(--secondary-color);
  border-left: 24px solid transparent;
  border-right: 24px solid transparent;
  position: absolute;
  top: -20px;
  left: 36px;
}

.bi-star-fill {
  color: var(--primary-color);
}

.reviews-section .custom-btn {
  background: var(--facebook-color);
}

.reviews-section .custom-btn:hover {
  background: transparent;
  border-color: var(--facebook-color);
  color: var(--facebook-color);
}

.reviews-bottom small {
  font-size: var(--btn-font-size);
  font-weight: var(--font-weight-normal);
}


/*---------------------------------------
  SHOP              
-----------------------------------------*/
.shop-section {
  background: var(--white-color);
}

.shop-listing-page .shop-section {
  padding-bottom: 0;
}

.shop-thumb {
  margin-bottom: 24px;
}

.shop-image-wrap {
  position: relative;
}

.shop-image-wrap:hover .shop-btn-wrap {
  opacity: 1;
}

.shop-icons-wrap {
  position: absolute;
  top: 0;
  right: 0;
  margin: 20px;
}

.shop-icons {
  background: var(--white-color);
  border-radius: var(--border-radius-small);
  padding: 20px 15px;
}

.shop-icon {
  line-height: normal;
  margin-bottom: 10px;
}

.shop-icon:last-child {
  margin-bottom: 0;
}

.shop-pricing-text {
  color: var(--secondary-color);
}

.shop-condition-text {
  color: var(--custom-btn-bg-color);
}

.shop-image {
  display: block;
  border-radius: var(--border-radius-medium);
}

.shop-body {
  padding: 20px;
  padding-bottom: 0;
}

.shop-btn-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: all 0.5s;
}

.shop-btn {
  background: var(--primary-color);
  font-size: var(--copyright-font-size);
  width: 100px;
  height: 100px;
  text-transform: uppercase;
}

.shop-btn:hover {
  border-color: transparent;
  background: var(--secondary-color);
  color: var(--white-color);
}

.shop-detail-bar {
  padding: 20px;
}

.shop-listing-page .navbar-nav .nav-link.active,
.shop-detail-page .navbar-nav .nav-link.active {
  background: transparent;
  color: var(--p-color);
}

.shop-listing-page .navbar-nav .nav-link.active:hover,
.shop-detail-page .navbar-nav .nav-link.active:hover {
  background: var(--primary-color);
  color: var(--white-color);
}


/*---------------------------------------
  CONTACT               
-----------------------------------------*/
.contact-section {
  background: var(--white-color);
}

.contact-form {
  background: var(--section-bg-color);
  border-radius: var(--border-radius-medium);
  padding: 50px;
}

.contact-form label {
  font-weight: var(--font-weight-semibold);
}

.google-map {
  display: block;
  border-radius: var(--border-radius-medium);
}


/*---------------------------------------
  CUSTOM FORM               
-----------------------------------------*/
.custom-form .input-group {
  background-color: var(--white-color);
  border: 2px solid var(--border-color);
  border-radius: .25rem;
  margin-bottom: 24px;
  padding-left: 20px;
}

.custom-form .textarea-group label {
  margin-top: 13px;
}

.custom-form label {
  margin-right: 10px;
  margin-bottom: 0;
}

.custom-form .form-control {
  background-color: var(--white-color);
  box-shadow: none;
  border: 0;
  color: var(--p-color);
  padding-top: 12px;
  padding-bottom: 12px;
  outline: none;
}

.custom-form .form-control:hover,
.custom-form .form-control:focus {
  border-color: var(--secondary-color);
}

.custom-form button[type="submit"] {
  background: var(--secondary-color);
  border: none;
  color: var(--white-color);
  font-size: var(--p-font-size);
  font-weight: var(--font-weight-normal);
  transition: all 0.3s;
  margin-bottom: 0;
}

.custom-form button[type="submit"]:hover,
.custom-form button[type="submit"]:focus {
  background: var(--primary-color);
  border-color: transparent;
}


/*---------------------------------------
  FILTER FORM              
-----------------------------------------*/
.filter-form {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-small);
  padding: 30px;
}

.filter-form-small-title {
  display: block;
  margin-bottom: 10px;
}

.filter-form .form-select {
  border: 2px solid var(--border-color);
}

.filter-form .form-check-label {
  color: var(--p-color);
}


/*---------------------------------------
  SITE FOOTER              
-----------------------------------------*/
.site-footer {
  background: var(--site-footer-bg-color);
  padding-top: 50px;
}

.site-footer h3 {
    line-height: normal;
    font-family: var(--body-font-family);
}

.site-footer h3 .custom-link,
.site-footer .social-icon-link:hover {
  color: var(--white-color);
}

.site-footer h3 .custom-link:hover {
  color: var(--primary-color);
}

.copyright-text {
  color: var(--section-bg-color);
  font-size: var(--copyright-font-size);
  margin-top: 10px;
}

.site-footer .social-icon-link {
  margin-top: 10px;
}


/*---------------------------------------
  SOCIAL ICON               
-----------------------------------------*/
.social-icon {
  margin: 0;
  padding: 0;
}

.social-icon-item {
  list-style: none;
  display: inline-block;
  vertical-align: top;
}

.social-icon-link {
  color: var(--p-color);
  font-size: var(--p-font-size);
  display: block;
  margin-right: 15px;
  text-align: center;
}

.social-icon-link:hover {
  color: var(--secondary-color);
}

.social-icon-twitter {
  color: var(--twitter-color);
}

.social-icon-facebook {
  color: var(--facebook-color);
}

.social-icon-instagram {
  color: var(--instagram-color);
}

.social-icon-pinterest {
  color: var(--pinterest-color);
}

.social-icon-whatsapp {
  color: var(--whatsapp-color);
}


/*---------------------------------------
  RESPONSIVE STYLES               
-----------------------------------------*/
@media screen and (max-width: 991px) {
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  h3 {
    font-size: 32px;
  }

  h4 {
    font-size: 28px;
  }

  h5 {
    font-size: 20px;
  }

  h6 {
    font-size: 18px;
  }

  .hero-form {
    padding-bottom: 40px;
  }

  .page-link {
    font-size: 12px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    margin-right: 5px;
    margin-left: 5px;
  }

  .navbar {
    padding-top: 6px;
    padding-bottom: 6px;
  }

  .navbar-expand-lg .navbar-nav .nav-link {
    text-align: center;
    padding: 15px 30px;
    min-width: 125px;
  }

  .about-section {
    padding-top: 75px;
    padding-bottom: 75px;
  }

  .about-image {
    width: 260px;
    height: 260px;
  }

  .about-image-small {
    width: 180px;
    height: 180px;
  }
	
/* 調整照片與下方企業簡介的距離 */
    .photo-container {
        /* 在手機/平板上，讓照片區塊的下方有較大的間距 */
        padding-bottom: 30px; 
    }
    
    .chairman-info {
        margin-top: 10px;
        
    }
    
    .col-lg-8.col-12 {
        padding-top: 0; /* 讓它緊接著上方的照片區塊 */
    }

  .custom-block,
  .contact-form {
    padding: 30px;
  }


  .reviews-thumb {
    margin-bottom: 24px;
  }

  .reviews-body {
    padding: 40px 30px;
  }

    .featured-section1 {
       background-attachment: scroll; 
        background-size: contain; 
		min-height: 400px;
	}
}

@media screen and (max-width: 580px) {
  .site-footer {
    text-align: center;
  }
	    .featured-section1 {

		min-height: 200px;
	}

}

@media screen and (max-width: 480px) {
  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 22px;
  }

  h5 {
    font-size: 20px;
  }

  .page-link {
    width: 35px;
    height: 35px;
    line-height: 35px;
  }

  .about-image {
    width: 205px;
    height: 205px;
  }

  .about-image-small {
    width: 145px;
    height: 145px;
  }
	
  .about-section {
    padding-left: 5px;
    padding-right: 5px;
  }

  .copyright-text-wrap {
    justify-content: center;
  }
}

/* ------------------------------------------------------------- */
/* 手機版 Nav 修正：隱藏 <br> 讓文字變回單行 */
/* ------------------------------------------------------------- */

@media (max-width: 991px) {   
    .navbar-nav .nav-item .nav-link br {
        display: none;
    }
    
}


/* ------------------------------------------------------------- */
/* 修正：手機版企業照片白框太粗的問題 */
/* ------------------------------------------------------------- */

@media (max-width: 991px) {
    
    /* 針對 Owl Carousel 的卡片容器 */
    .reviews-thumb {
        padding: 0px; 
        overflow: hidden; 
    }
    .reviews-body {
        padding: 0;
    }
}


/* ------------------------------------------------------------- */
/* 手機版修正：歷屆得主下方的裝飾圖片縮小 */
/* ------------------------------------------------------------- */

@media (max-width: 991px) {
    
    /* 針對裝飾圖片的容器與圖片本身 */
.shop-image-wrap img {
        max-width: 60%; 
        display: block;
        margin-left: auto;
        margin-right: auto;
    }
}
