/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #d4af37;
    --primary-dark: #b8941f;
    --secondary: #1a1a2e;
    --dark: #0a0a0a;
    --dark-light: #1a1a2e;
    --gray: #8a8a8a;
    --light: #f8f9fa;
    --success: #2ecc71;
    --warning: #f39c12;
}

body {
    font-family: 'Poppins', 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
    color: var(--light);
    background: var(--dark);
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', 'Microsoft YaHei', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    padding: 18px 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 5px 20px rgba(212, 175, 55, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo i {
    font-size: 2rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-menu a {
    color: var(--light);
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
    padding: 8px 0;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s;
}

.nav-menu a:hover::after {
    width: 100%;
}

.apply-btn {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--dark) !important;
    padding: 12px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    min-width: 120px;
    text-align: center;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
    transition: color 0.3s;
}

.menu-toggle:hover {
    color: var(--primary);
}

/* 全屏轮播 */
.fullscreen-slider {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.slider-container {
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
}

.slide-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
    line-height: 1.2;
    color: var(--light);
}

.slide-content p {
    font-size: 1.3rem;
    opacity: 0.95;
    margin-bottom: 35px;
    font-weight: 300;
    color: var(--light);
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.btn-slide {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-slide:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: var(--light);
    font-size: 2rem;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
}

.slider-arrow.prev {
    left: 30px;
}

.slider-arrow.next {
    right: 30px;
}

.slider-arrow:hover {
    background: rgba(212, 175, 55, 0.8);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.dot.active {
    background: var(--primary);
    width: 30px;
    border-radius: 6px;
}

.scroll-hint {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--light);
    font-size: 2rem;
    animation: bounce 2s infinite;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* 快速应聘通道 */
.quick-apply {
    padding: 80px 0;
    background: var(--dark-light);
}

.quick-apply-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.quick-apply-image img {
    width: 100%;
    border-radius: 15px;
}

.quick-apply-content h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.quick-apply-content p {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 30px;
}

.btn-quick-apply {
    display: inline-block;
    background: var(--primary);
    color: var(--dark);
    padding: 16px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-quick-apply:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* 招聘岗位 */
.jobs-section {
    padding: 100px 0;
    background: var(--dark);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray);
}

.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.job-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.job-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
    border-color: var(--primary);
}

.job-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.job-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.job-card:hover .job-image img {
    transform: scale(1.1);
}

.job-icon {
    position: absolute;
    top: 160px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--dark);
    border: 5px solid var(--dark);
}

.job-card h3 {
    margin-top: 50px;
    padding: 0 30px;
    font-size: 1.8rem;
    color: var(--light);
}

.job-tags {
    padding: 20px 30px;
    display: flex;
    gap: 10px;
}

.tag {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.tag.fulltime {
    background: rgba(46, 204, 113, 0.2);
    color: var(--success);
}

.tag.parttime {
    background: rgba(243, 156, 18, 0.2);
    color: var(--warning);
}

.tag.salary {
    background: rgba(212, 175, 55, 0.2);
    color: var(--primary);
}

.job-requirements {
    padding: 0 30px 30px;
    list-style: none;
}

.job-requirements li {
    padding: 8px 0;
    color: var(--gray);
    position: relative;
    padding-left: 25px;
}

.job-requirements li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.btn-job-details {
    display: block;
    margin: 0 30px 30px;
    padding: 14px;
    background: var(--primary);
    color: var(--dark);
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-job-details:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* 应聘流程 */
.process-section {
    padding: 100px 0;
    background: var(--dark-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.process-step {
    text-align: center;
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.step-number {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--dark);
    margin: 0 auto 20px;
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--light);
}

.process-step p {
    color: var(--gray);
    line-height: 1.8;
}

/* 关于我们 */
.about-section {
    padding: 100px 0;
    background: var(--dark);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary);
}

.about-text p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.about-text ul {
    list-style: none;
    padding: 0;
}

.about-text ul li {
    padding: 12px 0;
    padding-left: 30px;
    color: var(--gray);
    position: relative;
    font-size: 1.1rem;
}

.about-text ul li::before {
    content: '★';
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* 在线客服 */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
}

.chat-toggle {
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    transition: all 0.3s;
    position: relative;
}

.chat-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.chat-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4444;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 500px;
    background: var(--dark-light);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: none;
    flex-direction: column;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.chat-window.active {
    display: flex;
}

.chat-header {
    background: var(--primary);
    color: var(--dark);
    padding: 15px 20px;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.chat-close {
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 5px;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-message {
    padding: 10px 15px;
    border-radius: 10px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-message.user {
    background: rgba(212, 175, 55, 0.2);
    color: var(--light);
    align-self: flex-end;
    border-bottom-right-radius: 0;
}

.chat-message.admin {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    align-self: flex-start;
    border-bottom-left-radius: 0;
}

.chat-input-area {
    display: flex;
    padding: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 10px;
}

.chat-input-area input {
    flex: 1;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: var(--light);
    font-size: 0.95rem;
}

.chat-input-area input:focus {
    outline: none;
    border-color: var(--primary);
}

.chat-input-area button {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border: none;
    border-radius: 50%;
    color: var(--dark);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.chat-input-area button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .slide-content h1 {
        font-size: 2.5rem;
    }
    
    .quick-apply-box {
        grid-template-columns: 1fr;
    }
    
    .jobs-grid {
        grid-template-columns: 1fr;
    }
    
    .chat-window {
        width: calc(100vw - 40px);
        right: 20px;
    }
}

