/* assets/style.css - Blue Ice Theme */
* { box-sizing: border-box; }
body {
  font-family: 'Noto Sans TC', 'Work Sans', sans-serif;
  margin: 0;
  background: #F7FAFC;
  color: #2E2E2E;
}
a { text-decoration: none; }
.container {
  width: min(1100px, 100% - 40px);
  margin: 0 auto;
}
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  z-index: 1000;
}
.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo {
  font-weight: 700;
  font-size: 22px;
  color: #1B3B73;
}
.nav-links a {
  margin-left: 20px;
  color: #1B3B73;
  font-weight: 500;
}
.nav-links a.active { border-bottom: 2px solid #1B3B73; }

/* hero */
.hero {
  margin-top: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  overflow: hidden;
}
.slider {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.slides {
  display: flex;
  height: 100%;
  transition: transform 1s ease-in-out;
}
.slides img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(220,234,247,0) 0%, rgba(220,234,247,0.95) 100%);
  z-index: 1;
}
.hero-text {
  position: relative;
  z-index: 2;
  background: rgba(247,250,252,0.7);
  backdrop-filter: blur(6px);
  padding: 22px 36px;
  border-radius: 14px;
  text-align: center;
  animation: fadeUp 0.6s ease forwards;
}
.hero-text h1 {
  font-size: 30px;
  margin-bottom: 6px;
  color: #1B3B73;
}
.hero-text p {
  margin: 0;
}
.hero-text .btn {
  margin-top: 16px;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 80px 0;
}
.section-title {
  text-align: center;
  font-size: 28px;
  color: #1B3B73;
  margin-bottom: 40px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(27,59,115,0.07);
  padding: 24px;
}
.btn {
  display: inline-block;
  background: #1B3B73;
  color: #fff;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
}
.footer {
  background: #1B3B73;
  color: #fff;
  text-align: center;
  padding: 50px 10px;
  margin-top: 60px;
}
.footer a { color: #DCEAF7; }
