/* Dantful Hero Section Styles - 完全匹配原网站设计 */

.dantful-hero-section {
    position: relative;
    width: 100%;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: #000; /* 备用背景色 */
}

/* 背景图片样式 */
.dantful-hero-section .wp-block-cover__image-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* 暗色叠加层 */
.dantful-hero-section .wp-block-cover__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4) !important; /* 深色叠加，确保文字清晰 */
    z-index: 2;
}

/* 内容容器 */
.dantful-hero-section .wp-block-cover__inner-container {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero 主标题 - SERVICES */
.hero-title {
    color: #ffffff !important;
    font-size: 64px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 4px !important;
    margin-bottom: 40px !important;
    line-height: 1.2 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    animation: fadeInDown 1.2s ease-out;
    font-family: 'Poppins', sans-serif;
}

/* Hero 副标题 */
.hero-subtitle {
    color: #ffffff !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    line-height: 1.5 !important;
    letter-spacing: 1px !important;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease-out 0.3s both;
    font-family: 'Poppins', sans-serif;
}

.hero-subtitle strong {
    color: #ffffff !important;
}

/* Services 主标题 */
.services-main-title {
    color: #1e293b !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    margin-bottom: 60px !important;
    text-align: left !important;
    position: relative;
    padding-left: 20px;
    font-family: 'Poppins', sans-serif;
}

.services-main-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 40px;
    background: linear-gradient(180deg, #3b82f6, #8b5cf6);
    border-radius: 3px;
}

/* 动画效果 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 56px !important;
        letter-spacing: 3px !important;
    }
    
    .hero-subtitle {
        font-size: 20px !important;
    }
    
    .services-main-title {
        font-size: 38px !important;
    }
}

@media (max-width: 1024px) {
    .dantful-hero-section {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 48px !important;
        letter-spacing: 2px !important;
        margin-bottom: 35px !important;
    }
    
    .hero-subtitle {
        font-size: 18px !important;
        letter-spacing: 0.5px !important;
    }
    
    .services-main-title {
        font-size: 34px !important;
        margin-bottom: 50px !important;
    }
}

@media (max-width: 768px) {
    .dantful-hero-section {
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 40px !important;
        letter-spacing: 1px !important;
        margin-bottom: 30px !important;
    }
    
    .hero-subtitle {
        font-size: 16px !important;
        letter-spacing: 0.3px !important;
    }
    
    .services-main-title {
        font-size: 30px !important;
        margin-bottom: 40px !important;
    }
    
    .dantful-hero-section .wp-block-cover__inner-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .dantful-hero-section {
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 32px !important;
        letter-spacing: 0.5px !important;
        margin-bottom: 25px !important;
    }
    
    .hero-subtitle {
        font-size: 14px !important;
        letter-spacing: 0.2px !important;
    }
    
    .services-main-title {
        font-size: 26px !important;
        margin-bottom: 30px !important;
    }
    
    .services-main-title::before {
        width: 4px;
        height: 30px;
    }
}

/* 增强的视觉效果 */
.dantful-hero-section .wp-block-cover__image-background {
    transition: transform 0.3s ease;
}

.dantful-hero-section:hover .wp-block-cover__image-background {
    transform: scale(1.02);
}

/* 文字发光效果 */
.hero-title,
.hero-subtitle {
    transition: text-shadow 0.3s ease;
}

.dantful-hero-section:hover .hero-title {
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 30px rgba(255, 255, 255, 0.1);
}

.dantful-hero-section:hover .hero-subtitle {
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6), 0 0 20px rgba(255, 255, 255, 0.1);
}

/* 加载动画 */
.dantful-hero-section {
    animation: heroLoad 1.8s ease-out;
}

@keyframes heroLoad {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* 确保图片完全覆盖 */
.dantful-hero-section .wp-block-cover__image-background {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
}

/* 文字居中定位 */
.dantful-hero-section .wp-block-cover__inner-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 600px;
}

/* 移动端文字居中优化 */
@media (max-width: 768px) {
    .dantful-hero-section .wp-block-cover__inner-container {
        min-height: 450px;
        padding: 40px 20px;
    }
} 