:root {
    --primary-color: #2e7d32;
    --secondary-color: #4caf50;
    --bg-color: #f4f9f4;
    --text-color: #333;
    --light-bg: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    background-color: var(--bg-color);
    color: var(--text-color);
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background-color: var(--primary-color);
    color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

header h1 {
    margin-bottom: 0.5rem;
}

nav a {
    color: #c8e6c9;
    text-decoration: none;
    margin-right: 15px;
    font-weight: bold;
}

nav a:hover, nav a.active {
    color: white;
    text-decoration: underline;
}

.hero {
    background-color: var(--light-bg);
    padding: 3rem;
    text-align: center;
    border-radius: 8px;
    margin: 2rem 0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary-color);
}

.content-section {
    background: var(--light-bg);
    padding: 2rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.content-section h3 {
    color: var(--primary-color);
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-color);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-color);
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
}

.btn:hover {
    background: #1b5e20;
}

.btn-small {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    text-decoration: none;
    border-radius: 3px;
    font-size: 0.9rem;
    margin-top: 10px;
}

.cta-section {
    text-align: center;
    margin: 3rem 0;
}

/* 留言板表单样式 */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 2rem;
}

input, textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.message-item {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 10px;
    border-left: 3px solid var(--secondary-color);
}

.message-item strong {
    color: var(--primary-color);
}

.date-text {
    font-size: 0.8em;
    color: #777;
    margin-left: 10px;
}

footer {
    text-align: center;
    padding: 2rem 0;
    color: #666;
    margin-top: 2rem;
}