﻿* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
html {
scroll-behavior: smooth;
}
body {
font-family: 'Noto Sans SC', sans-serif;
line-height: 1.6;
color: #333;
overflow-x: hidden;
}
.container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.navbar {
position: fixed;
top: 0;
width: 100%;
background: rgba(255, 255, 255, 0.95);
backdrop-filter: blur(10px);
z-index: 1000;
transition: all 0.3s ease;
box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}
.navbar.scrolled {
background: rgba(255, 255, 255, 0.98);
box-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}
.nav-container {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
display: flex;
justify-content: space-between;
align-items: center;
height: 70px;
}
.nav-logo {
display: flex;
align-items: center;
gap: 10px;
}
.logo-img {
height: 40px;
width: auto;
}
.logo-text {
font-size: 18px;
font-weight: 700;
color: #2c3e50;
}
.nav-menu {
display: flex;
list-style: none;
gap: 30px;
}
.nav-link {
text-decoration: none;
color: #333;
font-weight: 500;
transition: color 0.3s ease;
position: relative;
}
.nav-link:hover {
color: #3498db;
}
.nav-link::after {
content: '';
position: absolute;
bottom: -5px;
left: 0;
width: 0;
height: 2px;
background: #3498db;
transition: width 0.3s ease;
}
.nav-link:hover::after {
width: 100%;
}
.hamburger {
display: none;
flex-direction: column;
cursor: pointer;
}
.bar {
width: 25px;
height: 3px;
background: #333;
margin: 3px 0;
transition: 0.3s;
}
.hero {
position: relative;
height: 70vh;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.hero-background {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
}
.hero-slide {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
opacity: 0;
transition: opacity 1s ease-in-out;
}
.hero-slide.active {
opacity: 1;
}
.hero-slide img {
width: 100%;
height: 100%;
object-fit: cover;
}
.hero-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(135deg, rgba(44, 62, 80, 0.8), rgba(52, 152, 219, 0.6));
z-index: -1;
}
.hero-content {
text-align: center;
color: white;
z-index: 1;
max-width: 800px;
padding: 0 20px;
}
.hero-title {
font-size: 3.5rem;
font-weight: 700;
margin-bottom: 20px;
line-height: 1.2;
}
.title-line {
display: block;
animation: slideInUp 1s ease-out;
}
.title-line:nth-child(2) {
animation-delay: 0.2s;
}
.hero-subtitle {
font-size: 1.5rem;
margin-bottom: 20px;
opacity: 0.9;
animation: slideInUp 1s ease-out 0.4s both;
}
.hero-description {
font-size: 1.1rem;
margin-bottom: 40px;
opacity: 0.8;
line-height: 1.8;
animation: slideInUp 1s ease-out 0.6s both;
}
.hero-buttons {
display: flex;
gap: 20px;
justify-content: center;
flex-wrap: wrap;
animation: slideInUp 1s ease-out 0.8s both;
}
.btn {
display: inline-block;
padding: 15px 30px;
text-decoration: none;
border-radius: 50px;
font-weight: 600;
transition: all 0.3s ease;
border: 2px solid transparent;
cursor: pointer;
font-size: 1rem;
}
.btn-primary {
background: #3498db;
color: white;
border-color: #3498db;
}
.btn-primary:hover {
background: transparent;
color: #3498db;
border-color: #3498db;
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(52, 152, 219, 0.3);
}
.btn-secondary {
background: transparent;
color: white;
border-color: white;
}
.btn-secondary:hover {
background: white;
color: #2c3e50;
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}
.hero-indicators {
position: absolute;
bottom: 30px;
left: 50%;
transform: translateX(-50%);
display: flex;
gap: 10px;
z-index: 2;
}
.indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: rgba(255, 255, 255, 0.5);
cursor: pointer;
transition: all 0.3s ease;
}
.indicator.active {
background: white;
transform: scale(1.2);
}
.scroll-indicator {
position: absolute;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
z-index: 2;
}
.scroll-arrow {
width: 2px;
height: 30px;
background: white;
position: relative;
animation: bounce 2s infinite;
}
.scroll-arrow::after {
content: '';
position: absolute;
bottom: 0;
left: -4px;
width: 10px;
height: 10px;
border-right: 2px solid white;
border-bottom: 2px solid white;
transform: rotate(45deg);
}
@keyframes slideInUp {
from {
opacity: 0;
transform: translateY(50px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateX(-50%) translateY(0);
}
40% {
transform: translateX(-50%) translateY(-10px);
}
60% {
transform: translateX(-50%) translateY(-5px);
}
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes pulse {
0% {
transform: scale(1);
}
50% {
transform: scale(1.05);
}
100% {
transform: scale(1);
}
}
section {
padding: 80px 0;
}
.section-header {
text-align: center;
margin-bottom: 60px;
}
.section-title {
font-size: 2.5rem;
font-weight: 700;
color: #2c3e50;
margin-bottom: 15px;
position: relative;
}
.section-title::after {
content: '';
position: absolute;
bottom: -10px;
left: 50%;
transform: translateX(-50%);
width: 60px;
height: 3px;
background: linear-gradient(90deg, #3498db, #2ecc71);
border-radius: 2px;
}
.section-subtitle {
font-size: 1.2rem;
color: #7f8c8d;
margin-top: 20px;
}
.about {
background: #f8f9fa;
}
.about-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
align-items: center;
}
.about-text h3 {
font-size: 1.8rem;
color: #2c3e50;
margin-bottom: 20px;
}
.about-text p {
font-size: 1.1rem;
line-height: 1.8;
color: #555;
margin-bottom: 20px;
}
.about-features {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 30px;
margin-top: 40px;
}
.feature-item {
text-align: center;
padding: 30px 20px;
background: white;
border-radius: 10px;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.feature-item:hover {
transform: translateY(-5px);
}
.feature-item i {
font-size: 2.5rem;
color: #3498db;
margin-bottom: 15px;
}
.feature-item h4 {
font-size: 1.2rem;
color: #2c3e50;
margin-bottom: 10px;
}
.feature-item p {
color: #7f8c8d;
font-size: 0.9rem;
}
.about-image img {
width: 100%;
border-radius: 10px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.services-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
}
.service-card {
background: white;
padding: 40px 30px;
border-radius: 15px;
text-align: center;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}
.service-card::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
transition: left 0.5s ease;
}
.service-card:hover::before {
left: 100%;
}
.service-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}
.service-icon {
width: 80px;
height: 80px;
background: linear-gradient(135deg, #3498db, #2ecc71);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 25px;
transition: transform 0.3s ease;
}
.service-card:hover .service-icon {
transform: scale(1.1) rotate(5deg);
}
.service-icon i {
font-size: 2rem;
color: white;
}
.service-card h3 {
font-size: 1.5rem;
color: #2c3e50;
margin-bottom: 15px;
}
.service-card p {
color: #7f8c8d;
line-height: 1.6;
margin-bottom: 20px;
}
.service-card ul {
list-style: none;
text-align: left;
}
.service-card li {
color: #555;
margin-bottom: 8px;
position: relative;
padding-left: 20px;
}
.service-card li::before {
content: '鉁?;
position: absolute;
left: 0;
color: #2ecc71;
font-weight: bold;
}
.products {
background: #f8f9fa;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
}
.product-card {
background: white;
border-radius: 15px;
overflow: hidden;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.product-card:hover {
transform: translateY(-5px);
}
.product-image {
position: relative;
overflow: hidden;
height: 250px;
}
.product-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.3s ease;
}
.product-card:hover .product-image img {
transform: scale(1.1);
}
.product-overlay {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(52, 152, 219, 0.8);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.product-card:hover .product-overlay {
opacity: 1;
}
.product-link {
color: white;
font-size: 2rem;
text-decoration: none;
transition: transform 0.3s ease;
}
.product-link:hover {
transform: scale(1.2);
}
.product-info {
padding: 25px;
}
.product-info h3 {
font-size: 1.3rem;
color: #2c3e50;
margin-bottom: 10px;
}
.product-info p {
color: #7f8c8d;
line-height: 1.6;
}
.contact-content {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 60px;
}
.contact-item {
display: flex;
align-items: flex-start;
gap: 20px;
margin-bottom: 30px;
}
.contact-icon {
width: 50px;
height: 50px;
background: linear-gradient(135deg, #3498db, #2ecc71);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.contact-icon i {
color: white;
font-size: 1.2rem;
}
.contact-details h4 {
font-size: 1.2rem;
color: #2c3e50;
margin-bottom: 5px;
}
.contact-details p {
color: #7f8c8d;
line-height: 1.6;
}
.contact-details a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
.contact-details a:hover {
color: #2980b9;
}
.contact-form {
background: white;
padding: 40px;
border-radius: 15px;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.form-group {
margin-bottom: 25px;
}
.form-group input,
.form-group textarea {
width: 100%;
padding: 15px;
border: 2px solid #ecf0f1;
border-radius: 8px;
font-size: 1rem;
transition: border-color 0.3s ease;
font-family: inherit;
}
.form-group input:focus,
.form-group textarea:focus {
outline: none;
border-color: #3498db;
}
.form-group textarea {
resize: vertical;
min-height: 120px;
}
.footer {
background: #2c3e50;
color: white;
padding: 60px 0 20px;
}
.footer-content {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 40px;
}
.footer-logo {
display: flex;
align-items: center;
gap: 10px;
margin-bottom: 20px;
}
.footer-logo img {
height: 30px;
width: auto;
}
.footer-logo span {
font-size: 1.1rem;
font-weight: 600;
}
.footer-section h4 {
font-size: 1.2rem;
margin-bottom: 20px;
color: #3498db;
}
.footer-section ul {
list-style: none;
}
.footer-section ul li {
margin-bottom: 10px;
}
.footer-section ul li a {
color: #bdc3c7;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-section ul li a:hover {
color: #3498db;
}
.footer-section p {
color: #bdc3c7;
line-height: 1.6;
margin-bottom: 10px;
}
.footer-section i {
margin-right: 10px;
color: #3498db;
}
.footer-bottom {
border-top: 1px solid #34495e;
padding-top: 20px;
text-align: center;
color: #bdc3c7;
}
.footer-bottom a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-bottom a:hover {
color: #2980b9;
text-decoration: underline;
}
@media (max-width: 768px) {
.hamburger {
display: flex;
}
.nav-menu {
position: fixed;
left: -100%;
top: 70px;
flex-direction: column;
background-color: white;
width: 100%;
text-align: center;
transition: 0.3s;
box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
padding: 20px 0;
}
.nav-menu.active {
left: 0;
}
.nav-menu li {
margin: 15px 0;
}
.hamburger.active .bar:nth-child(2) {
opacity: 0;
}
.hamburger.active .bar:nth-child(1) {
transform: translateY(8px) rotate(45deg);
}
.hamburger.active .bar:nth-child(3) {
transform: translateY(-8px) rotate(-45deg);
}
.hero {
height: 60vh;
}
.hero-title {
font-size: 2.5rem;
}
.hero-subtitle {
font-size: 1.2rem;
}
.hero-buttons {
flex-direction: column;
align-items: center;
}
.about-content {
grid-template-columns: 1fr;
gap: 40px;
}
.contact-content {
grid-template-columns: 1fr;
gap: 40px;
}
.services-grid {
grid-template-columns: 1fr;
}
.products-grid {
grid-template-columns: 1fr;
}
.section-title {
font-size: 2rem;
}
.container {
padding: 0 15px;
}
section {
padding: 60px 0;
}
}
@media (max-width: 480px) {
.hero {
height: 50vh;
}
.hero-title {
font-size: 2rem;
}
.hero-subtitle {
font-size: 1rem;
}
.hero-description {
font-size: 0.9rem;
}
.btn {
padding: 12px 25px;
font-size: 0.9rem;
}
.service-card,
.contact-form {
padding: 25px 20px;
}
.section-title {
font-size: 1.8rem;
}
}
.fade-in {
opacity: 0;
transform: translateY(30px);
transition: all 0.6s ease;
}
.fade-in.visible {
opacity: 1;
transform: translateY(0);
}
.loading {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: white;
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
transition: opacity 0.3s ease;
}
.loading.hidden {
opacity: 0;
pointer-events: none;
}
.spinner {
width: 40px;
height: 40px;
border: 2px solid #f3f3f3;
border-top: 2px solid #3498db;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
