/* Tech Style Contact Page Styles */

/* Contact Page Layout */
.tech-contact {
    background: #ffffff;
    color: #000000;
    min-height: 100vh;
    position: relative;
}

.tech-contact::before {
    /* 方格背景已移除 */
    display: none;
}

.contact-main {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

/* Form Section */
.contact-form-section {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0.8;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { background-position: 200% 0; }
    50% { background-position: -200% 0; }
}

.form-header {
    margin-bottom: 2rem;
    text-align: center;
}

.form-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.form-subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* Contact Info Section */
.contact-info-section {
    padding: 2rem 0;
}

.info-header {
    margin-bottom: 2rem;
    text-align: center;
}

.info-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.info-subtitle {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Methods */
.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.contact-method::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.contact-method:hover::before {
    left: 100%;
}

.contact-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
    position: relative;
    z-index: 2;
}

.method-info {
    flex: 1;
    position: relative;
    z-index: 2;
}

.method-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.method-text {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.5;
    font-size: 0.9rem;
}

.method-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.method-link:hover {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

/* Business Hours */
.business-hours {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hours-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.hours-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    transition: all 0.3s ease;
}

.hours-item:last-child {
    border-bottom: none;
}

.hours-item:hover {
    background: rgba(0, 212, 255, 0.05);
    border-radius: 8px;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.day {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
}

.time {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 800px;
    }

    .contact-form-section {
        order: 1;
    }

    .contact-info-section {
        order: 2;
    }
}

@media (max-width: 768px) {
    .contact-main {
        padding: 3rem 0;
    }

    .contact-layout {
        gap: 2rem;
        padding: 0 1rem;
    }

    .contact-form-section {
        padding: 2rem;
        border-radius: 16px;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .info-title {
        font-size: 1.8rem;
    }

    .contact-method {
        padding: 1.25rem;
    }

    .method-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .contact-main {
        padding: 2rem 0;
    }

    .contact-layout {
        padding: 0 0.5rem;
    }

    .contact-form-section {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .form-title {
        font-size: 1.5rem;
    }

    .info-title {
        font-size: 1.5rem;
    }

    .contact-method {
        padding: 1rem;
        gap: 0.75rem;
    }

    .method-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .method-title {
        font-size: 1rem;
    }

    .method-text {
        font-size: 0.85rem;
    }

    .method-link {
        font-size: 0.85rem;
    }

    .business-hours {
        padding: 1.25rem;
    }

    .hours-item {
        padding: 0.5rem 0;
    }

    .day, .time {
        font-size: 0.85rem;
    }
}
