/* CSS Variables */
:root {
  --red: #C41E3A;
  --red-light: #D43A4E;
  --red-dark: #A01630;
  --gold: #D4A843;
  --gold-light: #E4C060;
  --blue: #1E6FA0;
  --sky: #4A90D9;
  --bg: #FDF8F0;
  --card-bg: #FFFFFF;
  --text: #2C2C2C;
  --text-light: #666;
  --border: #E8E0D0;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 6px 30px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: 0.3s ease;
  --font: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.6; }
a { text-decoration: none; color: var(--blue); }
a:hover { color: var(--red); }
img { max-width: 100%; height: auto; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Nav */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: 64px;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(10px);
  z-index: 1000; border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); }
.nav-container { display: flex; align-items: center; height: 64px; gap: 2rem; }
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  font-size: 1.3rem; font-weight: 700; color: var(--red);
}
.nav-logo i { font-size: 1.5rem; }
.nav-menu { display: flex; gap: 1.5rem; list-style: none; flex:1; }
.nav-link {
  font-size: 0.95rem; color: var(--text); font-weight: 500;
  padding: 4px 0; border-bottom: 2px solid transparent; transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--red); border-bottom-color: var(--red); }
.nav-phone {
  display: flex; align-items: center; gap: 6px;
  background: var(--red); color: #fff; padding: 8px 16px;
  border-radius: 20px; font-weight: 600; font-size: 0.95rem;
  white-space: nowrap;
}
.nav-phone:hover { background: var(--red-dark); color: #fff; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* Hero */
.hero {
  position: relative; min-height: 85vh; display: flex; align-items: center;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  overflow: hidden; margin-top: 64px;
}
.hero::before {
  content: ''; position: absolute; top:0; left:0; right:0; bottom:0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 900"><path fill="rgba(255,255,255,0.03)" d="M0,600L120,550C240,500,480,400,720,450C960,500,1200,700,1320,750L1440,800L1440,900L0,900Z"/></svg>') bottom/cover no-repeat;
}
.hero-overlay {
  position: absolute; top:0; left:0; right:0; bottom:0;
  background: url('https://images.unsplash.com/photo-1589639860487-9b3c66c1b19f?w=1200&q=80') center/cover;
  opacity: 0.2;
}
.hero-content { position: relative; z-index: 2; text-align: center; padding: 60px 20px; }
.hero h1 { font-size: 3rem; color: #fff; font-weight: 700; margin-bottom: 1rem; line-height: 1.3; }
.hero-subtitle { font-size: 1.2rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.hero-features {
  display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem;
}
.hero-features span { color: rgba(255,255,255,0.9); font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.hero-features i { color: var(--gold); }
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 30px; font-size: 1rem; font-weight: 600;
  transition: var(--transition); cursor: pointer; border: none;
}
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); color:#fff; }
.btn-secondary { background: rgba(255,255,255,0.15); color: #fff; backdrop-filter: blur(4px); border: 1px solid rgba(255,255,255,0.3); }
.btn-secondary:hover { background: rgba(255,255,255,0.25); color: #fff; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); }
.btn-outline:hover { background: var(--red); color: #fff; }

/* Sections */
.section { padding: 80px 0; }
.section-title {
  text-align: center; font-size: 2rem; font-weight: 700; color: var(--text); margin-bottom: 0.8rem;
}
.section-subtitle {
  text-align: center; font-size: 1.05rem; color: var(--text-light); margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto;
}

/* Stats */
.stats { background: linear-gradient(135deg, var(--red), var(--red-dark)); padding: 60px 0; }
.stats-grid { display: flex; justify-content: space-around; gap: 2rem; flex-wrap: wrap; }
.stat-item { text-align: center; color: #fff; }
.stat-num { font-size: 3rem; font-weight: 700; line-height: 1.2; }
.stat-label { font-size: 1rem; opacity: 0.9; }

/* Vehicle Grid */
.vehicle-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.vehicle-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 2rem 1.5rem;
  text-align: center; box-shadow: var(--shadow); transition: var(--transition);
  position: relative;
}
.vehicle-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.vehicle-card.featured { border: 2px solid var(--gold); }
.vehicle-badge {
  position: absolute; top: -12px; right: 20px;
  background: var(--gold); color: #fff; padding: 4px 16px; border-radius: 20px; font-size: 0.85rem; font-weight: 600;
}
.vehicle-icon { font-size: 2.5rem; color: var(--red); margin-bottom: 1rem; }
.vehicle-price { font-size: 1.6rem; font-weight: 700; color: var(--red); margin: 0.5rem 0; }
.vehicle-card ul { list-style: none; text-align: left; padding: 0; }
.vehicle-card ul li { padding: 4px 0; font-size: 0.9rem; color: var(--text-light); }
.vehicle-card ul li::before { content: '✓ '; color: var(--red); }

/* Lines Carousel */
.lines-carousel { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.line-card {
  background: var(--card-bg); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: var(--transition); cursor: pointer;
}
.line-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.line-card-image {
  height: 180px; position: relative; overflow: hidden;
}
.line-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.line-card:hover img { transform: scale(1.05); }
.line-card-body { padding: 1.2rem 1.5rem; }
.line-card-body h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 6px; }
.line-card-body .meta { font-size: 0.85rem; color: var(--text-light); }
.line-card-body .price { font-size: 1.15rem; font-weight: 700; color: var(--red); margin-top: 6px; }

/* Advantages */
.advantages { background: var(--card-bg); }
.advantages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.advantage-item {
  text-align: center; padding: 2rem 1.5rem; border-radius: var(--radius);
  transition: var(--transition);
}
.advantage-item:hover { background: var(--bg); }
.advantage-item i { font-size: 2.5rem; color: var(--red); margin-bottom: 1rem; }
.advantage-item h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; }
.advantage-item p { font-size: 0.92rem; color: var(--text-light); }

/* Testimonials */
.testimonials { background: var(--bg); }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.testimonial-card {
  background: var(--card-bg); padding: 2rem; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.testimonial-card .stars { color: var(--gold); font-size: 1.2rem; margin-bottom: 0.8rem; }
.testimonial-card p { font-size: 0.95rem; color: var(--text); line-height: 1.7; margin-bottom: 1rem; }
.testimonial-author { font-size: 0.85rem; color: var(--text-light); font-style: italic; }

/* CTA */
.cta-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  text-align: center; color: #fff; padding: 60px 0;
}
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { font-size: 1.1rem; opacity: 0.9; margin-top: 0.5rem; }

/* Footer */
.footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 20px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-col h4 { color: #fff; font-size: 1.05rem; margin-bottom: 1rem; }
.footer-col p { font-size: 0.9rem; line-height: 1.6; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-phone { margin-top: 8px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 20px;
  text-align: center; font-size: 0.85rem;
}
.footer-bottom a { color: var(--gold); }

/* Float Phone */
.float-phone {
  position: fixed; bottom: 30px; right: 30px;
  background: var(--red); color: #fff; width: 60px; height: 60px;
  border-radius: 50%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 4px 15px rgba(196,30,58,0.4); z-index: 999;
  animation: pulse 2s infinite; cursor: pointer;
  font-size: 0.65rem; font-weight: 600;
}
.float-phone i { font-size: 1.2rem; }
@keyframes pulse { 0% { box-shadow: 0 4px 15px rgba(196,30,58,0.4); } 50% { box-shadow: 0 4px 25px rgba(196,30,58,0.7); } 100% { box-shadow: 0 4px 15px rgba(196,30,58,0.4); } }

/* Page Inner */
.page-hero {
  background: linear-gradient(135deg, var(--red), var(--red-dark));
  padding: 100px 0 60px; margin-top: 64px; text-align: center; color: #fff;
}
.page-hero h1 { font-size: 2.2rem; font-weight: 700; }
.page-hero p { font-size: 1.05rem; opacity: 0.9; margin-top: 0.5rem; }

/* Detail Page */
.detail-section { padding: 60px 0; }
.detail-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 2.5rem;
  box-shadow: var(--shadow); margin-bottom: 2rem;
}
.detail-card h2 { font-size: 1.3rem; color: var(--red); margin-bottom: 1rem; }
.detail-card p { line-height: 1.8; color: var(--text); }
.itinerary-list { counter-reset: day; }
.itinerary-item {
  padding: 1rem 0; border-bottom: 1px solid var(--border);
  counter-increment: day;
}
.itinerary-item::before { content: "Day " counter(day) ": "; font-weight: 700; color: var(--red); }
.itinerary-item h4 { display: inline; font-weight: 600; }
.itinerary-item p { margin-top: 4px; padding-left: 2rem; color: var(--text-light); font-size: 0.92rem; }
.tag-list { display: flex; gap: 8px; flex-wrap: wrap; margin: 1rem 0; }
.tag { background: var(--bg); padding: 4px 12px; border-radius: 20px; font-size: 0.8rem; color: var(--text-light); }

/* Lines list page */
.line-detail-header { text-align: center; padding: 40px 0; }
.line-detail-header h1 { font-size: 1.8rem; }
.line-detail-header .line-meta { display: flex; justify-content: center; gap: 2rem; flex-wrap: wrap; margin-top: 1rem; }
.line-detail-header .line-meta span { font-size: 0.95rem; color: var(--text-light); }

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
  background: var(--card-bg); border-radius: var(--radius-sm); margin-bottom: 1rem;
  box-shadow: var(--shadow); overflow: hidden;
}
.faq-question {
  padding: 1.2rem 1.5rem; font-weight: 600; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; transition: var(--transition);
}
.faq-question:hover { background: var(--bg); }
.faq-question i { transition: transform 0.3s; }
.faq-item.open .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 1.5rem 1.2rem; display: none; line-height: 1.7; color: var(--text-light); }
.faq-item.open .faq-answer { display: block; }

/* Guide cards */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; }
.guide-card {
  background: var(--card-bg); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow);
  transition: var(--transition);
}
.guide-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.guide-card h3 { font-size: 1.1rem; margin-bottom: 0.8rem; color: var(--red); }
.guide-card p { font-size: 0.92rem; color: var(--text-light); line-height: 1.7; }
.guide-card ul { margin-top: 0.5rem; padding-left: 1.2rem; }
.guide-card ul li { font-size: 0.9rem; color: var(--text); margin-bottom: 4px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 3rem; }
.contact-info-card { background: var(--card-bg); padding: 2rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.contact-info-card h3 { margin-bottom: 1.5rem; color: var(--red); }
.contact-item { display: flex; gap: 1rem; margin-bottom: 1.2rem; }
.contact-item i { font-size: 1.3rem; color: var(--red); min-width: 30px; }
.contact-item div { font-size: 0.95rem; }
.contact-item .label { font-size: 0.8rem; color: var(--text-light); }

/* Price page */
.price-table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.price-table th, .price-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); }
.price-table th { background: var(--red); color: #fff; font-weight: 600; }
.price-table tr:hover { background: var(--bg); }
.price-highlight { color: var(--red); font-weight: 700; }

/* Breadcrumb */
.breadcrumb { padding: 1rem 0; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb span { color: var(--text); }

/* Mobile */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-menu {
    display: none; position: absolute; top: 64px; left: 0; right: 0;
    background: rgba(255,255,255,0.98); flex-direction: column; padding: 1rem 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  }
  .nav-menu.open { display: flex; }
  .nav-phone { display: none; }
  .hero h1 { font-size: 2rem; }
  .hero-features { gap: 1rem; }
  .hero-features span { font-size: 0.85rem; }
  .hero-cta { flex-direction: column; align-items: center; }
  .stat-num { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .page-hero h1 { font-size: 1.6rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .detail-card { padding: 1.5rem; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .vehicle-grid { grid-template-columns: 1fr; }
  .lines-carousel { grid-template-columns: 1fr; }
}
