:root {
--primary: #0056b3;
--secondary: #ff6b00;
--dark: #1a2a36;
--light: #f8f9fa;
--gray: #6c757d;
--light-gray: #e9ecef;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Open Sans', sans-serif;
line-height: 1.6;
color: #333;
background-color: #fff;
overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
font-family: 'Montserrat', sans-serif;
font-weight: 700;
margin-bottom: 1rem;
color: var(--dark);
}
h1 {
font-size: 3.5rem;
line-height: 1.2;
}
h2 {
font-size: 2.5rem;
position: relative;
padding-bottom: 15px;
}
h2:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 80px;
height: 4px;
background: var(--secondary);
}
.container {
width: 100%;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
.btn {
display: inline-block;
padding: 12px 30px;
background: var(--secondary);
color: white;
text-decoration: none;
border-radius: 4px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 1px;
transition: all 0.3s ease;
border: none;
cursor: pointer;
}
.btn:hover {
background: #e05a00;
transform: translateY(-3px);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
.btn-outline {
background: transparent;
border: 2px solid var(--secondary);
color: var(--secondary);
}
.btn-outline:hover {
background: var(--secondary);
color: white;
}
/* Header */
header {
background-color: white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
}
.header-container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 0;
}
.logo {
display: flex;
align-items: center;
}
.logo h1 {
font-size: 1.8rem;
margin: 0;
color: var(--primary);
}
.logo span {
color: var(--secondary);
}
.nav-menu {
display: flex;
list-style: none;
}
.nav-menu li {
margin-left: 30px;
}
.nav-menu a {
text-decoration: none;
color: var(--dark);
font-weight: 600;
position: relative;
padding: 5px 0;
}
.nav-menu a:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 0;
height: 2px;
background: var(--secondary);
transition: width 0.3s ease;
}
.nav-menu a:hover:after {
width: 100%;
}
.mobile-toggle {
display: none;
font-size: 1.5rem;
cursor: pointer;
}
/* Hero Section */
.hero {
background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('/static/upload/box/banner.jpg');
background-size: cover;
background-position: center;
color: white;
padding: 120px 0;
text-align: center;
}
.hero-content {
max-width: 800px;
margin: 0 auto;
}
.hero h1 {
color: white;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
max-width: 700px;
margin-left: auto;
margin-right: auto;
}
.hero-btns {
display: flex;
justify-content: center;
gap: 15px;
margin-top: 30px;
}
/* Features */
.features {
padding: 100px 0;
background-color: var(--light);
}
.section-title {
text-align: center;
margin-bottom: 60px;
}
.section-title h2:after {
left: 50%;
transform: translateX(-50%);
}
.features-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 30px;
}
.feature-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease, box-shadow 0.3s ease;
text-align: center;
padding: 40px 25px;
position: relative;
}
.feature-card:hover {
transform: translateY(-10px);
box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.feature-icon {
font-size: 3rem;
color: var(--secondary);
margin-bottom: 20px;
}
/* Products */
.products {
padding: 100px 0;
}
.products-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
margin-top: 50px;
}
.product-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
position: relative;
}
.product-card:hover {
transform: translateY(-10px);
}
.product-img {
height: 367px;
background-color: var(--light-gray);
display: flex;
align-items: center;
justify-content: center;
color: var(--gray);
font-size: 3rem;
overflow: hidden;
}
.product-img img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.5s ease;
}
.product-card:hover .product-img img {
transform: scale(1.1);
}
.product-content {
padding: 20px;
}
.product-content h3 {
font-size: 1.4rem;
margin-bottom: 10px;
}
.product-tag {
position: absolute;
top: 15px;
right: 15px;
background: var(--secondary);
color: white;
padding: 5px 10px;
border-radius: 3px;
font-size: 0.8rem;
font-weight: 600;
}
/* Product Categories */
.categories {
padding: 80px 0;
background-color: var(--light);
}
.categories-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 40px;
}
.category-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
transition: all 0.3s ease;
position: relative;
}
.category-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}
.category-img {
height: 275px;
background-size: cover;
background-position: center;
}
.category-content {
padding: 20px;
text-align: center;
}
.category-content h3 {
font-size: 1rem;
margin: 0;
}
/* News Section */
.news {
padding: 100px 0;
background-color: white;
}
.news-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 30px;
margin-top: 50px;
}
.news-card {
background: white;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
transition: transform 0.3s ease;
border: 1px solid #eee;
}
.news-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.news-img {
height: 200px;
background-size: cover;
background-position: center;
}
.news-content {
padding: 25px;
}
.news-date {
display: block;
color: var(--secondary);
font-weight: 600;
margin-bottom: 10px;
}
.news-content h3 {
font-size: 16px;
margin-bottom: 15px;
color: var(--primary);
}
.news-content p {
margin-bottom: 14px;
color: var(--gray);
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 3;
white-space: normal;
overflow: hidden;
text-overflow: ellipsis;
}
.news-btn {
color: var(--primary);
text-decoration: none;
font-weight: 600;
display: flex;
align-items: center;
}
.news-btn i {
margin-left: 8px;
transition: transform 0.3s ease;
}
.news-btn:hover i {
transform: translateX(5px);
}
/* About */
.about {
padding: 100px 0;
background: linear-gradient(to right, white 50%, var(--light) 50%);
}
.about-container {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 50px;
align-items: center;
}
.about-image {
height: 400px;
background-color: var(--light-gray);
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
font-size: 4rem;
color: var(--gray);
background: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)), url('/static/upload/box/banner.jpg');
background-size: cover;
background-position: center;
}
.about-content h2 {
margin-bottom: 30px;
font-size: 26px;
}
/* Testimonials */
.testimonials {
padding: 100px 0;
background-color: var(--primary);
color: white;
}
.testimonials h2 {
color: white;
}
.testimonials h2:after {
background: var(--secondary);
}
.testimonials-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 30px;
margin-top: 50px;
}
.testimonial-card {
background: rgba(255, 255, 255, 0.1);
border-radius: 8px;
padding: 30px;
backdrop-filter: blur(5px);
position: relative;
}
.testimonial-card:before {
content: '"';
position: absolute;
top: 10px;
left: 20px;
font-size: 5rem;
color: rgba(255, 255, 255, 0.2);
font-family: serif;
line-height: 1;
}
.testimonial-card p {
font-style: italic;
margin-bottom: 20px;
padding-top: 20px;
}
.client-info {
display: flex;
align-items: center;
}
.client-avatar {
width: 50px;
height: 50px;
border-radius: 50%;
background-color: var(--light-gray);
margin-right: 15px;
display: flex;
align-items: center;
justify-content: center;
color: var(--primary);
}
/* CTA */
.cta {
padding: 100px 0;
background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/static/upload/box/messageimg.jpg');
background-size: cover;
background-position: center;
color: white;
text-align: center;
}
.cta h2 {
color: white;
}
.cta h2:after {
left: 50%;
transform: translateX(-50%);
background: var(--secondary);
}
.cta p {
max-width: 700px;
margin: 20px auto 40px;
font-size: 1.1rem;
}
/* Footer */
footer {
background-color: var(--dark);
color: white;
padding: 70px 0 0;
}
.footer-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 40px;
margin-bottom: 50px;
}
.footer-col h3 {
color: white;
margin-bottom: 25px;
font-size: 1.4rem;
position: relative;
padding-bottom: 10px;
}
.footer-col h3:after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 50px;
height: 3px;
background: var(--secondary);
}
.footer-links {
list-style: none;
}
.footer-links li {
margin-bottom: 12px;
}
.footer-links a {
color: #aaa;
text-decoration: none;
transition: color 0.3s ease;
}
.footer-links a:hover {
color: var(--secondary);
}
.contact-info {
list-style: none;
}
.contact-info li {
display: flex;
margin-bottom: 15px;
}
.contact-info i {
color: var(--secondary);
margin-right: 15px;
font-size: 1.2rem;
}
.copyright {
text-align: center;
padding: 25px 0;
border-top: 1px solid rgba(255, 255, 255, 0.1);
color: #aaa;
font-size: 0.9rem;
}
/* Responsive */
@media (max-width: 992px) {
.about-container {
grid-template-columns: 1fr;
}
.about {
background: white;
}
.categories-grid {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.mobile-toggle {
display: block;
}
.nav-menu {
position: fixed;
top: 80px;
left: -100%;
width: 100%;
height: calc(100vh - 80px);
background: white;
flex-direction: column;
align-items: center;
padding-top: 50px;
transition: left 0.3s ease;
}
.nav-menu.active {
left: 0;
}
.nav-menu li {
margin: 20px 0;
}
h1 {
font-size: 2.8rem;
}
.hero-btns {
flex-direction: column;
align-items: center;
}
.categories-grid {
grid-template-columns: 1fr;
}
}
/* SEO Badges */
.seo-badges {
display: flex;
justify-content: center;
gap: 20px;
margin-top: 30px;
flex-wrap: wrap;
}
.seo-badge {
background: white;
border-radius: 8px;
padding: 15px 20px;
display: flex;
align-items: center;
box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}
.seo-badge i {
font-size: 2rem;
color: var(--secondary);
margin-right: 15px;
}
.seo-badge span {
font-weight: 600;
font-size: 0.9rem;
text-transform: uppercase;
}
/* SEO Stats */
.stats-container {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 50px;
}
.stat-card {
text-align: center;
padding: 30px 20px;
background: white;
border-radius: 8px;
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}
.stat-number {
font-size: 3rem;
font-weight: 700;
color: var(--secondary);
margin-bottom: 10px;
}
.stat-label {
font-size: 1.1rem;
color: var(--dark);
}