:root {
  --color-primary: #1a1a1a;
  --color-secondary: #666;
  --color-accent: #2563eb;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f5f7;
  --color-border: #e5e5e5;
  --font-stack: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-stack);
  color: var(--color-primary);
  background: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

/* ===== Glass Nav ===== */
.glass-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.glass-nav.scrolled {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 1px 10px rgba(0,0,0,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo img { height: 36px; }

.nav-links {
  display: flex;
  gap: var(--spacing-lg);
  list-style: none;
}

.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-primary);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--color-accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after { width: 100%; }

.lang-switch {
  font-size: 13px;
  padding: 4px 12px;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch:hover {
  background: var(--color-primary);
  color: white;
  border-color: var(--color-primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ===== Hero Banner ===== */
.hero-banner {
  position: relative;
  width: 100%;
  height: 600px;
  overflow: hidden;
  margin-top: 64px;
}

.banner-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-slide.active { opacity: 1; }

.banner-slide.zoom {
  animation: zoomEffect 6s ease-in-out infinite;
}

@keyframes zoomEffect {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

.banner-content {
  text-align: center;
  color: white;
  z-index: 2;
  padding: var(--spacing-md);
}

.banner-content h2 {
  font-size: 52px;
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.banner-content p {
  font-size: 20px;
  opacity: 0.9;
  text-shadow: 0 1px 10px rgba(0,0,0,0.3);
}

.banner-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
}

.banner-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.banner-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}

.banner-dot.active {
  background: white;
  width: 30px;
  border-radius: 5px;
}

/* ===== Section ===== */
.section {
  padding: var(--spacing-xl) 0;
}

.section-alt { background: var(--color-bg-alt); }

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.section-header p {
  color: var(--color-secondary);
  font-size: 18px;
}

/* ===== Cards ===== */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
}

.card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card-body {
  padding: var(--spacing-md);
}

.card-body h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
}

.card-body p {
  color: var(--color-secondary);
  font-size: 15px;
}

/* ===== About Section ===== */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
}

.about-content h3 {
  font-size: 32px;
  margin-bottom: var(--spacing-sm);
}

.about-content p {
  color: var(--color-secondary);
  margin-bottom: var(--spacing-sm);
}

/* ===== News List ===== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.news-item {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--spacing-md);
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow 0.3s;
}

.news-item:hover { box-shadow: var(--shadow-lg); }

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

.news-item-body {
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.news-item-body h3 {
  font-size: 20px;
  margin-bottom: var(--spacing-xs);
}

.news-item-body p {
  color: var(--color-secondary);
  font-size: 15px;
}

.news-date {
  font-size: 13px;
  color: #999;
  margin-top: var(--spacing-xs);
}

/* ===== Contact Form ===== */
.form-group {
  margin-bottom: var(--spacing-sm);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  background: var(--color-primary);
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--color-accent);
  transform: translateY(-1px);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.7);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
  color: white;
  font-size: 24px;
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  line-height: 1.8;
}

.footer-links h4 {
  color: white;
  font-size: 16px;
  margin-bottom: var(--spacing-sm);
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a:hover { color: white; }

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

/* ===== Page Hero ===== */
.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 64px;
  background-size: cover;
  background-position: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
}

.page-hero h1 {
  position: relative;
  color: white;
  font-size: 48px;
  font-weight: 700;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

/* ===== Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: var(--spacing-lg);
}

.pagination a {
  padding: 8px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 14px;
  transition: all 0.2s;
}

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

/* ===== Detail Page ===== */
.detail-container {
  max-width: 900px;
  margin: 0 auto;
  padding: var(--spacing-lg) var(--spacing-md);
}

.detail-header {
  margin-bottom: var(--spacing-md);
}

.detail-header h1 {
  font-size: 36px;
  margin-bottom: var(--spacing-xs);
}

.detail-cover {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: var(--spacing-md);
}

.detail-content {
  font-size: 17px;
  line-height: 1.8;
  color: #333;
}

.detail-content p { margin-bottom: var(--spacing-sm); }

.detail-content img {
  border-radius: var(--radius);
  margin: var(--spacing-sm) 0;
}

.detail-nav {
  display: flex;
  justify-content: space-between;
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--color-border);
}

/* ===== Gallery ===== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.gallery img {
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  object-fit: cover;
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  align-items: start;
}

.contact-info {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: var(--spacing-md);
}

.contact-info h3 {
  font-size: 24px;
  margin-bottom: var(--spacing-md);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
  padding: var(--spacing-sm);
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.info-item .icon {
  width: 48px;
  height: 48px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.info-item .info-content h4 {
  font-size: 16px;
  margin-bottom: 4px;
}

.info-item .info-content p {
  color: var(--color-secondary);
  font-size: 15px;
}
