body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
    background-color: rgba(100, 190, 70, 0.9);
    color: rgba(90, 70, 0, 1);
}

.hero {
    background: url('/static/images/hero.jpg') no-repeat center center/cover;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay {
    background-color: rgba(0, 100, 0, 0.5);
    color: white;
    padding: 2rem;
    text-align: center;
    border-radius: 8px;
}

.hero-title {
    font-size: 3rem;
    font-family: 'Playfair Display', serif;
    margin: 0;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin: 1rem 0;
}

.btn-primary {
    padding: 0.75rem 1.5rem;
    background-color: #4CAF50;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

.navbar {
    background-color: #2e7d32;
    display: flex;
    justify-content: center;
    padding: 0.75rem;
}

.navbar a {
    color: white;
    text-decoration: none;
    margin: 0 1rem;
    font-weight: bold;
}

.section {
    
    padding: 4rem 2rem;
    text-align: center;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    align-items: center;     /* 水平居中 */
    gap: 1rem;
    padding: 1rem;
  }

.image-grid img {
    max-width: 100%;
    cursor: pointer;
    border-radius: 10px;
    transition: transform 0.3s;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.modal {
    display: none;
    position: fixed;
    z-index: 999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}
.modal img {
    max-width: 90%;
    max-height: 90%;
    transition: transform 0.2s ease;
    pointer-events: auto;
}

.nav-arrow {
    position: absolute;
    top:50%;
    backgroud: rgba(255,255,255,0.5);
    border: none;
    font-size: 2rem;
    padding: 0.5rem;
    cursor: pointer;
    transform: translateY(-50%);
    z-index: 10;
}
.nav-arrow.left {left: 2%;}
.nav-arrow.right {right: 2%;}
.footer {
    background-color: #1b5e20;
    color: white;
    text-align: center;
    padding: 1rem 0;
}
.container {
    max-width: 540px;
    margin: 0 auto;
    padding: 20px;
}
video {
    width: 100%;
    height: auto;
}
