  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Roboto', sans-serif;
            overflow-x: hidden;
        }
        
        /* 导航栏样式 */
        .navbar {
            margin-bottom: 0;
            border-radius: 0;
            border: none;
        }
        
        .navbar-default {
            background-color: #2c3e50;
        }
        
        .navbar-default .navbar-nav > li > a {
            color: #ecf0f1;
        }
        
        .navbar-default .navbar-nav > li > a:hover {
            color: #3498db;
            background-color: transparent;
        }
        
        .navbar-default .navbar-nav > .active > a {
            background-color: #34495e;
            color: #3498db;
        }
        
        /* 轮播图样式 - 关键修改 */
        .carousel {
            width: 100%;
            height: 100vh; /* 使用视口高度 */
            min-height: 500px; /* 设置最小高度 */
            overflow: hidden;
        }
        
        .carousel-inner {
            height: 100%;
        }
        
        .carousel-inner .item {
            height: 100%;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }
        
        .carousel-inner .item img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* 关键属性：保持图片比例并覆盖整个容器 */
        }
        
        .carousel-caption {
            top: 50%;
            transform: translateY(-50%);
            bottom: auto;
            text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
        }
        
        .carousel-caption h1 {
            font-size: 3.5vw; /* 使用视口单位实现响应式字体 */
            font-weight: bold;
            margin-bottom: 20px;
        }
        
        .carousel-caption h3 {
            font-size: 1.8vw;
        }
        
        /* 悬浮侧滑菜单样式 */
        .floating-sidebar-toggle {
            position: fixed;
            left: 0;
            top: 50%;
            transform: translateY(-50%);
            background-color: #2c3e50;
            color: white;
            border: none;
            border-radius: 0 5px 5px 0;
            padding: 15px 10px;
            cursor: pointer;
            z-index: 1000;
            transition: all 0.3s ease;
            box-shadow: 2px 0 5px rgba(0,0,0,0.2);
        }
        
        .floating-sidebar-toggle:hover {
            background-color: #34495e;
            padding-left: 15px;
        }
        
        .floating-sidebar {
            position: fixed;
            left: -300px;
            top: 0;
            width: 300px;
            height: 100%;
            background-color: #f8f9fa;
            box-shadow: 2px 0 10px rgba(0,0,0,0.1);
            transition: left 0.3s ease;
            z-index: 999;
            overflow-y: auto;
            padding: 20px;
        }
        
        .floating-sidebar.active {
            left: 0;
        }
        
        .sidebar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            padding-bottom: 15px;
            border-bottom: 1px solid #e9ecef;
        }
        
        .sidebar-title {
            font-size: 1.2rem;
            font-weight: bold;
            color: #2c3e50;
        }
        
        .close-sidebar {
            background: none;
            border: none;
            font-size: 1.5rem;
            cursor: pointer;
            color: #6c757d;
        }
        
        .sidebar-menu {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-menu li {
            margin-bottom: 10px;
        }
        
        .sidebar-menu a {
            display: block;
            padding: 10px 15px;
            color: #495057;
            text-decoration: none;
            border-radius: 5px;
            transition: all 0.2s ease;
        }
        
        .sidebar-menu a:hover {
            background-color: #e9ecef;
            color: #2c3e50;
        }
        
        .sidebar-menu a i {
            margin-right: 10px;
            width: 20px;
            text-align: center;
        }
        
        /* 页脚样式 */
        .footer {
            background-color: #2c3e50;
            color: #ecf0f1;
            padding: 30px 0;
            margin-top: 0;
        }
        
        .copyright-section {
            background-color: #1a252f;
            padding: 15px 0;
            text-align: center;
        }
        
        /* 响应式调整 */
        @media (max-width: 768px) {
            .carousel-caption h1 {
                font-size: 24px;
            }
            
            .carousel-caption h3 {
                font-size: 16px;
            }
            
            .floating-sidebar {
                width: 250px;
                left: -250px;
            }
        }
        
        @media (max-width: 480px) {
            .carousel {
                height: 60vh; /* 移动设备上适当减小高度 */
                min-height: 300px;
            }
            
            .carousel-caption h1 {
                font-size: 20px;
            }
            
            .carousel-caption h3 {
                font-size: 14px;
            }
        }