/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", sans-serif;
    line-height: 1.6;
    background: #f9f5e9 url('../images/bg-pattern.png') repeat;
    color: #333;
}

/* 导航栏样式 */
header {
    background: #8b0000;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: rgba(255,255,255,0.1);
}

/* 主要内容区域 */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    margin-bottom: 3rem;
}

.hero h1 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 特色区域 */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
    padding: 1.5rem;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.feature h2 {
    color: #8b0000;
    margin-bottom: 0.5rem;
}

.feature p {
    color: #666;
}

/* 艺术展览页面样式 */
.gallery-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.gallery-intro h1 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.gallery-intro p {
    font-size: 1.2rem;
    color: #666;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem;
}

.gallery-item {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.gallery-item h3 {
    color: #8b0000;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.gallery-item p {
    color: #666;
}

/* 文化介绍页面样式 */
.culture-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.culture-intro h1 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.culture-intro p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.culture-intro img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.culture-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.culture-item {
    display: flex;
    gap: 2rem;
    align-items: center;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.culture-item:nth-child(even) {
    flex-direction: row-reverse;
}

.culture-item img {
    width: 40%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.culture-text {
    flex: 1;
}

.culture-text h2 {
    color: #8b0000;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.culture-text p {
    color: #666;
    line-height: 1.8;
    text-align: justify;
}

/* 展览活动页面样式 */
.events-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.events-intro h1 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.events-intro p {
    font-size: 1.2rem;
    color: #666;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.event-card {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event-card img {
    width: 300px;
    height: 200px;
    object-fit: cover;
}

.event-info {
    padding: 2rem;
    flex: 1;
}

.event-info h2 {
    color: #8b0000;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.event-date {
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.event-desc {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #8b0000;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.event-button:hover {
    background: #a00000;
}

/* 联系我们页面样式 */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(139, 0, 0, 0.05);
    border-radius: 8px;
}

.contact-intro h1 {
    font-size: 2.5rem;
    color: #8b0000;
    margin-bottom: 1rem;
}

.contact-intro p {
    font-size: 1.2rem;
    color: #666;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 2rem;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-info h2 {
    color: #8b0000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.info-item img {
    width: 24px;
    height: 24px;
    margin-right: 1rem;
}

.info-item p {
    color: #666;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.contact-form h2 {
    color: #8b0000;
    font-size: 1.8rem;
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group textarea {
    resize: vertical;
}

.radio-group {
    display: flex;
    gap: 2rem;
}

.radio-group input[type="radio"] {
    margin-right: 0.5rem;
}

.submit-button {
    background: #8b0000;
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.submit-button:hover {
    background: #a00000;
}

/* 页脚样式 */
footer {
    background: #8b0000;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 3rem;
} 