/* style/contact.css */
/* 页面完整样式代码 - 注意：所有选择器必须使用BEM命名规则（双下划线__连接） */

/* General Styles for .page-contact */
.page-contact {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background */
    background-color: transparent; /* Body background is #000 from shared.css */
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: #ffffff; /* Default for dark sections */
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.page-contact__section-description {
    font-size: 1.1em;
    color: #f0f0f0; /* Lighter text for dark sections */
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Color Contrast Specifics */
.page-contact__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
    padding: 80px 0;
}

.page-contact__light-bg {
    background-color: #FFFFFF;
    color: #333333; /* Dark text for light sections */
    padding: 80px 0;
}

.page-contact__light-bg .page-contact__section-title {
    color: #017439; /* Brand primary color for titles on light background */
    text-shadow: none;
}

.page-contact__light-bg .page-contact__section-description {
    color: #555555; /* Darker text for descriptions on light background */
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-contact__btn-primary:hover {
    background-color: #005f2c; /* Slightly darker green on hover */
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

.page-contact__btn-secondary {
    display: inline-block;
    background-color: #ffffff;
    color: #017439; /* Brand primary color */
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    border: 2px solid #017439;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.page-contact__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Specific button styles (Login/Register) - Not directly on this page, but for consistency */
.page-contact__login-btn,
.page-contact__register-btn {
    background-color: #C30808; /* Custom red for Login/Register */
    color: #FFFF00; /* Custom yellow text */
    border: none;
}