* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Microsoft Yahei", PingFangSC-Regular, "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;}
:root {
--braun-blue: #0054a6;
--braun-dark: #003a7d;
--braun-light: #e6f0fa;
--braun-green: #28a745;
--braun-gold: #d4af37;
--text-dark: #333;
--text-light: #666;
--border: #ddd;
--white: #fff;
--gray: #f5f7fa;
--transition: all 0.3s ease;
}
body {
color: var(--text-dark);
line-height: 1.6;
background-color: var(--white);
overflow-x: hidden;
font-size: 16px;
}
a {
color: #333;
text-decoration: none;
}
a:hover {
color:#18506D;
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header Styles */
header {
background-color: var(--white);
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 100;
}
.top-bar {
background-color: var(--braun-dark);
color: var(--white);
padding: 8px 0;
font-size: 14px;
}
.top-bar-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.contact-info span {
margin-right: 20px;
}
.contact-info a {
color: var(--white);
text-decoration: none;
}
.contact-info a:hover {
text-decoration: underline;
}
.language-selector select {
background: transparent;
border: none;
color: var(--white);
font-size: 14px;
}
.main-header {
padding: 15px 0;
display: flex;
justify-content: space-between;
align-items: center;
}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 50px;
margin-right: 10px;
}
.logo h1 {
font-size: 22px;
color: var(--braun-dark);
font-weight: 700;
}
.logo .subtitle {
font-size: 16px;
color: var(--text-light);
font-weight: 400;
margin-top: 5px;
}
nav ul {
display: flex;
list-style: none;
align-items: center;
}
nav ul li {
margin-left: 25px;
position: relative;
}
nav ul li a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
font-size: 16px;
padding: 8px 5px;
transition: color 0.3s;
}
nav ul li a:hover {
color: var(--braun-blue);
}
nav ul li a.active {
color: var(--braun-blue);
border-bottom: 3px solid var(--braun-blue);
}
.search-icon, .inquiry-toggle {
margin-left: 20px;
color: var(--braun-blue);
cursor: pointer;
position: relative;
display: flex;
align-items: center;
}
/* Hero Section */
.hero {
background: linear-gradient(rgba(0, 84, 166, 0.85), rgba(0, 58, 125, 0.9)), url('/static/images/banner.jpg') no-repeat center center/cover;
color: var(--white);
padding: 120px 0;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero h2 {
font-size: 3.2rem;
margin-bottom: 20px;
font-weight: 700;
text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.hero p {
font-size: 1.3rem;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.btn {
display: inline-block;
padding: 14px 35px;
background-color: var(--braun-blue);
color: var(--white);
text-decoration: none;
border-radius: 4px;
font-weight: 600;
transition: all 0.3s;
border: none;
cursor: pointer;
font-size: 17px;
margin: 10px 8px;
box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}
.btn:hover {
background-color: var(--braun-dark);
transform: translateY(-3px);
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}
.btn-outline {
background-color: transparent;
border: 2px solid var(--white);
}
.btn-outline:hover {
background-color: rgba(255, 255, 255, 0.15);
}
.btn-green {
background-color: var(--braun-green);
}
.btn-gold {
background-color: var(--braun-gold);
}
/* Features Section */
.features {
padding: 80px 0;
background-color: var(--white);
}
.section-title {
text-align: center;
margin-bottom: 50px;
}
.section-title h2 {
font-size: 2.6rem;
color: var(--braun-dark);
margin-bottom: 15px;
position: relative;
display: inline-block;
padding-bottom: 15px;
}
.section-title h2:after {
content: '';
position: absolute;
bottom: 0;
left: 50%;
transform: translateX(-50%);
width: 80px;
height: 4px;
background: var(--braun-blue);
border-radius: 2px;
}
.section-title p {
color: var(--text-light);
max-width: 700px;
margin: 0 auto;
font-size: 18px;
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.feature-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: transform 0.3s;
position: relative;
border: 1px solid #eee;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}
.feature-img {
height: 200px;
overflow: hidden;
background-color: var(--braun-light);
display: flex;
align-items: center;
justify-content: center;
}
.feature-img img {
max-width: 80%;
max-height: 80%;
transition: transform 0.5s;
}
.feature-card:hover .feature-img img {
transform: scale(1.1);
}
.feature-content {
padding: 25px;
}
.feature-content h3 {
color: var(--braun-blue);
margin-bottom: 15px;
font-size: 1.5rem;
}
.feature-content p {
color: var(--text-light);
margin-bottom: 20px;
}
/* Products Section */
.products {
padding: 80px 0;
background-color: var(--gray);
}
.product-tabs {
display: flex;
justify-content: center;
margin-bottom: 40px;
flex-wrap: wrap;
gap: 10px;
}
.tab-btn {
padding: 12px 25px;
background-color: transparent;
border: none;
color: var(--text-light);
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s;
border-bottom: 3px solid transparent;
position: relative;
}
.tab-btn::after {
content: '';
position: absolute;
bottom: -3px;
left: 0;
width: 0;
height: 3px;
background-color: var(--braun-blue);
transition: width 0.3s ease;
}
.tab-btn.active, .tab-btn:hover {
color: var(--braun-blue);
}
.tab-btn.active::after, .tab-btn:hover::after {
width: 100%;
}
.products-container {
display: none;
animation: fadeIn 0.5s ease forwards;
}
.products-container.active {
display: grid;
}
@keyframes fadeIn {
from { opacity: 0; transform: translateY(20px); }
to { opacity: 1; transform: translateY(0); }
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 25px;
}
.product-card {
background: var(--white);
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
position: relative;
border: 1px solid #eee;
}
.product-card:hover {
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
transform: translateY(-5px);
}
.product-icon {
height: 180px;
display: flex;
align-items: center;
justify-content: center;
background-color: var(--braun-light);
position: relative;
overflow: hidden;
}
.product-icon::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(0,84,166,0.1) 0%, rgba(0,58,125,0.1) 100%);
opacity: 0;
transition: opacity 0.3s;
}
.product-card:hover .product-icon::before {
opacity: 1;
}
.product-icon img {
max-width: 80%;
max-height: 80%;
transition: transform 0.3s;
}
.product-card:hover .product-icon img {
transform: scale(1.1);
}
.product-content {
padding: 20px;
}
.product-content h3 {
color: var(--braun-dark);
margin-bottom: 10px;
font-size: 16px;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.product-content ul {
list-style-type: none;
margin: 15px 0;
}
.product-content ul li {
padding: 8px 0;
display: flex;
align-items: center;
border-bottom: 1px dashed #eee;
}
.product-content ul li:before {
content: "✓";
color: var(--braun-blue);
margin-right: 10px;
font-weight: bold;
}
.product-actions {
display: flex;
justify-content: space-between;
margin-top: 15px;
}
.btn-small {
padding: 8px 15px;
font-size: 14px;
}
/* braun Content Section */
.braun-content {
padding: 60px 0;
background-color: var(--white);
}
.braun-content h1 {
font-size: 2.4rem;
color: var(--braun-dark);
margin-bottom: 30px;
text-align: center;
}
.braun-content h2 {
color: var(--braun-blue);
margin: 40px 0 20px;
font-size: 1.8rem;
border-bottom: 2px solid var(--braun-light);
padding-bottom: 10px;
}
.braun-content h3 {
color: var(--braun-dark);
margin: 30px 0 15px;
font-size: 1.4rem;
}
.braun-content p {
margin-bottom: 15px;
line-height: 1.8;
font-size: 17px;
}
.braun-content ul {
margin: 20px 0 20px 40px;
}
.braun-content ul li {
margin-bottom: 12px;
font-size: 17px;
line-height: 1.7;
}
.keyword-highlight {
background-color: #e6f7ff;
padding: 2px 5px;
border-radius: 3px;
font-weight: 500;
color: var(--braun-dark);
}
.specs-table {
margin: 25px 0;
overflow-x: auto;
border: 1px solid var(--border);
border-radius: 8px;
}
.specs-table table {
width: 100%;
border-collapse: collapse;
}
.specs-table th, .specs-table td {
border: 1px solid var(--border);
padding: 12px 15px;
text-align: left;
}
.specs-table th {
background-color: var(--braun-light);
font-weight: 600;
}
.specs-table tr:nth-child(even) {
background-color: #f9f9f9;
}
.specs-table td:first-child {
  width: 200px; 
  min-width: 180px; 
  white-space: nowrap; 
  overflow: hidden; 
  text-overflow: ellipsis;
}
/* Technical Support */
.support {
padding: 80px 0;
background-color: var(--gray);
}
.support-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.support-card {
background: var(--white);
border-radius: 8px;
padding: 30px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: all 0.3s;
border: 1px solid #eee;
text-align: center;
}
.support-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.support-icon {
font-size: 3rem;
color: var(--braun-blue);
margin-bottom: 20px;
}
.support-card h3 {
margin-bottom: 15px;
color: var(--braun-dark);
font-size: 1.5rem;
}
.support-card p {
color: var(--text-light);
margin-bottom: 20px;
}
/* News Center Section - 新增部分 */
.news-center {
padding: 80px 0;
background-color: var(--white);
}
.news-tabs {
display: flex;
justify-content: center;
margin-bottom: 30px;
flex-wrap: wrap;
gap: 10px;
}
.news-tab-btn {
padding: 10px 20px;
background-color: var(--braun-light);
border: none;
border-radius: 30px;
color: var(--text-dark);
font-size: 15px;
font-weight: 500;
cursor: pointer;
transition: all 0.3s;
}
.news-tab-btn.active, .news-tab-btn:hover {
background-color: var(--braun-blue);
color: var(--white);
}
.news-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
}
.news-card {
background: var(--white);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
transition: all 0.3s;
border: 1px solid #eee;
display: flex;
flex-direction: column;
height: 100%;
}
.news-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}
.news-img {
height: 200px;
overflow: hidden;
position: relative;
}
.news-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s;
}
.news-card:hover .news-img img {
transform: scale(1.05);
}
.news-category {
position: absolute;
top: 15px;
left: 15px;
background: var(--braun-blue);
color: var(--white);
padding: 5px 12px;
border-radius: 20px;
font-size: 12px;
font-weight: 600;
z-index: 1;
}
.news-content {
padding: 25px;
flex-grow: 1;
display: flex;
flex-direction: column;
}
.news-date {
color: var(--text-light);
font-size: 14px;
margin-bottom: 10px;
display: flex;
align-items: center;
}
.news-date i {
margin-right: 5px;
color: var(--braun-blue);
}
.news-title {
font-size: 16px;
margin-bottom: 15px;
color: var(--braun-dark);
transition: color 0.3s;
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 1;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.news-card:hover .news-title {
color: var(--braun-blue);
}
.news-excerpt {
color: var(--text-light);
margin-bottom: 20px;
flex-grow: 1;
}
.news-more {
color: var(--braun-blue);
font-weight: 600;
text-decoration: none;
display: inline-flex;
align-items: center;
transition: all 0.3s;
}
.news-more i {
margin-left: 5px;
transition: transform 0.3s;
}
.news-more:hover {
color: var(--braun-dark);
}
.news-more:hover i {
transform: translateX(3px);
}
.news-btn-container {
text-align: center;
margin-top: 40px;
}
/* Contact Section */
.contact {
padding: 80px 0;
background: linear-gradient(to right, var(--braun-light) 50%, var(--white) 50%);
}
.contact-wrapper {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 50px;
background: var(--white);
border-radius: 10px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.contact-info {
background: var(--braun-blue);
padding: 50px;
color: var(--white);
}
.contact-info h3 {
font-size: 2rem;
margin-bottom: 30px;
}
.contact-detail {
display: flex;
margin-bottom: 25px;
}
.contact-icon {
font-size: 1.5rem;
margin-right: 15px;
color: var(--white);
min-width: 30px;
}
.contact-text h4 {
margin-bottom: 5px;
font-size: 1.2rem;
}
.contact-form {
padding: 50px;
}
.contact-form h3 {
color: var(--braun-dark);
font-size: 2rem;
margin-bottom: 30px;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 12px 15px;
border: 1px solid var(--border);
border-radius: 4px;
font-size: 16px;
transition: border-color 0.3s;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
border-color: var(--braun-blue);
outline: none;
box-shadow: 0 0 0 2px rgba(0, 84, 166, 0.1);
}
.form-group textarea {
height: 120px;
resize: vertical;
}
/* Footer */
footer {
background-color: var(--braun-dark);
color: var(--white);
padding: 60px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-column h3 {
font-size: 1.3rem;
margin-bottom: 20px;
position: relative;
padding-bottom: 10px;
}
.footer-column h3:after {
content: '';
position: absolute;
left: 0;
bottom: 0;
width: 50px;
height: 2px;
background-color: var(--braun-blue);
}
.footer-column ul {
list-style: none;
}
.footer-column ul li {
margin-bottom: 10px;
}
.footer-column ul li a {
color: #ccc;
text-decoration: none;
transition: color 0.3s;
}
.footer-column ul li a:hover {
color: var(--white);
}
.social-icons {
display: flex;
gap: 15px;
margin-top: 20px;
}
.social-icons a {
display: flex;
align-items: center;
justify-content: center;
width: 36px;
height: 36px;
background-color: rgba(255, 255, 255, 0.1);
border-radius: 50%;
color: var(--white);
transition: background-color 0.3s;
}
.social-icons a:hover {
background-color: var(--braun-blue);
transform: translateY(-3px);
}
.footer-bottom {
border-top: 1px solid rgba(255, 255, 255, 0.1);
padding-top: 20px;
text-align: center;
color: #aaa;
font-size: 14px;
}
.schema-badge {
display: inline-block;
background: var(--braun-blue);
color: white;
padding: 3px 8px;
border-radius: 4px;
font-size: 12px;
margin-left: 10px;
vertical-align: middle;
}
.contactformzu {
margin-bottom: 20px;
}
.contactform-label {
line-height: 42px;
display: block;
float: left;
width: 110px;
text-align: right;
}
.contactform-label span {
color: #c5262b;
}
.contactform-content {
margin-left: 110px;
}
.contactform-control {
line-height: 20px;
font-size: 14px;
border: 1px solid #efefef;
padding: 10px 15px;
width: 100%;
display: inline-block;
vertical-align: top;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
.contactform-content.yzm .contactform-control {
width: 100px;
}
.contactform-content.yzm .img {
height: 42px;
width: auto;
}
select.contactform-control {
height: 1.7rem;
}
.contactform-submit {
padding: 10px 20px;
color: #fff;
background-color:#18506D;
border: 0;
cursor: pointer;
border-radius: 0.15rem;
font-size: 14px;
}
.contactform-button {
padding: 10px 20px;
color: #fff;
background-color: #767676;
border: 0;
cursor: pointer;
border-radius: 0.15rem;
font-size: 14px;
}
/* Responsive Styles */
@media (max-width: 992px) {
.contact-wrapper {
grid-template-columns: 1fr;
}
.contact {
background: var(--braun-light);
}
}
@media (max-width: 768px) {
.main-header {
flex-direction: column;
padding: 15px 0;
}
nav ul {
margin-top: 20px;
flex-wrap: wrap;
justify-content: center;
}
nav ul li {
margin: 5px 10px;
}
.hero {
padding: 80px 0;
}
.hero h1 {
font-size: 2.2rem;
}
.hero p {
font-size: 1.1rem;
}
.btn {
display: block;
margin: 10px auto;
width: 90%;
max-width: 300px;
}
.product-tabs {
flex-direction: column;
align-items: center;
}
.tab-btn {
width: 100%;
text-align: center;
margin-bottom: 5px;
}
.section-title h2 {
font-size: 2rem;
}
.news-grid {
grid-template-columns: 1fr;
}
.contact-info
{
padding: 10px;
}
.contact-form {
padding: 10px;
}
}