
/* 字型與整體背景 */
body {
    background-color: #fff;
    color: #212529;
    font-family: 'Segoe UI', 'Helvetica Neue', sans-serif;
    opacity: 0;
    transition: opacity 1s ease-in;
}

h1, h2, h3, h4 {
    font-weight: 700;
    color: #222;
}

p {
    color: #555;
    font-size: 1.1rem;
}

/* HERO 區塊 */
.hero {
    margin-top: 40px;
    height: 100vh;
    background: url('../images/banner1.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.overlay {
    background: rgba(255, 255, 255, 0.85);
    padding: 40px;
    border-radius: 12px;
    backdrop-filter: blur(4px);
    color: #212529;
}
.overlay h1 {
    font-size: 3rem;
    font-weight: 700;
}
.overlay p {
    font-size: 1.25rem;
    color: #444;
}

/* NAVBAR */
.navbar {
    background-color: #fff !important;
    border-bottom: 1px solid #ddd;
}
.navbar-brand, .navbar-nav .nav-link {
    color: #333 !important;
    font-weight: 600;
}
.navbar-nav .nav-link:hover {
    color: #007bff !important;
}

/* FORM 控制樣式 */
.form-control {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}
.form-control:focus {
    background: #fff;
    color: #000;
}

/* 作品卡片 */
.card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease-in-out;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.card-title {
    color: #222;
    font-weight: 600;
}

/* Footer 區塊 */
.footer-modern {
    background-color: #f8f9fa;
    color: #333;
    padding-top: 40px;
    padding-bottom: 30px;
    border-top: 1px solid #ddd;
}
.footer-modern h5, .footer-modern h6 {
    color: #111;
}
.footer-modern a {
    color: #007bff;
    text-decoration: none;
}
.footer-modern a:hover {
    text-decoration: underline;
}
.footer-modern p,
.footer-modern li {
    color: #444;
    font-size: 0.95rem;
}
.footer-modern .text-muted {
    color: #666 !important;
}

/* 流程卡片 */
.process-step {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
.process-step:hover {
    transform: translateY(-5px);
}

/* 滑入動畫 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 訴求區塊卡片 */
.problem-card {
    background: #fff;
    border-left: 4px solid #007bff;
    padding: 20px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    margin-bottom: 20px;
}

#faq-flow img {
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}
#faq-flow img:hover {
    transform: scale(1.02);
}

#faq-flow li {
    color: #444;
    line-height: 1.8;
  }
  #faq-flow span {
    font-weight: 600;
  }
  
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    height: 50px;
    width: 50px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}


/* 修正輪播按鈕位置 */
#industrial-carousel {
    position: relative;
  }
  
  #industrial-carousel .carousel-control-prev,
  #industrial-carousel .carousel-control-next {
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    z-index: 2;
    transition: background 0.3s ease;
  }
  
  #industrial-carousel .carousel-control-prev:hover,
  #industrial-carousel .carousel-control-next:hover {
    background-color: rgba(0, 0, 0, 0.1);
  }
  
  #industrial-carousel .carousel-control-prev {
    left: -60px; /* ⬅️ 往左移出圖片 */
  }
  
  #industrial-carousel .carousel-control-next {
    right: -60px; /* ➡️ 往右移出圖片 */
  }
  
  /* RWD 響應式調整：手機靠近圖片邊緣 */
  @media (max-width: 768px) {
    #industrial-carousel .carousel-control-prev {
      left: 10px;
    }
  
    #industrial-carousel .carousel-control-next {
      right: 10px;
    }
  }
  