/* ===== 全局样式 ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #ff6b35;
  --secondary-color: #004e89;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --border-color: #ddd;
  --white: #ffffff;
}

html,
body {
  font-family: "Microsoft YaHei", "Segoe UI", Tahoma, Geneva, Verdana,
    sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* ===== 頂部導航 ===== */
.navbar {
  background-color: var(--white);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 46px;
  z-index: 100;
}

@media (max-width: 768px) {
  .navbar {
    top: 0;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 32px;
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo:hover {
  color: var(--secondary-color);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-color);
}

.nav-menu a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  right: 0;
  height: 3px;
  background-color: var(--primary-color);
}

/* 移動端菜單按鈕 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-color);
  cursor: pointer;
  transition: color 0.3s ease;
}

.menu-toggle:hover {
  color: var(--primary-color);
}

/* ===== 容器 ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== 按鈕 ===== */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: var(--white);
}

.btn-secondary:hover {
  background-color: #003a6b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 78, 137, 0.3);
}

/* ===== 歡迎部分 ===== */
.welcome-section {
  width: 100%;
  padding: 60px 0;
}

.welcome-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.welcome-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.welcome-content p {
  font-size: 18px;
  margin-bottom: 30px;
  color: #666;
}

.welcome-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== 服務部分 ===== */
.services-section {
  width: 100%;
  padding: 80px 0;
  background-color: var(--light-bg);
}

.services-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
  margin-bottom: 20px;
  font-size: 48px;
  color: var(--primary-color);
}

.service-icon i {
  display: block;
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.service-card p {
  color: #666;
  line-height: 1.8;
}

/* ===== 關於預覽部分 ===== */
.about-preview-section {
  width: 100%;
  padding: 60px 0;
}

.about-preview-section .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.about-preview-content h2 {
  font-size: 36px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.about-preview-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.8;
}

.about-preview-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===== 熱門目的地 ===== */
.destinations-section {
  width: 100%;
  padding: 80px 0;
  background-color: var(--light-bg);
}

.destinations-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.destination-card {
  background-color: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
}

.destination-card:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.destination-card h3 {
  font-size: 24px;
  padding: 20px;
  color: var(--secondary-color);
}

.destination-card p {
  padding: 0 20px 20px;
  color: #666;
}

/* ===== 客戶評價 ===== */
.testimonials-section {
  width: 100%;
  padding: 80px 0;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 50px;
  color: var(--secondary-color);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid var(--primary-color);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 15px;
}

.testimonial-card p {
  color: #666;
  margin-bottom: 15px;
  line-height: 1.8;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--secondary-color);
}

/* ===== CTA部分 ===== */
.cta-section {
  width: 100%;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 30px;
}

/* ===== 頁面內容 ===== */
.page-content {
  padding: 60px 0;
}

.page-content h1 {
  font-size: 42px;
  margin-bottom: 40px;
  color: var(--secondary-color);
  text-align: center;
}

.content-section {
  margin-bottom: 40px;
}

.content-section h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary-color);
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.content-section p {
  font-size: 16px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.values-list,
.reasons-list {
  list-style: none;
  margin: 20px 0;
}

.values-list li,
.reasons-list li {
  padding: 12px 0;
  padding-left: 30px;
  color: #666;
  line-height: 1.8;
  position: relative;
}

.values-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 18px;
}

.reasons-list li:before {
  content: "";
}

.reasons-list li i {
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 16px;
}

/* ===== 聯繫部分 ===== */
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.contact-info {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
}

.contact-info h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.contact-item {
  margin-bottom: 30px;
}

.contact-item h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-item p {
  color: #666;
  line-height: 1.8;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* ===== 聯繫表單 ===== */
.contact-form {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
}

.contact-form h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--secondary-color);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 5px rgba(255, 107, 53, 0.3);
}

/* ===== 營業時間表 ===== */
.business-hours {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
  margin-bottom: 60px;
}

.business-hours h2 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.business-hours table {
  width: 100%;
  border-collapse: collapse;
}

.business-hours table tr {
  border-bottom: 1px solid var(--border-color);
}

.business-hours table td {
  padding: 15px;
  color: #666;
}

.business-hours table tr:hover {
  background-color: rgba(255, 107, 53, 0.05);
}

/* ===== FAQ部分 ===== */
.faq-section {
  background-color: var(--light-bg);
  padding: 40px;
  border-radius: 10px;
}

.faq-section h2 {
  font-size: 28px;
  margin-bottom: 30px;
  color: var(--secondary-color);
}

.faq-item {
  margin-bottom: 25px;
  padding-bottom: 25px;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.faq-item p {
  color: #666;
  line-height: 1.8;
}

/* ===== 隱私政策 ===== */
.privacy-content {
  font-size: 16px;
  line-height: 1.8;
}

.privacy-content h2 {
  font-size: 24px;
  margin-top: 30px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.privacy-content p {
  margin-bottom: 15px;
  color: #666;
}

.privacy-list {
  list-style: none;
  margin: 20px 0;
  padding-left: 20px;
}

.privacy-list li {
  padding: 8px 0;
  padding-left: 20px;
  color: #666;
  position: relative;
}

.privacy-list li:before {
  content: "";
}

.privacy-list li i {
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-size: 14px;
}

.privacy-footer {
  background-color: var(--light-bg);
  padding: 30px;
  border-radius: 10px;
  margin-top: 40px;
  text-align: center;
}

.privacy-footer p {
  margin-bottom: 10px;
}

/* ===== 底部導航 ===== */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 40px 0;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
  line-height: 1.8;
}

.footer-content p {
  margin-bottom: 15px;
}

.footer-content a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-content a:hover {
  color: var(--primary-color);
}

/* ===== 響應式設計 ===== */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    padding: 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  }

  .nav-menu.active {
    max-height: 500px;
    padding: 20px;
    opacity: 1;
    visibility: visible;
  }

  .nav-menu a {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-menu a.active::after {
    display: none;
  }

  .welcome-section .container,
  .about-preview-section .container,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .welcome-content h1 {
    font-size: 32px;
  }

  .services-grid,
  .destinations-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .page-content h1 {
    font-size: 32px;
  }

  .content-section h2 {
    font-size: 22px;
  }

  .cta-section h2 {
    font-size: 28px;
  }

  .services-section,
  .destinations-section,
  .testimonials-section {
    padding: 40px 0;
  }
}

@media (max-width: 480px) {
  .nav-container {
    height: 70px;
  }

  .nav-menu {
    top: 70px;
  }

  .welcome-content h1 {
    font-size: 24px;
  }

  .services-section h2,
  .destinations-section h2,
  .testimonials-section h2 {
    font-size: 28px;
  }

  .page-content h1 {
    font-size: 24px;
  }
}
