body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    margin: 0 auto;
    max-width: 1200px;
}

header {
    background: rgba(51, 51, 51, 0.8); /* 半透明背景 */
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* 大图背景 */
.hero {
    background: url('../images/dbj.jpg') no-repeat center center/cover;
    color: #fff;
    padding: 150px 0;
    text-align: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.hero .btn {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    transition: background 0.3s ease;
}

.hero .btn:hover {
    background: #005bb5;
}

/* 详细介绍部分 */
.intro {
    padding: 50px 0;
    background: #fff;
    text-align: center;
}

.intro h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.intro p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 20px;
}

/* 家乡特产推荐 */
.featured-products {
    padding: 50px 0;
    background: #f4f4f4;
    text-align: center;
}

.featured-products h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.product-cards {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 30%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    border-radius: 10px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.card p {
    font-size: 1rem;
    color: #666;
}

.card .btn {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.card .btn:hover {
    background: #005bb5;
}

footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    position: relative;
    bottom: 0;
    width: 100%;
}

/* 关于我页面样式 */
.about-details {
    padding: 50px 0;
    background: #fff;
}

.about-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.about-left, .about-right {
    width: 48%; /* 左右两侧宽度 */
}

.about-left img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.about-left h3, .about-right h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.about-left p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
}

.about-right ul {
    list-style: none;
    padding: 0;
}

.about-right ul li {
    background: #f4f4f4;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.experience {
    margin-bottom: 20px;
}

.experience h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #0073e6;
}

.experience p {
    font-size: 1rem;
    color: #666;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .about-left, .about-right {
        width: 100%; /* 小屏幕上单列显示 */
    }

    .about-left {
        margin-bottom: 30px;
    }
}

/* 项目展示页面样式 */
.portfolio {
    padding: 50px 0;
    background: #fff;
}

.project-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(33.33% - 20px); /* 三列布局 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.card .btn {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.card .btn:hover {
    background: #005bb5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card {
        width: calc(50% - 20px); /* 小屏幕上两列布局 */
    }
}

@media (max-width: 480px) {
    .card {
        width: 100%; /* 超小屏幕上单列布局 */
    }
}

/* 家乡特产页面样式 */
.products {
    padding: 50px 0;
    background: #fff;
}

.product-cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.card {
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: calc(50% - 20px); /* 两列布局 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.card p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
}

.card .btn {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.card .btn:hover {
    background: #005bb5;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .card {
        width: 100%; /* 小屏幕上单列布局 */
    }
}


/* 项目详情页面样式 */
.project-details {
    padding: 50px 0;
    background: #fff;
}

.project-details h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #333;
}

.project-details p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.technical-details ul {
    list-style: none;
    padding: 0;
}

.technical-details ul li {
    background: #f4f4f4;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
}

.notes p {
    background: #f9f9f9;
    padding: 15px;
    border-left: 4px solid #0073e6;
    margin-bottom: 15px;
    font-size: 1rem;
    color: #333;
}


.downloads ul {
    list-style: none;
    padding: 0;
}

.downloads ul li {
    margin-bottom: 10px;
}

.downloads ul li a {
    color: #0073e6;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.downloads ul li a:hover {
    color: #005bb5;
    text-decoration: underline;
}


/* 联系表单样式 */
.contact-form {
    padding: 50px 0;
    background: #fff;
}

.contact-form h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.contact-form form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #333;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #0073e6;
    outline: none;
}

.form-group textarea {
    resize: vertical; /* 允许垂直调整大小 */
}

.contact-form .btn {
    background: #0073e6;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form .btn:hover {
    background: #005bb5;
}

/* 反馈信息样式 */
.response-message {
    margin-top: 20px;
    font-size: 1.1rem;
    text-align: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-form form {
        padding: 0 20px; /* 小屏幕上增加内边距 */
    }
}


/* 新增导航栏联系方式样式 */
.contact-nav a {
    display: flex;
    align-items: center;
    color: #0073e6;
    text-decoration: none;
    padding: 0 15px;
    font-size: 0.95rem;
}

/* Hero区域联系方式 */
.hero-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}
.contact-btn {
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    transition: background 0.3s;
}
.contact-btn img {
    width: 20px;
    margin-right: 8px;
}
.contact-btn:hover {
    background: rgba(255,255,255,0.3);
}
.contact-divider {
    color: rgba(255,255,255,0.5);
}

/* 核心内容区 */
.highlights {
    padding: 50px 0;
    background: #f8f9fa;
}
.highlights .container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}
.card h3 {
    display: flex;
    align-items: center;
    margin-top: 0;
    color: #0073e6;
}
.card h3 img {
    width: 24px;
    margin-right: 10px;
}
.contact-card {
    background: #0073e6;
    color: white;
}
.contact-card a {
    color: white;
    text-decoration: underline;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .contact-nav span {
        display: none;
    }
    .hero-contact {
        flex-direction: column;
        gap: 10px;
    }
    .contact-divider {
        display: none;
    }
}

/* 项目详情部分样式 */
.project-detail {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.project-detail h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #333;
}

.project-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.project-description {
    flex: 1;
    min-width: 300px;
    padding-right: 30px;
}

.project-description p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.project-description ul {
    margin: 20px 0;
    padding-left: 20px;
}

.project-description li {
    margin-bottom: 10px;
}

.project-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.project-image img {
    max-width: 100%;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1e88e5;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    margin-right: 10px;
    margin-top: 10px;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #1565c0;
}

.btn.secondary {
    background-color: #757575;
}

.btn.secondary:hover {
    background-color: #616161;
}

.test-accounts {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
    border-left: 4px solid #007bff;
}

.test-accounts h3 {
    margin-top: 0;
    color: #007bff;
}

.test-accounts ul {
    margin-bottom: 10px;
}

.test-accounts .note {
    font-size: 0.9em;
    color: #6c757d;
    font-style: italic;
}