* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* 导航栏 */
.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: fixed;
  top: 46px;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .navbar {
    top: 0;
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c3e50;
}

.nav-logo i {
  color: #27ae60;
  margin-right: 0.5rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-menu li {
  margin-left: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: #27ae60;
}

.signup-btn {
  background: #27ae60 !important;
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  transition: background 0.3s ease;
}

.signup-btn:hover {
  background: #219a52 !important;
}

/* 漢堡包菜單 */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #2c3e50;
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* 主頁面橫幅 */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url("../images/1.jpg") center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

/* 搜索表单 */
.search-form {
  background: white;
  padding: 1.5rem;
  border-radius: 15px;
  display: flex;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin: 0 auto;
}

.search-field {
  flex: 1;
  display: flex;
  align-items: center;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 0.75rem;
  color: #333;
}

.search-field i {
  color: #666;
  margin-right: 0.5rem;
}

.search-field input,
.search-field select {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  color: #333;
}

.search-field input::placeholder {
  color: #999;
}

.search-btn {
  background: #27ae60;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
}

.search-btn:hover {
  background: #219a52;
}

/* 主要內容布局 */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

/* 关于我们部分 */
.about-section {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 2rem;
  align-items: center;
}

.about-image img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 15px;
}

.about-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}

.about-text p {
  margin-bottom: 2rem;
  color: #666;
  line-height: 1.8;
}

.stats {
  display: flex;
  gap: 2rem;
}

.stat {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 1.2rem;
  font-weight: bold;
  color: #27ae60;
  text-align: center;
}

.stat-label {
  font-size: 0.9rem;
  color: #666;
}

/* 服务部分 */
.services-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.services-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.service-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-item:hover {
  transform: translateY(-5px);
}

.service-icon {
  width: 60px;
  height: 60px;
  background: #e8f5e8;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.service-icon i {
  font-size: 1.5rem;
  color: #27ae60;
}

.service-item h3 {
  margin-bottom: 1rem;
  color: #2c3e50;
}

.service-item p {
  color: #666;
  line-height: 1.6;
}

/* 熱門景點部分 */
.destinations-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.destinations-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.popular-destinations {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-header {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  margin-bottom: 1.5rem;
}

.view-all {
  color: #27ae60;
  text-decoration: none;
  font-weight: 500;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.destination-card.large {
  grid-column: span 1;
}

.destination-card {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: scale(1.05);
}

.destination-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.destination-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 1rem;
}

.destination-info h4 {
  margin-bottom: 0.25rem;
}

.destination-info span {
  font-size: 0.8rem;
  opacity: 0.9;
}

/* 客戶評價部分 */
.testimonials-section h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
  text-align: center;
}

.testimonials-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 3rem;
}

.testimonials {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-slider {
  margin-bottom: 1rem;
}

.testimonial {
  display: none;
  align-items: flex-start;
  gap: 1rem;
}

.testimonial.active {
  display: flex;
}

.testimonial img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content p {
  color: #666;
  margin-bottom: 0.5rem;
  font-style: italic;
  line-height: 1.5;
}

.testimonial-content span {
  color: #999;
  font-size: 0.9rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.testimonial-controls button {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.testimonial-controls button:hover {
  background: #27ae60;
  color: white;
  border-color: #27ae60;
}

/* 頁面樣式 */
.page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
}

.page-header {
  text-align: center;
  margin-bottom: 4rem;
  padding-top: 2rem;
}

.page-header h1 {
  font-size: 3rem;
  color: #2c3e50;
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.2rem;
  color: #666;
}

.content-container {
  max-width: 800px;
  margin: 0 auto;
}

/* 關於我們頁面 */
.about-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
}

.about-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: justify;
}

/* 營業執照部分 */
.license-section {
  margin-top: 3rem;
  text-align: center;
}

.license-section h3 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}

.license-image {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.license-image img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 2px solid #e8f5e8;
}

/* 聯絡我們頁面 */
.contact-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-content h2 {
  color: #2c3e50;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-align: center;
}

.contact-info {
  max-width: 500px;
  margin: 0 auto;
}

.contact-info h3 {
  color: #27ae60;
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 1rem;
  background: #f8f9fa;
  border-radius: 10px;
}

.contact-item i {
  color: #27ae60;
  width: 20px;
  margin-right: 1rem;
}

.contact-item a {
  color: #27ae60;
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* 隱私政策頁面 */
.privacy-content {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.privacy-content p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #333;
  text-align: justify;
}

.privacy-content h3 {
  color: #2c3e50;
  margin: 2rem 0 1rem 0;
  font-size: 1.3rem;
}

.privacy-content ul {
  margin: 1rem 0 1.5rem 2rem;
}

.privacy-content li {
  line-height: 1.8;
  margin-bottom: 0.5rem;
  color: #333;
}

/* 響應式設計 - 頁面 */
@media (max-width: 768px) {
  .page-content {
    padding: 5rem 1rem 3rem;
  }

  .page-header h1 {
    font-size: 2.5rem;
  }

  .about-content,
  .contact-content,
  .privacy-content {
    padding: 2rem;
  }

  .license-section {
    margin-top: 2rem;
  }

  .license-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 480px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .about-content,
  .contact-content,
  .privacy-content {
    padding: 1.5rem;
  }

  .license-section {
    margin-top: 1.5rem;
  }

  .license-section h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
  }
}

/* 頁腳 */
.footer {
  background: #2c3e50;
  color: white;
  padding: 2rem 0;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
  color: #bbb;
  line-height: 1.8;
}

.footer-bottom a {
  color: #27ae60;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #219a52;
  text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
  .nav-container {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    margin: 0;
    text-align: center;
  }

  .nav-menu li a {
    display: block;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-menu li:last-child a {
    border-bottom: none;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .search-form {
    flex-direction: column;
  }

  .main-content {
    gap: 2rem;
  }

  .about-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .destinations-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .destination-card img {
    height: 200px;
  }
}
