/* 重置樣式和基本設置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 頂部導航樣式 */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 46px;
  left: 0;
  right: 0;
  z-index: 1000;
}

@media (max-width: 768px) {
  .header {
    top: 0;
  }
}

.navbar {
  padding: 15px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: bold;
  color: #2c5aa0;
}

.nav-logo img {
  height: 40px;
  width: auto;
  border-radius: 5px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-link {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 10px 15px;
  border-radius: 5px;
}

.nav-link:hover,
.nav-link.active {
  color: #2c5aa0;
  background-color: rgba(44, 90, 160, 0.1);
}

/* 漢堡菜單 */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 3px 0;
  transition: 0.3s;
}

/* 輪播圖樣式 */
.hero-slider {
  position: relative;
  height: 600px;
  overflow: hidden;
  margin-top: 80px;
}

.hero-slider.short {
  height: 400px;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
}

.slide-content::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  right: -50px;
  bottom: -50px;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  border-radius: 10px;
}

.slide-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
  background: linear-gradient(45deg, #2c5aa0, #4a90e2);
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-button:hover {
  background: linear-gradient(45deg, #1a4480, #3a7bc8);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 輪播導航 */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 3;
}

.slider-nav button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-nav button:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.1);
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: white;
  transform: scale(1.2);
}

/* 主要內容樣式 */
.main-content {
  padding: 60px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 15px;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 為什麼選擇我們 */
.why-choose-us {
  background: #f8f9fa;
  padding: 80px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-10px);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.feature-icon i {
  font-size: 2rem;
  color: white;
}

.feature-item h3 {
  font-size: 1.5rem;
  color: #2c5aa0;
  margin-bottom: 15px;
}

.feature-item p {
  color: #666;
  line-height: 1.6;
}

/* 熱門目的地 */
.popular-destinations {
  padding: 80px 0;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.destination-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.destination-card:hover {
  transform: translateY(-10px);
}

.destination-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-content {
  padding: 25px;
}

.card-content h3 {
  font-size: 1.3rem;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.card-content p {
  color: #666;
  line-height: 1.6;
}

/* 理想住宿 */
.ideal-accommodation {
  background: #f8f9fa;
  padding: 80px 0;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.accommodation-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.accommodation-item:hover {
  transform: translateY(-10px);
}

.accommodation-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.accommodation-info {
  padding: 25px;
}

.accommodation-info h3 {
  font-size: 1.3rem;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
}

.rating i {
  color: #ffc107;
  font-size: 0.9rem;
}

.rating span {
  color: #666;
  font-weight: 600;
  margin-left: 5px;
}

.price {
  font-size: 1.2rem;
  color: #2c5aa0;
  font-weight: bold;
}

/* 客戶評價 */
.testimonials {
  padding: 80px 0;
}

.testimonial-card {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1000px;
  margin: 50px auto 0;
  padding: 40px;
  background: #f8f9fa;
  border-radius: 20px;
}

.testimonial-image img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-content h3 {
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.testimonial-content blockquote {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author h4 {
  color: #2c5aa0;
  margin-bottom: 5px;
}

.testimonial-author p {
  color: #666;
}

/* 每日活動 */
.daily-events {
  background: #f8f9fa;
  padding: 80px 0;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.event-item {
  background: white;
  padding: 30px 25px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  border-left: 5px solid #2c5aa0;
}

.event-item:hover {
  transform: translateY(-5px);
}

.event-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
  color: #2c5aa0;
  font-weight: 600;
}

.event-time i {
  font-size: 1.2rem;
}

.event-item h3 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 10px;
}

.event-item p {
  color: #666;
  margin-bottom: 15px;
}

.event-duration {
  background: #2c5aa0;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  display: inline-block;
}

/* 預訂CTA */
.booking-cta {
  background: linear-gradient(135deg, #2c5aa0, #4a90e2);
  color: white;
  padding: 80px 0;
  text-align: center;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  padding: 15px 30px;
  border: none;
  border-radius: 30px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
}

.btn-primary {
  background: white;
  color: #2c5aa0;
}

.btn-primary:hover {
  background: #f8f9fa;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: #2c5aa0;
  transform: translateY(-2px);
}

/* 底部導航 */
.footer {
  background: #2c3e50;
  color: white;
  padding: 40px 0;
  text-align: center;
}

.footer p {
  line-height: 1.8;
  opacity: 0.9;
}

.footer a {
  color: #4a90e2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #ffffff;
}

/* 關於我們頁面樣式 */
.about-content {
  padding: 80px 0;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.about-header h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.about-text {
  max-width: 800px;
  margin: 0 auto 60px;
}

.text-section {
  margin-bottom: 30px;
}

.text-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #444;
  text-align: justify;
}

.company-features {
  margin-bottom: 60px;
}

.company-features h3 {
  text-align: center;
  font-size: 2rem;
  color: #2c5aa0;
  margin-bottom: 40px;
}

.service-scope {
  margin-bottom: 60px;
}

.service-scope h3 {
  text-align: center;
  font-size: 2rem;
  color: #2c5aa0;
  margin-bottom: 40px;
}

.scope-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.scope-item {
  text-align: center;
  padding: 30px 20px;
  background: #f8f9fa;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.scope-item:hover {
  transform: translateY(-5px);
}

.scope-item i {
  font-size: 3rem;
  color: #2c5aa0;
  margin-bottom: 20px;
}

.scope-item h4 {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.scope-item p {
  color: #666;
  line-height: 1.6;
}

.development-goals {
  margin-bottom: 60px;
}

.development-goals h3 {
  text-align: center;
  font-size: 2rem;
  color: #2c5aa0;
  margin-bottom: 40px;
}

.goals-content {
  max-width: 800px;
  margin: 0 auto;
}

.goal-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
  padding: 25px;
  background: #f8f9fa;
  border-radius: 10px;
}

.goal-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-icon i {
  font-size: 1.5rem;
  color: white;
}

.goal-text h4 {
  font-size: 1.3rem;
  color: #2c5aa0;
  margin-bottom: 10px;
}

.goal-text p {
  color: #666;
  line-height: 1.6;
}

/* 聯繫我們頁面樣式 */
.contact-content {
  padding: 80px 0;
}

.contact-header {
  text-align: center;
  margin-bottom: 50px;
}

.contact-header h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 15px;
}

.contact-header p {
  font-size: 1.1rem;
  color: #666;
}

.office-info {
  max-width: 600px;
  margin: 0 auto 60px;
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
}

.office-info h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 30px;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: white;
  border-radius: 10px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon i {
  color: white;
  font-size: 1.2rem;
}

.contact-text h4 {
  color: #2c5aa0;
  margin-bottom: 5px;
}

.contact-text p {
  color: #333;
  margin: 0;
}

.contact-text a {
  color: #2c5aa0;
  text-decoration: none;
}

.contact-text a:hover {
  text-decoration: underline;
}

/* 聯繫表單 */
.contact-form-section {
  max-width: 800px;
  margin: 0 auto 60px;
}

.contact-form-section h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 15px;
}

.contact-form-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 30px;
}

.contact-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #333;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2c5aa0;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  text-align: center;
  margin-top: 30px;
}

/* 服務時間 */
.service-hours {
  max-width: 800px;
  margin: 0 auto 60px;
}

.service-hours h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 30px;
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.hours-item {
  background: #f8f9fa;
  padding: 25px 20px;
  border-radius: 10px;
  text-align: center;
  border-left: 4px solid #2c5aa0;
}

.hours-item.emergency {
  border-left-color: #e74c3c;
  background: #ffeaea;
}

.hours-item .day {
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.hours-item .time {
  color: #2c5aa0;
  font-size: 0.9rem;
}

.hours-item.emergency .time {
  color: #e74c3c;
}

/* 交通指南 */
.location-guide {
  max-width: 800px;
  margin: 0 auto 60px;
}

.location-guide h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 30px;
}

.transport-options {
  display: grid;
  gap: 20px;
}

.transport-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
}

.transport-item i {
  font-size: 2rem;
  color: #2c5aa0;
  width: 50px;
  text-align: center;
}

.transport-info h4 {
  color: #333;
  margin-bottom: 8px;
}

.transport-info p {
  color: #666;
  margin: 0;
}

/* 常見問題 */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-section h3 {
  text-align: center;
  font-size: 1.8rem;
  color: #2c5aa0;
  margin-bottom: 30px;
}

.faq-item {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
}

.faq-item h4 {
  color: #2c5aa0;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.faq-item p {
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 隱私政策頁面樣式 */
.privacy-content {
  padding: 80px 0;
}

.privacy-header {
  text-align: center;
  margin-bottom: 50px;
}

.privacy-header h2 {
  font-size: 2.5rem;
  color: #2c5aa0;
  margin-bottom: 15px;
}

.last-updated {
  color: #666;
  font-style: italic;
}

.privacy-text {
  max-width: 900px;
  margin: 0 auto;
}

.policy-section {
  margin-bottom: 40px;
  padding: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 5px solid #2c5aa0;
}

.policy-section h3 {
  color: #2c5aa0;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.policy-section h4 {
  color: #2c5aa0;
  font-size: 1.2rem;
  margin: 20px 0 10px 0;
}

.policy-section p {
  line-height: 1.8;
  color: #444;
  margin-bottom: 15px;
  text-align: justify;
}

.policy-list {
  margin: 20px 0;
  padding-left: 20px;
}

.policy-list li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: #444;
}

.protection-measures {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.measure-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: white;
  border-radius: 10px;
}

.measure-item i {
  font-size: 2rem;
  color: #2c5aa0;
  width: 50px;
  text-align: center;
}

.measure-content h4 {
  color: #2c5aa0;
  margin-bottom: 8px;
}

.measure-content p {
  color: #666;
  margin: 0;
  line-height: 1.4;
}

.data-usage h4 {
  color: #2c5aa0;
  margin: 20px 0 10px 0;
}

.data-list {
  margin: 10px 0 20px 20px;
}

.data-list li {
  margin-bottom: 8px;
  color: #444;
  line-height: 1.6;
}

.contact-info-privacy {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin-top: 20px;
}

.contact-info-privacy p {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-info-privacy i {
  color: #2c5aa0;
  width: 20px;
}

.contact-info-privacy a {
  color: #2c5aa0;
  text-decoration: none;
}

.contact-info-privacy a:hover {
  text-decoration: underline;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 80px;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    padding: 20px 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu li {
    margin: 10px 0;
  }

  .slide-content h1 {
    font-size: 2rem;
  }

  .slide-content p {
    font-size: 1rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .testimonial-card {
    flex-direction: column;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .goal-item {
    flex-direction: column;
    text-align: center;
  }

  .transport-item {
    flex-direction: column;
    text-align: center;
  }

  .measure-item {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero-slider {
    height: 400px;
  }

  .hero-slider.short {
    height: 300px;
  }

  .slide-content h1 {
    font-size: 1.5rem;
  }

  .slide-content p {
    font-size: 0.9rem;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .features-grid,
  .destinations-grid,
  .accommodation-grid,
  .events-grid {
    grid-template-columns: 1fr;
  }

  .office-info,
  .contact-form {
    padding: 20px;
  }
}
