* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Arial", sans-serif;
  line-height: 1.6;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 導航欄 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 46px;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

@media (max-width: 680px) {
  .navbar {
    top: 0;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand h2 {
  color: #2d3748;
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: #2d3748;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #e53e3e;
}

.register-btn {
  background: #2d3748;
  color: white;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.register-btn:hover {
  background: #1a202c;
}

/* 英雄區 */
.hero-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
  min-height: 100vh;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  color: white;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #ff6b6b;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  line-height: 1.6;
}

/* 英雄區服務特色 */
.hero-features {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
}

.feature-item i {
  color: #ff6b6b;
  font-size: 1.2rem;
}

/* 英雄圖片 */
.hero-images {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.image-card {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.image-card.large {
  grid-row: 1 / -1;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 服務優勢 */
.services {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 2rem;
  margin-top: 4rem;
  border-radius: 15px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  text-align: center;
  color: white;
  padding: 1rem;
}

.service-icon {
  margin-bottom: 1rem;
}

.service-icon i {
  font-size: 2.5rem;
  color: #ff6b6b;
  margin-bottom: 0.5rem;
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.service-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

/* 體驗區 */
.experience-section {
  padding: 6rem 0;
  background: #f7fafc;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #2d3748;
}

.section-header p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.activity-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.activity-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.activity-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.activity-item h3 {
  color: #2d3748;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.activity-item p {
  color: #666;
  font-size: 0.9rem;
}

/* 套餐區 */
.packages-section {
  padding: 6rem 0;
  background: white;
}

.package-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
}

.tab-btn.active,
.tab-btn:hover {
  background: #2d3748;
  color: white;
  border-color: #2d3748;
}

.view-all-btn {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: 600;
  float: right;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.package-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.package-image {
  position: relative;
  height: 200px;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: #ff6b6b;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.package-content {
  padding: 1.5rem;
}

.package-content h3 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.package-details {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.package-details span {
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.package-price .price {
  color: #2d3748;
  font-weight: 700;
  font-size: 1.2rem;
}

.package-price .person {
  color: #666;
  font-size: 0.9rem;
}

/* 目的地區 */
.destination-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

.destination-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  height: 400px;
}

.dest-img {
  border-radius: 15px;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.dest-img.large {
  grid-row: 1 / -1;
}

.destination-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #2d3748;
}

.destination-content p {
  color: #666;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.explore-btn {
  background: #2d3748;
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.explore-btn:hover {
  background: #1a202c;
}

/* 評價區 */
.testimonials-section {
  padding: 6rem 0;
  background: white;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 4rem;
  color: #2d3748;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.testimonial-card {
  background: #f7fafc;
  padding: 2rem;
  border-radius: 15px;
  position: relative;
}

.testimonial-card p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h4 {
  color: #2d3748;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #666;
  font-size: 0.9rem;
}

.testimonial-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.nav-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e2e8f0;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.nav-btn:hover {
  background: #ff6b6b;
  color: white;
  border-color: #ff6b6b;
}

/* 訂閱區 */
.subscribe-section {
  padding: 4rem 0;
  background: #2d3748;
  text-align: center;
}

.subscribe-section h2 {
  color: white;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.subscribe-section p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-action {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.contact-btn {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 1.2rem 3rem;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.contact-btn:hover {
  background: #e53e3e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.contact-btn i {
  font-size: 1.2rem;
}

/* 頁腳 */
.footer {
  background: #1a202c;
  padding: 2rem 0;
  color: white;
  text-align: center;
}

.footer p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  max-width: 1000px;
  margin: 0 auto;
}

.footer a {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.3s;
}

.footer a:hover {
  color: white;
}

/* 桂林頁面專用樣式 */
.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
  color: white;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #ff6b6b;
}

.stat-item p {
  font-size: 0.9rem;
  opacity: 0.8;
}

.nav-link.active {
  color: #ff6b6b !important;
  font-weight: 600;
}

/* 關於我們頁面公司介紹樣式 */
.company-intro {
  max-width: 800px;
  margin: 0 auto;
}

.intro-section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.intro-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-section h2 {
  color: #2d3748;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #ff6b6b;
  display: inline-block;
}

.intro-section p {
  color: #666;
  line-height: 1.8;
  font-size: 1rem;
  text-align: justify;
}

/* 其他頁面英雄區樣式 */
.other-hero {
  min-height: 50vh !important;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* 移動端導航菜單 */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #2d3748;
  cursor: pointer;
}

.nav-menu.mobile-open {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  flex-direction: column;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .hero-container,
  .destination-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-features {
    justify-content: center;
    gap: 1rem;
  }

  .services {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .activities-grid,
  .packages-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .nav-container {
    position: relative;
  }

  .nav-menu {
    display: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .nav-menu.mobile-open .nav-link {
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
    text-align: center;
  }

  .nav-menu.mobile-open .nav-link:last-child {
    border-bottom: none;
  }

  .contact-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
  }

  .other-hero {
    min-height: 40vh !important;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .intro-section {
    padding: 1.5rem;
    margin-bottom: 2rem;
  }

  .intro-section h2 {
    font-size: 1.3rem;
  }

  .intro-section p {
    font-size: 0.95rem;
  }

  .activities-grid[style*="repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .services {
    grid-template-columns: 1fr;
  }

  .hero-features {
    gap: 0.5rem;
  }

  .feature-item {
    font-size: 0.9rem;
  }
}
