﻿
         /* --- 2. 顶部导航 (Header) --- */
         .top-bar {
    background: #111;
    color: #ccc;
    font-size: 13px;
    padding: 10px 0;
    border-bottom: 1px solid #222;
}
        .top-bar {
            background: #111;
            color: #ccc;
            font-size: 13px;
            padding: 10px 0;
            border-bottom: 1px solid #222;
        }

        .top-bar .container {
            display: flex;
            justify-content: space-between;
            width: 100%;
        }

        :root {
            --primary-orange: #ff6600;
            --primary-hover: #e65c00;
            --text-dark: #1a1a1a;
            --text-gray: #666;
            --bg-light: #f8f9fa;
            --container-width: 1470px;
            --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.08);
            --shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.12);
            --transition: all 0.3s ease;
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        h1,
        h2,
        h3,
        h4,
        h5,
        h6 {
            font-family: 'Poppins', sans-serif;
            color: var(--text-dark);
            font-weight: 700;
        }

        a {
            text-decoration: none;
            color: inherit;
            transition: var(--transition);
        }

        ul {
            list-style: none;
        }

        img {
            max-width: 100%;
            display: block;
        }

        .container {
            max-width: var(--container-width) !important;
            margin: 0 auto;
            padding: 0 20px;
        }


        header {
            background: #fff;
            box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
            padding: 0;
            position: sticky;
            top: 0;
            z-index: 1000;
        }
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

        .logo {
            font-size: 28px;
            font-weight: 800;
            font-family: 'Poppins', sans-serif;
            display: flex;
            align-items: center;
            color: #000;
            letter-spacing: -1px;
        }

        .logo i {
            color: var(--primary-orange);
            margin-right: 10px;
            font-size: 32px;
        }

        nav ul {
            display: flex;
            gap: 40px;
            align-items: center;
        }

        nav a {
            font-weight: 600;
            font-size: 15px;
            text-transform: uppercase;
            color: #333;
            position: relative;
        }

        nav a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--primary-orange);
            transition: 0.3s;
        }

        nav a:hover::after,
        nav a.active::after {
            width: 100%;
        }

        nav a:hover,
        nav a.active {
            color: var(--primary-orange);
        }

        /* 定义自定义颜色 */


        /* ================= 全局重置 ================= */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            
        }
        a { text-decoration: none; color: inherit; transition: 0.3s; }
        ul { list-style: none; }
        img { width: 100%; display: block; object-fit: cover; }

        /* 颜色定义 */
        :root {
            --primary-orange: #f05b10; /* 核心橙色 */
            --text-dark: #333;
            --text-gray: #666;
            --bg-light: #f9f9f9;
            --border-color: #eee;
        }


        /* ================= 1. 顶部黑条 ================= */
          
        .btn {
            display: inline-block;
            padding: 12px 30px;
            background: var(--primary-orange);
            color: #fff;
            font-weight: 600;
            border-radius: 4px;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            font-size: 14px;
            border: none;
            cursor: pointer;
            box-shadow: 0 4px 15px rgba(255, 102, 0, 0.3);
            transition: var(--transition);
        }
       
        .top-right { display: flex; align-items: center; }
        .top-right span { margin-left: 15px; cursor: pointer; }
        .top-right i { margin-left: 8px; }
        .social-icons i { margin-left: 10px; color: #fff; }


        /* ================= 4. Banner 工厂图 ================= */
        .banner {
            width: 100%;
            height: 350px;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* ================= 5. 面包屑 ================= */
        .breadcrumb {
    padding: 20px 0;
    color: #888;
    font-size: 14px;
}

        .breadcrumb span { color: var(--primary-orange); font-weight: bold; }

        /* ================= 6. 右侧悬浮按钮 ================= */
        .float-sidebar {
            position: fixed;
            right: 0;
            top: 40%;
            z-index: 1001;
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .float-btn {
            width: 45px;
            height: 45px;
            background-color: var(--primary-orange);
            color: #fff;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
            margin-right: 10px;
        }
        .float-btn:hover { transform: scale(1.1); }

        /* ================= 7. 主体联系区域 ================= */
        .contact-main {
            display: flex;
            gap: 100px;
            margin-bottom: 60px;
            align-items: flex-start;
        }

        /* 左侧表单 */
        .contact-form-area {
            flex: 1;
        }
        .form-grid {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 20px;
            margin-bottom: 20px;
        }
        .form-input {
            width: 100%;
            background: #f9f9f9;
            border: 1px solid #f0f0f0;
            padding: 12px 15px;
            font-size: 13px;
            color: #555;
            outline: none;
        }
        .form-textarea {
            width: 100%;
            background: #f9f9f9;
            border: 1px solid #f0f0f0;
            padding: 12px 15px;
            font-size: 13px;
            color: #555;
            outline: none;
            height: 120px;
            resize: vertical;
            margin-bottom: 20px;
        }
        .send-btn {
            background-color: var(--primary-orange);
            color: #fff;
            border: none;
            width: 100%;
            padding: 12px;
            font-size: 13px;
            font-weight: bold;
            cursor: pointer;
            text-transform: uppercase;
        }
        .send-btn:hover { opacity: 0.9; }

        /* 右侧文字信息 */
        .contact-info-area {
            width: 450px;
            padding-top: 10px;
        }
        .info-title {
            font-size: 24px;
            color: #333;
            margin-bottom: 10px;
            font-weight: normal;
        }
        .info-dash {
            width: 100px;
            height: 3px;
            background: #ccc;
            margin-bottom: 20px;
            position: relative;
        }
        .sidebar-box p {
            line-height: 2;
            color: #333;
            font-size: 14px;
        }
        .info-dash::after {
            content: ''; position: absolute; left: 0; top: 0;
            width: 84px; height: 3px; background: var(--primary-orange);
        }
        .info-desc {
            font-size: 12px;
            color: #666;
            margin-bottom: 30px;
            line-height: 1.6;
        }

        .info-details {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 20px;
        }
        .detail-item { margin-bottom: 20px; }
        .detail-label { font-size: 12px; color: #999; margin-bottom: 5px; }
        .detail-value { font-size: 13px; font-weight: bold; color: #444; }
        
        .full-width-item { grid-column: 1 / -1; }

        /* ================= 8. 中部 Google 地图 ================= */
        .map-embed-section {
            width: 100%;
            margin-bottom: 0; /* 紧贴底部背景 */
        }
        /* 模拟截图中的地图样式 */
        .map-embed-img {
            width: 100%;
            height: 350px;
            object-fit: cover;
            /* 使用一张看起来像地图的静态图片 */
            background: url('https://images.unsplash.com/photo-1526778548025-fa2f459cd5c1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center;
            position: relative;
        }
        /* 模拟地图上的UI控件，增强真实感 */
        .map-ui-box {
            position: absolute;
            top: 20px; left: 20px;
            background: #fff;
            padding: 10px;
            box-shadow: 0 1px 3px rgba(0,0,0,0.3);
            font-size: 12px;
            font-weight: bold;
        }

        /* ================= 9. 底部复杂布局 ================= */
        .footer-wrapper {
            position: relative;
            width: 100%;
        }

        /* 背景地图 */
        .footer-bg-map {
            height: 500px;
            /* 浅色地图背景 */
            background: url('https://via.placeholder.com/1920x600/eef2f5/cccccc?text=Map+Background+Pattern') center center;
            background-size: cover;
            position: relative;
        }
        /* 更好的模拟背景图 */
        .footer-bg-map {
            background: url('https://images.unsplash.com/photo-1524661135-423995f22d0b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center center;
            opacity: 0.6; 
        }

        /* 悬浮表单 (Request A Call Back) */
        .footer-form-container {
            position: absolute;
            top: 50px; /* 距离地图顶部 */
            left: 50%;
            transform: translateX(-50%);
            width: 450px;
            background: #fff;
            padding: 30px 40px;
            box-shadow: 0 5px 20px rgba(0,0,0,0.1);
            text-align: center;
            z-index: 10;
        }
        .footer-form-title {
            font-size: 22px;
            font-weight: 900;
            margin-bottom: 25px;
            color: #000;
        }
        .ft-input {
            width: 100%;
            background: #f2f2f2;
            border: none;
            padding: 12px;
            margin-bottom: 15px;
            font-size: 13px;
            outline: none;
        }
        .ft-textarea {
            width: 100%;
            background: #f2f2f2;
            border: none;
            padding: 12px;
            margin-bottom: 15px;
            font-size: 13px;
            outline: none;
            height: 100px;
            resize: none;
        }
        .ft-submit {
            width: 100%;
            background: #000;
            color: #fff;
            border: none;
            padding: 12px;
            font-weight: bold;
            font-size: 12px;
            cursor: pointer;
        }
        .ft-submit:hover { background: var(--primary-orange); }

        /* 黑色底部信息 */
        .footer-black-bar {
            background-color: #1a1a1a;
            color: #fff;
            padding: 120px 0 20px 0; /* 顶部留出空间防止被表单遮挡 */
            margin-top: -150px; /* 向上拉，覆盖部分背景地图 */
            position: relative;
            z-index: 5;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
        }

        /* 左侧 */
        .ft-left { width: 300px; }
        .ft-logo { font-size: 32px; font-weight: 900; font-style: italic; margin-bottom: 10px; }
        .ft-slogan { font-size: 12px; color: #ccc; margin-bottom: 20px; font-weight: bold; }
        .ft-socials a { color: #fff; margin-right: 15px; font-size: 14px; }

        /* 右侧 */
        .ft-right { width: 300px; display: flex; justify-content: flex-end; gap: 20px; }
        .qr-box { background: #fff; padding: 5px; width: 90px; height: 90px; }
        .contact-list { font-size: 12px; line-height: 2.2; color: #ccc; }
        .contact-list i { color: var(--primary-orange); margin-right: 8px; width: 15px; text-align: center; }

        .copyright {
            border-top: 1px solid #333;
            margin-top: 30px;
            padding-top: 15px;
            text-align: center;
            font-size: 11px;
            color: #777;
        }
 /* --- 9. Map & Callback --- */
        .map-section {
            position: relative;
            height: 550px;
            background: url('/img/map.jpg') center/cover;
        }

        .contact-form-wrapper {
            position: absolute;
            top: 100%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(255, 255, 255, 0.95);
            padding: 50px;
            width: 450px;
            border-radius: 10px;
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
            text-align: center;
            backdrop-filter: blur(5px);
        }

        .contact-form-wrapper h3 {
            margin-bottom: 25px;
            font-size: 24px;
        }

        .form-group {
            margin-bottom: 15px;
        }

        .form-input {
            width: 100%;
            padding: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
            background: #f9f9f9;
            font-family: inherit;
            font-size: 14px;
            outline: none;
            transition: 0.3s;
        }

        .form-input:focus {
            border-color: var(--primary-orange);
            background: #fff;
        }

        .submit-btn {
            background: #111;
            color: #fff;
            width: 100%;
            padding: 15px;
            border: none;
            cursor: pointer;
            font-weight: 700;
            text-transform: uppercase;
            border-radius: 5px;
            transition: 0.3s;
        }

        .submit-btn:hover {
            background: var(--primary-orange);
        }

        /* --- 10. Footer --- */
        footer {
            background: #111;
            color: #fff;
            padding: 80px 0 30px;
            font-size: 14px;
        }

        .footer-top {
            display: grid;
            grid-template-columns: 1fr 2fr;
            gap: 100px;
            padding-bottom: 50px;
            /* border-bottom: 1px solid #333; */
        }

        .footer-col h4 {
            color: #fff;
            margin-bottom: 25px;
            font-size: 18px;
            position: relative;
            display: inline-block;
        }

        .footer-col h4::after {
            content: '';
            position: absolute;
            left: 0;
            bottom: -8px;
            width: 30px;
            height: 2px;
            background: var(--primary-orange);
        }
        .footer-col:last-child {
            text-align: left;
            margin-left: auto;
            max-width: 500px;
            padding-left: 250px;
        }

        .footer-col:last-child h4 {
            display: inline-block;
        }

        .footer-col:last-child .footer-info-item {
            justify-content: flex-start;
            align-items: flex-start;
        }

        .footer-col:last-child .footer-info-item span {
            word-wrap: break-word;
            word-break: break-word;
            white-space: normal;
        }

        .footer-info-item {
            display: flex;
            margin-bottom: 15px;
            gap: 15px;
            color: #aaa;
        }

        .footer-info-item i {
            color: var(--primary-orange);
            margin-top: 4px;
        }

        .social-icons {
            margin-top: 20px;
            display: flex;
            gap: 15px;
        }
        .mbx {
            font-size: 1rem;
            color: #4d4d4d;
            font-family: 'roboto-bold';
            background: #eee;
            padding: 1.5rem 0;
            margin-bottom:2rem;
        }
        .social-icons a {
            width: 36px;
            height: 36px;
            background: #333;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: 0.3s;
            color: #fff;
        }
        .btn:hover {
            background: var(--primary-hover);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(255, 102, 0, 0.4);
            color: #fff;
            border: none;
        }
        .social-icons a:hover {
            background: var(--primary-orange);
            transform: rotate(360deg);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            color: #666;
            font-size: 13px;
        }
        .dropdown {
            position: relative;
        }

        .dropdown-menu {
            position: absolute;
            top: 100%;
            left: 0;
            background: #fff;
            min-width: 180px;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            border-radius: 4px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s ease;
            z-index: 1000;
            border-top: 3px solid var(--primary-orange);
        }

        .dropdown:hover .dropdown-menu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .dropdown-menu a {
            display: block;
            padding: 12px 20px;
            color: #333;
            font-size: 14px;
            font-weight: 500;
            text-transform: none;
            border-bottom: 1px solid #f0f0f0;
            transition: all 0.3s ease;
        }

        .dropdown-menu a:last-child {
            border-bottom: none;
        }

        .dropdown-menu a:hover {
            background: #f8f9fa;
            color: var(--primary-orange);
            padding-left: 25px;
        }

        .dropdown-menu a::after {
            display: none;
        }
    


/* ========================================
   Contact 页面响应式优化
   ======================================== */

/* 平板及以下 (< 1024px) */
@media (max-width: 1024px) {
    .banner {
        height: 40vh;
    }
    
    .banner h1 {
        font-size: 36px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 20px;
    }
    
    .contact-info-section {
        order: 2;
    }
    
    .contact-form-section {
        order: 1;
    }
}

/* 手机端 (< 640px) */
@media (max-width: 640px) {
    .banner {
        height: 30vh;
        min-height: 200px;
    }
    
    .banner h1 {
        font-size: 28px;
    }
    
    .contact-container {
        padding: 30px 15px;
        gap: 30px;
    }
    
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .info-item {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .info-item i {
        font-size: 20px;
    }
    
    .info-item h4 {
        font-size: 14px;
    }
    
    .info-item p {
        font-size: 13px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 13px;
    }
    
    .submit-button {
        padding: 12px;
        font-size: 13px;
    }
    
    .map-container {
        height: 300px;
    }
}
