/* ==================================================
   style.css —— lulv.cn 主样式（露营·年轻时尚）
================================================== */
body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background: #f9f9f9;
  line-height: 1.6;
}
a {
  text-decoration: none;
  color: #333;
  transition: color 0.3s ease;
}
a:hover {
  color: #42b983;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* 年轻活力风 配色 */
:root {
  --main: #FF7A45;         /* 活力橙（主按钮、高亮） */
  --sub: #4CD6A0;          /* 清新绿（辅助、标签） */
  --dark: #2A303E;         /* 深灰（文字） */
  --light: #F7F9FC;        /* 背景色 */
  --border: #EAECEF;       /* 边框 */
  --footer: #2A303E;       /* 底部背景 */
}

a:hover { color: var(--main); }
.nav ul li a.active { color: var(--main); }
.nav ul li a.active::after { background: var(--main); }
.search-box button { color: var(--main); }
.tag { background: var(--sub); }
.price { color: var(--main); }
.pagination strong { background: var(--main); border-color: var(--main); }
.footer-social a:hover { background: var(--main); }
.footer-tags a:hover { background: var(--main); }
.back-top { background: var(--main); }
.back-top:hover { background: #E56A3A; }

/* --------------------------
   容器
-------------------------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

/* --------------------------
   头部 header
-------------------------- */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 99;
}
.header-top {
  background: #f5f5f5;
  padding: 6px 0;
  font-size: 13px;
  color: #666;
}
.header-top .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
}
.header-quick {
  display: flex;
  gap: 15px;
}
.header-quick a {
  color: #666;
}
.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: #42b983;
}
.logo img {
  height: 40px;
}
.nav ul {
  display: flex;
  gap: 25px;
}
.nav ul li a {
  font-size: 15px;
  font-weight: 500;
  padding: 8px 0;
  position: relative;
}
.nav ul li a.active {
  color: #42b983;
}
.nav ul li a.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #42b983;
}
.search-box {
  position: relative;
}
.search-box input {
  width: 220px;
  padding: 8px 15px;
  border: 1px solid #eee;
  border-radius: 50px;
  outline: none;
  font-size: 14px;
}
.search-box button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  cursor: pointer;
}
.menu-btn {
  display: none;
}

/* --------------------------
   面包屑
-------------------------- */
.breadcrumbs {
  padding: 15px 0;
  font-size: 14px;
  color: #999;
  background: #fff;
  margin-bottom: 10px;
}
.breadcrumbs a {
  color: #999;
}
.breadcrumbs a:hover {
  color: #42b983;
}

/* --------------------------
   列表页
-------------------------- */
.list-header {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.list-header h1 {
  font-size: 26px;
  margin: 0 0 10px 0;
  color: #333;
}
.sub-title {
  font-size: 15px;
  color: #666;
  margin: 0 0 15px 0;
}
.filter-box {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}
.filter-item {
  padding: 6px 15px;
  background: #f5f5f5;
  border-radius: 50px;
  font-size: 14px;
  white-space: nowrap;
}
.filter-item.active {
  background: #42b983;
  color: #fff;
}
.price-filter select {
  padding: 6px 10px;
  border: 1px solid #eee;
  border-radius: 4px;
  outline: none;
}
.list-grid {
  display: grid;
  gap: 25px;
}
.list-item {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.list-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}
.item-pic {
  position: relative;
  overflow: hidden;
}
.item-pic img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(66, 185, 131, 0.9);
  color: #fff;
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 4px;
}
.item-info {
  padding: 15px;
}
.item-title {
  font-size: 17px;
  font-weight: 500;
  margin: 0 0 8px 0;
  line-height: 1.4;
}
.item-desc {
  font-size: 14px;
  color: #666;
  margin: 0 0 10px 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.item-meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #999;
}
.price {
  color: #ff5722;
  font-weight: 600;
}
.pagination {
  margin: 30px 0;
  text-align: center;
}
.pagination a,
.pagination strong {
  display: inline-block;
  padding: 8px 12px;
  margin: 0 3px;
  border: 1px solid #eee;
  border-radius: 4px;
  font-size: 14px;
}
.pagination strong {
  background: #42b983;
  color: #fff;
  border-color: #42b983;
}

/* --------------------------
   内容页
-------------------------- */
.content {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 20px;
}
.content-header h1 {
  font-size: 28px;
  line-height: 1.4;
  margin: 0 0 15px 0;
  color: #333;
}
.content-meta {
  font-size: 14px;
  color: #999;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.content-body {
  font-size: 16px;
  line-height: 1.8;
  color: #444;
}
.content-body img {
  max-width: 100%;
  height: auto;
  margin: 15px 0;
  border-radius: 8px;
  display: block;
}
.camp-info,
.equip-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
  padding: 15px;
  background: #f9f9f9;
  border-radius: 8px;
}
.camp-info p,
.equip-info p {
  margin: 0;
  font-size: 15px;
}
.camp-map {
  height: 350px;
  background: #f5f5f5;
  border-radius: 8px;
  margin: 20px 0;
}
.related {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
}
.related h2 {
  font-size: 20px;
  margin: 0 0 15px 0;
}
.related-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

/* --------------------------
   底部
-------------------------- */
.footer {
  background: #2a2a2a;
  color: #ccc;
  margin-top: 40px;
}
.footer-top {
  padding: 40px 0;
}
.footer-grid {
  display: grid;
  gap: 30px;
}
.footer-item h3 {
  color: #fff;
  font-size: 18px;
  margin: 0 0 20px 0;
}
.footer-item p {
  font-size: 14px;
  line-height: 1.7;
  color: #ccc;
}
.footer-item ul li {
  margin-bottom: 10px;
}
.footer-item ul li a {
  color: #ccc;
  font-size: 14px;
}
.footer-item ul li a:hover {
  color: #42b983;
}
.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}
.footer-social a {
  width: 36px;
  height: 36px;
  background: #333;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  transition: background 0.3s ease;
}
.footer-social a:hover {
  background: #42b983;
  color: #fff;
}
.footer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-tags a {
  padding: 5px 12px;
  background: #333;
  border-radius: 50px;
  font-size: 13px;
  color: #ccc;
}
.footer-tags a:hover {
  background: #42b983;
  color: #fff;
}
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
}
.contact-list i {
  color: #42b983;
  margin-top: 3px;
}
.footer-bottom {
  background: #1f1f1f;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: #999;
}
.footer-bottom p {
  margin: 5px 0;
}

/* --------------------------
   回到顶部
-------------------------- */
.back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 45px;
  height: 45px;
  background: #42b983;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  z-index: 99;
}
.back-top:hover {
  background: #38a574;
}