/* 蓝色科技风格网站样式 */

:root {
    --primary-blue: rgb(0, 80, 156);
    --primary-blue-dark: rgb(0, 60, 120);
    --primary-blue-light: rgb(0, 100, 180);
    --text-white: #FFFFFF;
    --text-light: rgba(255, 255, 255, 0.9);
    --text-dark: #333333;
    --border-color: rgba(255, 255, 255, 0.2);
    --overlay-dark: rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* 顶部栏 */
.top-bar { background: var(--primary-blue); color: var(--text-white); padding: 8px 0; font-size: 14px; }
.top-bar-content { display: flex; justify-content: space-between; align-items: center; }
.contact-info { display: flex; gap: 30px; }
.contact-item { display: flex; align-items: center; gap: 5px; }
.contact-item strong { font-weight: 600; }
.top-bar-right { display: flex; align-items: center; gap: 20px; }
.social-links { display: flex; gap: 10px; align-items: center; }
.social-link { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--text-white); background: transparent; text-decoration: none; transition: all 0.3s ease; font-size: 14px; }
.social-link:hover { color: rgba(255,255,255,0.8); transform: translateY(-2px); }

/* 导航栏 */
.main-nav { background: var(--text-white); box-shadow: 0 2px 10px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 999; }
.nav-content { display: flex; align-items: center; justify-content: space-between; padding: 15px 0; position: relative; }
.logo { text-decoration: none; display: flex; align-items: center; }
.logo-text { font-size: 32px; font-weight: 700; font-style: italic; color: var(--primary-blue); letter-spacing: -1px; }
.nav-menu { display: flex; list-style: none; gap: 5px; margin: 0; padding: 0; }
.nav-item a { display: block; padding: 10px 20px; color: var(--text-dark); text-decoration: none; font-weight: 500; transition: all 0.3s ease; border-radius: 4px; }
.nav-item a:hover { color: var(--primary-blue); background: rgba(0,80,156,0.05); }
.nav-item.active a { color: var(--primary-blue); background: rgba(0,80,156,0.1); }
.nav-right { display: flex; align-items: center; gap: 15px; }
.search-box { display: flex; align-items: center; background: #F5F5F5; border-radius: 25px; padding: 8px 15px; transition: all 0.3s ease; }
.search-box:focus-within { background: #EBEBEB; box-shadow: 0 2px 8px rgba(0,80,156,0.15); }
.search-input { border: none; background: transparent; outline: none; padding: 0 10px; width: 200px; font-size: 14px; }
.search-btn { background: transparent; border: none; color: var(--primary-blue); cursor: pointer; font-size: 16px; padding: 0; display: flex; align-items: center; justify-content: center; }
.mobile-menu-btn { display: none; background: var(--primary-blue); border: none; color: var(--text-white); width: 40px; height: 40px; border-radius: 4px; cursor: pointer; font-size: 18px; }

/* 轮播图 */
.hero-slider { position: relative; height: 600px; }
.carousel { height: 100%; }
.carousel-inner { height: 100%; }
.carousel-item { height: 100%; position: relative; }
.slider-bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; background-repeat: no-repeat; }
.slider-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(to right, rgba(0,0,0,0.7), rgba(0,0,0,0.3)); }
.slider-content { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; color: var(--text-white); max-width: 700px; animation: fadeInUp 1s ease-out; }
.slider-title { font-size: 48px; font-weight: 700; line-height: 1.2; margin-bottom: 15px; text-shadow: 2px 2px 4px rgba(0,0,0,0.3); }
.slider-subtitle { font-size: 24px; font-weight: 600; margin-bottom: 20px; color: rgba(255,255,255,0.95); text-shadow: 1px 1px 3px rgba(0,0,0,0.3); }
.slider-description { font-size: 16px; line-height: 1.8; margin-bottom: 30px; color: rgba(255,255,255,0.9); text-shadow: 1px 1px 2px rgba(0,0,0,0.3); }
.btn-view-more { display: inline-block; padding: 12px 35px; background: var(--primary-blue); color: var(--text-white); text-decoration: none; border-radius: 4px; font-weight: 600; transition: all 0.3s ease; align-self: flex-start; }
.btn-view-more:hover { background: var(--primary-blue-light); transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,80,156,0.3); }
.carousel-indicators { bottom: 30px; }
.carousel-indicators button { width: 10px; height: 10px; border-radius: 0; background: rgba(255,255,255,0.5); border: none; margin: 0 5px; transition: all 0.3s ease; }
.carousel-indicators button.active { background: var(--primary-blue); width: 30px; }
.carousel-control-prev, .carousel-control-next { width: 50px; height: 50px; background: rgba(0,80,156,0.8); border-radius: 50%; top: 50%; transform: translateY(-50%); opacity: 0; transition: all 0.3s ease; }
.hero-slider:hover .carousel-control-prev, .hero-slider:hover .carousel-control-next { opacity: 1; }
.carousel-control-prev { left: 30px; }
.carousel-control-next { right: 30px; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--primary-blue); }
.carousel-control-prev i, .carousel-control-next i { font-size: 20px; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 通用页面标题导航条 */
.page-title-bar {
    background: rgb(243, 243, 243);
    padding: 14px 0;
    color: rgb(175, 175, 175);
}

.page-title-content {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.page-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: rgb(51, 51, 51);
}

.page-breadcrumb {
    font-size: 14px;
    color: rgb(175, 175, 175);
    margin-top: 4px;
}

.page-breadcrumb a {
    color: rgb(175, 175, 175);
    text-decoration: none;
    transition: color 0.3s;
}

.page-breadcrumb a:hover {
    color: rgb(51, 51, 51);
}

.page-breadcrumb .separator {
    margin: 0 10px;
}

.page-breadcrumb .current {
    color: rgb(0, 80,156);
}

/* 移动端菜单遮罩层 */
@media (max-width: 991px) {
    /* 移动端隐藏顶部蓝条 */
    .top-bar { display: none !important; }
    
    /* 隐藏顶部联系方式 */
    .contact-info { display: none !important; }
    .top-bar-right { width: 100%; justify-content: center; }
    .top-bar-content { justify-content: center; }
    
    .nav-menu-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    .nav-menu-overlay.show {
        display: block;
    }
}
