/* 页面头部 - 联系我们专用背景 */
.page-header {
    background:
            linear-gradient(rgba(10, 25, 60, 0.9), rgba(5, 15, 35, 0.95)),
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org2000/svg" width="200" height="200" viewBox="0 0 200 200"><defs><pattern id="contactPattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,0 L50,25 L25,50 L0,25 Z" fill="none" stroke="%234285f4" stroke-width="2"/><circle cx="25" cy="25" r="10" fill="none" stroke="%2334a853" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="%230f1b3d"/><rect width="100%" height="100%" fill="url(%23contactPattern)"/><circle cx="150" cy="50" r="30" fill="none" stroke="%23fbbc05" stroke-width="1" stroke-dasharray="5,5"/><circle cx="50" cy="150" r="40" fill="none" stroke="%23ea4335" stroke-width="1" stroke-dasharray="3,3"/></svg>');
    background-size: cover;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 10% 20%, rgba(66, 133, 244, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(52, 168, 83, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(251, 188, 5, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

/* 面包屑导航 */
.breadcrumb {
    background-color: var(--light-color);
    padding: 15px 0;
    margin-bottom: 40px;
}

.breadcrumb-content {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--gray-color);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--primary-color);
}

.breadcrumb span {
    margin: 0 8px;
    color: var(--gray-color);
}

.breadcrumb .current {
    color: var(--primary-color);
    font-weight: 500;
}

/* 联系信息区域 */
.contact-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    color: var(--dark-color);
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 30px;
    line-height: 1.7;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.contact-method:hover {
    transform: translateY(-5px);
}

.method-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.method-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.method-content h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.method-content p {
    color: var(--gray-color);
    margin-bottom: 5px;
}

.method-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.method-content a:hover {
    color: var(--secondary-color);
}

.business-hours {
    background: var(--light-color);
    border-radius: 8px;
    padding: 25px;
    margin-top: 30px;
}

.business-hours h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.hours-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.hour-day {
    font-weight: 500;
}

.hour-time {
    color: var(--gray-color);
}

.contact-map {
    flex: 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 600px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 20px;
}

.map-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

.map-placeholder h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.map-placeholder p {
    opacity: 0.9;
    max-width: 300px;
}

/* 联系表单 */
.contact-form-section {
    background-color: var(--light-color);
    padding: 80px 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 12px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.form-header p {
    color: var(--gray-color);
    font-size: 1.1rem;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    margin-bottom: 0;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-color);
}

.form-input, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    transition: border-color 0.3s;
    outline: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
}

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

.submit-button {
    grid-column: 1 / -1;
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 10px;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}
