/* style/brand-story.css */

:root {
  --primary-color: #004882;
  --secondary-color: #E21C21;
  --text-color: #333;
  --bg-color: #f9f9f9;
}

body {
  font-family: sans-serif;
  margin: 0;
  padding: 0;
  background-color: var(--bg-color);
  color: var(--text-color);
}

header {
  background-color: #fff;
  padding: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.logo img {
  height: 50px;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
}

nav li {
  margin-left: 1rem;
}

nav a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: bold;
  transition: color 0.3s ease;
}

nav a:hover,
nav a.active {
  color: var(--secondary-color);
}

main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

section {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.hero img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.history .timeline {
  display: flex;
  flex-direction: column;
}

.history .timeline-item {
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
}

.history .timeline-item h3 {
  color: var(--secondary-color);
  margin-bottom: 0.5rem;
}

.culture-images {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.culture-images img {
  max-width: 300px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 8px;
}

.ads .ad-videos {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.ads iframe {
  margin-bottom: 1rem;
}

.call-to-action {
  text-align: center;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--secondary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 1rem;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #cc1414;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #eee;
  color: #777;
}

/* 响应式设计 */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    margin-left: 0;
    margin-bottom: 0.5rem;
  }

  .culture-images {
    flex-direction: column;
    align-items: center;
  }

  .ads .ad-videos {
    flex-direction: column;
    align-items: center;
  }

  .ads iframe {
    width: 100%;
    height: 300px;
  }
}