* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.8;
    color: #333;
    background-color: #FAFBFC;
}

:root {
    --primary-color: #7EC8E3;
    --primary-dark: #5BA3BE;
    --primary-light: #E8F4F8;
    --text-dark: #2C3E50;
    --text-light: #6B7C93;
    --text-muted: #95A5A6;
    --bg-white: #FFFFFF;
    --bg-light: #FAFBFC;
    --border-color: #E8EEF2;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏样式 */
nav {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-dark);
}

.logo-icon {
    width: 36px;
    height: 36px;
    margin-right: 10px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.4rem;
    cursor: pointer;
    color: var(--text-dark);
    padding: 0.5rem;
}

/* Hero区域 */
.hero {
    padding: 140px 0 100px;
    text-align: center;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.hero-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
}

.scroll-indicator {
    display: inline-block;
    font-size: 1.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
    text-decoration: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(10px); }
    60% { transform: translateY(5px); }
}

/* 理念区域 */
.philosophy {
    padding: 100px 0;
    background: var(--bg-white);
}

.philosophy-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.philosophy-content p {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 1.8rem;
    line-height: 2;
    text-align: left;
}

.philosophy-content .highlight {
    color: var(--primary-dark);
    font-weight: 500;
}

/* 画廊区域 */
.gallery {
    padding: 100px 0;
    background: var(--bg-light);
}

.section-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 60px;
    letter-spacing: 1px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: var(--bg-white);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.gallery-image {
    height: 220px;
    width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    padding: 1.2rem 1.5rem;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* 文章区域 */
.articles {
    padding: 100px 0;
    background: var(--bg-white);
}

.articles-grid {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.article-card {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateX(5px);
}

.article-card:last-child {
    border-bottom: none;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    display: inline-block;
}

.article-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.8rem;
}

.article-card h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-card h3 a:hover {
    color: var(--primary-color);
}

.article-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.8;
}

/* 页脚 */
footer {
    background: var(--text-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    margin-bottom: 0.8rem;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
    margin-right: 8px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.footer-section h3 {
    font-size: 0.95rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

.powered-by {
    text-align: center;
    padding-top: 15px;
    padding-bottom: 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    font-style: italic;
}

.powered-by p {
    margin: 0;
}

/* 关于页样式 */
.about-hero {
    padding: 120px 0 80px;
    background: linear-gradient(180deg, var(--primary-light) 0%, #fff 100%);
    text-align: center;
}

.about-hero h1 {
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.about-content {
    padding: 80px 0;
    background: var(--bg-white);
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-text p {
    color: var(--text-light);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.99);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        gap: 1.5rem;
    }

    .nav-links.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .gallery-image {
        height: 180px;
    }

    .philosophy-content p {
        font-size: 1rem;
        text-align: justify;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }
}