/* ===== Header + Banner（对应 components/header.vue） ===== */

/* 头部容器：注意不要覆盖全局 .container，用 .header .container 限定 */
.header {
    background: #fff;
}

.header .container {
    width: 1350px;
    margin: 0 auto;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.logo {
    display: flex;
    align-items: center;
    width: 15%;
    margin-left: 5%;
}

.logo .logo-img {
    width: 100%;
    height: auto;
    display: block;
}

.contact {
    display: flex;
    align-items: center;
    width: 60%;
    justify-content: space-between;
    margin-top: 2%;
}

.phone {
    margin-right: 20px;
    font-size: 18px;
    color: #969696;
    font-weight: bold;
}

.search {
    display: flex;
    margin-right: 3%;
}

.search input {
    width: 200px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
}

.search button {
    padding: 5px 15px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.nav {
    display: flex;
    justify-content: space-evenly;
    margin-top: 1%;
    margin-bottom: 1%;
}

.nav p {
    width: 12%;
    text-align: center;
    border-left: 1px solid #c9c9c9;
    height: 30px;
    line-height: 30px;
}

.nav p a {
    display: block;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

.nav p a:hover {
    color: #1890ff;
}

.nav p:hover {
    color: #1890ff;
}

/* ===== 原生轮播图 ===== */
.banner-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.banner-track {
    display: flex;
    height: 100%;
    transition: transform 0.6s ease;
}

.banner-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
}

.banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.banner-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.banner-dots .dot.active {
    background: #1890ff;
    transform: scale(1.2);
}