/* --- Base & Variables --- */
:root {
  --primary: #1D4ED8;
  --primary-dark: #1E40AF;
  --secondary: #FBBF24;
  --secondary-dark: #F59E0B;
  --accent: #FBBF24;
  --accent-dark: #F59E0B;
  --dark: #111827;
  --slate: #374151;
  --gray: #6B7280;
  --light: #F9FAFB;
  --white: #FFFFFF;
  --border-color: #E5E7EB;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans TC", sans-serif;
  color: var(--slate);
  background-color: var(--white);
}
h1, h2, h3, h4, .font-display {
  font-family: 'Poppins', "Noto Sans TC", sans-serif;
  font-weight: 800;
  color: var(--dark);
}
a { color: var(--primary); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--primary-dark); }
.container { width: min(1280px, 94vw); margin: 0 auto; }
.section { padding: clamp(50px, 8vw, 90px) 0; }
.section-head {
  text-align: center;
  margin-bottom: 48px;
}
.section-head .eyebrow { font-size: 14px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .1em; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin: .2em 0; line-height: 1.2; }
.section-head p { max-width: 600px; margin: 0 auto; color: var(--gray); font-size: 18px; }

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 24px; border-radius: 8px; font-weight: 700; font-family: "Noto Sans TC", sans-serif; border: 2px solid transparent; transition: all .2s ease; cursor: pointer; }
.btn-primary { background-color: var(--accent); color: var(--dark); }
.btn-primary:hover { background-color: var(--accent-dark); transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-secondary { background-color: var(--white); color: var(--slate); border-color: var(--border-color); }
.btn-secondary:hover { background-color: var(--light); border-color: var(--gray); transform: translateY(-2px); box-shadow: var(--shadow); }

/* --- Header --- */
.main-header { position: sticky; top: 0; z-index: 1000; background: rgba(17, 24, 39, 0.95); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 15px 0; transition: all 0.3s ease; }
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.brand-logo img { height: 40px; width: auto; display: block; filter: brightness(0) invert(1); }
.main-nav { display: none; }
.nav-list { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-list a { padding: 8px 0; font-weight: 500; color: var(--white); position: relative; transition: color 0.3s ease; }
.nav-list a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background-color: var(--accent); transition: width 0.3s ease; }
.nav-list a:hover::after, .nav-list a.active::after { width: 100%; }
.nav-list a:hover { color: var(--accent); }
.header-cta { display: flex; align-items: center; gap: 15px; }

/* 語言切換器 */
/* Language Switcher */
/* 語言切換器 - 強化版 */
.language-switcher {
  display: flex !important;
  gap: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px;
  align-items: center;
  justify-content: center;
}

.lang-btn {
  /* 重置樣式 */
  all: unset;
  
  /* 核心樣式 */
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  color: #ffffff !important;
  padding: 6px 12px !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  line-height: 1.4 !important;
  transition: all 0.3s ease !important;
  font-family: "Noto Sans TC", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  min-width: 40px !important;
  text-align: center !important;
  white-space: nowrap !important;
  box-sizing: border-box !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.15) !important;
}

.lang-btn.active {
  background: var(--accent) !important;
  color: var(--dark) !important;
}

.mobile-nav-toggle { display: block; font-size: 1.5rem; background: none; border: none; cursor: pointer; color: var(--white); transition: transform 0.3s ease; }
.mobile-nav-toggle:hover { transform: scale(1.1); }

/* --- Mobile Navigation Menu --- */
.mobile-nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.8); backdrop-filter: blur(5px); z-index: 9999; opacity: 0; visibility: hidden; transition: all 0.3s ease; }
.mobile-nav-overlay.is-open { opacity: 1; visibility: visible; }
.mobile-nav-menu { position: fixed; top: 0; right: 0; width: min(380px, 85vw); height: 100vh; background: var(--white); transform: translateX(100%); transition: transform 0.3s ease; display: flex; flex-direction: column; box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3); }
.mobile-nav-overlay.is-open .mobile-nav-menu { transform: translateX(0); }

.mobile-nav-header { display: flex; justify-content: space-between; align-items: center; padding: 20px; border-bottom: 1px solid var(--border-color); background: var(--light); }
.mobile-brand-logo img { height: 35px; width: auto; }
.mobile-nav-close { background: none; border: none; font-size: 1.5rem; color: var(--dark); cursor: pointer; padding: 8px; border-radius: 50%; transition: all 0.3s ease; }
.mobile-nav-close:hover { background: var(--border-color); transform: rotate(90deg); }

.mobile-nav-list { list-style: none; padding: 0; margin: 0; flex-grow: 1; overflow-y: auto; }
.mobile-nav-list li { border-bottom: 1px solid var(--border-color); }
.mobile-nav-list a { display: flex; align-items: center; gap: 15px; padding: 18px 20px; color: var(--dark); font-weight: 500; font-size: 16px; transition: all 0.3s ease; position: relative; }
.mobile-nav-list a:hover { background: var(--light); color: var(--primary); }
.mobile-nav-list a.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: var(--white); }
.mobile-nav-list a.active::after { content: ''; position: absolute; right: 0; top: 0; width: 4px; height: 100%; background: var(--accent); }
.mobile-nav-list a i { font-size: 18px; width: 20px; text-align: center; }
.mobile-nav-list a.active i { color: var(--white); }

.mobile-nav-footer { padding: 20px; border-top: 1px solid var(--border-color); background: var(--light); }
.mobile-contact-info { margin-bottom: 20px; }
.mobile-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 14px; color: var(--gray); }
.mobile-contact-item i { font-size: 16px; color: var(--primary); width: 20px; text-align: center; }
.mobile-contact-item a { color: var(--primary); font-weight: 500; }
.mobile-contact-item a:hover { color: var(--primary-dark); }
.mobile-cta-btn { width: 100%; justify-content: center; font-size: 16px; font-weight: 700; box-shadow: var(--shadow); }
.mobile-cta-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* --- Footer --- */
.footer {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  color: #e2e8f0;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #4a90e2, transparent);
}

.footer-main {
  padding: 3rem 0 2rem;
  position: relative;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* 聯絡資訊區塊 */
.footer-contact {
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.footer-contact h3 {
  color: #4a90e2;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-contact p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: #93c5fd;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-contact a:hover {
  color: #60a5fa;
  text-shadow: 0 0 8px rgba(96, 165, 250, 0.5);
}

/* 社群媒體 */
.footer-social {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 0;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(74, 144, 226, 0.2);
  border: 1px solid rgba(74, 144, 226, 0.3);
  border-radius: 50%;
  color: #4a90e2;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #4a90e2;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.3);
}

/* 導覽區塊 */
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.nav-col h3 {
  color: #4a90e2;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(74, 144, 226, 0.3);
}

.nav-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-col li {
  margin-bottom: 0.5rem;
}

.nav-col a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.nav-col a:hover {
  color: #93c5fd;
  transform: translateX(5px);
}

/* CTA 按鈕區塊 */
.footer-cta {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.btn-accent {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  color: white;
  box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(74, 144, 226, 0.4);
}

.btn-ghost {
  background: transparent;
  color: #93c5fd;
  border: 2px solid rgba(147, 197, 253, 0.3);
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-ghost:hover {
  background: rgba(147, 197, 253, 0.1);
  border-color: #93c5fd;
}

/* 底部版權區塊 */
.footer-meta {
  background: rgba(0, 0, 0, 0.3);
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  color: #94a3b8;
  font-size: 0.9rem;
}

.meta-links {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
  padding: 0;
  margin: 0;
}

.meta-links a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.meta-links a:hover {
  color: #cbd5e1;
}

/* Footer 內的回到頂端按鈕（保留原樣式） */
.footer-meta .back-to-top {
  background: rgba(74, 144, 226, 0.2);
  color: #4a90e2;
  border: 1px solid rgba(74, 144, 226, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.footer-meta .back-to-top:hover {
  background: #4a90e2;
  color: white;
  transform: translateY(-2px);
}

/* 響應式設計 */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .footer-nav {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .meta-inner {
    flex-direction: column;
    text-align: center;
  }

  .meta-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .footer-contact {
    padding: 1.5rem;
  }

  .meta-links {
    gap: 1rem;
  }
}

/* --- Cards (Generic) --- */
.grid-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 28px; }
.card { background: var(--white); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: all .3s ease; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.thumb { position: relative; aspect-ratio: 16/10; background: #e5e7eb; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; }
.card .title { text-align: center; font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 16px; }
.card .actions { margin-top: auto; padding-top: 20px; display: flex; gap: 10px; }
.card .actions .btn { flex: 1; font-size: 16px; }

/* --- Content Pages (FAQ, Terms, Privacy) --- */
.content-page { background-color: var(--light); padding: clamp(40px, 7vw, 80px) 0; }
.content-body { max-width: 800px; margin: 0 auto; background-color: var(--white); padding: clamp(30px, 5vw, 50px); border-radius: 12px; box-shadow: var(--shadow); }
.content-body h1, .content-body h2, .content-body h3 { margin-top: 1.5em; margin-bottom: 0.8em; line-height: 1.3; }
.content-body p, .content-body li { line-height: 1.8; }
.faq-accordion { display: flex; flex-direction: column; gap: 16px; }
.faq-item { border: 1px solid var(--border-color); border-radius: 12px; }
.faq-item summary { padding: 20px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--primary); transition: transform .3s ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 20px 20px; }

/* --- New Homepage Sections --- */
/* Hero Section */
.hero { 
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('img/uploads/airport.jpg'); 
  background-size: cover; 
  background-position: center; 
  background-repeat: no-repeat;
  color: var(--white); 
  height: 90vh; 
  display: flex; 
  align-items: center; 
  text-align: center; 
}

/* 桌面版才使用視差效果 */
@media (min-width: 1024px) {
  .hero {
    background-attachment: fixed;
  }
}

/* 露營車出租頁面專用英雄區塊 - RV Rental Hero Image System */
.hero-rv-rental {
  --rv-hero-image: url('img/rv-hero-bg.jpg');
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), var(--rv-hero-image);
}

/* 桌面版露營車才使用視差效果 */
@media (min-width: 1024px) {
  .hero-rv-rental {
    background-attachment: fixed;
  }
}

.hero-content { max-width: 800px; margin: 0 auto; }
.hero-title { font-size: clamp(2.5rem, 5vw, 3.5rem); font-weight: 700; color: var(--white); margin-bottom: 1rem; animation: fadeInDown 1s ease-out; }
.hero-subtitle { font-size: clamp(1rem, 2vw, 1.25rem); margin-bottom: 2rem; opacity: 0.9; animation: fadeInUp 1s ease-out 0.3s; animation-fill-mode: both; }
.hero-cta { display: flex; gap: 15px; justify-content: center; animation: fadeInUp 1s ease-out 0.6s; animation-fill-mode: both; flex-wrap: wrap; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-ghost { background-color: transparent; color: var(--white); border: 2px solid var(--white); }
.btn-ghost:hover { background-color: var(--white); color: var(--primary); }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* USP Section */
.usp-section { background-color: var(--light); padding: clamp(60px, 8vw, 80px) 0; }
.usp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.usp-card { text-align: center; padding: 40px 30px; background-color: var(--white); border-radius: 12px; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.usp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.usp-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 20px; }
.usp-card h3 { font-size: 1.3rem; margin-bottom: 15px; color: var(--dark); font-weight: 700; }
.usp-card p { color: var(--gray); line-height: 1.6; }

/* Services Section */
.services-section { padding: clamp(60px, 8vw, 80px) 0; }
.section-title { text-align: center; font-size: clamp(1.8rem, 4vw, 2.25rem); margin-bottom: 1rem; color: var(--dark); font-weight: 700; }
.section-subtitle { text-align: center; font-size: 1.1rem; color: var(--gray); max-width: 600px; margin: 0 auto 50px auto; line-height: 1.6; }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.service-card { border: 1px solid var(--border-color); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow); transition: transform 0.3s ease, box-shadow 0.3s ease; background: var(--white); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.service-image { height: 200px; background-size: cover; background-position: center; }
.service-content { padding: 25px; }
.service-content h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--dark); font-weight: 700; }
.service-content p { color: var(--gray); margin-bottom: 20px; line-height: 1.6; }
.service-content a { font-weight: 500; color: var(--primary); display: inline-flex; align-items: center; gap: 5px; transition: color 0.3s ease; }
.service-content a:hover { color: var(--primary-dark); }

/* Vehicles Section */
.vehicles-section { 
  background-image: url('/img/uploads/Gray-background-with-dots.jpg') !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  background-color: #4B5563 !important;
  padding: clamp(60px, 8vw, 80px) 0; 
  position: relative !important;
}

/* 桌面版車輛區塊才使用視差效果 */
@media (min-width: 1024px) {
  .vehicles-section {
    background-attachment: fixed !important;
  }
}

/* 視差背景覆蓋層，避免影響卡片 */
.vehicles-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(255, 255, 255, 0.15) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* 確保內容在覆蓋層之上 */
.vehicles-section .container {
  position: relative !important;
  z-index: 2 !important;
}
.vehicles-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.vehicles-more-btn { 
  text-align: center; 
  margin-top: 2.5rem; 
  margin-bottom: 1rem; 
}
.vehicles-more-btn .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 12px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  background-color: var(--primary);
  color: var(--white);
}
.vehicles-more-btn .btn:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.vehicle-card { background-color: var(--white); border-radius: 12px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.vehicle-card.hidden { display: none; }
.vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.vehicle-card img { width: 100%; height: 220px; object-fit: cover; }
.vehicle-info { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.vehicle-info h3 { font-size: 1.4rem; margin-bottom: 5px; color: var(--dark); font-weight: 700; }
.vehicle-category { color: var(--primary); font-weight: 500; margin-bottom: 15px; font-size: 0.9rem; }
.vehicle-meta { list-style: none; margin: 0 0 20px 0; padding: 0; }
.vehicle-meta li { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: var(--gray); font-size: 0.9rem; }
.vehicle-meta li i { color: var(--primary); width: 16px; text-align: center; }
.card-cta { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.card-cta .btn-ghost { color: var(--primary); border-color: var(--border-color); background: transparent; }
.card-cta .btn-ghost:hover { background-color: var(--primary); color: var(--white); border-color: var(--primary); }

/* Steps Section */
.steps-section { padding: clamp(60px, 8vw, 80px) 0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; list-style: none; counter-reset: steps-counter; position: relative; margin-bottom: 50px; padding: 0; }
.steps::before { content: ''; position: absolute; top: 30px; left: 10%; width: 80%; height: 2px; background-color: var(--border-color); display: none; }
.step-item { position: relative; text-align: center; padding-top: 60px; }
.step-item .step-index { counter-increment: steps-counter; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 60px; background-color: var(--white); border: 2px solid var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.step-item .step-index::before { content: counter(steps-counter); }
.step-item h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark); font-weight: 700; }
.step-item p { color: var(--gray); line-height: 1.6; }
.steps-cta { text-align: center; }

/* About Section */
.about-section { background-color: var(--light); padding: clamp(60px, 8vw, 80px) 0; }
.about-grid { display: grid; grid-template-columns: 1fr; gap: 50px; align-items: center; }
.about-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.about-content h2 { font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 20px; color: var(--dark); line-height: 1.2; }
.about-content blockquote { font-size: 1.2rem; font-style: italic; margin: 20px 0; padding-left: 20px; border-left: 4px solid var(--primary); color: var(--slate); }
.about-content blockquote p { margin: 0; }
.about-content p { color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.list-check { list-style: none; margin: 20px 0 0 0; padding: 0; }
.list-check li { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; color: var(--gray); }
.list-check li i { color: var(--accent); font-size: 1.1rem; }

/* Testimonials Section */
.testimonials-section { 
  padding: clamp(60px, 8vw, 80px) 0; 
  background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 20%, #FBBF24 40%, #F59E0B 60%, #D97706 80%, #92400E 100%) !important;
  background-size: 400% 400% !important;
  animation: gradientShift 15s ease infinite !important;
  position: relative !important;
}

/* 漸層動畫效果 */
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* 覆蓋層確保內容可讀性 */
.testimonials-section::before {
  content: '' !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background: rgba(255, 255, 255, 0.1) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* 確保內容在覆蓋層之上 */
.testimonials-section .container {
  position: relative !important;
  z-index: 2 !important;
}
.testimonials-grid { 
  display: grid; 
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); 
  gap: 2rem; 
  margin-top: 3rem; 
}
.testimonial-card { 
  background-color: var(--white); 
  padding: 30px; 
  border-radius: 12px; 
  box-shadow: var(--shadow); 
  text-align: center; 
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.testimonial-card blockquote { font-size: 1.1rem; margin-bottom: 20px; position: relative; color: var(--slate); font-style: italic; line-height: 1.6; }
.testimonial-card blockquote::before { content: '\f10d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary); font-size: 2rem; opacity: 0.2; position: absolute; top: -10px; left: -20px; }
.testimonial-card figcaption { font-weight: 500; color: var(--dark); }

/* FAQ Section */
.faq-section { background-color: var(--light); padding: clamp(60px, 8vw, 80px) 0; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border-color); }
.faq-item summary { padding: 20px 0; font-size: 1.1rem; font-weight: 500; color: var(--dark); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; transition: color 0.3s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '\f078'; font-family: 'Font Awesome 6 Free'; font-weight: 900; transition: transform 0.3s; }
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-item summary:hover { color: var(--primary); }
.faq-body { padding: 0 0 20px 0; color: var(--gray); line-height: 1.7; }
.faq-item.fade-in.is-visible { margin-left: 10px; margin-right: 10px; }

/* CTA Section */
.cta-section { 
  background: linear-gradient(rgba(29, 78, 216, 0.8), rgba(29, 78, 216, 0.8)), 
              url('img/uploads/cta-background.jpg') center/cover;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  color: var(--white); 
  padding: clamp(80px, 8vw, 120px) 0; 
  position: relative;
  overflow: hidden;
}

/* 桌面版 CTA 才使用視差效果 */
@media (min-width: 1024px) {
  .cta-section {
    background-attachment: fixed;
  }
}
.cta-wrap { display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; gap: 30px; }
.cta-wrap h2 { color: var(--white); font-size: clamp(1.8rem, 3vw, 2rem); margin-bottom: 10px; }
.cta-wrap p { opacity: 0.9; font-size: 1.1rem; }
.cta-actions { display: flex; gap: 20px; flex-wrap: wrap; justify-content: center; }
.cta-actions .btn { 
  min-width: 200px; 
  padding: 15px 30px; 
  font-size: 1rem; 
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cta-actions .btn-ghost { 
  background-color: rgba(255, 255, 255, 0.1); 
  color: var(--white); 
  border: 2px solid var(--white); 
  backdrop-filter: blur(10px);
}
.cta-actions .btn-ghost:hover { 
  background-color: var(--white); 
  color: var(--primary); 
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
.cta-actions .btn-secondary { 
  background-color: var(--secondary); 
  color: var(--dark); 
  border: 2px solid var(--secondary);
}
.cta-actions .btn-secondary:hover { 
  background-color: var(--secondary-dark); 
  transform: translateY(-3px); 
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Floating Actions */
/* 右側懸浮按鈕組 */
.floating-actions { 
  position: fixed; 
  bottom: 80px; 
  right: 20px; 
  z-index: 999; 
  display: flex; 
  flex-direction: column; 
  gap: 10px; 
}

.floating-btn { 
  width: 50px; 
  height: 50px; 
  border-radius: 50%; 
  background-color: var(--primary); 
  color: var(--white); 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  font-size: 1.2rem; 
  box-shadow: var(--shadow-lg); 
  transition: all 0.3s ease; 
  border: none; 
  cursor: pointer; 
  opacity: 0;
  visibility: hidden;
}

.floating-btn.show { 
  opacity: 1; 
  visibility: visible; 
}

.floating-btn:hover { 
  background-color: var(--primary-dark); 
  transform: scale(1.1); 
  color: var(--white); 
}

/* 回到頂端按鈕（深色背景） */
.floating-btn.back-to-top { 
  background-color: var(--dark); 
}

.floating-btn.back-to-top:hover {
  background-color: var(--primary);
}

/* Mobile Sticky Bar */
.sticky-bar { display: none; position: fixed; bottom: 0; left: 0; width: 100%; background-color: var(--white); padding: 10px; box-shadow: 0 -2px 10px rgba(0,0,0,0.1); z-index: 998; }
.sticky-bar .btn { padding: 15px; font-weight: 700; }
.w-100 { width: 100%; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.is-visible { opacity: 1; transform: translateY(0); }

/* --- Homepage Specifics --- */
.hero-slider-container { position: relative; background-color: var(--dark); }
.hero-slides { position: relative; width: 100%; height: 600px; overflow: hidden; }
.hero-slides .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease-in-out; background-size: cover; background-position: center; }
.hero-slides .slide.active { opacity: 1; }
.hero-slides .slide::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); }
.hero-content { position: relative; z-index: 2; color: var(--white); text-align: center; height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 20px; }
.hero-content h1 { color: var(--white); }
.info-bar { background-color: var(--light); padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.info-item { display: flex; align-items: center; gap: 16px; }
.info-item i { font-size: 24px; color: var(--primary); }
.filter-chips { display: flex; justify-content: center; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
.filter-chips .chip { padding: 10px 20px; border: 1px solid var(--border-color); border-radius: 100px; cursor: pointer; background: var(--white); font-weight: 700; transition: all .2s ease; }
.filter-chips .chip:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.filter-chips .chip.active { background: var(--primary); border-color: var(--primary); color: var(--white); }
.vehicles-grid .vehicle-card { display: block; }
.mission-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.mission-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }

/* --- Truck Rental Page Specifics --- */
.hero-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero-layout .hero-text { text-align: left; }
.hero-layout .hero-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-lg); }
.prices { background-color: var(--light); }
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.tab { padding: 10px 20px; border: 1px solid var(--border-color); border-radius: 100px; cursor: pointer; background: var(--white); font-weight: 700; font-size: 15px; transition: all .2s ease; }
.tab:hover { background-color: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.tab.active { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: var(--shadow); }
.card .pricing { text-align: center; margin-bottom: 16px; }
.card .pricing .price { font-size: 40px; font-weight: 900; color: var(--primary); line-height: 1; }
.card .pricing .price small { font-size: 16px; font-weight: 700; color: var(--gray); }
.card .pricing .period { font-size: 14px; color: var(--gray); margin-top: 4px; }
.sub-pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background-color: var(--border-color); border: 1px solid var(--border-color); border-radius: 8px; overflow: hidden; margin-bottom: 12px; text-align: center; }
.sub-pricing div { background-color: var(--white); padding: 12px 8px; font-size: 14px; font-weight: 700; }
.sub-pricing span { color: var(--primary); }
.extra { text-align: center; color: #ef4444; font-size: 13px; font-weight: 700; padding: 8px; background-color: #FEF2F2; border-radius: 6px; margin-bottom: 16px; }
.features { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border-color); }
.features h4 { font-size: 14px; margin: 0 0 12px; color: var(--gray); font-weight: 700; }
.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-group .chip { background: #EFF6FF; color: #3B82F6; font-size: 13px; font-weight: 700; border-radius: 999px; padding: 6px 12px; }
.desc { padding: 12px 16px; font-size: 13px; color: var(--gray); background: var(--light); border-radius: 8px; margin-top: 16px; }
.hidden { display: none !important; }

/* --- Contact Page --- */
.page-hero { background-color: var(--light); text-align: center; padding: clamp(40px, 6vw, 60px) 0; border-bottom: 1px solid var(--border-color); }
.page-hero h1 { font-size: clamp(32px, 5vw, 50px); margin: 0 0 10px; }
.page-hero p { font-size: 18px; color: var(--gray); max-width: 600px; margin: 0 auto; }
.contact-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-bottom: 60px; }
.contact-info-card { background: var(--white); padding: 32px; border-radius: 12px; text-align: center; box-shadow: var(--shadow); border: 1px solid var(--border-color); }
.contact-info-card i { font-size: 32px; color: var(--primary); margin-bottom: 16px; }
.contact-info-card h3 { font-size: 20px; margin: 0 0 8px; }
.contact-info-card p { margin: 0; color: var(--gray); }
.contact-form-section { background-color: var(--light); }
.contact-form-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.contact-form-container { background: var(--white); padding: 40px; border-radius: 12px; box-shadow: var(--shadow-lg); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 8px; color: var(--slate); }
.form-group input, .form-group textarea { width: 100%; padding: 12px 16px; border-radius: 8px; border: 1px solid var(--border-color); font-family: "Noto Sans TC", sans-serif; font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.3); }

/* --- Responsive --- */
@media (min-width: 992px) {
  .main-nav { display: block; }
  .mobile-nav-toggle { display: none; }
  .steps::before { display: block; }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .cta-wrap { flex-direction: row; text-align: left; }
  .hero-cta { flex-wrap: nowrap; }
}

@media (max-width: 991px) {
  .sticky-bar { display: block; }
  .floating-actions { bottom: 90px; }
}

@media (max-width: 768px) {
  .main-nav ul { display: none; }
  .mission-wrap, .contact-form-layout, .hero-layout { grid-template-columns: 1fr; }
  .hero-layout .hero-text { text-align: center; }
  .hero-cta { flex-direction: column; align-items: center; }
  .services-grid, .vehicles-grid { grid-template-columns: 1fr; }
  .usp-grid { grid-template-columns: 1fr; }
  .cta-actions { 
    flex-direction: column; 
    width: 100%; 
    gap: 15px;
  }
  .cta-actions .btn { 
    width: 100%; 
    max-width: 300px;
    margin: 0 auto;
  }
  .filter-chips { justify-content: center; }
  .header-cta .btn { display: none; }
  
  /* 手機版語言切換器調整 */
  .language-switcher { 
    order: -1 !important;
  }
  
  /* 確保手機版語言切換器也能正常顯示 */
  .lang-btn {
    min-width: 36px !important;
    padding: 5px 10px !important;
    font-size: 13px !important;
  }
}

/* --- 最新消息樣式 --- */
.news-section {
  padding: clamp(50px, 8vw, 90px) 0;
  background: var(--light);
}

.news-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--slate);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.news-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.news-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-card.priority-high {
  border-left: 4px solid #ef4444;
}

.news-card.priority-medium {
  border-left: 4px solid #f59e0b;
}

.news-card.priority-low {
  border-left: 4px solid #10b981;
}

.news-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-category {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(29, 78, 216, 0.9);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-header {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.news-summary {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray);
}

.news-urgent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ef4444;
  font-weight: 600;
}

.news-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.btn-read-more,
.btn-external {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-read-more {
  background: var(--primary);
  color: var(--white);
  flex: 1;
}

.btn-read-more:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-external {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-external:hover {
  background: var(--primary);
  color: var(--white);
}

/* 分頁樣式 */
.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--slate);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.page-btn:hover:not(:disabled) {
  border-color: var(--primary);
  color: var(--primary);
}

.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-ellipsis {
  padding: 0 0.5rem;
  color: var(--gray);
}

/* 無消息狀態 */
.no-news,
.news-error {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--gray);
}

.no-news i,
.news-error i {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.no-news p,
.news-error p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

/* 舊的模態框樣式已移除，使用下方統一的新聞模態框樣式 */

.modal-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.modal-category {
  background: var(--primary);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-weight: 600;
}

.modal-date {
  color: var(--gray);
}

.modal-image {
  width: 100%;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.modal-text {
  color: var(--slate);
  line-height: 1.7;
  font-size: 1rem;
}

.modal-actions {
  margin-top: 2rem;
  text-align: center;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .news-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .news-filter {
    gap: 0.5rem;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .news-card {
    margin: 0 auto;
    max-width: 400px;
  }
  
  .news-actions {
    flex-direction: column;
  }
  
  .news-modal {
    margin: 1rem;
    max-height: 90vh;
  }
  
  .modal-header,
  .modal-content {
    padding: 1.5rem;
  }
  
  .modal-header h2 {
    font-size: 1.25rem;
  }
}

/* 針對聯絡我們頁面的網格優化 */
.contact-info-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

@media (max-width: 768px) {
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
}

/* LINE 圖示顏色 */
.contact-info-card .fab.fa-line {
  color: #00B900;
}

/* --- Detailed Vehicle Card Styles --- */
.vehicle-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 48px;
  transition: all 0.3s ease;
}

.vehicle-detail-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.25);
}

.vehicle-header {
  background: linear-gradient(135deg, var(--light) 0%, var(--white) 100%);
  padding: 32px;
  border-bottom: 1px solid var(--border-color);
}

.vehicle-main-info {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 32px;
  align-items: center;
}

.vehicle-image-placeholder {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.vehicle-image-placeholder img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-image-placeholder:hover img {
  transform: scale(1.05);
}

.vehicle-info h3.vehicle-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}

.vehicle-slogan {
  color: var(--primary);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 24px;
  font-style: italic;
}

.vehicle-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(29, 78, 216, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(29, 78, 216, 0.1);
}

.spec-item i {
  color: var(--primary);
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.spec-item span {
  font-weight: 500;
  color: var(--dark);
  font-size: 14px;
}

.vehicle-content {
  padding: 32px;
}

.info-section {
  margin-bottom: 40px;
}

.info-section:last-of-type {
  margin-bottom: 32px;
}

.info-section h4 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--border-color);
}

.info-section h4 i {
  color: var(--primary);
  font-size: 18px;
}

.location-list {
  display: grid;
  gap: 16px;
}

.location-item {
  padding: 20px;
  background: var(--light);
  border-radius: 12px;
  border-left: 4px solid var(--primary);
}

.location-item strong {
  color: var(--dark);
}

.location-item small {
  color: var(--gray);
  font-size: 13px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

.price-item {
  padding: 24px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 16px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.price-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.price-label {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.9;
}

.price-value {
  font-size: 32px;
  font-weight: 900;
  margin-bottom: 8px;
  line-height: 1;
}

.price-value small {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
}

.price-note {
  font-size: 13px;
  opacity: 0.8;
}

.additional-fees {
  padding: 20px;
  background: rgba(251, 191, 36, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.2);
}

.additional-fees p {
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--dark);
}

.additional-fees p:last-child {
  margin-bottom: 0;
}

.interior-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.interior-image {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease;
}

.interior-image:hover {
  transform: translateY(-4px);
}

.interior-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.interior-image:hover img {
  transform: scale(1.1);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.equipment-category {
  background: var(--light);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
}

.equipment-category h5 {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--primary);
}

.equipment-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.equipment-category li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--slate);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  position: relative;
  padding-left: 20px;
}

.equipment-category li:last-child {
  border-bottom: none;
}

.equipment-category li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 12px;
}

.vehicle-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.vehicle-actions .btn {
  min-width: 180px;
  font-size: 16px;
  padding: 14px 28px;
}

/* Responsive Design for Vehicle Detail Cards */
@media (max-width: 768px) {
  .vehicle-main-info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .vehicle-header {
    padding: 24px 20px;
  }
  
  .vehicle-content {
    padding: 24px 20px;
  }
  
  .vehicle-specs-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .equipment-grid {
    grid-template-columns: 1fr;
  }
  
  .interior-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  
  .vehicle-actions {
    flex-direction: column;
  }
  
  .vehicle-actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .interior-gallery {
    grid-template-columns: 1fr;
  }
  
  .vehicle-detail-card {
    margin-bottom: 32px;
  }
}

/* === 新聞系統額外樣式 === */

/* 新聞篩選按鈕 */
.news-filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--white);
  border: 2px solid var(--border-color);
  border-radius: 25px;
  color: var(--slate);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.news-filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.news-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* 新聞項目 */
.news-item {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.news-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.news-item.featured {
  border-left: 4px solid var(--primary);
}

.news-item .news-image {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.news-item .news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}

.news-item .news-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.news-item .news-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.875rem;
}

.news-item .news-date {
  color: var(--gray);
}

.news-item .news-category {
  background: rgba(29, 78, 216, 0.1);
  color: var(--primary);
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
}

.news-item .news-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin: 0 0 0.75rem 0;
  line-height: 1.4;
}

.news-item .news-summary {
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.news-read-more:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* 分頁按鈕 */
.pagination-btn {
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid var(--border-color);
  color: var(--slate);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  margin: 0 0.25rem;
  border-radius: 8px;
}

.pagination-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.pagination-btn.active {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

/* 無新聞狀態 */
.no-news {
  text-align: center;
  padding: 3rem;
  color: var(--gray);
}

/* 新聞模態窗口 */
.news-modal {
  position: fixed;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10000;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1rem;
  margin: 0 !important;
  opacity: 0;
  transition: opacity 0.25s ease-out;
  pointer-events: none;
}

.news-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.news-modal.closing {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in;
}

.news-modal-content {
  background: var(--white);
  border-radius: 16px;
  max-width: 700px;
  width: calc(100% - 2rem);
  max-height: 85vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  animation: modalSlideIn 0.3s ease-out;
  margin: 0 auto;
  position: relative;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(-30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.news-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 2rem 2rem 1rem 2rem;
  border-bottom: 1px solid var(--border-color);
}

.news-modal-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
}

.news-modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  padding: 0.5rem;
  line-height: 1;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}

.news-modal-close:hover {
  color: var(--dark);
  background: var(--light);
  transform: rotate(90deg);
}

.news-modal-body {
  padding: 1.5rem 2rem;
}

.news-modal-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.875rem;
}

.news-modal-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

.news-modal-text {
  line-height: 1.8;
  color: var(--slate);
}

.news-modal-text p {
  margin-bottom: 1rem;
}

.news-modal-footer {
  padding: 1rem 2rem 2rem 2rem;
  border-top: 1px solid var(--border-color);
}

.news-modal-contact {
  width: 100%;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .news-modal {
    padding: 1rem;
  }
  
  .news-modal-content {
    max-height: 95vh;
  }
  
  .news-modal-header,
  .news-modal-body,
  .news-modal-footer {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
  
  .news-modal-header h2 {
    font-size: 1.25rem;
  }
}