/* Contact Page Styles */
.contact-page {
    font-family: 'League Spartan', sans-serif;
}

/* Hero Section - 比例统一为21:9 */
.contact-hero {
    position: relative;
    width: 100%;
    height: auto;
    padding-bottom: 42.86%; /* 21:9的比例 (9/21 ≈ 0.4286 → 42.86%) */
    overflow: hidden;
}

.contact-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #f5f5f5;
}

.contact-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.95);
}

/* Responsive Styles - 移动端也保持21:9比例 */
@media (max-width: 768px) {
    .contact-hero {
        padding-bottom: 42.86%; /* 保持21:9比例 */
    }
    
    .contact-hero-image img {
        object-fit: cover;
        object-position: center;
    }
    
    .map-container {
        height: 300px;
        margin-top: 30px;
        border-radius: 10px;
    }
    
    .support-info {
        padding: 60px 0;
    }
}


/* Support Info Section */
.support-info {
    padding: 80px 0;
    background: #FAF9F6;
    animation: fadeInUp 1s ease forwards;
    animation-play-state: paused;
}

.support-info h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.support-text {
    text-align: center;
    color: #666;
    line-height: 1.8;
}

.support-hours {
    margin-top: 20px;
    font-weight: 600;
    color: #333;
}

/* Contact Form Section */
.contact-form {
    padding: 80px 0;
    background: #FAF9F6;
    animation: fadeInUp 1s ease forwards;
    animation-play-state: paused;
}

.contact-form h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
    animation: fadeInLeft 0.8s ease forwards;
    animation-play-state: paused; /* 初始状态为暂停 */
    animation-delay: calc(var(--animation-order, 0) * 0.1s);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 12px;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(0,0,0,0.1);
}

textarea.form-control {
    min-height: 150px;
}

.submit-button {
    background: var(--accent-color);
    border: none;
    padding: 12px 30px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

.submit-button:hover {
    background: #000;
}

/* Location Section */
.location-section {
    padding: 80px 0;
    background: #FAF9F6;
    animation: fadeInUp 1s ease forwards;
    animation-play-state: paused;
}

.location-section h2 {
    font-size: 2rem;
    color: #333;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.office-info {
    margin-top: 30px;
}

.location-section .col-md-6 {
    animation: fadeInUp 1s ease forwards;
    animation-play-state: paused; /* 初始状态为暂停 */
}

.location-section .col-md-6:last-child {
    animation: fadeInUp 1s ease forwards;
    animation-play-state: paused; /* 初始状态为暂停 */
}

.map-container {
    height: 400px;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f0f0f0;
    color: #666;
}

.map-popup h5 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.map-popup p {
    font-size: 14px;
    margin-bottom: 0;
    color: #666;
    line-height: 1.4;
}

/* Animation Classes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.8s cubic-bezier(0.33, 1, 0.68, 1) forwards;
} 