:root {
    --primary-dark: #1A365D;
    --primary-blue: #2B6CB0;
    --secondary-blue: #3182CE;
    --accent-green: #38A169;
    --accent-yellow: #F6AD55;
    --secondary-dark: #2C3E50;
    --light-gray: #F8FAFC;
    --medium-gray: #718096;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', 'Noto Sans Arabic', 'Noto Sans Thai', sans-serif;
    color: var(--primary-dark);
    line-height: 1.6;
    background-color: var(--white);
}

body[dir="rtl"] {
    font-family: 'Noto Sans Arabic', 'Inter', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 14px;
}

.btn-primary {
    background-color: var(--primary-blue);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 108, 176, 0.4);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-dark);
}

.btn-large {
    padding: 16px 36px;
    font-size: 16px;
}

.btn-full {
    width: 100%;
}

.top-bar {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 10px 0;
    font-size: 14px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-right {
    display: flex;
    gap: 16px;
    align-items: center;
}

.language-selector {
    position: relative;
}

.lang-btn {
    background-color: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 6px 12px;
    font-size: 14px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--white);
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    min-width: 180px;
    max-height: 55vh;
    overflow-y: auto;
    display: none;
    z-index: 10001;
}

.lang-dropdown.show {
    display: block;
}

.lang-dropdown button {
    width: 100%;
    padding: 10px 16px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.lang-dropdown button:hover {
    background-color: var(--light-gray);
    color: var(--primary-orange);
}

.currency-selector select {
    background-color: transparent;
    border: none;
    color: var(--white);
    font-size: 14px;
    cursor: pointer;
}

.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    padding-bottom: 16px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
}

.logo .accent {
    color: var(--accent-green);
}

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

.nav-links a {
    font-weight: 500;
    color: var(--primary-dark);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

/* 汉堡按钮展开态：三条杠变 X */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    background: #0F2847;
    color: var(--white);
    overflow: hidden;
}

/* 轮换图片背景（4 张工厂场景图，8 秒轮换） */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.hero-bg-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroSlide 32s infinite;
    transition: opacity 2s ease;
}

.hero-bg-slide:nth-child(1) { animation-delay: 0s; }
.hero-bg-slide:nth-child(2) { animation-delay: 8s; }
.hero-bg-slide:nth-child(3) { animation-delay: 16s; }
.hero-bg-slide:nth-child(4) { animation-delay: 24s; }

@keyframes heroSlide {
    0% { opacity: 0; }
    5% { opacity: 1; }
    25% { opacity: 1; }
    30% { opacity: 0; }
    100% { opacity: 0; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15, 40, 71, 0.82) 0%, rgba(20, 48, 84, 0.7) 50%, rgba(30, 77, 123, 0.78) 100%),
                radial-gradient(circle at 30% 50%, rgba(56, 161, 105, 0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(43, 108, 176, 0.1) 0%, transparent 40%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 0;
}

.hero-tag {
    display: inline-block;
    background-color: rgba(56, 161, 105, 0.2);
    color: var(--accent-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 24px;
    border: 1px solid rgba(56, 161, 105, 0.3);
}

.hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 18px;
    color: #CCCCCC;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: var(--accent-green);
}

.stat-label {
    color: #AAAAAA;
    font-size: 14px;
}

.features {
    padding: 60px 0;
    background-color: var(--light-gray);
}

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

.feature-card {
    background-color: var(--white);
    padding: 32px 24px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.feature-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

.products-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--medium-gray);
    font-size: 16px;
}

.filter-bar {
    background-color: var(--light-gray);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group > span {
    display: block;
    font-weight: 600;
    margin-bottom: 12px;
}

.filter-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 2px solid #DDDDDD;
    background-color: var(--white);
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: var(--transition);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: var(--white);
}

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

.product-card {
    background-color: var(--white);
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.product-image {
    width: 100%;
    position: relative;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 100%);
    overflow: hidden;
}

.product-image .product-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.product-info {
    padding: 20px;
}

.product-brand {
    display: inline-block;
    background-color: var(--light-gray);
    color: var(--primary-dark);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.product-type {
    color: var(--medium-gray);
    font-size: 13px;
    margin-bottom: 12px;
}

.product-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
}

.oem-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #0F2847 0%, var(--primary-dark) 50%, #1E3A5F 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.oem-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.oem-section .container {
    position: relative;
    z-index: 1;
}

.oem-section .section-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    background-color: rgba(56, 161, 105, 0.2);
    color: var(--accent-green);
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    border: 1px solid rgba(56, 161, 105, 0.3);
}

.oem-section h2 {
    font-size: 42px;
    margin-bottom: 16px;
    font-weight: 800;
}

.oem-section p {
    color: #AAAAAA;
    margin-bottom: 32px;
    font-size: 18px;
}

.oem-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.oem-feature-card {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
}

.oem-feature-card:hover {
    transform: translateY(-10px);
    background-color: rgba(43, 108, 176, 0.1);
    border-color: rgba(43, 108, 176, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.oem-feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.oem-feature-card h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: 600;
}

.oem-feature-card p {
    color: #AAAAAA;
    font-size: 14px;
    margin-bottom: 0;
}

.oem-cta {
    text-align: center;
}

.oem-cta .btn-primary {
    padding: 20px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(43, 108, 176, 0.3);
}

.factory-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.factory-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

.factory-video {
    background-color: var(--primary-dark);
    border-radius: 8px;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder {
    text-align: center;
    color: var(--white);
}

.play-btn {
    width: 80px;
    height: 80px;
    background-color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: scale(1.1);
}

.factory-info {
    display: grid;
    gap: 16px;
}

.info-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.info-icon {
    font-size: 40px;
}

.info-card h4 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
}

.info-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

.certifications {
    text-align: center;
}

.certifications h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cert-card {
    background-color: var(--white);
    padding: 24px 16px;
    border-radius: 8px;
    font-weight: 700;
    border: 2px solid #E5E5E5;
}

.inquiry-section {
    padding: 80px 0;
}

.inquiry-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.inquiry-form {
    background-color: var(--light-gray);
    padding: 32px;
    border-radius: 8px;
}

.inquiry-contact {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 32px;
    border-radius: 8px;
}

.inquiry-contact h3 {
    font-size: 24px;
    margin-bottom: 24px;
}

.contact-methods {
    margin-bottom: 32px;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 8px;
    margin-bottom: 12px;
    transition: var(--transition);
}

.contact-btn:hover {
    background-color: rgba(255,255,255,0.2);
}

.contact-btn.whatsapp:hover {
    background-color: #25D366;
}

.contact-btn.email:hover {
    background-color: #EA4335;
}

.contact-btn.livechat:hover {
    background-color: var(--primary-orange);
}

.contact-icon {
    font-size: 32px;
}

.contact-btn strong {
    display: block;
    font-size: 16px;
}

.contact-btn span {
    font-size: 14px;
    color: #CCCCCC;
}

.working-hours h4 {
    margin-bottom: 8px;
}

footer {
    background-color: var(--secondary-dark);
    color: var(--white);
    padding: 60px 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.footer-col p {
    color: #AAAAAA;
    font-size: 14px;
}

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

.footer-col ul li {
    margin-bottom: 10px;
    color: #AAAAAA;
    font-size: 14px;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-wechat-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 6px;
    background-color: #07C160;
    background-image: url('images/wechat-icon.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    vertical-align: middle;
    border-radius: 100%;
    overflow: hidden;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 24px;
    text-align: center;
    color: #888888;
    font-size: 14px;
}

.floating-contact {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
}

.float-btn {
    width: 64px;
    height: 64px;
    background-color: #07C160;
    background-image: url('images/wechat-icon.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(7, 193, 96, 0.4);
    transition: var(--transition);
    border: 2px solid rgba(255,255,255,0.2);
    overflow: hidden;
}

.float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 24px rgba(7, 193, 96, 0.5);
}

.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7);
}

.modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-content {
    background-color: var(--white);
    border-radius: 8px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    cursor: pointer;
    color: var(--medium-gray);
    z-index: 10;
}

.close-modal:hover {
    color: var(--primary-blue);
}

.modal-body {
    padding: 40px;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.modal-image {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, #F0F0F0 0%, #E0E0E0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-details h2 {
    margin-bottom: 16px;
}

.modal-price {
    font-size: 32px;
    color: var(--primary-blue);
    font-weight: 700;
    margin-bottom: 24px;
}

.modal-specs {
    margin-top: 24px;
}

.modal-specs h4 {
    margin-bottom: 12px;
}

.spec-list {
    display: grid;
    gap: 8px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #E5E5E5;
}

.spec-label {
    font-weight: 600;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .oem-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factory-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .oem-features-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    
    .oem-feature-card {
        padding: 30px 20px;
    }
    
    .oem-section h2 {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
    }
    
    /* 小屏隐藏整个顶栏：语言选择器由 JS 移入 sticky 导航行 */
    .top-bar {
        display: none;
    }

    /* 导航行内的语言按钮：深色文字适配白色导航背景 */
    .lang-btn {
        color: var(--primary-dark);
        border: 1px solid #d9d9d9;
        border-radius: 6px;
        min-height: 40px;
        padding: 8px 14px;
        font-weight: 600;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-stats {
        gap: 30px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .oem-features-grid {
        grid-template-columns: 1fr;
    }
    
    .oem-section h2 {
        font-size: 28px;
    }
}

/* Contact Section Styles */
.contact-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.contact-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.primary-contact {
    border: 3px solid var(--primary-blue);
    background: linear-gradient(135deg, #EBF8FF 0%, #FFFFFF 100%);
}

.contact-icon-large {
    font-size: 64px;
    margin-bottom: 20px;
}

.wechat-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
    overflow: hidden;
    background-color: #07C160;
}

.wechat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contact-email-large {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 25px;
    word-break: break-all;
}

.contact-phone {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

.working-hours-section {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 8px;
}

.working-hours-section h4 {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.working-hours-section p {
    color: var(--medium-gray);
    font-size: 16px;
}

/* Responsive for Contact Section */
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        padding: 50px 0;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .contact-icon-large {
        font-size: 48px;
    }
    
    .contact-email-large {
        font-size: 16px;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* About Section Styles */
.about-section {
    padding: 80px 0;
    background-color: var(--light-gray);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

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

.about-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.about-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.about-card p {
    color: var(--medium-gray);
    line-height: 1.7;
}

/* Responsive for About Section */
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-section {
        padding: 50px 0;
    }
    
    .about-card {
        padding: 30px 20px;
    }
}

/* Page Header Styles */
.page-header {
    padding: 80px 0;
    background: linear-gradient(135deg, #0F2847 0%, var(--primary-dark) 50%, #1E4D7B 100%);
    color: var(--white);
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Products Preview Section */
.products-preview {
    padding: 80px 0;
}

.section-cta {
    text-align: center;
    margin-top: 50px;
}

.btn-small {
    padding: 8px 20px;
    font-size: 14px;
}

/* Filters */
.filters {
    margin-bottom: 40px;
    padding: 30px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

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

.filter-group h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #E5E5E5;
    background-color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--primary-blue);
    background-color: var(--primary-blue);
    color: var(--white);
}

/* News Section Styles */
.news-section {
    padding: 80px 0;
}

.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.news-search {
    flex: 1;
    max-width: 400px;
}

.news-search input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E5E5;
    border-radius: 8px;
    font-size: 14px;
    transition: var(--transition);
}

.news-search input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

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

.news-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.news-card-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-dark) 0%, #2C3E50 100%);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-category {
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.news-featured {
    background-color: #FFD700;
    color: var(--primary-dark);
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.news-card-body {
    padding: 25px 20px;
}

.news-card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    line-height: 1.4;
}

.news-card-summary {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.news-card-meta {
    display: flex;
    gap: 15px;
    color: var(--medium-gray);
    font-size: 13px;
}

.news-card-footer {
    padding: 0 20px 25px 20px;
}

.news-read-more {
    display: inline-block;
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.news-read-more:hover {
    text-decoration: underline;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}

.pagination-btn {
    padding: 10px 16px;
    border: 2px solid #E5E5E5;
    background-color: var(--white);
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.pagination-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.pagination-btn.active {
    background-color: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* News Detail Section */
.news-detail-header {
    text-align: left;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-blue);
    font-weight: 600;
    margin-bottom: 30px;
    text-decoration: none;
    transition: var(--transition);
}

.back-link:hover {
    text-decoration: underline;
}

.news-detail-section {
    padding: 60px 0;
}

.news-article {
    max-width: 900px;
    margin: 0 auto;
}

.article-header {
    margin-bottom: 40px;
}

.article-title {
    font-size: 42px;
    line-height: 1.3;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.article-meta {
    display: flex;
    gap: 20px;
    color: var(--medium-gray);
    font-size: 14px;
}

.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--primary-dark);
}

.article-content h3 {
    font-size: 24px;
    margin: 30px 0 15px 0;
    color: var(--primary-dark);
}

.article-content ul {
    margin: 15px 0;
    padding-left: 30px;
}

.article-content li {
    margin: 8px 0;
}

.article-footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--light-gray);
}

.article-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.article-tag {
    background-color: var(--light-gray);
    color: var(--primary-dark);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
}

/* Related Articles */
.related-articles {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 2px solid var(--light-gray);
}

.related-articles h3 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.related-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.related-card-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary-dark);
    line-height: 1.4;
}

.related-card-summary {
    color: var(--medium-gray);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.related-card-meta {
    color: var(--medium-gray);
    font-size: 13px;
    margin-bottom: 15px;
}

.related-card-link {
    color: var(--primary-blue);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.related-card-link:hover {
    text-decoration: underline;
}

/* Responsive for News Section */
@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .article-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .news-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .news-search {
        max-width: 100%;
    }
    
    .article-title {
        font-size: 30px;
    }
    
    .article-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* About Preview Section */
.about-preview {
    padding: 80px 0;
    background-color: var(--light-gray);
}

/* OEM Section */
.oem-section {
    padding: 100px 0;
}

.oem-cta {
    text-align: center;
    margin-top: 50px;
}

/* Factory Section */
.factory-section {
    padding: 80px 0;
}

.factory-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.factory-stats .stat-item {
    text-align: center;
    padding: 30px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.factory-stats .stat-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.factory-stats .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.factory-stats .stat-label {
    font-size: 14px;
    color: var(--medium-gray);
}

.factory-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.factory-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.factory-content p {
    font-size: 16px;
    color: var(--medium-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.factory-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.factory-card {
    background-color: var(--light-gray);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
}

.factory-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.factory-card p {
    color: var(--medium-gray);
    font-size: 14px;
    line-height: 1.7;
}

/* Contact Info Bottom */
.contact-info-bottom {
    margin-top: 60px;
    text-align: center;
    padding: 40px;
    background-color: var(--light-gray);
    border-radius: 12px;
}

.contact-info-bottom h4 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.contact-value-large {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-blue);
    margin: 10px 0;
}

.contact-value {
    font-size: 16px;
    margin: 8px 0;
    color: var(--primary-dark);
}

/* Responsive */
@media (max-width: 992px) {
    .factory-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .factory-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .factory-stats {
        grid-template-columns: 1fr;
    }
    
    .page-header {
        padding: 50px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 14px;
    }
    
    .filter-buttons {
        justify-content: center;
    }
}

/* Main Footer */
.main-footer {
    padding: 60px 0 30px;
    background-color: var(--primary-dark);
    color: var(--white);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
}

.footer-col p {
    color: #AAAAAA;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    color: #AAAAAA;
}

.footer-col ul li a {
    color: #AAAAAA;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    border-top: 1px solid #333333;
    margin-top: 40px;
    padding-top: 30px;
    text-align: center;
    color: #888888;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ==================== 右下角浮动询盘按钮 ==================== */
.inquiry-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9998;
    display: flex;
    align-items: center;
    cursor: pointer;
    animation: inquiryPulse 3s ease-in-out infinite;
}

.inquiry-float-btn {
    width: 58px;
    height: 58px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #f5a623 0%, #f78d1e 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(245, 141, 30, 0.45);
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.inquiry-float-label {
    background: linear-gradient(135deg, #f5a623 0%, #f78d1e 100%);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 14px;
    margin-right: -12px;
    border-radius: 12px 0 0 12px;
    box-shadow: 0 4px 16px rgba(245, 141, 30, 0.35);
    white-space: nowrap;
}

.inquiry-float:hover .inquiry-float-btn,
.inquiry-float:hover .inquiry-float-label {
    transform: scale(1.06);
    box-shadow: 0 6px 22px rgba(245, 141, 30, 0.55);
}

@keyframes inquiryPulse {
    0%, 100% { filter: drop-shadow(0 0 0 rgba(245, 166, 35, 0)); }
    50% { filter: drop-shadow(0 0 14px rgba(245, 166, 35, 0.55)); }
}

@media (max-width: 768px) {
    .inquiry-float {
        bottom: 16px;
        right: 16px;
    }

    .inquiry-float-btn {
        width: 50px;
        height: 50px;
    }

    .inquiry-float-label {
        font-size: 12px;
        padding: 8px 10px;
    }
}

/* ==================== 后台统计管理样式 ==================== */
.stats-section {
    padding: 40px 0;
    background: var(--light-gray);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

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

.stat-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--primary-blue);
}

.stat-card h3 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin: 10px 0;
}

.stat-card p {
    color: var(--medium-gray);
    font-size: 14px;
}

.stats-tables-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.stats-table-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.stats-table-card h4 {
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 18px;
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-table th,
.stats-table td {
    padding: 12px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 14px;
}

.stats-table th {
    font-weight: 600;
    color: var(--primary-dark);
}

.stats-table tr:hover {
    background: var(--light-gray);
}

.stats-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

/* 后台响应式样式 */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-tables-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card h3 {
        font-size: 28px;
    }
    
    .stats-table th,
    .stats-table td {
        font-size: 12px;
        padding: 8px 4px;
    }
}

/* ==================== 企业实力展示区域样式 ==================== */

/* 照片网格样式 */
.gallery-section {
    padding: 80px 0;
}

.gallery-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.gallery-section .section-header h2 {
    margin: 0;
}

.view-more-link {
    color: var(--primary-orange);
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.view-more-link:hover {
    text-decoration: underline;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gallery-item-inner {
    position: relative;
    height: 280px;
    background: linear-gradient(135deg, #2D2D2D 0%, #3D3D3D 100%);
    overflow: hidden;
}

.gallery-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.5s ease;
}

.gallery-image-wrapper.loaded {
    background-size: cover;
}

.gallery-item:hover .gallery-image-wrapper {
    transform: scale(1.05);
}

.gallery-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 30px 20px 20px;
    transform: translateY(50%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
    opacity: 1;
}

.gallery-info {
    flex: 1;
}

.gallery-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.gallery-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.gallery-description {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    line-height: 1.5;
}

.gallery-view-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(43, 108, 176, 0.9);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0;
    transform: scale(0.8);
}

.gallery-item:hover .gallery-view-btn {
    opacity: 1;
    transform: scale(1);
}

.gallery-view-btn:hover {
    background: var(--primary-blue);
    transform: scale(1.1);
}

/* 分类筛选器样式 */
.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.gallery-filter-btn {
    padding: 10px 24px;
    border: 2px solid #E5E5E5;
    background: white;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.gallery-filter-btn:hover {
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.gallery-filter-btn.active {
    border-color: var(--primary-blue);
    background: var(--primary-blue);
    color: white;
}

/* 照片轮播样式 */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.carousel-track {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 16/9;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.carousel-slide-content {
    position: relative;
    height: 100%;
}

.carousel-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #2D2D2D 0%, #3D3D3D 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel-image-wrapper.loaded {
    background-size: cover;
}

.carousel-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
    padding: 40px;
    color: white;
}

.carousel-caption .carousel-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.carousel-caption h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
}

.carousel-caption p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.6;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:hover {
    background: var(--primary-blue);
    color: white;
}

.carousel-prev {
    left: 20px;
}

.carousel-next {
    right: 20px;
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.2);
}

.carousel-dot:hover {
    background: rgba(255, 255, 255, 0.7);
}

/* 照片模态框样式 */
.photo-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.photo-modal.open {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-modal.open .modal-backdrop {
    opacity: 1;
}

.photo-modal .modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s ease;
}

.photo-modal.open .modal-content {
    transform: scale(1);
    opacity: 1;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: var(--transition);
    color: white;
}

.modal-close:hover {
    background: var(--primary-blue);
    transform: rotate(90deg);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    transition: var(--transition);
    color: white;
}

.modal-nav:hover {
    background: var(--primary-blue);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-image-wrapper {
    flex: 1;
    min-height: 50vh;
    background: linear-gradient(135deg, #2D2D2D 0%, #3D3D3D 100%);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.modal-image-wrapper.loaded {
    background-size: contain;
}

.modal-placeholder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgba(255, 255, 255, 0.3);
}

.modal-info {
    padding: 30px;
    background: white;
}

.modal-info .modal-category {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 6px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.modal-info .modal-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.modal-info .modal-description {
    color: var(--medium-gray);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.modal-info .modal-counter {
    font-size: 14px;
    color: var(--medium-gray);
    font-weight: 500;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-track {
        aspect-ratio: 16/10;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item-inner {
        height: 240px;
    }
    
    .gallery-section .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .gallery-filters {
        justify-content: center;
    }
    
    .gallery-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .carousel-prev {
        left: 10px;
    }
    
    .carousel-next {
        right: 10px;
    }
    
    .carousel-caption {
        padding: 25px 20px;
    }
    
    .carousel-caption h3 {
        font-size: 22px;
    }
    
    .carousel-caption p {
        font-size: 14px;
    }
    
    .carousel-track {
        aspect-ratio: 4/3;
    }
    
    .photo-modal .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-nav {
        width: 40px;
        height: 40px;
    }
    
    .modal-prev {
        left: 10px;
    }
    
    .modal-next {
        right: 10px;
    }
    
    .modal-close {
        width: 35px;
        height: 35px;
        top: 15px;
        right: 15px;
    }
    
    .modal-info {
        padding: 20px;
    }
    
    .modal-info .modal-title {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-item-inner {
        height: 200px;
    }
    
    .gallery-title {
        font-size: 16px;
    }
    
    .gallery-description {
        font-size: 13px;
    }
    
    .gallery-view-btn {
        width: 40px;
        height: 40px;
        top: 15px;
        right: 15px;
    }
}

/* Toast animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

@keyframes slideUp {
    from {
        opacity: 1;
        transform: translate(-50%, 0);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -20px);
    }
}


/* ==================== 右下角浮动询盘栏 ==================== */
.inquiry-min {
    background: none;
    border: none;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    font-weight: 600;
}

.inquiry-min:hover {
    opacity: 0.8;
}

.inquiry-whatsapp-link {
    display: block;
    margin-top: 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #128c4a;
    text-decoration: none;
    padding: 8px 10px;
    background: #e8f7ee;
    border-radius: 6px;
    transition: background 0.2s ease;
}

.inquiry-whatsapp-link:hover {
    background: #d2efdd;
}

.inquiry-panel {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 330px;
    max-width: calc(100vw - 40px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.inquiry-panel.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.inquiry-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: linear-gradient(135deg, #1a3c6e 0%, #2d5aa0 100%);
    color: #fff;
}

.inquiry-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.inquiry-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 0 4px;
}

.inquiry-form {
    padding: 14px 18px 18px;
    max-height: 60vh;
    overflow-y: auto;
}

.inquiry-field {
    margin-bottom: 10px;
}

.inquiry-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.inquiry-field input,
.inquiry-field textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 13px;
    font-family: inherit;
    box-sizing: border-box;
    resize: vertical;
}

.inquiry-field input:focus,
.inquiry-field textarea:focus {
    outline: none;
    border-color: #f5a623;
    box-shadow: 0 0 0 2px rgba(245, 166, 35, 0.15);
}

.inquiry-form .btn-full {
    width: 100%;
    margin-top: 4px;
    background: linear-gradient(135deg, #f5a623 0%, #f78d1e 100%);
    border: none;
    color: #fff;
    font-weight: 600;
}

.inquiry-msg {
    font-size: 12px;
    margin-top: 8px;
    min-height: 16px;
}

.inquiry-msg.success { color: #2e7d32; }
.inquiry-msg.error { color: #c62828; }

@media (max-width: 768px) {
    .inquiry-panel {
        bottom: 20px;
        right: 20px;
    }
}
