/* ----------------------------------------------------------------
	Custom CSS

	Add all your Custom Styled CSS here for New Styles or
	Overwriting Default Theme Styles for Better Handling Updates
-----------------------------------------------------------------*/
:root {
  --cnvs-themecolor:	#c92f27;
  --cnvs-themecolor-rgb:	201, 47, 39;
}

.menu-link {
  font-size: 1rem;
  font-weight: 400;
}

.revo-slider-emphasis-text {
	font-size: 64px;
	font-weight: 700;
	letter-spacing: -1px;
	font-family: 'Poppins', sans-serif;
	padding: 15px 20px;
	border-top: 2px solid #FFF;
	border-bottom: 2px solid #FFF;
}

.revo-slider-desc-text {
	font-size: 20px;
	font-family: 'Lato', sans-serif;
	width: 650px;
	text-align: center;
	line-height: 1.5;
}

.revo-slider-caps-text {
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 3px;
	font-family: 'Poppins', sans-serif;
}
.tp-video-play-button { display: none !important; }

.tp-caption { white-space: nowrap; }


/* Emphasis Title
-----------------------------------------------------------------*/
.emphasis-title h2 {
  font-size: 4em;
}

@media (min-width: 768px) and (max-width: 991.98px) {
.emphasis-title h2 {
  font-size: 3em;
}
}
	
@media (max-width: 767.99px) {
.emphasis-title h2 {
  font-size: 1.8em;
}
}

/* =================================================================
   湟泰建設 Preloader 專用樣式
================================================================= */
#page-preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #0b2015; /* 湟泰品牌深綠色 */
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  transition: opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

#page-preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

.preloader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo {
  max-width: 160px;
  height: auto;
  margin-bottom: 25px;
  animation: logo-breathe 2s ease-in-out infinite;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 2px solid rgba(197, 160, 89, 0.15); /* 金色細線背景 */
  border-top-color: #c5a059; /* 湟泰建設標誌金黃色 */
  border-radius: 50%;
  animation: spinner-rotate 0.8s linear infinite;
  margin-bottom: 15px;
}

.preloader-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 2px;
  font-weight: 300;
}

/* 網頁主體內容預設隱藏，待 Preloader 結束後平滑淡入 */
#wrapper {
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

#wrapper.visible {
  opacity: 1;
}

/* 呼吸動畫 */
@keyframes logo-breathe {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.02);
  }
}

/* 旋轉動畫 */
@keyframes spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

