* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Poppins", sans-serif;
    background: #f5fff7;
    color: #333;
    line-height: 1.6;
}

/* HEADER */
header {
    background: linear-gradient(90deg, #14532d, #166534, #15803d);
    color: white;
    padding: 0.8rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

#header {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.header-left img {
    height: 70px;
    border-radius: 50%;
    width: auto;
}
.header-left h1 {
    font-size: 1.5rem;
}
.header-left p {
    font-size: 0.9rem;
    margin-top: -4px;
}

/* NAVIGATION */
nav {
    display: flex;
    gap: 20px;
}
nav a {
    text-decoration: none;
    padding: 8px 16px;
    background: #fff;
    color: #166534;
    border-radius: 20px;
    transition: 0.3s;
    font-weight: bold;
    border: 1px solid #166534;
}
nav a:hover {
    background: #166534;
    color: #fff;
}

/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* MOBILE STYLE */
@media (max-width: 768px) {
    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: #14532d;
        margin-top: 10px;
        border-radius: 10px;
    }
    nav.active {
        display: flex;
    }
    nav a {
        background: transparent;
        color: white;
        border: none;
        text-align: center;
        padding: 12px 0;
    }
    nav a:hover {
        background: #166534;
    }
    .hamburger {
        display: flex;
    }
    .gallery-container h2 {
        font-size: 1.6em;
    }
}

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

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}
.card:hover {
    transform: translateY(-5px);
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}
.card-content {
    padding: 15px;
}
.card-content h3 {
    color: #166534;
    margin-bottom: 10px;
}
.card-content p {
    font-size: 0.9rem;
    margin-bottom: 10px;
}
.btn {
    display: inline-block;
    padding: 8px 14px;
    border: none;
    border-radius: 15px;
    background: #166534;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
    transition: 0.3s;
}
.btn:hover {
    background: #22c55e;
}

.container-blog {
    max-width: 1000px;
    margin: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 20px;
}

article {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
article h2 {
    color: #166534;
    margin-bottom: 10px;
}
.meta {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 20px;
}
article img {
    width: 100%;
    border-radius: 15px;
    margin-bottom: 20px;
}
article p {
    margin-bottom: 16px;
    text-align: justify;
}
aside {
    background: #fff;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
aside h3 {
    margin-bottom: 15px;
    color: #166534;
}
aside ul {
    list-style: none;
    padding: 0;
}
aside ul li {
    margin-bottom: 10px;
}
aside ul li a {
    text-decoration: none;
    color: #166534;
    transition: 0.2s;
}
aside ul li a:hover {
    color: #22c55e;
}

footer {
    background: #14532d;
    color: white;
    text-align: center;
    padding: 15px;
    margin-top: 30px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.about-hero img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.about-text {
    margin: 30px 0;
}

.about-text h2 {
    color: #0b3d2e; /* dark green */
    font-size: 2em;
    margin-bottom: 10px;
}

.about-text p {
    font-size: 1.1em;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.about-social {
    margin-top: 40px;
}

.about-social h3 {
    font-size: 1.4em;
    margin-bottom: 15px;
    color: #0b3d2e;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a img {
    width: 40px;
    height: 40px;
    filter: invert(23%) sepia(15%) saturate(1040%) hue-rotate(102deg)
        brightness(92%) contrast(92%);
    transition: transform 0.2s ease;
}

.social-links a img:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .about-text h2 {
        font-size: 1.6em;
    }

    .about-text p {
        font-size: 1em;
    }

    .social-links a img {
        width: 32px;
        height: 32px;
    }
}

.gallery-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    text-align: center;
}

.gallery-container h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #0b3d2e; /* hijau gelap */
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}

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

/* Modal style */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    padding-top: 80px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
}

#caption {
    margin: 15px auto;
    text-align: center;
    color: #fff;
    font-size: 1.2em;
}

.close {
    position: absolute;
    top: 25px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close:hover {
    color: #ccc;
}

/* Responsive */
@media (max-width: 600px) {
    .gallery-container h2 {
        font-size: 1.6em;
    }
}
