@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;800&family=Noto+Sans+SC:wght@300;400;700;900&display=swap');

:root {
  --primary: #004d40; /* 墨绿 */
  --primary-light: #00695c;
  --primary-dark: #00251a;
  --accent: #ffc107; /* 金色 */
  --text: #2c3e50;
  --text-light: #7f8c8d;
  --bg: #f4f7f6;
  --white: #ffffff;
  --black: #1a1a1a;
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --f-sans: 'Inter', 'Noto Sans SC', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--primary-dark);
  color: var(--white);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 900;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

.mobile-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  height: 80vh;
  background: linear-gradient(rgba(0, 77, 64, 0.8), rgba(0, 37, 26, 0.9)), url('https://tse-mm.bing.com/th?q=体育场馆') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
}

.hero-content h1 {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -2px;
  line-height: 1.1;
}

.hero-content p {
  font-size: 20px;
  max-width: 700px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background-color: var(--accent);
  color: var(--primary-dark);
  text-decoration: none;
  font-weight: 800;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition);
}

.btn:hover {
  background-color: var(--white);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* Section Common */
section {
  padding: 100px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--primary-dark);
  margin-bottom: 15px;
  font-weight: 900;
}

.section-title p {
  color: var(--text-light);
  font-size: 18px;
}

/* Company Intro */
.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.intro-content h3 {
  font-size: 28px;
  color: var(--primary);
  margin-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-card {
  background: var(--white);
  padding: 20px;
  border-radius: 10px;
  border-left: 5px solid var(--accent);
}

.stat-card h4 {
  font-size: 32px;
  color: var(--primary);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-10px);
}

.news-image {
  height: 200px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 25px;
}

.news-date {
  font-size: 14px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.news-body h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-dark);
}

/* Product Page Specific */
.filter-container {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 40px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.filter-item {
  flex: 1;
  min-width: 200px;
}

.filter-item label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--primary);
}

.filter-item select, .filter-item input {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  padding: 5px 15px;
  background: var(--bg);
  border-radius: 20px;
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition);
}

.tag:hover, .tag.active {
  background: var(--primary);
  color: var(--white);
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}

.page-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
}

.page-link.active {
  background: var(--primary);
  color: var(--white);
}

/* About Page Specific */
.history-timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  width: 2px;
  height: 100%;
  background: var(--primary);
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
  width: 50%;
  padding: 0 40px;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-dot {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: var(--accent);
  border-radius: 50%;
  z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot { right: -10px; }
.timeline-item:nth-child(even) .timeline-dot { left: -10px; }

/* Contact Page Specific */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 50px;
}

.contact-form-box {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 10px;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
}

.contact-info-box {
  color: var(--primary-dark);
}

.info-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  font-size: 24px;
  color: var(--accent);
}

.map-embed {
  width: 100%;
  height: 300px;
  border-radius: 15px;
  overflow: hidden;
  margin-top: 30px;
}

/* Footer */
footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--accent);
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 12px;
}

.footer-col ul li a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

/* Floating Elements */
.online-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--accent);
  color: var(--primary-dark);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
  cursor: pointer;
  z-index: 1000;
  transition: var(--transition);
}

.online-btn:hover {
  transform: scale(1.1) rotate(15deg);
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 48px; }
  .intro-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 36px; }
  .timeline-item { width: 100%; text-align: left !important; padding-left: 30px; }
  .timeline-item::before { left: 0; }
  .history-timeline::before { left: 0; }
  .timeline-dot { left: -10px !important; }
}
