/* style/contact.css */

/* Custom properties for colors from shared.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #FFFFFF;
    --button-login-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
}

/* Base styles for the contact page */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark); /* Default text color for light background */
    background-color: var(--background-color); /* Matches shared.css body background */
    padding-bottom: 60px;
}

/* Ensure padding-top for header offset */
.page-contact {
    padding-top: var(--header-offset, 120px); /* Desktop default */
}

.page-contact__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-contact__section-title {
    font-size: 36px;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__section-description {
    font-size: 18px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)); /* 淡蓝色配色方案 */
    color: var(--text-color-light);
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-contact__hero-title {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light); /* White text for contrast */
}

.page-contact__hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-color-light); /* White text for contrast */
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-login-color); /* Use specified login color for CTA */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__cta-button:hover {
    background: #c76506; /* Darken for hover effect */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-contact__hero-image {
    width: 100%;
    margin-top: 30px;
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Why Contact Us Section */
.page-contact__why-contact-section {
    padding: 80px 0;
    background-color: var(--secondary-color); /* Light background */
    color: var(--text-color-dark);
}

.page-contact__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-contact__feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-contact__feature-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__feature-title {
    font-size: 22px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-contact__feature-text {
    font-size: 16px;
    color: #666666;
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
    padding: 80px 0;
    background-color: var(--primary-color); /* Dark background */
    color: var(--text-color-light);
}

.page-contact__contact-methods-section .page-contact__section-title,
.page-contact__contact-methods-section .page-contact__section-description {
    color: var(--text-color-light);
}

.page-contact__methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-contact__method-item {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white background */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.page-contact__method-item:hover {
    background: rgba(255, 255, 255, 0.25);
}

.page-contact__method-icon {
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--text-color-light);
    margin-bottom: 15px;
}

.page-contact__method-text {
    font-size: 16px;
    color: #f0f0f0;
    margin-bottom: 25px;
}

.page-contact__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--button-login-color); /* Use specified login color */
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-contact__btn-primary:hover {
    background: #c76506; /* Darken for hover effect */
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.page-contact__social-text-link {
    display: inline-block;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.2);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.page-contact__social-text-link:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Common Reasons Section */
.page-contact__common-reasons-section {
    padding: 80px 0;
    background-color: var(--secondary-color); /* Light background */
    color: var(--text-color-dark);
}

.page-contact__reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-contact__reason-item {
    background: #ffffff; /* Card background */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}