@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@300;400;500;700&family=Noto+Sans+TC:wght@200;400;600;700;900&family=Lato:wght@300;400;600&display=swap');
/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */ :root {
  --default-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  --heading-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
  --nav-font: 'Lato', 'Noto Sans TC', "微軟正黑體", 'Microsoft JhengHei', sans-serif;
}
/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */ :root {
  --background-color: #fff; /* Background color for the entire website, including individual sections */
  --default-color: #333333; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #18539E; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #FFE60E; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}
/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */ :root {
  --nav-color: #18539E; /* The default color of the main navmenu links */
  --nav-hover-color: #DF4E68; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #f5ce11; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #18539E; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #DF4E68; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}
/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
.light-background {
  --background-color: #ffaea5;
  --surface-color: #333333;
}
.dark-background {
  --background-color: #00689A;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #9e9e9e;
  --contrast-color: #ffffff;
}
/* Smooth scroll */ :root {
  scroll-behavior: smooth;
}
::selection {
  background: #ffaea5;
  color: #fff;
}
::-moz-selection {
  background: #ffaea5;
  color: #fff;
}
:root {
  scroll-padding-top: 55px;
}
@media (max-width: 465px) {
  :root {
    scroll-padding-top: 30px;
  }
}
/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  background-image: url("../img/texture.jpg");
  background-position: center top;
}
a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}
a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}
/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: #f5ce11;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 10px 0;
  transition: all 0.5s;
  z-index: 997;
}
.header .logo {
  line-height: 1;
}
.header .logo img {
  max-height: 50px;
  margin-right: 8px;
  padding-right: 10px;
}
.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 4700;
  color: var(--heading-color);
}
@media (max-width: 576px) {
	.header .logo img {
  max-height: 36px;
  margin-right: 8px;
  padding-right: 10px;
}
}
.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}
/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: hsla(50,92%,51%,0.90);
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }
  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }
  .navmenu li {
    position: relative;
  }
  .navmenu ul li img {
    max-height: 50px;
    margin-right: 10px;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-color);
    padding: 4px 15px;
    font-size: 20px;
    font-family: var(--nav-font);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }
  .navmenu li:last-child a {
    padding-right: 0;
  }
  .navmenu li:hover > a, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-hover-color);
  }
  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu .dropdown ul li {
    min-width: 200px;
  }
  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }
  .navmenu .dropdown ul a i {
    font-size: 15px;
  }
  .navmenu .dropdown ul a:hover, .navmenu .dropdown ul .active:hover, .navmenu .dropdown ul li:hover > a {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .dropdown:hover > ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }
  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }
  .navmenu .dropdown .dropdown:hover > ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}
/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }
  .navmenu {
    padding: 0;
    z-index: 9997;
  }
  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }
  .navmenu ul img {
    margin-right: 16px;
  }
  .navmenu a, .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 21px;
    font-weight: 600;
    letter-spacing: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }
  .navmenu a i, .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }
  .navmenu a i:hover, .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }
  .navmenu a:hover, .navmenu .active, .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }
  .navmenu .active i, .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }
  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }
  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }
  .navmenu .dropdown > .dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }
  .mobile-nav-active {
    overflow: hidden;
  }
  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }
  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }
  .mobile-nav-active .navmenu > ul {
    display: block;
  }
}
/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  text-align: center;
  padding: 10px 0;
  position: relative;
}
.footer h3 {
  font-size: 36px;
  font-weight: 700;
  position: relative;
  padding: 0;
  margin: 0 0 15px 0;
}
.footer p {
  font-size: 15;
  font-style: italic;
  padding: 0;
  margin: 0 0 30px 0;
}
.footer .social-links {
  margin: 0 0 30px 0;
}
.footer .social-links a {
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
  color: var(--contrast-color);
  line-height: 1;
  margin: 0 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
.footer .social-links a:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
  text-decoration: none;
}
.footer .social {
  font-size: 13px;
  line-height: 160%;
}
.footer .social a {
  color: var(--contrast-color);
}
.footer .social a:hover {
  text-decoration: none;
  color: var(--accent-color);
}
.footer .copyright {
  padding-top: 10px;
  font-size: 11px;
  line-height: 160%;
}
.footer .copyright a {
  color: var(--contrast-color);
}
.footer .copyright a:hover {
  text-decoration: none;
  color: var(--accent-color);
}
.footer .credits {
  font-size: 13px;
  padding-top: 5px;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}
@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 20px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  color: var(--heading-color);
  font-size: 20px;
  width: 60px;
  height: 60px;
  transition: all 0.4s;
}
.scroll-top i {
  font-size: 50px;
  color: var(--heading-color);
  line-height: 0;
}
.scroll-top:hover {
  /*background-color: color-mix(in srgb, var(--heading-color), transparent 0%);*/
  color: var(--heading-color);
}
.scroll-top.active {
  visibility: visible;
  opacity: 1;
}
@media (max-width: 576px) {
  .scroll-top {
    right: 20px;
    bottom: 40px;
    width: 50px;
    height: 50px;
  }
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.main {
  background-image: url("../img/mainbg.jpg");
  background-position: center top;
  background-repeat: no-repeat;
  min-height: 960px;
}
.page-title {
  color: var(--default-color);
  padding: 140px 0 0 0;
  text-align: center;
  position: relative;
}
@media (max-width: 576px) {
   
  .page-title {
    padding: 100px 0 0 0;
  }
}
/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 50px 0;
  scroll-margin-top: 80px;
  overflow: clip;
  max-width: 1120px;
  margin: 60px auto;
  border-radius: 20px;
  box-shadow: 0px 0px 6px 2px #5D4B38;
}
.section p {
  font-size: 20px;
  line-height: 180%;
  margin-bottom: 2em;
}
.section p:last-child {
  margin-bottom: 0;
}
@media (max-width: 1199px) {
  .section {
    scroll-margin-top: 56px;
  }
}
@media (max-width: 768px) {
  .section {
    padding: 36px 0;
  }
  .section p {
    font-size: 18px;
  }
}
/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding-bottom: 20px;
  position: relative;
  font-size: 56px;
  color: var(--heading-color);
  font-weight: 600;
  letter-spacing: 30px;
}
.section-icon {
  max-height: 80px;
  width: auto;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 40px;
    letter-spacing: 3px;
    padding-bottom: 0px;
  }
  .section-icon {
    max-height: 50px;
    width: auto;
  }
}
/*--------------------------------------------------------------
# kv Section
--------------------------------------------------------------*/

#all{
	margin-top: 80px;
}
@media (max-width: 992px) {
	#all{
	margin-top: 60px;
}
}
/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.pic {
	float: left;
	margin-right: 20px;
}
@media (max-width: 768px) {
  .pic {
    width: 50%;
    height: auto;
  }
}
@media (max-width: 567px) {
  .pic {
    width: 100%;
    height: auto;
	  margin-bottom: 20px;
	  
  }
}
/*--------------------------------------------------------------
# Story Section
--------------------------------------------------------------*/
#story .point{
	font-size: 20px;
	color: #006A3E;
}
#story .book {
  text-align: center;
  margin: 0 10px 20px 10px;
}
#story .price {
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
}
#story .price02 {
  font-size: 20px;
  font-weight: 600;
}
#story .price-r01 {
  font-size: 32px;
  color: #c60b16;
}
#story h2 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: 4px;
  color: #ac8a3f;
}
#story h3 {
  font-size: 24px;
  font-weight: 400;
  color: #009eb9;
}
#story .btn-buy {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 1px;
  padding: 4px 20px;
  background-color: #D63F42;
  color: #fff;
}
/* 購物按鈕群組 */
.shop-group{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}

/* 每一列：兩顆並排 */
.shop-row{
  display:flex;
  gap:12px;
}

/* 單一按鈕樣式（深藍、白字、圓角、外框） */
.shop-btn{
  display:inline-block;
  min-width:140px;              /* 讓寬度一致 */
  padding:10px 28px;
  text-align:center;
  font-size:16px;
 
 background-color: #D63F42;
  color: #fff;    
  
}
.shop-btn:hover,
.shop-btn:focus{
  filter:brightness(1.05);
  transform:translateY(-1px);
  text-decoration:none;
	 color: #fff000;  
}



@media (max-width: 768px) {
	#story .point{
	font-size: 18px;
	color: #006A3E;
}
  #story .price {
    font-size: 16px;
    line-height: 1.2;
  }
  #story .price02 {
    font-size: 18px;
    font-weight: 600;
  }
  #story .price-r01 {
    font-size: 27px;
    color: #c60b16;
  }
}
/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}
.portfolio .portfolio-content img {
  transition: 0.3s;
}
.portfolio .portfolio-content .portfolio-info {
  opacity: 1;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
  width: 100px;
  height: 100px;
  border-radius: 50px;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
}
.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}
.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}
.portfolio .portfolio-content .portfolio-info .preview-link, .portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 30px);
  font-size: 56px;
  top: calc(50% - 36px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}
.portfolio .portfolio-content .portfolio-info .preview-link:hover, .portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}
.portfolio .portfolio-content:hover .portfolio-info {
  opacity: .8;
}
.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}
@media (max-width: 768px) {
  .portfolio .portfolio-content .portfolio-info {
    width: 80px;
    height: 80px;
    border-radius: 40px;
    top: calc(50% - 40px);
    left: calc(50% - 40px);
  }
  .portfolio .portfolio-content .portfolio-info .preview-link, .portfolio .portfolio-content .portfolio-info .details-link {
    position: absolute;
    left: calc(50% - 20px);
    font-size: 40px;
    top: calc(50% - 24px);
    color: #fff;
    transition: 0.3s;
    line-height: 1.2;
  }
}
#news .news {
  background-color: #F8E5E5;
  color: #4F4F4F;
  font-size: 21px;
  padding: 18px 6px;
  border-bottom: 1px solid #fff;
}
#news .news-title {
  font-size: 24px;
  background-color: #F89494;
  color: var(--surface-color);
  padding: 18px 6px;
}
#news .btn-action {
  font-size: 32px;
  font-weight: 500;
  letter-spacing: 4px;
  padding: 4px 40px;
  background-color: #3575C5;
  color: #fff;
}
@media (max-width: 769px) {
	#news .news-location {
	  color: #E16363;
    font-size: 21px;
  }
}
@media (max-width: 576px) {
  #news .news {
    font-size: 18px;
    padding: 6px 6px;
    border-bottom: 0;
  }

  #news .news-location {
	  color: #E16363;
    font-size: 21px;
  }
  #news .news-date {
    font-size: 21px;
  }
  #news .w-100 {
    height: 2px;
  }
  #news .btn-action {
    font-size: 21px;
    font-weight: 400;
    letter-spacing: 1px;
    padding: 4px 20px;
  }
}
#action {
  position: fixed;
  right: 6px;
  bottom: 130px;
  z-index: 99999;
  background-color: transparent;
  width: auto;
  height: 116px;
  cursor: pointer;
}
@media (max-width: 576px) {
  #action {
    right: 6px;
    bottom: 100px;
    width: 90px;
    height: 90px;
  }
}