/**
 * 企业公装 未来办公空间 NOW - 视频Hero组件 CSS
 */

 .hero-video-spotlight-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: flex-end; /* 内容靠下排列 */
    color: #fff;
    background: #000;
}

.hero-video-spotlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-video-spotlight-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}

.hero-video-spotlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 1;
}

.hero-video-spotlight-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding-bottom: 80px;
    padding-top: 120px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hero-video-spotlight-header {
    max-width: 800px;
}

.hero-video-spotlight-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 25px;
    letter-spacing: -1px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
}

.hero-video-spotlight-desc {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 300;
    opacity: 0.9;
    max-width: 700px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-video-spotlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.hero-video-spotlight-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 30px;
    text-decoration: none;
    color: #fff;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border-top: 2px solid rgba(255,255,255,0.3);
    height: 220px;
    overflow: hidden;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
}

/* 遮罩层 */
.hero-video-spotlight-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 1;
}

/* 背景图层 */
.hero-video-spotlight-card.item-1 { background-image: url('../images/spotlight/spotlight-card1.jpg'); }
.hero-video-spotlight-card.item-2 { background-image: url('../images/spotlight/spotlight-card2.jpg'); }
.hero-video-spotlight-card.item-3 { background-image: url('../images/spotlight/spotlight-card3.jpg'); }
.hero-video-spotlight-card.item-4 { background-image: url('../images/spotlight/spotlight-card4.jpg'); }

.hero-video-spotlight-card:hover {
    border-top-color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-video-spotlight-card-inner {
    position: relative;
    z-index: 2;
}

.hero-video-spotlight-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    position: relative;
}

.hero-video-spotlight-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #0057FF;
    transition: width 0.3s ease;
}

.hero-video-spotlight-card:hover h3::after {
    width: 60px;
}

.hero-video-spotlight-footer {
    text-align: right;
    margin-top: 30px;
}

.hero-video-spotlight-footer p {
    font-size: 1.2rem;
    letter-spacing: 4px;
    margin: 0;
    opacity: 0.8;
}

/* 响应式适配 */
@media (max-width: 991px) {
    .hero-video-spotlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-video-spotlight-title {
        font-size: 3rem;
    }
}

@media (max-width: 575px) {
    .hero-video-spotlight-grid {
        grid-template-columns: 1fr;
    }
    .hero-video-spotlight-content {
        padding-bottom: 40px;
    }
    .hero-video-spotlight-card {
        height: 160px;
    }
}
