/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Microsoft Yahei", "PingFang SC", sans-serif;
}

body {
  color: #333;
  background-color: #f9f9f9;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #e8684a; /* 主色调：活力橙，贴合vlog个性化 */
  transition: color 0.3s;
}

a:hover {
  color: #d45038;
}

ul {
  list-style: none;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* 面包屑导航 */
.breadcrumb {
  padding: 15px 0;
  font-size: 14px;
  color: #666;
}

.breadcrumb a {
  color: #666;
}

.breadcrumb a:hover {
  color: #e8684a;
}

.breadcrumb span {
  margin: 0 5px;
}

/* 主导航栏 */
.navbar {
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

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

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #e8684a;
}

.nav-menu {
  display: flex;
  gap: 25px;
}

.nav-menu a {
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

.nav-menu a:hover {
  color: #e8684a;
}

/* Hero区域 */
.hero {
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url("./images/hero-bg.jpg") center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  text-align: center;
  margin-bottom: 30px;
}

.hero h1 {
  font-size: 40px;
  margin-bottom: 20px;
}

.hero p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto;
}

/* 轮播图 */
.carousel {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  margin-bottom: 40px;
  border-radius: 8px;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.carousel-item.active {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.3);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

/* 黄金布局：左70% + 右30% */
.main-content-wrapper {
  display: flex;
  gap: 30px;
  margin-bottom: 40px;
}

.main-content {
  width: 70%;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar {
  width: 30%;
  background-color: #fff;
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* 内容区样式 */
.content-section {
  margin-bottom: 30px;
}

.content-section h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #e8684a;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 10px;
}

.content-card {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.content-card img {
  width: 200px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
}

.content-card-text h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.content-card-text p {
  color: #666;
  margin-bottom: 10px;
}

.content-card-text a {
  font-weight: 500;
}

/* 侧边栏：友情链接 */
.sidebar h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #e8684a;
  border-bottom: 2px solid #f5f5f5;
  padding-bottom: 8px;
}

.friend-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.friend-links a {
  padding: 8px 10px;
  background-color: #f8f8f8;
  border-radius: 4px;
  color: #333;
}

.friend-links a:hover {
  background-color: #f0f0f0;
  color: #e8684a;
}

/* 页脚样式 */
.footer {
  background-color: #333;
  color: #fff;
  padding: 40px 0 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 30px;
}

.footer-column {
  width: 23%;
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #e8684a;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-column a {
  color: #ccc;
  font-size: 14px;
}

.footer-column a:hover {
  color: #e8684a;
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: 20px;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-left {
  color: #ccc;
}

.footer-bottom-right {
  display: flex;
  gap: 15px;
}

.footer-bottom-right a {
  color: #ccc;
}

/* 响应式适配 */
@media (max-width: 768px) {
  .main-content-wrapper {
    flex-direction: column;
  }
  .main-content, .sidebar {
    width: 100%;
  }
  .footer-top {
    flex-wrap: wrap;
  }
  .footer-column {
    width: 48%;
    margin-bottom: 20px;
  }
  .carousel {
    height: 250px;
  }
  .hero h1 {
    font-size: 30px;
  }
}