/* Contact页面专属样式 - 黑底白字 */

/* Contact Form Section */
.contact-form-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 12rem 0;
}

.form-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.form-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: grayscale(100%);
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
}

.page-title {
    font-size: 2.5rem;
    font-weight: 100;
    text-align: center;
    margin-bottom: 3rem;
    line-height: 1.3;
    letter-spacing: 0.02em;
}

/* Form Styles */
.contact-form {
    background-color: transparent;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.813rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-family: var(--font-primary);
    font-size: 0.938rem;
    font-weight: 300;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--black);
    border: none;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
}

.submit-btn:hover {
    background-color: var(--white);
    transform: translateY(-2px);
}

/* Story Section */
.story-section-contact {
    padding: 6rem 0;
    background-color: #8b8680;
    color: var(--white);
}

.story-content-contact {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: center;
}

.story-image {
    opacity: 0;
    transform: scale(0.95);
}

.story-image img {
    width: 100%;
    height: auto;
}

.story-text p {
    font-size: 0.938rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(30px);
    font-weight: 300;
}

/* Contact Info Section */
.contact-info-section {
    padding: 6rem 0;
    background-color: var(--black);
    text-align: right;
}

.contact-title {
    font-size: 2rem;
    font-weight: 100;
    margin-bottom: 2rem;
    letter-spacing: 0.03em;
}

.contact-items {
    display: flex;
    justify-content: flex-end;
    gap: 4rem;
}

.contact-item p {
    font-size: 0.813rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* Animations */
.story-image.fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 6rem 0;
    }
    
    .page-title {
        font-size: 1.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .story-content-contact {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-info-section {
        text-align: center;
    }
    
    .contact-items {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}