/* ========================================
   三亚包车网 - 主样式表
   Prefix: sc- (三亚包车)
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  font-size: 16px; line-height: 1.6; color: #333; background: #f8f9fa;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-title {
  font-size: 2rem; font-weight: 700; text-align: center; margin-bottom: 0.5rem;
  color: #1a1a2e;
}
.section-subtitle {
  text-align: center; color: #666; margin-bottom: 3rem; font-size: 1.05rem;
}

/* --- Buttons --- */
.sc-btn {
  display: inline-block; padding: 12px 32px; border-radius: 8px;
  font-weight: 600; font-size: 1rem; cursor: pointer; transition: all 0.3s;
  border: none; text-align: center;
}
.sc-btn-primary { background: linear-gradient(135deg, #e63946, #d62828); color: #fff; }
.sc-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(230,57,70,0.4); }
.sc-btn-outline { background: transparent; color: #e63946; border: 2px solid #e63946; }
.sc-btn-outline:hover { background: #e63946; color: #fff; }
.sc-btn-white { background: #fff; color: #e63946; }
.sc-btn-white:hover { background: #f0f0f0; }

/* --- Navigation --- */
.sc-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(26,26,46,0.95); backdrop-filter: blur(10px);
  padding: 0 20px; transition: all 0.3s;
}
.sc-nav-inner {
  max-width: 1200px; margin: 0 auto; display: flex;
  align-items: center; justify-content: space-between; height: 70px;
}
.sc-logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: #fff; }
.sc-logo i { color: #e63946; font-size: 1.6rem; }
.sc-nav-links { display: flex; gap: 28px; }
.sc-nav-links a {
  color: rgba(255,255,255,0.85); font-size: 0.95rem; font-weight: 500;
  transition: color 0.3s; position: relative;
}
.sc-nav-links a:hover, .sc-nav-links a.active { color: #e63946; }
.sc-nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 2px; background: #e63946; border-radius: 2px;
}
.sc-nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 1.5rem; cursor: pointer; }

/* --- Hero --- */
.sc-hero {
  position: relative; height: 60vh; min-height: 400px; display: flex;
  align-items: center; justify-content: center; text-align: center;
  background-size: cover; background-position: center; margin-top: 70px;
}
.sc-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.8) 0%, rgba(0,0,0,0.5) 100%);
}
.sc-hero-content { position: relative; z-index: 1; color: #fff; max-width: 800px; padding: 0 20px; }
.sc-hero-content h1 { font-size: 3rem; font-weight: 800; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.sc-hero-content p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 2rem; }
.sc-hero-sm { height: 40vh; min-height: 300px; }
.sc-hero-sm h1 { font-size: 2.5rem; }

/* --- Page Header (non-hero pages) --- */
.sc-page-header {
  margin-top: 70px; padding: 60px 0 40px;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); color: #fff; text-align: center;
}
.sc-page-header h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 0.5rem; }
.sc-page-header p { opacity: 0.85; font-size: 1.05rem; }

/* --- Cards --- */
.sc-card {
  background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: all 0.3s;
}
.sc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.sc-card-img { width: 100%; height: 200px; object-fit: cover; }
.sc-card-body { padding: 24px; }
.sc-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: #1a1a2e; }
.sc-card-body p { color: #666; font-size: 0.95rem; line-height: 1.6; }
.sc-card-body .sc-card-icon { font-size: 2rem; color: #e63946; margin-bottom: 12px; }
.sc-card-tag {
  display: inline-block; padding: 4px 12px; border-radius: 20px;
  background: #fff1f1; color: #e63946; font-size: 0.8rem; font-weight: 600;
}

/* --- Grid --- */
.sc-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.sc-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 30px; }
.sc-grid-4 { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 24px; }

/* --- Timeline --- */
.sc-timeline { position: relative; padding-left: 40px; max-width: 700px; margin: 0 auto; }
.sc-timeline::before {
  content: ''; position: absolute; left: 15px; top: 0; bottom: 0;
  width: 3px; background: linear-gradient(to bottom, #e63946, #1a1a2e); border-radius: 3px;
}
.sc-timeline-item { position: relative; margin-bottom: 40px; padding-left: 30px; }
.sc-timeline-item::before {
  content: ''; position: absolute; left: -29px; top: 4px;
  width: 14px; height: 14px; border-radius: 50%; background: #e63946;
  border: 3px solid #fff; box-shadow: 0 0 0 3px #e63946;
}
.sc-timeline-year { font-size: 1.1rem; font-weight: 800; color: #e63946; margin-bottom: 6px; }
.sc-timeline-text { color: #555; font-size: 0.95rem; }

/* --- Stats --- */
.sc-stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px; text-align: center; padding: 40px 0;
}
.sc-stat-item h3 { font-size: 2.5rem; font-weight: 800; color: #e63946; }
.sc-stat-item p { color: #666; font-weight: 500; margin-top: 4px; }

/* --- FAQ --- */
.sc-faq-item {
  background: #fff; border-radius: 10px; margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); overflow: hidden;
}
.sc-faq-question {
  padding: 18px 24px; cursor: pointer; display: flex;
  justify-content: space-between; align-items: center;
  font-weight: 600; color: #1a1a2e; transition: background 0.3s;
}
.sc-faq-question:hover { background: #fafafa; }
.sc-faq-question i { transition: transform 0.3s; color: #e63946; }
.sc-faq-item.active .sc-faq-question i { transform: rotate(180deg); }
.sc-faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.3s;
  padding: 0 24px; color: #666; font-size: 0.95rem; line-height: 1.7;
}
.sc-faq-item.active .sc-faq-answer {
  max-height: 500px; padding: 0 24px 18px;
}

/* --- Review --- */
.sc-review-card {
  background: #fff; border-radius: 12px; padding: 28px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); margin-bottom: 20px;
}
.sc-review-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.sc-review-avatar {
  width: 48px; height: 48px; border-radius: 50%; object-fit: cover;
}
.sc-review-name { font-weight: 700; color: #1a1a2e; }
.sc-review-date { font-size: 0.8rem; color: #999; }
.sc-review-stars { color: #fbbf24; font-size: 0.9rem; margin: 6px 0; }
.sc-review-text { color: #555; line-height: 1.7; }
.sc-review-tag {
  display: inline-block; padding: 3px 10px; border-radius: 15px;
  background: #e8f5e9; color: #2e7d32; font-size: 0.78rem; font-weight: 600; margin-top: 8px;
}

/* --- Rating Distribution --- */
.sc-rating-dist { max-width: 400px; margin: 0 auto; }
.sc-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.sc-rating-label { min-width: 50px; font-size: 0.9rem; color: #666; }
.sc-rating-bar { flex: 1; height: 10px; background: #eee; border-radius: 5px; overflow: hidden; }
.sc-rating-fill { height: 100%; background: linear-gradient(90deg, #fbbf24, #f59e0b); border-radius: 5px; }

/* --- Contact Cards --- */
.sc-contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sc-contact-card {
  background: #fff; border-radius: 12px; padding: 32px; text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: all 0.3s;
}
.sc-contact-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.sc-contact-card i { font-size: 2.5rem; color: #e63946; margin-bottom: 16px; }
.sc-contact-card h3 { font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.sc-contact-card p { color: #666; font-size: 1.05rem; }
.sc-contact-card a { color: #e63946; font-weight: 600; }
.sc-contact-card a:hover { text-decoration: underline; }

/* --- Forms --- */
.sc-form { max-width: 650px; margin: 0 auto; }
.sc-form-group { margin-bottom: 20px; }
.sc-form-group label { display: block; font-weight: 600; margin-bottom: 6px; color: #1a1a2e; }
.sc-form-group input,
.sc-form-group textarea,
.sc-form-group select {
  width: 100%; padding: 12px 16px; border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 1rem; font-family: inherit; transition: border-color 0.3s; background: #fff;
}
.sc-form-group input:focus,
.sc-form-group textarea:focus,
.sc-form-group select:focus { outline: none; border-color: #e63946; }
.sc-form-group textarea { min-height: 120px; resize: vertical; }
.sc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Search & Filter --- */
.sc-search-bar {
  display: flex; gap: 12px; max-width: 600px; margin: 0 auto 30px;
}
.sc-search-bar input {
  flex: 1; padding: 12px 18px; border: 2px solid #e0e0e0; border-radius: 8px;
  font-size: 1rem; transition: border-color 0.3s;
}
.sc-search-bar input:focus { outline: none; border-color: #e63946; }
.sc-filter-tabs {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: 30px;
}
.sc-filter-tab {
  padding: 8px 20px; border-radius: 25px; background: #fff; border: 2px solid #e0e0e0;
  font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.3s; color: #666;
}
.sc-filter-tab:hover, .sc-filter-tab.active {
  background: #e63946; color: #fff; border-color: #e63946;
}

/* --- Success Page --- */
.sc-success-wrapper {
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 40px 20px;
}
.sc-success-icon { font-size: 5rem; color: #22c55e; margin-bottom: 20px; }
.sc-success-title { font-size: 2rem; font-weight: 800; color: #1a1a2e; margin-bottom: 10px; }
.sc-success-text { color: #666; font-size: 1.1rem; margin-bottom: 30px; }
.sc-countdown { color: #e63946; font-weight: 700; font-size: 1.2rem; }

/* --- Destination Highlights --- */
.sc-highlights-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.sc-highlight-card {
  background: #fff; border-radius: 12px; padding: 28px; text-align: center;
  box-shadow: 0 2px 15px rgba(0,0,0,0.06); transition: all 0.3s;
}
.sc-highlight-card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.sc-highlight-card i { font-size: 2.5rem; color: #e63946; margin-bottom: 14px; }
.sc-highlight-card h3 { font-weight: 700; margin-bottom: 8px; color: #1a1a2e; }
.sc-highlight-card p { color: #666; font-size: 0.92rem; line-height: 1.6; }

/* --- Season Badge --- */
.sc-season-info {
  background: linear-gradient(135deg, #fff9f0, #ffedd5);
  border-radius: 12px; padding: 32px; text-align: center; max-width: 600px; margin: 0 auto;
}
.sc-season-info i { font-size: 2.5rem; color: #f59e0b; margin-bottom: 12px; }
.sc-season-info h3 { font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.sc-season-info p { color: #666; }

/* --- Related --- */
.sc-related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

/* --- Footer --- */
.sc-footer {
  background: #1a1a2e; color: rgba(255,255,255,0.7); padding: 60px 0 0;
}
.sc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.sc-footer-brand h3 { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 12px; }
.sc-footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.sc-footer h4 { color: #fff; font-weight: 700; margin-bottom: 16px; font-size: 1.05rem; }
.sc-footer ul li { margin-bottom: 10px; }
.sc-footer ul li a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: color 0.3s; }
.sc-footer ul li a:hover { color: #e63946; }
.sc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; text-align: center; font-size: 0.85rem;
}

/* --- Breadcrumb --- */
.sc-breadcrumb {
  margin-top: 70px; padding: 16px 0; background: #f1f3f5;
}
.sc-breadcrumb a { color: #e63946; font-size: 0.9rem; }
.sc-breadcrumb a:hover { text-decoration: underline; }
.sc-breadcrumb span { color: #999; font-size: 0.9rem; }

/* --- Star Rating Input --- */
.sc-star-input { display: flex; flex-direction: row-reverse; gap: 4px; justify-content: flex-end; }
.sc-star-input input { display: none; }
.sc-star-input label {
  font-size: 1.8rem; color: #ddd; cursor: pointer; transition: color 0.2s;
}
.sc-star-input input:checked ~ label,
.sc-star-input label:hover,
.sc-star-input label:hover ~ label { color: #fbbf24; }

/* --- Page-specific hero variants --- */
.sc-hero-about { background-image: url('https://images.unsplash.com/photo-1540202404-a2f29016b523?w=1600&q=80'); }
.sc-hero-reviews { background-image: url('https://images.unsplash.com/photo-1553532434-5ab5e2af9459?w=1600&q=80'); }
.sc-hero-contact { background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80'); }
.sc-hero-faq { background-image: url('https://images.unsplash.com/photo-1553877522-43269d4ea984?w=1600&q=80'); }
.sc-hero-sanya { background-image: url('https://images.unsplash.com/photo-1560703650-ef3e0f254ae0?w=1600&q=80'); }
.sc-hero-lingshui { background-image: url('https://images.unsplash.com/photo-1590523277543-a94d2e4eb00b?w=1600&q=80'); }
.sc-hero-wanning { background-image: url('https://images.unsplash.com/photo-1507525428034-b723cf961d3e?w=1600&q=80'); }
.sc-hero-qionghai { background-image: url('https://images.unsplash.com/photo-1576013551627-0cc20b0c2e2e?w=1600&q=80'); }
.sc-hero-wuzhishan { background-image: url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1600&q=80'); }
.sc-hero-haikou { background-image: url('https://images.unsplash.com/photo-1578894381163-e7204b2f3542?w=1600&q=80'); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .sc-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .sc-nav-toggle { display: block; }
  .sc-nav-links {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: rgba(26,26,46,0.98); flex-direction: column; padding: 20px;
    gap: 16px; border-top: 1px solid rgba(255,255,255,0.1);
  }
  .sc-nav-links.open { display: flex; }
  .sc-hero { height: 50vh; min-height: 320px; }
  .sc-hero-content h1 { font-size: 2rem; }
  .sc-hero-content p { font-size: 1rem; }
  .sc-hero-sm h1 { font-size: 1.8rem; }
  .section { padding: 50px 0; }
  .section-title { font-size: 1.6rem; }
  .sc-grid-2, .sc-grid-3, .sc-grid-4 { grid-template-columns: 1fr; }
  .sc-related-grid { grid-template-columns: 1fr; }
  .sc-form-row { grid-template-columns: 1fr; }
  .sc-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .sc-search-bar { flex-direction: column; }
  .sc-page-header h1 { font-size: 1.6rem; }
  .sc-stat-item h3 { font-size: 2rem; }
}
@media (max-width: 480px) {
  .sc-hero-content h1 { font-size: 1.6rem; }
  .sc-hero-sm h1 { font-size: 1.4rem; }
  .sc-card-body { padding: 18px; }
}
