/* ============================================
   奥瑞德泵业 Aorideal Pumps - 主样式表
   ============================================ */

/* Reset & Base */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --primary: #0a3d6b;
  --primary-light: #1a6ba8;
  --primary-dark: #072a4a;
  --accent: #e85d26;
  --accent-hover: #d04f1e;
  --text: #2d3436;
  --text-light: #636e72;
  --bg: #ffffff;
  --bg-light: #f5f7fa;
  --bg-dark: #0a3d6b;
  --border: #e0e0e0;
  --radius: 8px;
  --radius-lg: 12px;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-lg: 0 5px 30px rgba(0,0,0,0.12);
  --transition: all 0.3s ease;
  --font: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--primary-dark);
  color: #ccc;
  font-size: 13px;
  padding: 8px 0;
  display: none;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; margin-left: 20px; transition: color 0.3s; }
.top-bar a:hover { color: #fff; }
.top-bar i { margin-right: 5px; }

@media (min-width: 768px) {
  .top-bar { display: block; }
}

/* ===== Header ===== */
.header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
}
.logo-img { width: 45px; height: 45px; background: var(--primary); border-radius: 8px; flex-shrink: 0; }
.logo-text h1 { font-size: 22px; font-weight: 700; color: var(--primary); line-height: 1.2; }
.logo-text span { font-size: 11px; color: var(--text-light); letter-spacing: 2px; }

/* Navigation */
.nav ul { display: flex; gap: 5px; }
.nav a {
  padding: 8px 18px;
  border-radius: 6px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
}
.nav a:hover, .nav a.active { color: var(--primary); background: rgba(10,61,107,0.06); }
.nav a.active { color: var(--primary); font-weight: 600; }

.header-actions { display: flex; align-items: center; gap: 15px; }
.btn-phone {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.3s;
  display: none;
}
.btn-phone:hover { background: var(--accent-hover); }
@media (min-width: 768px) {
  .btn-phone { display: inline-flex; align-items: center; gap: 6px; }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.menu-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

@media (min-width: 992px) {
  .menu-toggle { display: none; }
}
@media (max-width: 991px) {
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }
  .nav.active { max-height: 400px; }
  .nav ul { flex-direction: column; padding: 15px 20px; }
  .nav a { display: block; padding: 12px 15px; font-size: 16px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 4px 15px rgba(232,93,38,0.3); }
.btn-outline {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-lg { padding: 14px 36px; font-size: 16px; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(135deg, #0a3d6b 0%, #1a6ba8 100%);
  color: #fff;
  padding: 80px 0;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-content { max-width: 800px; }
.hero h1 { font-size: 42px; font-weight: 800; line-height: 1.2; margin-bottom: 20px; }
.hero p { font-size: 17px; color: rgba(255,255,255,0.8); line-height: 1.8; margin-bottom: 30px; max-width: 600px; }
.hero-actions { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 50px; }

.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 600px; }
.hero-stats .stat { text-align: center; }
.hero-stats .stat-num { display: block; font-size: 28px; font-weight: 800; }
.hero-stats .stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

@media (max-width: 768px) {
  .hero { padding: 60px 0; min-height: auto; }
  .hero h1 { font-size: 28px; }
  .hero p { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats .stat-num { font-size: 22px; }
}

/* ===== Section ===== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 50px; }
.section-header h2 { font-size: 32px; color: var(--primary); font-weight: 700; position: relative; }
.section-header h2::after { content: ''; display: block; width: 50px; height: 3px; background: var(--accent); margin: 15px auto 0; border-radius: 2px; }
.section-header p { color: var(--text-light); font-size: 16px; margin-top: 15px; }

@media (max-width: 768px) {
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 24px; }
}

/* ===== Category Grid ===== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}
.category-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 20px;
  text-align: center;
  transition: all 0.3s;
  cursor: pointer;
}
.category-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}
.category-card a { display: block; }
.cat-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  transition: transform 0.3s;
}
.cat-icon i { font-size: 28px; color: #fff; }
.category-card:hover .cat-icon { transform: scale(1.1); }
.category-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--primary); }
.category-card p { font-size: 13px; color: var(--text-light); }

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 25px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.3s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card a { display: block; }
.product-img {
  height: 200px;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 18px; }
.product-info h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-specs { font-size: 13px; color: var(--accent); font-weight: 500; margin-bottom: 8px; }
.product-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 12px; }
.btn-more { font-size: 13px; color: var(--primary-light); font-weight: 600; display: inline-flex; align-items: center; gap: 5px; }
.btn-more i { font-size: 12px; transition: transform 0.3s; }
.product-card:hover .btn-more i { transform: translateX(3px); }

/* Placeholder */
.img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8edf2 0%, #d0d8e0 100%);
  color: #999;
  font-size: 40px;
}

/* ===== About Section ===== */
.about-section { background: var(--bg-light); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.about-image { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.about-image img { width: 100%; height: 400px; object-fit: cover; border-radius: var(--radius-lg); }
.about-exp {
  position: absolute;
  bottom: -15px;
  right: -15px;
  background: var(--accent);
  color: #fff;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 5px 20px rgba(232,93,38,0.3);
}
.about-exp .exp-num { font-size: 28px; line-height: 1; }

.about-content h2 { font-size: 28px; color: var(--primary); margin-bottom: 18px; }
.about-content p { color: var(--text-light); margin-bottom: 15px; line-height: 1.8; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 25px 0; }
.feature { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.feature i { color: var(--accent); font-size: 16px; }

@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; gap: 30px; }
  .about-image img { height: 250px; }
  .about-content h2 { font-size: 22px; }
  .about-features { grid-template-columns: 1fr; }
  .about-exp { width: 80px; height: 80px; bottom: -10px; right: -10px; }
  .about-exp .exp-num { font-size: 22px; }
}

/* ===== Advantage ===== */
.advantage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}
.advantage-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 35px 25px;
  text-align: center;
  transition: all 0.3s;
}
.advantage-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.adv-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #e85d26 0%, #f09060 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.adv-icon i { font-size: 24px; color: #fff; }
.advantage-card h3 { font-size: 18px; margin-bottom: 12px; color: var(--primary); }
.advantage-card p { font-size: 14px; color: var(--text-light); line-height: 1.7; }

/* ===== CTA ===== */
.cta {
  background: linear-gradient(135deg, #0a3d6b 0%, #1a6ba8 100%);
  text-align: center;
  color: #fff;
}
.cta-content h2 { font-size: 32px; margin-bottom: 15px; }
.cta-content p { color: rgba(255,255,255,0.8); margin-bottom: 30px; }
.cta-actions { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #1a1a2e; color: #ccc; padding-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 15px; }
.footer-logo img { width: 35px; height: 35px; background: var(--primary); border-radius: 6px; }
.footer-logo h3 { color: #fff; font-size: 18px; }
.footer-col p { font-size: 13px; line-height: 1.8; }
.footer-contact p { margin-bottom: 8px; }
.footer-contact a { color: #ccc; }
.footer-contact a:hover { color: var(--accent); }
.footer-contact i { width: 18px; color: var(--accent); }
.footer-col h4 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #aaa; font-size: 13px; transition: color 0.3s; }
.footer-col ul li a:hover { color: var(--accent); padding-left: 3px; }
.footer-phone { display: inline-block; font-size: 18px; font-weight: 700; color: var(--accent) !important; margin-top: 8px; }
.footer-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 13px;
}
.footer-bottom a { color: #aaa; }
.footer-bottom a:hover { color: var(--accent); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}

/* ===== Page Banner ===== */
.page-banner {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
  color: #fff;
  padding: 60px 0;
  text-align: center;
}
.page-banner h1 { font-size: 32px; font-weight: 700; }
.page-banner p { color: rgba(255,255,255,0.7); margin-top: 8px; font-size: 15px; }

/* ===== Product Filter ===== */
.filter-section { background: var(--bg-light); padding: 25px 0; }
.filter-list { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.filter-item a {
  display: block;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: 30px;
  font-size: 14px;
  color: var(--text);
  transition: all 0.3s;
  background: #fff;
}
.filter-item.active a,
.filter-item a:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== Breadcrumb ===== */
.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 25px;
  padding: 15px 0;
}
.breadcrumb a { color: var(--primary-light); }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== Product Detail ===== */
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}
.detail-image {
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 450px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-image img { width: 100%; height: 100%; object-fit: cover; }
.detail-info h1 { font-size: 26px; color: var(--primary); margin-bottom: 15px; }
.detail-meta { margin-bottom: 20px; }
.detail-cat {
  display: inline-block;
  background: rgba(10,61,107,0.1);
  color: var(--primary);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}
.detail-specs { background: var(--bg-light); padding: 20px; border-radius: var(--radius); margin-bottom: 20px; }
.detail-specs h3, .detail-desc h3 { font-size: 16px; color: var(--primary); margin-bottom: 10px; }
.detail-specs p { font-size: 15px; font-weight: 500; color: var(--accent); }
.detail-desc { margin-bottom: 30px; }
.detail-desc p { color: var(--text-light); line-height: 1.8; }
.detail-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.detail-actions .btn { flex: 1; justify-content: center; }
.detail-extras h3 { font-size: 20px; color: var(--primary); margin-bottom: 25px; }
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}
.product-card.mini .product-img { height: 150px; }
.product-card.mini .product-info h4 { font-size: 13px; margin-bottom: 8px; }

@media (max-width: 768px) {
  .detail-layout { grid-template-columns: 1fr; gap: 25px; }
  .detail-image { height: 280px; }
  .detail-info h1 { font-size: 20px; }
  .detail-actions { flex-direction: column; }
}

/* ===== Contact Page ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 50px;
  margin-top: 40px;
}
.contact-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
  display: flex;
  gap: 18px;
}
.contact-card i { font-size: 28px; color: var(--accent); width: 50px; height: 50px; display: flex; align-items: center; justify-content: center; background: rgba(232,93,38,0.1); border-radius: 12px; flex-shrink: 0; }
.contact-card h3 { font-size: 16px; margin-bottom: 5px; }
.contact-card p { color: var(--text-light); font-size: 14px; }
.contact-form { background: #fff; padding: 35px; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.contact-form h3 { font-size: 20px; margin-bottom: 25px; color: var(--primary); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s;
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--primary-light); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== Empty State ===== */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}
.empty-state i { font-size: 48px; color: #ccc; margin-bottom: 15px; }
.empty-state p { margin-bottom: 20px; }
.empty-tip { color: var(--text-light); text-align: center; padding: 20px; }

/* ===== Animations ===== */
.animated { animation: fadeInUp 0.6s ease both; }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.category-card, .product-card, .advantage-card, .about-grid {
  opacity: 0;
  transform: translateY(30px);
  transition: none;
}
.category-card.animated, .product-card.animated, .advantage-card.animated, .about-grid.animated {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Page Layout ===== */
.page-main { min-height: 400px; padding: 40px 0; }

/* ===== Map Container ===== */
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 30px;
}
.map-container iframe { width: 100%; height: 350px; border: 0; }

/* ===== About Page Extras ===== */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 30px;
}
.mission-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px;
  text-align: center;
  transition: all 0.3s;
}
.mission-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.mission-card i { font-size: 36px; color: var(--accent); margin-bottom: 15px; }
.mission-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 10px; }
.mission-card p { color: var(--text-light); font-size: 14px; line-height: 1.7; }

@media (max-width: 768px) {
  .contact-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
}

/* ===== Back to top ===== */
.back-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 45px;
  height: 45px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  box-shadow: var(--shadow);
  border: none;
  z-index: 999;
}
.back-top.visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--primary-light); transform: translateY(-3px); }
