/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans TC", sans-serif;
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 46px;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: all 0.3s ease;
}

@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;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  width: 40px;
  height: 40px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  color: #007bff;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: #007bff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #007bff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.bar {
  width: 25px;
  height: 3px;
  background: #333;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"%3E%3Cg fill-opacity="0.1"%3E%3Cpolygon fill="%23ffffff" points="50 0 60 40 100 50 60 60 50 100 40 60 0 50 40 40"/%3E%3C/g%3E%3C/svg%3E')
    center/cover;
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

/* Search Form */
.search-form {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
  max-width: 800px;
  margin: 0 auto 40px;
}

.search-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab-btn {
  padding: 10px 20px;
  border: none;
  background: #f8f9fa;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  color: #666;
}

.tab-btn.active,
.tab-btn:hover {
  background: #007bff;
  color: white;
}

.search-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 15px;
  align-items: end;
}

.input-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.input-group label {
  font-size: 0.9rem;
  color: #666;
  font-weight: 500;
}

.input-group input,
.input-group select {
  padding: 12px 15px;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.input-group input:focus,
.input-group select:focus {
  outline: none;
  border-color: #007bff;
}

.search-btn {
  padding: 12px 20px;
  background: #007bff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #0056b3;
}

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 1rem;
  opacity: 0.9;
}

/* Section Styles */
section {
  padding: 80px 0;
}

h2 {
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 15px;
  color: #333;
}

.section-subtitle {
  text-align: center;
  color: #666;
  font-size: 1.1rem;
  margin-bottom: 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Popular Packages */
.popular-packages {
  background: #f8f9fa;
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.package-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.package-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.package-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: #ff6b6b;
  color: white;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

.package-content {
  padding: 25px;
}

.package-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.package-location {
  color: #666;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.package-description {
  color: #777;
  margin-bottom: 0;
  line-height: 1.5;
}

/* Package footer styles removed - no longer needed */

/* Buttons */
.btn-primary {
  background: #007bff;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background: #0056b3;
}

.view-all-btn {
  text-align: center;
  margin-top: 40px;
}

/* Popular Search */
.popular-search {
  background: white;
}

.search-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.search-tag {
  background: #f8f9fa;
  color: #666;
  padding: 10px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.search-tag:hover {
  background: #007bff;
  color: white;
  border-color: #007bff;
}

/* Packages Grid Section */
.packages-grid-section {
  background: #f8f9fa;
}

.packages-grid-section .packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.packages-grid-three {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.package-card-large {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.package-card-large:hover {
  transform: translateY(-5px);
}

.package-card-large .package-image {
  position: relative;
  height: 250px;
}

.rating {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.9);
  padding: 5px 10px;
  border-radius: 15px;
  font-size: 0.9rem;
  font-weight: 500;
}

.package-duration {
  color: #666;
  margin-bottom: 15px;
}

.package-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.old-price {
  color: #999;
  text-decoration: line-through;
  font-size: 1rem;
}

.current-price {
  color: #007bff;
  font-size: 1.3rem;
  font-weight: 700;
}

.book-btn {
  background: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.book-btn:hover {
  background: #0056b3;
}

/* Experience and Service */
.experience-service {
  background: white;
}

.experience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.large-card {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
}

.experience-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.stat-card {
  padding: 30px;
  border-radius: 15px;
  color: white;
  text-align: center;
}

.stat-card.green {
  background: linear-gradient(135deg, #4caf50, #45a049);
}

.stat-card.blue {
  background: linear-gradient(135deg, #2196f3, #1976d2);
}

.stat-card.yellow {
  background: linear-gradient(135deg, #ff9800, #f57c00);
}

.stat-card.purple {
  background: linear-gradient(135deg, #9c27b0, #7b1fa2);
}

.stat-card h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat-card p {
  font-size: 1rem;
  line-height: 1.4;
}

/* Video Section */
.video-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.video-container {
  max-width: 800px;
  margin: 0 auto 40px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.video-placeholder {
  position: relative;
  width: 100%;
  height: 450px;
}

.video-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.play-button:hover {
  transform: translate(-50%, -50%) scale(1.1);
}

.trust-indicators {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 60px;
}

.indicator {
  text-align: center;
}

.indicator h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.indicator p {
  font-size: 1rem;
  opacity: 0.9;
}

/* FAQ Section */
.faq-section {
  background: #f8f9fa;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: #f8f9fa;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin: 0;
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 300;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: #666;
  line-height: 1.6;
}

/* Newsletter Section */
.newsletter-section {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  text-align: center;
}

.newsletter-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  gap: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.newsletter-form input {
  flex: 1;
  padding: 15px 20px;
  border: none;
  border-radius: 25px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
}

.newsletter-form input:focus {
  outline: none;
  background: white;
}

.newsletter-form button {
  background: #ff6b6b;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #ff5252;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer-nav {
  margin-bottom: 30px;
}

.footer-nav a {
  color: #ccc;
  text-decoration: none;
  margin: 0 15px;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: #007bff;
}

.footer-content p {
  color: #999;
  margin-bottom: 10px;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding-top: 50px;
    transition: left 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .search-inputs {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid-section .packages-grid {
    grid-template-columns: 1fr;
  }

  .packages-grid-three {
    grid-template-columns: 1fr;
  }

  .experience-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .trust-indicators {
    flex-direction: column;
    gap: 30px;
  }

  .newsletter-form {
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .footer-nav a {
    display: block;
    margin: 10px 0;
  }

  .search-tags {
    gap: 10px;
  }

  .search-tag {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .search-form {
    padding: 20px;
  }

  .package-content {
    padding: 20px;
  }

  .stat-card {
    padding: 20px;
  }

  .faq-question {
    padding: 20px;
  }
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.package-card,
.stat-card,
.faq-item {
  animation: fadeInUp 0.6s ease forwards;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}
