/* 招聘页面专用样式 */

/* 加入我们部分 */
.join-us-section {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 80px;
    overflow: hidden;
}

.join-us-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://oss.huanitech.com/HN/HN/WL1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.join-us-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
}

.join-us-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100%;
    margin: 0 auto;
}

.join-us-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #f3ecec;
}

.join-us-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: #f1f0f0;
}

.search-container {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    background: white;
    border-radius: 50px;
    padding: 0.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.job-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1rem;
    font-size: 1.1rem;
    background: transparent;
}

.job-search-input::placeholder {
    color: #999;
}

.search-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border-radius: 25px;
}

.search-btn:hover {
    background: #1d4ed8;
    transform: translateX(2px);
}

/* 招聘职位部分 */
.recruitment-positions {
    padding: 80px 0;
    background: #f8f9fa;
}

.positions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.position-card {
    height: 400px;
    border-radius: 15px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.position-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.position-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    color: white;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

.position-content h3 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.position-content p {
    font-size: 1rem;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 10px;
}

.position-content i {
    transition: transform 0.3s ease;
}

.position-card:hover .position-content i {
    transform: translateX(5px);
}

/* 工作环境部分 */
.work-environment {
    padding: 80px 0;
    background: white;
}

.environment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 50px;
}

.environment-item {
    border-radius: 15px;
    /* overflow: hidden; */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.environment-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.environment-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.environment-item:hover img {
    transform: scale(1.1);
}

/* 最后部分 */
.final-section {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #000428 0%, #262d33 100%);
    overflow: hidden;
}

.final-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    pointer-events: none;
    z-index: 1;
}

.final-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url('https://oss.huanitech.com/HN/HN/WL2.png'),
        radial-gradient(circle at 30% 20%, rgba(120, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.final-content {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    margin-top: 15px;
    padding: 0 20px;
    color: white;
    text-align: center;
}

.final-text {
    max-width: 600px;
    margin: 0 auto;
}

.final-text h2 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #fff, #87CEEB);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.recruitment-types {
    display: flex;
    gap: 20px;
    margin-bottom: 2rem;
    align-items: center;
}

.recruitment-type {
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.recruitment-type:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.pagination-dots {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

.pagination-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pagination-dots .dot.active {
    background: #007bff;
    transform: scale(1.2);
}

.learn-more-btn {
    background: linear-gradient(45deg, #3c364b, #030405);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.learn-more-btn:hover {
    background: linear-gradient(45deg, #5b5075, #030405);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
}

.final-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.final-image img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

/* 响应式设计 */
@media (max-width: 768px) {
    .join-us-section {
        height: 70vh;
        min-height: 500px;
    }
    
    .join-us-title {
        font-size: 2.5rem;
    }
    
    .join-us-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
    
    .positions-grid {
        grid-template-columns: 1fr;
    }
    
    .environment-grid {
        grid-template-columns: 1fr;
    }
    
    .final-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
    
    .final-text h2 {
        font-size: 2rem;
    }
    
    .recruitment-types {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-container {
        flex-direction: column;
        border-radius: 15px;
    }
    
    .search-btn {
        border-radius: 0 0 15px 15px;
    }
}

@media (max-width: 480px) {
    .join-us-section {
        height: 60vh;
        min-height: 400px;
    }
    
    .join-us-title {
        font-size: 2rem;
    }
    
    .join-us-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .position-card {
        height: 150px;
    }
    
    .position-content {
        padding: 20px;
    }
    
    .position-content h3 {
        font-size: 1.2rem;
    }
}
