/* 基础样式 */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1 0 auto;
}

/* 继承基础样式 */
.container {
  width: 1200px;
  margin: 0 auto;
}

.nav {
  height: 60px;
  background: #8B0000;
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 20px;
  font-size: 18px;
}

/* 景点页面特有样式 */
.scenic-content {
  padding: 30px 0;
}

.page-title {
  font-size: 32px;
  color: #8B0000;
  text-align: center;
  margin-bottom: 40px;
}

.scenic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.scenic-card {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.scenic-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.scenic-img {
  width: 100%;
  height: 300px;
  overflow: hidden;
}

.scenic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.scenic-card:hover .scenic-img img {
  transform: scale(1.1);
}

.scenic-info {
  padding: 20px;
}

.scenic-title {
  font-size: 24px;
  color: #333;
  margin-bottom: 10px;
}

.scenic-desc {
  color: #666;
  line-height: 1.8;
  margin-bottom: 15px;
}

.scenic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 5px 12px;
  background: #f5f5f5;
  color: #666;
  border-radius: 15px;
  font-size: 14px;
}

/* 页脚样式 */
.footer {
  flex-shrink: 0;
  background: #8B0000;
  color: #fff;
  padding: 20px 0;
  width: 100%;
}

.footer-content {
  width: 1200px;
  margin: 0 auto;
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.footer-content p {
  margin: 5px 0;
}

.footer-content a {
  color: #fff;
  text-decoration: none;
}

.footer-content a:hover {
  text-decoration: underline;
} 