:root {
    --primary-color: #4A7023;
    --secondary-color: #8B5A2B;
    --bg-color: #F9F9F9;
    --text-color: #333333;
    --light-text: #666666;
    --white: #FFFFFF;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 20px 0;
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 24px;
    color: var(--primary-color);
    font-weight: 700;
}

.logo .en-name {
    color: var(--secondary-color);
    font-weight: 300;
    margin-left: 10px;
    font-size: 20px;
}

/* Main Content */
.site-main {
    flex: 1;
}

.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6B8E23 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    opacity: 0.9;
}

.projects {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--text-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 10px auto 0;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 30px;
    transition: transform 0.3s ease;
    text-align: center;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.project-info h4 {
    font-size: 22px;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.project-desc {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 14px;
}

.project-link {
    display: inline-block;
    padding: 8px 20px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.project-link:hover {
    background-color: #3A5A1B;
}

/* Footer */
.site-footer {
    background-color: #2C3E50;
    color: #BDC3C7;
    padding: 40px 0;
    text-align: center;
    font-size: 14px;
}

.site-footer a {
    color: #BDC3C7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.site-footer a:hover {
    color: var(--white);
}

.beian-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
}

.mps-beian {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.beian-icon {
    vertical-align: middle;
    width: 20px;
    height: 20px;
}

/* Error Page */
.logo-link {
    text-decoration: none;
    color: inherit;
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
}

.error-content {
    text-align: center;
    background-color: var(--white);
    padding: 60px 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    max-width: 600px;
    margin: 0 auto;
}

.error-code {
    font-size: 120px;
    line-height: 1;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 20px;
}

.error-title {
    font-size: 28px;
    color: var(--text-color);
    margin-bottom: 15px;
}

.error-message {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 16px;
}

.back-home-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.back-home-btn:hover {
    background-color: #3A5A1B;
}
