/* General Styles */
body {
    font-family: 'Georgia', serif;
    margin: 0;
    padding: 0;
    color: #000;
}

header {
    text-align: center;
    margin-top: 20px;
}

header h1 a {
    text-decoration: none;
    color: #000;
    font-size: 28px;
    font-weight: bold;
}

header nav {
    margin-top: 10px;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

header nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 16px;
    font-weight: normal;
    transition: color 0.3s;
}

header nav ul li a:hover {
    color: #555;
}

/* Slideshow */
main.welcome {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: #f4f4f4;
}

.slideshow {
    position: relative;
    width: 150%; /* 控制轮播区域的宽度 */
    height: 100%; /* 控制轮播区域的高度 */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slideshow img {
    position: absolute;
    max-width: 90%; /* 确保图片不会超出容器宽度 */
    max-height: 90%; /* 确保图片不会超出容器高度 */
    object-fit: contain; /* 保持图片比例，避免裁切 */
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    font-size: 14px;
    color: #777;
}
/* News Page */
main.news {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: #f4f4f4;
    text-align: center;
}

main.news section {
    max-width: 600px;
}

main.news h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

main.news p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
}
/* About Page */
main.about {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    min-height: 80vh;
    background: #f9f9f9;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 900px;
}

.about-container img {
    width: 40%; /* 照片占宽度的40% */
  
    max-height: 1000px;
    object-fit: cover; /* 确保照片按比例缩放 */
    border-radius: 10px;
}

.about-text {
    flex: 1;
    text-align: left;
}

.about-text h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.about-text p {
    font-size: 18px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.about-text blockquote {
    font-style: italic;
    color: #555;
    font-size: 20px;
    margin-top: 20px;
    border-left: 4px solid #ccc;
    padding-left: 10px;
}
/* Contact Page */
main.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: #f9f9f9;
    text-align: center;
}

main.contact section {
    max-width: 600px;
}

main.contact h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

main.contact p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
}

main.contact a {
    color: #007bff;
    text-decoration: none;
}

main.contact a:hover {
    text-decoration: underline;
}
/* Contact Page */
main.contact {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: #f9f9f9;
    text-align: center;
}

main.contact section {
    max-width: 600px;
}

main.contact h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

main.contact p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
}

main.contact a {
    color: #007bff;
    text-decoration: none;
}

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

/* Contact Page */
main.contact {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 80vh;
    background: linear-gradient(to bottom, #f9f9f9, #eaeaea);
    text-align: center;
}

.contact-info {
    max-width: 600px;
    background: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.contact-info h2 {
    font-size: 24px;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #333;
    letter-spacing: 2px;
}

.contact-info p {
    font-size: 18px;
    margin: 10px 0;
    line-height: 1.6;
    color: #555;
}

.contact-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

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

.inquiry-info {
    max-width: 600px;
    font-size: 18px;
    line-height: 1.8;
    color: #444;
    font-style: italic;
    border-left: 4px solid #ccc;
    padding-left: 20px;
}
/* News Page */
main.news {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
    background: #f8f8f8;
    font-family: 'Times New Roman', serif;
}

.news-article {
    max-width: 800px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    line-height: 1.8;
    color: #333;
}

.news-article h2 {
    font-size: 36px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border-bottom: 2px solid #000;
    display: inline-block;
    padding-bottom: 5px;
    font-weight: bold;
}

.news-article img {
    width: 100%;
    max-width: 450px;
    margin: 40px 70px;
    border: 1px solid #ccc;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.news-article p {
    font-size: 20px;
    margin: 20px 0;
    font-style: italic;
}

/* Projects Page */
main.projects {
    text-align: center;
    padding: 40px 20px;
    background: #f9f9f9;
}

main.projects h2 {
    font-size: 28px;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #333;
}

.project-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
    text-align: left;
}

.project-list li {
    font-size: 70px;
    margin: 10px 0;
}

.project-list li a {
    text-decoration: none;
    color: rgb(41, 40, 40);
    font-weight: bold;
    transition: color 0.3s ease;
}

.project-list li a:hover {
    color: #0056b3;
}
/* Gallery Page */
.gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 1200px;
}

.gallery img {
    width: 100%;
    max-height: 250px;
    object-fit: cover;
    height: auto;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Single Image Page */
.single-image {
    text-align: center;
    padding: 20px;
}

.single-image h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.single-image .image-container img {
    max-width: 80%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.navigation {
    margin-top: 20px;
    font-size: 18px;
}

.navigation a {
    text-decoration: none;
    color: #007bff;
    margin: 0 10px;
    font-weight: bold;
}

.navigation a:hover {
    text-decoration: underline;
}


