/* ==========================================
   通用区域组件样式 - common-sections.css
   包含各种页面公共使用的区域样式
   ========================================== */

/* ==========================================
   英雄区域样式
   ========================================== */

/* 英雄区域基础样式 */
.hero-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 0;
    text-align: center;
    position: relative;
    min-height: 550px;
    display: flex;
    align-items: center;
    padding-bottom: 120px;
    position: relative;
    z-index: 1;
    padding-top: 70px;
}

/* 英雄区域内容容器 */
.hero-content,
.search-content {
    width: 100%;
}

.hero-content h1,
.search-content h1 {
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-inverse);
    text-shadow: var(--text-shadow);
}

.hero-content p,
.search-content p {
    font-size: 1.3rem;
    color: var(--text-inverse);
    margin-bottom: 2.5rem;
}

/* ==========================================
   通用区域标题样式
   ========================================== */

.section-header {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    border: none;
    padding: 0;
}

.section-header h2 i {
    display: none;
}

.section-title-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.section-title-link:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 3rem auto;
}

/* ==========================================
   响应式设计
   断点说明：
   - PC端：≥1024px（默认样式）
   - iPad端：768px-1023px（@media (min-width: 768px) and (max-width: 1023px)）
   - 手机端：<768px（@media (max-width: 767px)）
   ========================================== */

/* 手机端：<768px */
@media (max-width: 767px) {
    .hero-section {
        min-height: 400px;
        padding-bottom: 80px;
        padding-top: 60px;
    }
    
    .hero-content h1,
    .search-content h1 {
        font-size: 2rem;
        margin-top: 1.5rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-content p,
    .search-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}

/* iPad端：768px - 1023px */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-section {
        min-height: 480px;
        padding-bottom: 100px;
        padding-top: 65px;
    }
    
    .hero-content h1,
    .search-content h1 {
        font-size: 2.8rem;
        margin-bottom: 0.7rem;
    }
    
    .hero-content p,
    .search-content p {
        font-size: 1.15rem;
        margin-bottom: 2rem;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header p {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
} 