/* Global Styles */
:root {
    --primary-color: #ffffff;
    --secondary-color: #0056b3;
    --accent-color: #e63946;
    --text-color: #333333;
    --light-gray: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background-color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--secondary-color);
    font-size: 1.8rem;
}

.logo-img {
    max-height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px;
    background-color: #1a1a1a;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #1a1a1a;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    min-height: 100%;
    min-width: 100%;
    background-color: #1a1a1a;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
    opacity: 0.9;
}

/* Add a dark overlay to make text more readable */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Reduced opacity */
    z-index: 2;
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: var(--accent-color);
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

/* Solutions Section */
.solutions {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.solutions h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.solutions-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.solution-item {
    padding: 2rem;
    background-color: var(--primary-color);
    border-radius: 10px;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--light-gray);
}

.about h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about .container {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 10px;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.contact-details {
    margin-bottom: 3rem;
    text-align: center;
}

.contact-info {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.contact-info p {
    margin: 1rem 0;
    font-size: 1.1rem;
}

.contact-info i {
    color: var(--secondary-color);
    margin-right: 1rem;
    width: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form textarea {
    height: 150px;
    resize: vertical;
}

.map-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 450px;
    border: none;
}

/* Footer */
footer {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .solutions-content {
        grid-template-columns: 1fr;
    }

    .logo-img {
        max-height: 40px;
    }
}

/* Products Section */
.products {
    padding: 5rem 0;
    background-color: var(--primary-color);
}

.products h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.product-card {
    background-color: var(--light-gray);
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    height: 250px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.product-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.2rem;
}

.product-card p {
    color: var(--text-color);
    line-height: 1.6;
}

.product-feature {
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.1rem;
    margin: 0.2rem 0 0.8rem 0;
    text-transform: uppercase;
}

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

/* Partners Section Styles */
.partners-section {
    margin-top: 4rem;
    text-align: center;
}

.partners-section h3 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.8rem;
}

.partners-container {
    position: relative;
    height: 400px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    overflow-x: hidden;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(100px, auto);
    gap: 25px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 140px;
    height: 90px;
    object-fit: contain;
    transition: all 0.3s ease;
    cursor: pointer;
    opacity: 0.8;
}

.partner-logo:hover {
    transform: scale(1.1);
    opacity: 1;
    z-index: 10;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 自定义滚动条样式 */
.partners-container::-webkit-scrollbar {
    width: 8px;
}

.partners-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.partners-container::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.partners-container::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Responsive styles */
@media (max-width: 768px) {
    .partners-container {
        height: 500px;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .partner-logo {
        width: 120px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .partners-container {
        height: 600px;
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .partner-logo {
        width: 100px;
        height: 70px;
    }
} 