/* 基础样式与字体 */
body {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* 头部导航 */
header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-family: 'Lato', sans-serif;
    font-size: 1.5em;
    font-weight: bold;
    color: #5D7A5F;
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-family: 'Lato', sans-serif;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: #5D7A5F;
}

/* 英雄区域 */
.hero {
    background: url('natures-god.jpg') no-repeat center center/cover;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-family: 'Lato', sans-serif;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-family: 'Lora', serif;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    background-color: #5D7A5F;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-family: 'Lato', sans-serif;
    transition: background-color 0.3s;
}

.btn.secondary {
    background-color: transparent;
    border: 2px solid #5D7A5F;
    color: #5D7A5F;
}

.btn:hover {
    background-color: #4A6A4F;
}

.btn.secondary:hover {
    background-color: #5D7A5F;
    border-color: #5D7A5F;
}

/* 核心理念展示 */
.core-principles {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.core-principles h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.principles-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.principle {
    flex: 1 1 300px;
    max-width: 350px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.principle .icon {
    font-size: 3em;
    margin-bottom: 20px;
}

.principle h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: #5D7A5F;
    font-family: 'Lato', sans-serif;
}

/* 生态理念 Philosophy */
.philosophy {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.philosophy h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.philosophy-content {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: #555;
}

.ecology-cycle {
    text-align: center;
    margin-top: 30px;
}

.ecology-cycle img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 创作流程 Design Process */
.design-process {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.design-process h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.process-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.step {
    flex: 1 1 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.step .step-icon {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.step h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #5D7A5F;
    font-family: 'Lato', sans-serif;
}

/* 艺术作品 Botanical Artworks */
.botanical-artworks {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.botanical-artworks h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.artworks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.artwork-category {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 30px;
    text-align: left;
}

.artwork-category h3 {
    font-size: 1.5em;
    color: #5D7A5F;
    margin-bottom: 15px;
    font-family: 'Lato', sans-serif;
}

.artwork-category p {
    margin-bottom: 20px;
    color: #555;
}

.artwork-items {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.artwork-item {
    flex: 1 1 45%;
    position: relative;
}

.artwork-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.eco-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: rgba(93, 122, 95, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.9em;
    font-family: 'Lato', sans-serif;
}

/* 工作坊 Workshop */
.workshop {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.workshop h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 30px;
    font-family: 'Lato', sans-serif;
}

.workshop p {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1em;
    color: #555;
}

.workshop-courses {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.course-card {
    flex: 1 1 300px;
    max-width: 350px;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.course-card h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #5D7A5F;
    font-family: 'Lato', sans-serif;
}

/* 洞察与研究 Insights */
.insights {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.insights h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.article-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.article-card {
    flex: 1 1 300px;
    max-width: 400px;
    text-align: left;
}

.article-card img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    margin-bottom: 20px;
}

.article-card h3 {
    font-size: 1.3em;
    margin-bottom: 10px;
    color: #5D7A5F;
    font-family: 'Lato', sans-serif;
}

.tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tags span {
    background-color: #5D7A5F;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-family: 'Lato', sans-serif;
}

/* 生态商店 Eco Shop */
.eco-shop {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.eco-shop h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.shop-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.category {
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: left;
}

.category h3 {
    font-size: 1.3em;
    margin-bottom: 15px;
    color: #5D7A5F;
    font-family: 'Lato', sans-serif;
}

.shop-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* 联系我们 Contact */
.contact {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
    text-align: center;
}

.contact h2 {
    color: #5D7A5F;
    font-size: 2.5em;
    margin-bottom: 50px;
    font-family: 'Lato', sans-serif;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto 50px;
    text-align: left;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info a {
    color: #5D7A5F;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.contact-form input, .contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Lora', serif;
}

.contact-form textarea {
    resize: vertical;
    min-height: 150px;
}

/* 页脚 */
footer {
    background-color: #5D7A5F;
    color: #fff;
    text-align: center;
    padding: 30px 0;
    margin-top: 80px;
}

footer p {
    margin: 5px 0;
    font-family: 'Lato', sans-serif;
}
/* 为所有图片设置最大宽度，确保它们不会超出容器 */
img {
    max-width: 100%; /* 图片最大宽度为父容器的100% */
    height: auto;    /* 高度自动调整，保持图片比例 */
    display: block;  /* 移除图片底部的小间隙 */
}
/* 礼品项目样式 */
.gift-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.gift-item {
    flex: 1 1 300px; /* 每个礼品项目至少300px宽，可以伸缩 */
    text-align: center;
    margin-bottom: 20px;
}

.gift-item figure {
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer; /* 鼠标悬停时显示手型 */
}

.gift-item img.thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease; /* 添加 hover 效果 */
}

.gift-item:hover img.thumbnail {
    transform: scale(1.05); /* 鼠标悬停时稍微放大 */
}

.gift-item figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}

/* 模态框样式 */
.modal {
    display: none; /* 默认隐藏 */
    position: fixed; /* 固定定位 */
    z-index: 1000; /* 确保在最上层 */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* 启用滚动条 */
    background-color: rgba(0,0,0,0.9); /* 半透明黑色背景 */
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 800px; /* 最大宽度 */
    animation-name: zoom;
    animation-duration: 0.6s;
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* 关闭按钮 */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 图片说明 */
#caption {
    color: #f1f1f1;
    text-align: center;
    padding: 10px 0;
    font-size: 1.2em;
}
/* 为 Memory Art 和 Botanical Artworks 的项目添加样式 */
.art-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.art-item {
    flex: 1 1 300px; /* 每个项目至少300px宽，可以伸缩 */
    text-align: center;
    margin-bottom: 20px;
}

.art-item figure {
    margin: 0;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.art-item img.thumbnail {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.art-item:hover img.thumbnail {
    transform: scale(1.05);
}

.art-item figcaption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #555;
}
