/* 鑫泉国际货代 - 企业官网样式 */

:root {
  --primary-color: #0066cc;
  --secondary-color: #004999;
  --accent-color: #ff6600;
  --text-dark: #333333;
  --text-light: #666666;
  --bg-light: #f5f7fa;
  --white: #ffffff;
  --border-color: #e1e5eb;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

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

ul {
  list-style: none;
}

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

/* Header */
header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--primary-color);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

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

.top-info span {
  margin-right: 20px;
}

.header-main {
  padding: 15px 0;
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-text h1 {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 700;
}

.logo-text p {
  font-size: 12px;
  color: var(--text-light);
}

nav ul {
  display: flex;
  gap: 30px;
}

nav ul li a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-dark);
  padding: 10px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

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

/* Announcement Section */
.announcement {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
  padding: 60px 0;
  margin-top: 80px;
}

.announcement-box {
  background: var(--white);
  border-radius: 10px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  border-left: 5px solid var(--accent-color);
  position: relative;
}

.announcement-badge {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}

.announcement-box h3 {
  font-size: 24px;
  color: var(--text-dark);
  margin-bottom: 15px;
  line-height: 1.4;
}

.announcement-box p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.announcement-meta {
  display: flex;
  gap: 30px;
  font-size: 14px;
  color: var(--text-light);
}

.announcement-meta .source {
  font-weight: 600;
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 150px 0 100px;
  text-align: center;
}

.hero h2 {
  font-size: 42px;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
  opacity: 0.9;
}

.hero-btn {
  display: inline-block;
  background: var(--accent-color);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s;
}

.hero-btn:hover {
  background: #e55c00;
  transform: translateY(-2px);
}

/* Section Styles */
section {
  padding: 80px 0;
}

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

.section-title h3 {
  font-size: 32px;
  color: var(--text-dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--primary-color);
}

.section-title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  background: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: all 0.3s;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.12);
}

.service-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.service-card h4 {
  font-size: 20px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text h4 {
  font-size: 24px;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.8;
}

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

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.feature-icon {
  color: var(--accent-color);
  font-size: 20px;
}

.about-image {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  height: 400px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 24px;
}

/* News Section */
.news {
  background: var(--white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.news-card {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-color);
  transition: all 0.3s;
}

.news-card:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

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

.news-card h4 {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.7;
  margin-bottom: 15px;
}

.news-link {
  color: var(--primary-color);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s;
}

.news-link:hover {
  color: var(--accent-color);
}

/* Map Grid */
.map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

.map-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.map-card h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.map-card p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.8;
}

/* Contact Section */
.contact {
  background: var(--bg-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.contact-card {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.contact-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.contact-card h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.contact-card p {
  color: var(--text-light);
  font-size: 14px;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: var(--white);
  padding: 50px 0 20px;
}

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

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-section p,
.footer-section a {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  line-height: 2;
}

.footer-section a:hover {
  color: var(--white);
}

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

/* Responsive */
@media (max-width: 768px) {
  .top-bar .container {
    flex-direction: column;
    gap: 10px;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h2 {
    font-size: 28px;
  }
  
  .hero p {
    font-size: 16px;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-features {
    grid-template-columns: 1fr;
  }
}
