/* weihai.shuduhu.com - 君爱悦威海旅游包车 公共样式 */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {

  --main: #0a6ebd;

  --main-dark: #085a9c;

  --accent: #ff8c1a;

  --accent-dark: #e67e00;

  --bg: #f5f8fb;

  --card: #ffffff;

  --text: #2b3a4a;

  --text-light: #6b7c8d;

  --green: #1fae6e;

  --shadow: 0 4px 16px rgba(10, 110, 189, .10);

}

body { font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif; color: var(--text); background: var(--bg); line-height: 1.7; }

a { text-decoration: none; color: inherit; }

img { max-width: 100%; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }



/* 顶部 */

.topbar { background: #063a63; color: #cfe6f7; font-size: 13px; }

.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 34px; }

.topbar a { color: #ffd27a; }

header.site-header { background: linear-gradient(135deg, #0a6ebd, #063a63); color: #fff; }

.header-main { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }

.brand { display: flex; align-items: center; gap: 14px; }

.brand-logo { width: 52px; height: 52px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: bold; color: #fff; }

.brand-name { font-size: 26px; font-weight: bold; letter-spacing: 2px; }

.brand-sub { font-size: 12px; opacity: .85; letter-spacing: 1px; }

.header-tel { text-align: right; }

.header-tel .label { font-size: 12px; opacity: .85; }

.header-tel .num { font-size: 26px; font-weight: bold; color: #ffd27a; letter-spacing: 1px; }

nav.main-nav { background: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 99; }

nav.main-nav ul { display: flex; list-style: none; }

nav.main-nav ul li a { display: block; padding: 15px 26px; font-size: 16px; font-weight: bold; color: var(--text); border-bottom: 3px solid transparent; }

nav.main-nav ul li a:hover, nav.main-nav ul li a.active { color: var(--main); border-bottom-color: var(--accent); }



/* Hero */

.hero { background: linear-gradient(rgba(6,58,99,.72), rgba(6,58,99,.72)), linear-gradient(135deg, #0a6ebd, #1c8fd6); color: #fff; padding: 70px 0 60px; text-align: center; }

.hero h1 { font-size: 40px; letter-spacing: 3px; margin-bottom: 14px; }

.hero p { font-size: 17px; opacity: .92; max-width: 760px; margin: 0 auto 26px; }

.hero-stats { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; margin-top: 34px; }

.hero-stats .stat .num { font-size: 34px; font-weight: bold; color: #ffd27a; }

.hero-stats .stat .label { font-size: 13px; opacity: .85; }

.btn { display: inline-block; padding: 12px 34px; border-radius: 4px; font-size: 16px; font-weight: bold; cursor: pointer; border: none; }

.btn-accent { background: var(--accent); color: #fff; }

.btn-accent:hover { background: var(--accent-dark); }

.btn-main { background: var(--main); color: #fff; }

.btn-outline { border: 1px solid #fff; color: #fff; }



/* 预约表单 */

.booking { margin: -34px auto 0; position: relative; z-index: 5; }

.booking-box { background: var(--card); border-radius: 10px; box-shadow: var(--shadow); padding: 26px 30px; }

.booking-box h3 { font-size: 20px; margin-bottom: 18px; color: var(--main-dark); }

.booking-form { display: flex; flex-wrap: wrap; gap: 14px; }

.booking-form .field { flex: 1; min-width: 160px; }

.booking-form label { display: block; font-size: 13px; color: var(--text-light); margin-bottom: 6px; }

.booking-form input, .booking-form select, .booking-form textarea { width: 100%; padding: 10px 12px; border: 1px solid #d6e2ec; border-radius: 4px; font-size: 14px; font-family: inherit; }



/* 通用区块 */

section { padding: 56px 0; }

section.alt { background: #fff; }

.sec-head { text-align: center; margin-bottom: 38px; }

.sec-head h2 { font-size: 30px; color: var(--main-dark); letter-spacing: 2px; }

.sec-head .line { width: 60px; height: 4px; background: var(--accent); margin: 12px auto 0; border-radius: 2px; }

.sec-head p { color: var(--text-light); margin-top: 12px; font-size: 15px; }



/* 服务特色 */

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.feature { background: var(--card); border-radius: 10px; padding: 30px 22px; text-align: center; box-shadow: var(--shadow); }

.feature .icon { font-size: 36px; margin-bottom: 12px; }

.feature h3 { font-size: 18px; margin-bottom: 10px; color: var(--main-dark); }

.feature p { font-size: 14px; color: var(--text-light); }



/* 车型卡片 */

.cars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.car-card { background: var(--card); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); transition: transform .2s; }

.car-card:hover { transform: translateY(-4px); }

.car-img { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 15px; color: #fff; font-weight: bold; letter-spacing: 2px; }

.car-img.sedan { background: linear-gradient(135deg, #34526e, #5b7d9e); }

.car-img.suv { background: linear-gradient(135deg, #0a6ebd, #1c8fd6); }

.car-img.mpv { background: linear-gradient(135deg, #117a6b, #2aa793); }

.car-img.bus { background: linear-gradient(135deg, #b06a1e, #e0913c); }

.car-body { padding: 20px 22px; }

.car-body h3 { font-size: 19px; margin-bottom: 8px; }

.car-body .specs { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }

.car-body .price { font-size: 20px; font-weight: bold; color: var(--accent); margin-bottom: 14px; }

.car-body .price small { font-size: 12px; color: var(--text-light); font-weight: normal; }

.tag { display: inline-block; font-size: 12px; color: #fff; background: var(--accent); border-radius: 3px; padding: 2px 8px; margin-left: 8px; vertical-align: middle; }

.tag.blue { background: var(--main); }

.tag.green { background: var(--green); }



/* 路线卡片 */

.routes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.route-card { background: var(--card); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); border-left: 5px solid var(--main); }

.route-card h3 { font-size: 19px; color: var(--main-dark); margin-bottom: 10px; }

.route-card .meta { font-size: 13px; color: var(--text-light); margin-bottom: 10px; }

.route-card .meta span { margin-right: 16px; }

.route-card p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }

.route-card .price { font-weight: bold; color: var(--accent); font-size: 17px; margin-right: 18px; }



/* 价格表 */

.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }

.price-table th { background: var(--main); color: #fff; padding: 14px 12px; font-size: 15px; }

.price-table td { padding: 13px 12px; border-bottom: 1px solid #eaf1f7; font-size: 14px; text-align: center; }

.price-table tr:hover td { background: #f2f8fd; }

.price-table td.hl { color: var(--accent); font-weight: bold; }



/* 流程 */

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

.step { background: var(--card); border-radius: 10px; padding: 28px 20px; text-align: center; box-shadow: var(--shadow); position: relative; }

.step .no { width: 44px; height: 44px; line-height: 44px; border-radius: 50%; background: var(--main); color: #fff; font-weight: bold; font-size: 18px; margin: 0 auto 14px; }

.step h3 { font-size: 17px; margin-bottom: 8px; }

.step p { font-size: 13px; color: var(--text-light); }



/* 评价 */

.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.review { background: var(--card); border-radius: 10px; padding: 26px; box-shadow: var(--shadow); }

.review .stars { color: #ffb400; margin-bottom: 10px; }

.review p { font-size: 14px; color: var(--text-light); margin-bottom: 14px; }

.review .who { font-size: 13px; font-weight: bold; }

.review .who span { color: var(--text-light); font-weight: normal; margin-left: 8px; }



/* 文章/资讯列表 */

.article-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.article-card { background: var(--card); border-radius: 10px; padding: 24px; box-shadow: var(--shadow); }

.article-card .date { font-size: 12px; color: var(--text-light); margin-bottom: 8px; }

.article-card h3 { font-size: 17px; margin-bottom: 10px; line-height: 1.5; }

.article-card h3 a { color: var(--text); }

.article-card h3 a:hover { color: var(--main); }

.article-card p { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }

.article-card .more { font-size: 13px; color: var(--main); font-weight: bold; }



/* 页面 banner */

.page-banner { background: linear-gradient(rgba(6,58,99,.75), rgba(6,58,99,.75)), linear-gradient(135deg, #0a6ebd, #1c8fd6); color: #fff; text-align: center; padding: 46px 0; }

.page-banner h1 { font-size: 30px; letter-spacing: 2px; }

.page-banner p { margin-top: 10px; opacity: .85; font-size: 15px; }



/* 简介 */

.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }

.about-text p { margin-bottom: 14px; font-size: 15px; color: var(--text-light); }

.about-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.about-stat { background: var(--card); border-radius: 10px; padding: 22px; text-align: center; box-shadow: var(--shadow); }

.about-stat .num { font-size: 28px; font-weight: bold; color: var(--main); }

.about-stat .label { font-size: 13px; color: var(--text-light); }



/* 联系页 */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

.contact-card { background: var(--card); border-radius: 10px; padding: 30px; box-shadow: var(--shadow); }

.contact-card h3 { font-size: 19px; color: var(--main-dark); margin-bottom: 16px; }

.contact-card p { font-size: 15px; color: var(--text-light); margin-bottom: 12px; }

.contact-card .big-tel { font-size: 30px; font-weight: bold; color: var(--accent); letter-spacing: 1px; }



/* CTA 条 */

.cta-bar { background: linear-gradient(135deg, #ff8c1a, #e67e00); color: #fff; text-align: center; padding: 40px 0; }

.cta-bar h2 { font-size: 26px; margin-bottom: 8px; }

.cta-bar p { opacity: .92; margin-bottom: 20px; }

.cta-bar .btn { background: #fff; color: var(--accent-dark); }



/* 页脚 */

footer { background: #063a63; color: #b9d4e8; padding: 46px 0 0; font-size: 14px; }

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; }

footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }

footer ul { list-style: none; }

footer ul li { margin-bottom: 9px; }

footer a:hover { color: #ffd27a; }

.footer-tel { font-size: 24px; font-weight: bold; color: #ffd27a; }

.copyright { border-top: 1px solid rgba(255,255,255,.12); padding: 16px 0; text-align: center; font-size: 12px; color: #8fb3cd; }



@media (max-width: 900px) {

  .features, .cars, .steps, .reviews, .article-list { grid-template-columns: repeat(2, 1fr); }

  .routes, .about-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }

  nav.main-nav ul { flex-wrap: wrap; }

  .hero h1 { font-size: 28px; }

  .header-main { flex-direction: column; gap: 12px; }

}

@media (max-width: 560px) {

  .features, .cars, .steps, .reviews, .article-list { grid-template-columns: 1fr; }

}

/* ===== 友情链接 friend links ===== */
.friend-links{max-width:1200px;margin:0 auto;padding:18px 20px 8px;border-top:1px solid rgba(255,255,255,.18);}
.friend-links .fl-title{font-size:14px;font-weight:700;margin-bottom:8px;opacity:.92;}
.friend-links .fl-list{display:flex;flex-wrap:wrap;gap:6px 18px;font-size:13px;line-height:1.9;}
.friend-links .fl-list a{color:inherit;opacity:.78;text-decoration:none;}
.friend-links .fl-list a:hover{opacity:1;text-decoration:underline;}
@media (max-width:640px){.friend-links{padding:14px 16px 6px;}.friend-links .fl-list{gap:4px 14px;font-size:12px;}}
