/* 首页专属样式 */
/* 轮播图 */
.carousel {
    min-height: 500px;
    overflow: hidden;
    margin-top: 80px; /* 根据导航栏实际高度调整 */
    position: relative;
    z-index: 50; /* 确保在导航栏下方 */
}

/* 轮播图文字容器定位调整 */
.banner-content {
    position: relative;
    z-index: 100;
    padding-top: 30px; /* 增加顶部间距 */
	transform: translateY(25%);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .main-header {
        height: 60px;
    }
	
	.carousel {
        margin-top: 65px; /* 移动端导航栏较矮时调整 */
    }
    
    .banner-content {
        padding-top: 20px;
        transform: translateY(15%); /* 文字下移 */
    }
}

/* 确保导航栏层级 */
.main-header {
    z-index: 1000; /* 保持最高层级 */
	position: fixed;
    height: 80px !important; /* 强制指定高度 */
    box-shadow: none !important; /* 临时移除阴影 */
}


.carousel-inner {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

/* 特色卡片 */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* APP下载区 */
.app-section {
    background: #f5f5f5;
    padding: 4rem 2rem;
    text-align: center;
}

.download-qr {
    width: 200px;
    margin: 2rem auto;
}

/* 在home.css中添加 */
@media (min-width: 992px) {
    .carousel {
        min-height: 600px;
    }
    
    .feature-card {
        padding: 3rem;
    }
}

@media (max-width: 575px) {
    .carousel {
        min-height: 300px;
    }
    
    .download-qr {
        width: 150px;
    }
}