/*---------------------------------------------
# Navigation Menu
---------------------------------------------*/
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #CA9553;
  z-index: 100;
  padding: 0;
}

.navbar-container {
  max-width: 960px;
  width: 100%;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo{
  width: 120px;
  height: auto;
}
.nav-links {
  display: flex;
  list-style: none;
}
.nav-links li {
  margin-left: 24px;
}
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  transition: opacity 0.3s;
}
.nav-links a:hover {
  opacity: 0.7;
}
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  z-index: 200;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 3px 0;
  transition: 0.3s;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 40%;
  height: 100vh;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 60px 20px;
  transition: 0.5s;
  z-index: 150;
  display: flex;
  flex-direction: column;
}
.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
  color: #1C1918;
}
.mobile-nav ul {
  list-style: none;
  margin-top: 20px;
}
.mobile-nav li {
  margin: 20px 0;
}
.mobile-nav a {
  color: #1C1918;
  text-decoration: none;
  font-size: 18px;
  display: block;
}
.overlay-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 120;
}
  
@media (max-width: 768px) {
  .navbar
  {padding: 0 12px;}
  .nav-links {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .mobile-nav.active {
    right: 0;
  }
  .overlay-nav.active {
    display: block;
  }
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}
/*---------------------------------------------
# Sections General
---------------------------------------------*/


/* 滾動 */
section{
  scroll-margin-top: 40px;
}
/* 分享 */
.post-share{
    display: flex;
    justify-content: center;
}
.post-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 4px;
    padding: 4px 12px;
    color: var(--white);
    background-color: var(--primary-color);
    border-radius: 8px;
    overflow: hidden;
}
.post-share i {
    font-size: 28px;
    margin-right: 4px;
}

/*---------------------------------------------
# Footer
---------------------------------------------*/
#footer {
    background-color: #CA9553;
    padding: 28px 0;
    color: white; 
    font-size: 16px;
}

#footer .copyright {
    text-align: center;
    letter-spacing: 0.05rem;
}

/*---------------------------------------------
# Back to top button
---------------------------------------------*/
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: 15px;
    z-index: 998;
    background: #CA9553; 
    width: 40px;
    height: 40px;
    border-radius: 50px;
    transition: all 0.4s;
}
.back-to-top:hover {
    background: #A37242;
    color: white;
}
.back-to-top.active {
    visibility: visible;
    opacity: 1;
}
/*---------------------------------------------
# Disable aos animation delay on mobile devices
---------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
      transition-delay: 0 !important;
    }
}