/* 首页特定样式 */

/* 轮播图区域 */
.hero-section {
    position: relative;
}

.home-first-title::after{
  left: 0;
  transform: unset;
}

.carousel-item {
    height: 65vh; /* 占据视口高度的65% */
    min-height: 500px;
    background-color: #000;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    opacity: 0.6; /* 压暗图片以便显示文字 */
}

.carousel-caption {
    bottom: 30%;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.carousel-caption span {
    color: var(--theme-color);
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* 特性展示区 */
.features-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.feature-box {
    text-align: center;
    padding: 30px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
}

.feature-box:hover {
    transform: translateY(-10px);
    border-bottom: 3px solid var(--theme-color);
}

.feature-icon {
    font-size: 3rem;
    color: var(--theme-color);
    margin-bottom: 20px;
}

/* 产品预览区 */
.product-preview {
    padding: 80px 0;
}

.product-card {
    border: none;
    margin-bottom: 30px;
    overflow: hidden;
}

.product-card img {
    height: 300px;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card .card-body {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #eee;
}

.product-card .card-title {
    font-weight: 700;
    text-transform: uppercase;
}

/* 视频/号召性用语区域 */
.home-cta-section {
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('/media/photo-1551698618-1dfe5d97d256.avif');
    background-size: cover;
    background-attachment: fixed;
    padding: 100px 0;
    text-align: center;
    color: #fff;
}

.home-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .carousel-caption h1 {
        font-size: 2rem;
    }
}
