/* --- 1. 全局重置 --- */
* {
    margin: 0;
    padding: 0;
    list-style: none;
    box-sizing: border-box;
}
body {
    font-family: sans-serif;
    background: #f4f4f4;
}

/* --- 2. 导航栏 (宽度基准) --- */
.navbar {
    background-color: #333;
    color: white;
    padding: 15px 0;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}
.nav-content { padding: 0 20px; }

/* --- 3. 轮播容器 (固定高度 170px) --- */
.wrap {
    height: 170px;            /* 固定高度 */
    width: 100%;
    max-width: 1200px;        /* 与导航同宽 */
    margin: 8px auto;
    overflow: hidden;
    position: relative;
    background: #000;
}

/* --- 4. 图片列表 --- */
.wrap ul {
    position: relative;
    width: 100%;
    height: 100%;
}
.wrap ul li {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.wrap ul li img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 填满容器 */
    display: block;
}

/* --- 5. 文字内容核心样式 --- */
.slide-text {
    position: absolute;
    z-index: 1;
    width: 100%;
    text-align: center;
    color: #FFFFFF; /* 纯白色字体 */
    /* 文字阴影：增强在蓝色背景上的可读性 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
}

/* 居中定位 */
.text-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%); /* 微调垂直居中，视觉上更舒适 */
}

/* 第一行：主标题 - 粗壮、雄厚 */
.text-main {
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;       /* 最粗字重 */
    font-size: 32px;        /* 适配 170px 高度的大字号 */
    line-height: 1.2;
    letter-spacing: 2px;    /* 字间距加宽，显大气 */
    text-transform: uppercase; /* 强制大写 */
    margin-bottom: 5px;     /* 与第二行的间距 */
}

/* 第二行：副标题 - 清晰、精致 */
.text-sub {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;       /* 常规字重，形成对比 */
    font-size: 16px;        /* 较小的字号 */
    line-height: 1.4;
    letter-spacing: 3px;    /* 更大的字间距，增加精致感 */
    text-transform: uppercase;
    opacity: 0.9;           /* 轻微透明度，增加层次感 */
}

/* --- 6. 指示点 --- */
.wrap ol {
    position: absolute;
    right: 15px;
    bottom: 10px;
    z-index: 2;
}
.wrap ol li {
    height: 10px; width: 10px;
    background: #ccc;
    border: 1px solid #666;
    margin-left: 5px;
    float: left;
    cursor: pointer;
    border-radius: 50%;
}
.wrap ol .on {
    background: #E97305; /* 橙色高亮 */
}