产品聚合页 - 公司网站 /* 基础样式 */ * { margin: 0; padding: 0; box-sizing: border-box; } body { font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif; line-height: 1.6; color: #333; background-color: #f9f9f9; } main { width: 100%; overflow-x: hidden; } section { padding: 60px 0; } h1, h2, h3 { color: #1a365d; } p { margin-bottom: 15px; } /* 通用标题样式 */ .section-header { width: 100%; text-align: center; margin-bottom: 60px; padding: 0 20px; } .section-title { font-size: 2.8rem; margin-bottom: 20px; color: #1a365d; position: relative; display: inline-block; } .section-title::after { content: ''; position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%); width: 100px; height: 4px; background-color: #2c5282; border-radius: 2px; } .section-subtitle { color: #666; font-size: 2rem; /* 增大1倍 */ max-width: 800px; margin: 20px auto 0; line-height: 1.8; } /* 通用按钮样式 */ .quote-btn { background-color: #2c5282; color: white; border: none; padding: 15px 40px; font-size: 1.5rem; /* 增大1倍 */ border-radius: 10px; /* 与名片圆角相同 */ cursor: pointer; transition: all 0.3s ease; font-weight: bold; } .quote-btn:hover { background-color: #1a365d; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } /* 图片下方文字样式 */ .image-caption, .product-name { text-align: center; margin-top: 10px; font-size: 1.5rem; /* 增大1倍 */ } .text-block p { margin-top: 10px; font-size: 1.5rem; /* 增大1倍 */ } /* 第一部分样式 */ .section-1 { position: relative; min-height: 700px; display: flex; align-items: center; justify-content: center; overflow: hidden; } .section-1-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-image: url('/js/htmledit/kindeditor/attached/20260119/20260119164932_39544.jpg'); background-size: cover; background-position: center; opacity: 0.5; z-index: 1; } .section-1-content { position: relative; z-index: 2; width: 100%; max-width: 1200px; padding: 0 20px; } .section-1-title { text-align: center; color: #fff; font-size: 3.5rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); margin-bottom: 20px; } .section-1-subtitle { text-align: center; color: #fff; font-size: 2rem; text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5); margin-bottom: 50px; } .section-1-columns { display: flex; gap: 40px; } .section-1-left { flex: 2; display: flex; flex-direction: column; justify-content: center; } .section-1-right { flex: 1; display: flex; align-items: center; justify-content: center; } .quote-card { background-color: white; border-radius: 15px; padding: 40px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15); max-width: 100%; text-align: left; /* 左对齐 */ } .quote-card h2 { font-size: 2.2rem; margin-bottom: 20px; color: #1a365d; } .quote-card p { font-size: 1.5rem; color: #555; margin-bottom: 25px; line-height: 1.7; } .quote-card .quote-btn { display: block; /* 改为块级元素 */ margin: 30px auto 0; /* 上边距30px,左右自动,下边距0 */ /* 其他按钮样式保持不变 */ background-color: #2c5282; color: white; border: none; padding: 15px 40px; font-size: 1.3rem; border-radius: 15px; cursor: pointer; transition: al...
Read More