/* 
 * 自定义样式表
 * 用于优化特定元素的显示效果
 */

/* 导航栏毛玻璃效果 */
.header {
    background-color: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* 滚动时导航栏效果增强 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.7) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1) !important;
}

/* 导航栏链接样式优化 */
.header .logo a {
    color: #333 !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
}

.header .nav ul {
    display: flex !important;
    gap: 1.5rem !important;
}

.header .nav a {
    position: relative !important;
    color: #333 !important;
    font-weight: 500 !important;
    transition: all 0.3s ease !important;
    padding: 0.5rem 0 !important;
}

.header .nav a:hover {
    color: #000 !important;
}

.header .nav a::after {
    content: '' !important;
    position: absolute !important;
    bottom: -2px !important;
    left: 0 !important;
    width: 0 !important;
    height: 2px !important;
    background-color: #333 !important;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.header .nav a:hover::after,
.header .nav a.active::after {
    width: 100% !important;
}

/* 优化首页hero区域的图片显示 */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 10px;
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    max-width: 600px;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
} 