:root {
    /* 主要颜色变量 */
    --color-primary: #0d6efd;
    --color-primary-dark: #0a58ca;

    /* 背景色 */
    --bg-dark: #1f1e1e;
    --bg-gray: #6d6666;
    --bg-light: #fafafa;
    --bg-light-hover: #f0f0f0;
    --bg-nav: #f8f9fa;
    --bg-nav-hover: #e9ecef;

    /* 文字颜色 */
    --text-light: #ffffff;
    --text-dark: #333333;
    --text-muted: #999999;
    --text-nav: #495057;
    --text-nav-hover: #212529;
    --text-nav-active: #0d6efd;
    --text-input: #ffffff;

    /* 边框颜色 */
    --border-light: #e0e0e0;
    --border-lighter: #e8e8e8;
    --border-nav: #e9ecef;
}

body {
    margin: 0 0;
    padding: 0 0;
}

/*header search bar*/
.header {
    height: 60px;
    padding: 0 20px;
    background-color: var(--bg-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.search-container {
    display: flex;
    align-items: center;
    background-color: var(--bg-gray);
    border-radius: 8px;
    padding: 8px 12px;
    min-width: 300px;
}

.search-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    opacity: 0.6;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: var(--text-input);
    width: 100%;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.profileButton {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background-color: var(--bg-light);
    border-radius: 8px;
    cursor: pointer;
    border: 1px solid var(--border-lighter);
    transition: background-color 0.2s ease;
}

.profileButton:hover {
    background-color: var(--bg-light-hover);
}

.profile-icon {
    width: 20px;
    height: 20px;
}

.profileButton span {
    font-size: 14px;
    color: var(--text-dark);
    white-space: nowrap;
}

/*导航栏样式*/
nav {
    background-color: var(--bg-nav);
    border-bottom: 1px solid var(--border-nav);
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav div {
    display: flex;
    align-items: center;
}

nav div:first-child {
    gap: 8px;
}

nav div:last-child {
    justify-content: flex-end;
}

nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
}

nav li {
    position: relative;
}

nav li a {
    display: block;
    padding: 10px 35px;
    color: var(--text-nav);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.2s ease;
    white-space: nowrap;
}

nav li a:hover {
    color: var(--text-nav-hover);
    background-color: var(--bg-nav-hover);
}

nav li a.active {
    color: var(--text-nav-active);
    border-bottom: 2px solid var(--text-nav-active);
}

.home-icon {
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.breadcrumb-separator {
    color: var(--text-muted);
    font-size: 14px;
    margin: 0 10px;
}

/*banner样式*/
.banner-container {
    width: 100%;
    background-color: #f8f8f6;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0px 0;
}

.banner-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 0;
}

.banner-image {
    width: 80%;
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

.banner-text {
    position: absolute;
    top: 50%;
    left: 82%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    /*z-index: 10;*/
    display: flex;
    flex-direction: column;
    /*align-items: center;*/
    gap: 12px;
    /*padding: 30px;*/
    /*background: rgba(0, 0, 0, 0.3);*/
    /*border-radius: 12px;*/
    /*backdrop-filter: blur(5px);*/
}

.banner-title {
    color: #1f1d1d;
    width: 800px;
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.banner-subtitle {
    color: #524d4d;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 1px;
    opacity: 0.9;
}
