/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "微软雅黑", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    line-height: 1.6;
}

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

/* 导航栏样式 */
.navbar {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

/* Banner样式 */
.page-banner {
    width: 100%;
    height: 400px;
    overflow: hidden;
    margin-top: 70px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.navbar-brand img {
    height: 50px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

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

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #02A0E9;
}

.language-selector {
    position: relative;
    margin-left: 30px;
}

.lang-btn {
    background-color: transparent;
    color: #02A0E9;
    border: 1px solid #02A0E9;
    padding: 8px 16px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background-color: #02A0E9;
    color: #fff;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 2px;
    display: none;
    min-width: 120px;
}

.language-selector:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.3s;
}

.lang-dropdown a::before {
    content: attr(data-flag);
    margin-right: 8px;
    font-size: 16px;
}

.lang-dropdown a:hover {
    background-color: #f5f5f5;
}

/* 视频背景展示区 */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.btn-primary {
    background-color: #02A0E9;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0088cc;
}

.btn {
    background-color: #02A0E9;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background-color: #0088cc;
}

/* 品牌故事展示区 */
.brand-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 10px;
}

.section-title p {
    color: #666;
    font-size: 18px;
}

.brand-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.brand-card {
    width: 400px;
    height: 300px;
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.brand-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #02A0E9;
}

.brand-card p {
    color: #666;
    line-height: 1.6;
}

/* 品质介绍展示区 */
.quality-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.quality-section .section-title {
    text-align: center;
    margin-bottom: 60px;
}

.quality-section .section-title h2 {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.quality-section .section-title p {
    font-size: 18px;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.quality-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.quality-card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    min-height: 300px;
    background-size: cover;
    background-position: center;
}

.quality-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.2) 100%);
    z-index: 1;
}

.quality-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.quality-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    z-index: 2;
}

.quality-card-content h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

.quality-card-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 0;
}

.quality-card-bg {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quality-card-bg:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.quality-card-bg:hover .quality-card-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 60%);
}

.quality-card-bg h3 {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.quality-card-bg p {
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.quality-card-bg .quality-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%);
    border-radius: 10px;
    z-index: 1;
}

.quality-card-bg .quality-card-content {
    position: relative;
    z-index: 2;
}

/* 巨江在全球 */
.global-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.global-map {
    margin-bottom: 50px;
    text-align: center;
}

.global-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.global-card {
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    background-size: cover;
    background-position: center;
    min-height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.global-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 60%);
    border-radius: 10px;
    z-index: 1;
    transition: background 0.3s;
}

.global-card:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.global-card:hover::before {
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%);
}

.global-card h4 {
    font-size: 16px;
    color: #fff;
    position: relative;
    z-index: 2;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    transition: transform 0.3s;
}

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

/* 页脚样式 */
.footer {
    background-color: #333;
    color: #fff;
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #02A0E9;
}

.footer-section p,
.footer-section li {
    margin-bottom: 10px;
    color: #ccc;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #02A0E9;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 30px;
    text-align: center;
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        padding: 10px;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 0 10px;
    }

    .language-selector {
        margin-top: 15px;
        margin-left: 0;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content p {
        font-size: 18px;
    }

    .brand-cards {
        flex-direction: column;
        align-items: center;
    }

    .brand-card {
        width: 90%;
        max-width: 400px;
    }

    .quality-cards {
        grid-template-columns: 1fr;
    }

    .global-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .global-cards {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* 产品展示页面样式 */
.product-section {
    padding: 100px 0 80px;
}

.product-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.category-btn {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-btn.active,
.category-btn:hover {
    background-color: #02A0E9;
    color: #fff;
    border-color: #02A0E9;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1200px) {
    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.product-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-info {
    padding: 20px;
}

.product-info h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    color: #666;
    margin-bottom: 15px;
}

.product-specs {
    font-size: 14px;
    color: #999;
}

/* 品牌故事页面样式 */
.brand-story-section {
    padding: 100px 0 80px;
}

.brand-story-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.brand-story-image {
    flex: 1;
    min-width: 300px;
}

.brand-story-image img {
    width: 100%;
    border-radius: 10px;
}

.brand-story-text {
    flex: 1;
    min-width: 300px;
}

.brand-story-text h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #02A0E9;
}

.brand-story-text p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #666;
}

/* 联系我们页面样式 */
.contact-section {
    padding: 100px 0 80px;
}

.contact-section h2 {
    font-size: 32px;
    margin-bottom: 20px;
    text-align: center;
}

.contact-section p {
    font-size: 18px;
    margin-bottom: 40px;
    text-align: center;
    color: #666;
}

/* 地区联系方式 */
.contact-regions {
    margin-bottom: 60px;
}

.region-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    justify-content: center;
}

.region-tab {
    padding: 10px 20px;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.region-tab:hover {
    background-color: #f0f0f0;
}

.region-tab.active {
    background-color: #02A0E9;
    color: #fff;
    border-color: #02A0E9;
}

.region-content {
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.region-info {
    display: none;
}

.region-info.active {
    display: block;
}

.region-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.region-info p {
    font-size: 16px;
    margin-bottom: 15px;
    text-align: left;
    color: #666;
}

.region-info i {
    color: #02A0E9;
    margin-right: 10px;
    width: 20px;
}

/* 联系表单 */
.contact-form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form-container h3 {
    font-size: 24px;
    margin-bottom: 30px;
    color: #02A0E9;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

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

.form-success {
    margin-top: 20px;
    padding: 15px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    border-radius: 4px;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .region-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .region-tab {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .contact-form-container {
        padding: 20px;
    }
    
    .region-content {
        padding: 20px;
    }
}

/* 模态框样式 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 2000;
}

.modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: #999;
}

.modal-close:hover {
    color: #333;
}

.modal-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-info h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #02A0E9;
}

.modal-info p {
    margin-bottom: 10px;
    color: #666;
}