/* ============================================
   美国包车网 | Easy Car Inc. - Main Stylesheet
   Premium Transportation Service
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #0a1628;
  --primary-light: #142240;
  --accent: #c9a96e;
  --accent-light: #dfc398;
  --secondary: #2980b9;
  --secondary-light: #3498db;
  --white: #ffffff;
  --off-white: #f8f6f3;
  --light-gray: #eee;
  --gray: #999;
  --dark-gray: #666;
  --text: #333;
  --text-light: #555;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
  --header-height: 70px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--accent); }
ul, ol { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* --- Header --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header-top {
  background: rgba(0,0,0,0.2);
  padding: 4px 0;
  font-size: 0.8rem;
  color: var(--accent-light);
}

.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top a { color: var(--accent-light); }
.header-top a:hover { color: var(--white); }

.header-main {
  padding: 0;
}

.header-main .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-height);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 700;
}

.logo .cn { color: var(--accent); }
.logo .en { font-size: 0.75rem; color: var(--gray); display: block; font-weight: 400; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu a {
  color: rgba(255,255,255,0.85);
  padding: 0 14px;
  height: var(--header-height);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  position: relative;
  transition: var(--transition);
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--accent);
  transition: var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--white);
  background: rgba(255,255,255,0.05);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 60%;
}

.header-cta {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 8px 20px !important;
  border-radius: 4px;
  font-weight: 600;
  height: auto !important;
}

.header-cta::after { display: none !important; }
.header-cta:hover { background: var(--accent-light); transform: translateY(-1px); }

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 550px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1a2d4a 50%, var(--primary-light) 100%);
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(201,169,110,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(41,128,185,0.1) 0%, transparent 50%);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top, var(--white), transparent);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero .subtitle {
  font-size: 1.2rem;
  color: var(--accent-light);
  margin-bottom: 30px;
  font-weight: 300;
}

.hero p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Inner hero (subpages) */
.hero-inner {
  min-height: 280px;
  text-align: left;
}

.hero-inner h1 { font-size: 2.2rem; }

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover {
  background: var(--accent-light);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(201,169,110,0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: var(--primary);
}

.btn-blue {
  background: var(--secondary);
  color: var(--white);
}
.btn-blue:hover {
  background: var(--secondary-light);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-sm { padding: 10px 22px; font-size: 0.9rem; }

/* --- Sections --- */
.section {
  padding: 70px 0;
}

.section-alt { background: var(--off-white); }
.section-dark { background: var(--primary); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 12px auto 0;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  color: var(--dark-gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-dark .section-header p { color: rgba(255,255,255,0.7); }

/* --- Service Cards --- */
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px 25px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.04);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent);
}

.service-card .icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent);
  transition: var(--transition);
}

.service-card:hover .icon {
  background: var(--accent);
  color: var(--primary);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.service-card p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* --- Fleet Cards --- */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

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

.fleet-card .card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--accent);
}

.fleet-card .card-body {
  padding: 20px;
}

.fleet-card h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.fleet-card .seats {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.fleet-card p {
  color: var(--text-light);
  font-size: 0.85rem;
}

/* --- Testimonials --- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--accent);
  transition: var(--transition);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
}

.testimonial-card .stars {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.7;
  position: relative;
  padding-left: 20px;
}

.testimonial-card .quote::before {
  content: '\201C';
  position: absolute;
  left: 0;
  top: -5px;
  font-size: 2rem;
  color: var(--accent);
  font-family: Georgia, serif;
}

.testimonial-card .author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.9rem;
}

.testimonial-card .author span {
  font-weight: 400;
  color: var(--gray);
  font-size: 0.8rem;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, #1a2d4a 100%);
  text-align: center;
  padding: 60px 0;
  color: var(--white);
}

.cta-section h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 25px;
  font-size: 1.05rem;
}

.cta-contacts {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cta-contacts .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
}

.cta-contacts .contact-item .label {
  color: var(--accent);
  font-size: 0.85rem;
}

/* --- Page Content Layout --- */
.page-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  padding: 50px 0;
}

.page-content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin: 35px 0 15px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.page-content h2:first-of-type { margin-top: 0; }

.page-content h3 {
  font-size: 1.2rem;
  color: var(--primary-light);
  margin: 25px 0 10px;
}

.page-content p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.page-content ul, .page-content ol {
  margin-bottom: 15px;
  padding-left: 20px;
}

.page-content ul li, .page-content ol li {
  margin-bottom: 8px;
  color: var(--text-light);
  line-height: 1.6;
  position: relative;
  padding-left: 15px;
}

.page-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.page-content ol { list-style: decimal; }
.page-content ol li::before { display: none; }

/* --- Sidebar --- */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  align-self: start;
}

.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 25px;
  margin-bottom: 25px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,0.04);
}

.sidebar-widget h3 {
  font-size: 1.05rem;
  color: var(--primary);
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sidebar-widget .info-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--text-light);
}

.sidebar-widget .info-item .icon-sm {
  color: var(--accent);
  font-size: 1rem;
  min-width: 20px;
  text-align: center;
}

.sidebar-widget .btn {
  width: 100%;
  margin-top: 5px;
}

.sidebar-nav a {
  display: block;
  padding: 10px 15px;
  color: var(--text);
  border-left: 3px solid transparent;
  transition: var(--transition);
  font-size: 0.9rem;
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  background: var(--off-white);
  border-left-color: var(--accent);
  color: var(--primary);
}

/* --- Pricing Table --- */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.9rem;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  overflow: hidden;
}

.pricing-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 15px;
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.pricing-table tbody td {
  padding: 12px 15px;
  border-bottom: 1px solid var(--light-gray);
}

.pricing-table tbody tr:nth-child(even) { background: var(--off-white); }
.pricing-table tbody tr:hover { background: #eef5fb; }

.pricing-table .price {
  color: var(--accent);
  font-weight: 600;
}

.pricing-table .highlight td {
  background: rgba(201,169,110,0.08);
}

/* --- Steps / Process --- */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 25px 0;
}

.step {
  text-align: center;
  padding: 25px 15px;
  position: relative;
}

.step .step-num {
  width: 45px;
  height: 45px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 12px;
}

.step h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.step p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* --- Vehicle Options --- */
.vehicle-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.vehicle-option {
  background: var(--off-white);
  padding: 25px;
  border-radius: var(--radius);
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.vehicle-option:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.vehicle-option h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.vehicle-option .capacity {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.vehicle-option p { font-size: 0.9rem; }

/* --- Itinerary --- */
.itinerary {
  margin: 20px 0;
  border-left: 3px solid var(--accent);
  padding-left: 25px;
}

.itinerary-day {
  margin-bottom: 25px;
}

.itinerary-day h3 {
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.itinerary-day h3 span {
  color: var(--primary);
  font-size: 0.9rem;
}

/* --- Advantages / Features Grid --- */
.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 20px 0;
}

.advantage-item {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius);
}

.advantage-item .adv-icon {
  font-size: 1.5rem;
  color: var(--accent);
  min-width: 40px;
  text-align: center;
}

.advantage-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.advantage-item p {
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  padding: 15px 0;
  font-size: 0.85rem;
  color: var(--gray);
}

.breadcrumbs a { color: var(--secondary); }
.breadcrumbs .sep { margin: 0 8px; color: var(--gray); }

/* --- Footer --- */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.7);
  padding-top: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-col h3 {
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-col .footer-logo {
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 15px;
}

.footer-col .footer-logo .cn { color: var(--accent); }

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-col .contact-info .item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.footer-col .contact-info .item .ico { color: var(--accent); min-width: 18px; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin: 25px 0;
}

.contact-card {
  background: var(--off-white);
  padding: 30px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid var(--light-gray);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow);
}

.contact-card .icon-lg {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 12px;
}

.contact-card h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-card .value {
  font-size: 1.2rem;
  color: var(--primary);
  font-weight: 600;
}

/* --- Payment Icons --- */
.payment-methods {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.payment-badge {
  background: var(--off-white);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid var(--light-gray);
}

/* --- Info Box --- */
.info-box {
  background: #eef5fb;
  border-left: 4px solid var(--secondary);
  padding: 20px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 20px 0;
}

.info-box.gold {
  background: rgba(201,169,110,0.08);
  border-left-color: var(--accent);
}

.info-box h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.info-box p { margin-bottom: 0; font-size: 0.9rem; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .service-grid, .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .page-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .hero { min-height: 400px; }
  .hero-inner { min-height: 220px; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--primary);
    flex-direction: column;
    padding: 10px 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  }

  .nav-menu.active { display: flex; }

  .nav-menu a {
    height: auto;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .nav-menu a::after { display: none; }

  .menu-toggle { display: flex; }

  .service-grid { grid-template-columns: 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .advantages-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }

  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.6rem; }

  .cta-contacts { flex-direction: column; gap: 15px; align-items: center; }

  .pricing-table { font-size: 0.8rem; }
  .pricing-table thead th, .pricing-table tbody td { padding: 8px 10px; }

  .header-top { display: none; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .fleet-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .steps { grid-template-columns: 1fr 1fr; }
}

/* --- Utility --- */
.text-accent { color: var(--accent); }
.text-center { text-align: center; }
.mb-20 { margin-bottom: 20px; }
.mb-30 { margin-bottom: 30px; }
.mt-20 { margin-top: 20px; }
.mt-30 { margin-top: 30px; }

/* Smooth gold line animation */
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.accent-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  background-size: 200% 100%;
  animation: shimmer 3s infinite;
}
