/* 基礎變數與重置 */
:root {
    --primary-green: #4a7c59;
    --dark-green: #3e6348;
    --light-bg: #f9fbf9;
    --text-dark: #333333;
    --text-gray: #666666;
    --white: #ffffff;
    --footer-bg: #eef3f0;
}

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

body {
    font-family: 'Noto Sans TC', sans-serif;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-green);
    color: var(--white);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
}

.btn-outline-dark {
    background-color: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

/* --- Header --- */
header {
    padding: 15px 0;
    background: var(--white);
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 20px;
    color: var(--text-dark);
}
.logo span {
    font-weight: 700;
}
.logo-icon {
    font-size: 28px;
    margin-right: 8px;
}

.nav-links {
    display: flex;
    gap: 30px;
    font-size: 15px;
    color: var(--text-dark);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-actions i {
    font-size: 18px;
    color: #555;
    cursor: pointer;
}

.header-actions .lang {
    font-size: 14px;
    color: #666;
}

.header-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* --- Hero Section --- */
.hero {
    background: url('../images/hero-turtle.jpg') center/cover no-repeat;
    height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-bottom: -1px;
}

.hero-bottom-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
    transform: rotate(180deg);
}
.hero-bottom-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 40px;
}
.hero-bottom-wave .shape-fill {
    fill: #ffffff;
}

.hero-content {
    margin-left: 10%;
    color: var(--white);
    z-index: 10;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.3;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 450px;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.slider-dots {
    position: absolute;
    bottom: 80px;
    right: 10%;
    display: flex;
    gap: 10px;
}

.slider-dots .dot {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.6);
    border-radius: 50%;
    cursor: pointer;
}
.slider-dots .dot.active {
    background-color: #fff;
}

/* --- About Section --- */
.about {
    padding: 60px 0 80px;
    background: var(--white);
}

.about-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text .label {
    color: var(--dark-green);
    font-size: 14px;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.about-text p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 25px;
    font-size: 15px;
}

.about-image {
    flex: 1.2;
    background: url('../images/about-animals.jpg') center/cover no-repeat;
    height: 350px;
    border-radius: 10px;
}

/* --- Work Section --- */
.work {
    padding: 40px 0 80px;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.section-header .leaf-icon {
    color: var(--primary-green);
    font-size: 18px;
    margin-left: 8px;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.work-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.work-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.work-card-body {
    padding: 20px 25px 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.work-card-body h3 {
    font-size: 18px;
    color: var(--dark-green);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.work-card-body h3 i {
    color: var(--primary-green);
}

.work-card-body p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: left;
}

.work-link {
    font-size: 14px;
    color: var(--text-dark);
    border-bottom: 1px solid #ccc;
}

.work-link:hover {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

/* --- Impact Section --- */
.impact {
    background-color: var(--dark-green);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.impact .section-header h2 {
    color: var(--white);
}

.impact .section-header .leaf-icon {
    color: #ccc;
}

.impact-grid {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
}

.impact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.impact-item i {
    font-size: 32px;
    margin-bottom: 15px;
    color: #fff;
}

.impact-item .number {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 5px;
}

.impact-item .title {
    font-size: 16px;
    margin-bottom: 5px;
}

.impact-item .desc {
    font-size: 12px;
    opacity: 0.8;
}

/* --- CTA Section --- */
.cta {
    background: url('../images/cta-bg.jpg') center/cover no-repeat;
    padding: 80px 0;
    text-align: center;
    color: var(--text-dark);
}

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.cta p {
    font-size: 16px;
    color: var(--text-gray);
    margin-bottom: 30px;
}

.cta .btn-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* --- News Section --- */
.news {
    padding: 60px 0;
    background: var(--light-bg);
}

.news .section-header h2 {
    color: var(--dark-green);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}

.news-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-card-body {
    padding: 20px;
}

.news-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.news-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.news-desc {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.5;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.load-more-container {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    border: 1px solid #ccc;
    padding: 10px 30px;
    border-radius: 30px;
    background: var(--white);
    color: var(--text-dark);
    font-size: 14px;
    cursor: pointer;
}

/* --- Footer --- */
footer {
    background: var(--white);
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-col p {
    font-size: 13px;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-gray);
}

.footer-col ul li a:hover {
    color: var(--primary-green);
}

.contact-info li {
    display: flex;
    gap: 10px;
    font-size: 14px;
    color: var(--text-gray);
}

.contact-info i {
    color: var(--primary-green);
    margin-top: 3px;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: #999;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .nav-links { display: none; }
    .work-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: repeat(2, 1fr); }
    .about-wrapper { flex-direction: column; }
}

@media (max-width: 768px) {
    .work-grid, .news-grid { grid-template-columns: 1fr; }
    .impact-grid { flex-direction: column; gap: 30px; }
    .hero-content h1 { font-size: 32px; }
}
