@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;600&display=swap');
/* 基础设置 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 0;
    font-family: 'Arial', sans-serif;
}

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

/* 顶部Logo和搜索栏 */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

/* Logo和公司名称 */
.branding {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    height: 58px;               /* 图标大小，可根据需要调整 */
    width: auto;
    margin-right: 12px;         /* 图片与文字之间的间距 */
    border-radius: 15px;
}

.company-name {
    font-size: 20px;
    font-weight: 700;
    color: #1a6cb3;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: 'Roboto', sans-serif;
}

/* 搜索框样式 */
.search-section {
    width: 38%;
    position: relative;
}

.search-form {
    display: flex;
    position: relative;
}

.search-input {
    flex: 1;
    padding: 10px 45px 10px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 24px;
    font-size: 18px;
    outline: none;
    transition: all 0.3s;
    background: #f9f9f9;
}

.search-input:focus {
    border-color: #318ed9;
    background: #fff;
    box-shadow: 0 0 0 2px rgba(49,142,217,0.2);
}

.search-button {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.search-icon {
    color: #666;
    transition: color 0.2s;
}

.search-button:hover .search-icon {
    color: #318ed9;
}

/* 导航菜单 */
.main-nav {
    padding: 12px 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: 15px;
    letter-spacing: 0.5px;
    position: relative;
    white-space: nowrap;
}

.nav-links a.highlight {
    color: #318ed9;
    font-weight: 600;
}

/* 下拉菜单箭头 */
.dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 5px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/* 确保下拉菜单的父元素 li 有相对定位 */
.nav-links li {
    position: relative; /* 新增 */
}

/* 下拉菜单容器 */
.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;       /* 紧贴父菜单底部 */
    left: 50%;       /* 水平居中 */
    transform: translateX(-50%); /* 微调水平位置 */
    background: white;
    min-width: 200px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    text-align: center; /* 文字居中 */
    border: none;              /* 先取消所有边框 */
    border-top: 3px solid #4288e8;
}

/* 鼠标悬停时显示下拉菜单 */
.dropdown:hover .dropdown-content {
    display: block;
}

/* 下拉菜单项样式 */
.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
}

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

/* 响应式设计 */
@media (max-width: 768px) {
    .top-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        padding: 15px 0;
    }

    .branding {
        justify-content: center;
    }

    .search-section {
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 10px 15px;
    }
}

/* 基础样式 */
.site-footer {
    background: #1a3e72;
    color: #fff;
    padding: 40px 0 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
}

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

/* 三栏布局 */
.footer-columns {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-col {
    flex: 1;
    min-width: 0;
}

/* 公司信息栏 */
.info-col {
    min-width: 250px;
}

.footer-logo {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
}

.footer-map {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 15px;
}

.map-link {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.7);
    padding: 5px 10px;
    border-radius: 4px;
    z-index: 1;
}

.view-map {
    color: white;
    font-size: 0.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.view-map:hover {
    color: #4cb5f5;
}

address p {
    margin: 8px 0;
    display: flex;
    align-items: center;
}

address i {
    margin-right: 10px;
    color: #4cb5f5;
    width: 16px;
    text-align: center;
}

/* 链接组 */
.links-group {
    display: flex;
    gap: 30px;
}

.links-col {
    flex: 1;
}

.links-col h4 {
    font-size: 1rem;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #4cb5f5;
}

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

.links-col li {
    margin-bottom: 8px;
}

.links-col a {
    color: #c9d7f8;
    text-decoration: none;
    transition: color 0.2s;
}

.links-col a:hover {
    color: #fff;
    text-decoration: underline;
}

/* 社交媒体 */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-links a {
    color: #fff;
    background: rgba(255,255,255,0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: #4cb5f5;
    transform: translateY(-2px);
}

.payment-methods h5 {
    margin-bottom: 8px;
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 1.8rem;
}

/* 版权信息 */
.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
}