@import url(global.css);

:root {
    --green: #008c2f;
    --green-dark: #007326;
    --black: #111111;
    --gray: #666666;
    --light-gray: #f7f7f7;
    --yellow: #ffe597;
    --welcome: #c9f3d9;
    --white: #ffffff;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Raleway", sans-serif;
    color: var(--black);
    background: #ffffff;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.hero-section {
    width: min(1100px, calc(100% - 70px));
    margin: 28px auto 0;
}

.hero-text {
    text-align: center;
}

.hero-text h1 {
    margin: 0 0 10px;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
}

.hero-text h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.hero-text h2 span {
    font-weight: 500;
}

.hero-text p {
    margin: 10px 0 0;
    color: #444444;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-image {
    width: 100%;
    height: 400px;
    margin-top: 20px;
    overflow: hidden;
    border-radius: 9px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.statistics-section {
    width: min(1040px, calc(100% - 100px));
    min-height: 70px;
    margin: 30px auto 43px;
    padding: 12px 25px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    gap: 20px;
    background: var(--yellow);
    border-radius: 9px;
    box-shadow:
        0 6px 15px rgba(0, 0, 0, 0.09);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-item img {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    object-fit: contain;
}

.stat-text {
    display: flex;
    flex-direction: column;
}

.stat-text strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.stat-text span {
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    white-space: nowrap;
}

.section-heading {
    margin-bottom: 25px;
    text-align: center;
}

.section-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.green-line {
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--green);
    border-radius: 10px;
}

.welcome-section {
    width: 100%;
    padding: 50px 0;
}

.welcome-section .section-heading {
    text-align: center;
    margin-bottom: 30px;
}

.welcome-section .section-heading h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 700;
}

.welcome-section .green-line {
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    background: var(--green);
    border-radius: 5px;
}

.welcome-card {
    width: calc(100% - 180px);
    max-width: 1150px;
    margin: 0 auto;
    padding: 38px 40px;
    display: flex;
    align-items: center;
    gap: 40px;
    background: var(--welcome);
    border-radius: 13px;
    box-shadow:
        0 10px 25px rgba(0, 0, 0, 0.10);
}

.leader-image {
    flex: 0 0 240px;
    overflow: hidden;
    border-radius: 5px;
}

.leader-image img {
    width: 240px;
    height: 255px;
    display: block;
    object-fit: cover;
}

.leader-text {
    flex: 1;
    min-width: 0;
}

.leader-text h3 {
    margin: 0 0 6px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.leader-position,
.leader-text small {
    display: block;
    margin-bottom: 15px;
    font-size: 14px;
    line-height: 1.5;
}

.welcome-scroll {
    height: 250px;
    overflow-y: auto;
    padding-right: 15px;
}

.welcome-scroll p {
    margin: 0 0 13px;
    font-size: 16px;
    line-height: 1.75;
    text-align: justify;
}

.welcome-scroll::-webkit-scrollbar {
    width: 7px;
}

.welcome-scroll::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.welcome-scroll::-webkit-scrollbar-thumb {
    background: #999999;
    border-radius: 10px;
}

.welcome-scroll::-webkit-scrollbar-thumb:hover {
    background: #777777;
}

.explore-section {
    width: min(1050px, calc(100% - 100px));
    margin: 0 auto 52px;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    align-items: center;
    gap: 45px;
}

.quick-menu {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
}

.quick-item {
    width: 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--black);
}

.quick-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 9px;
    box-shadow:
        0 3px 9px rgba(0, 0, 0, 0.16);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.quick-item:hover .quick-icon {
    transform: translateY(-3px);
    box-shadow:
        0 6px 13px rgba(0, 0, 0, 0.18);
}

.quick-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.quick-item span {
    margin-top: 8px;
    font-size: 11px;
    font-weight: 500;
    text-align: center;
    line-height: 1.4;
}

.explore-text h2 {
    margin: 0 0 10px;
    font-size: 24px;
    font-weight: 700;
}

.explore-text p {
    max-width: 520px;
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
}

.umkm-section {
    width: min(1100px, calc(100% - 70px));
    margin: 0 auto 52px;
}

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

.umkm-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #d3d3d3;
    border-radius: 9px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.umkm-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 7px 15px rgba(0, 0, 0, 0.12);
}

.umkm-image {
    width: 100%;
    height: 190px;
    overflow: hidden;
}

.umkm-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.umkm-content {
    padding: 18px;
    text-align: left;
}

.umkm-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.4;
    text-align: left;
}

.umkm-content p {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.6;
    text-align: left;
}

.umkm-content span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: #555555;
    text-align: left;
}

.umkm-more {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.umkm-more a {
    display: flex;
    align-items: center;
    gap: 7px;
    color: #111111;
    font-size: 13px;
}

.umkm-more a span {
    font-size: 18px;
    line-height: 1;
}

.map-section {
    width: 100%;
    max-width: 1100px;
    margin: 70px auto;
    padding: 0 20px;
}

.map-title {
    margin-bottom: 22px;
}

.map-title h2 {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
}

.map-title p {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #444444;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 480px;
    overflow: hidden;
    border-radius: 10px;
    background: #dddddd;
    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.12);
}

#map {
    width: 100%;
    height: 100%;
}

.map-label {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 500;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 5px;
    font-size: 15px;
    font-weight: 600;
    color: #555555;
    box-shadow:
        0 1px 5px rgba(0, 0, 0, 0.25);
}

.leaflet-popup-content {
    font-family: "Raleway", sans-serif;
    font-size: 14px;
}

.leaflet-popup-content-wrapper {
    font-family: "Raleway", sans-serif;
}

.leaflet-control-attribution {
    display: none !important;
}

.leaflet-control-zoom {
    display: none;
}

.gallery-section {
    width: min(1050px, calc(100% - 100px));
    margin: 0 auto 60px;
}

.gallery-subtitle {
    margin: -8px 0 18px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
}

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

.gallery-item {
    width: 100%;
    height: 150px;
    overflow: hidden;
    background: #dddddd;
    border-radius: 8px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition:
        transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.04);
}

@media (max-width: 900px) {
    .hero-section {
        width: calc(100% - 50px);
    }

    .hero-image {
        height: 350px;
    }

    .statistics-section {
        width: calc(100% - 50px);
        gap: 15px;
        padding: 12px 18px;
    }

    .stat-text strong {
        font-size: 14px;
    }

    .stat-text span {
        font-size: 10px;
    }

    .welcome-section,
    .explore-section,
    .map-section,
    .gallery-section {
        width: calc(100% - 60px);
    }

    .umkm-section {
        width: calc(100% - 50px);
    }

    .umkm-grid {
        gap: 15px;
    }

    .welcome-card {
        width: calc(100% - 20px);
        gap: 30px;
        padding: 30px;
    }

    .leader-image {
        flex: 0 0 210px;
    }

    .leader-image img {
        width: 210px;
        height: 230px;
    }

    .leader-text h3 {
        font-size: 19px;
    }

    .welcome-scroll {
        height: 230px;
    }

    .welcome-scroll p {
        font-size: 15px;
    }

    .umkm-content h3 {
        font-size: 16px;
    }

    .umkm-content p {
        font-size: 13px;
    }

    .umkm-content span {
        font-size: 11px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        width: calc(100% - 30px);
        margin-top: 25px;
    }

    .hero-text h1 {
        font-size: 25px;
    }

    .hero-text h2 {
        font-size: 14px;
    }

    .hero-text p {
        font-size: 13px;
        line-height: 1.6;
    }

    .hero-image {
        height: 230px;
        margin-top: 15px;
    }

    .statistics-section {
        width: calc(100% - 30px);
        margin-top: 22px;
        padding: 15px;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px 10px;
    }

    .stat-item {
        gap: 8px;
    }

    .stat-item img {
        width: 25px;
        height: 25px;
    }

    .stat-text strong {
        font-size: 13px;
    }

    .stat-text span {
        font-size: 9px;
    }

    .section-heading h2 {
        font-size: 24px;
    }

    .welcome-section {
        width: calc(100% - 30px);
        margin: 0 auto;
        padding: 35px 0;
    }

    .welcome-section .section-heading {
        text-align: center;
        margin-bottom: 25px;
    }

    .welcome-section .section-heading h2 {
        font-size: 24px;
        text-align: center;
    }

    .welcome-section .green-line {
        margin-left: auto;
        margin-right: auto;
    }

    .welcome-card {
        width: 100%;
        margin: 0 auto;
        padding: 25px 20px;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;

        gap: 20px;
        text-align: center;
    }

    .leader-image {
        width: 210px;
        flex: none;
        margin: 0 auto;
    }

    .leader-image img {
        width: 210px;
        height: 225px;
        display: block;
        margin: 0 auto;
        object-fit: cover;
    }

    .leader-text {
        width: 100%;
        min-width: 0;
        text-align: center;
    }

    .leader-text h3 {
        margin: 0 0 6px;
        font-size: 18px;
        text-align: center;
    }

    .leader-position,
    .leader-text small {
        display: block;
        margin-bottom: 15px;
        font-size: 13px;
        text-align: center;
    }

    .welcome-scroll {
        width: 100%;
        height: 240px;
        overflow-y: auto;
        padding-right: 10px;
        box-sizing: border-box;
        text-align: left;
    }

    .welcome-scroll p {
        font-size: 14px;
        line-height: 1.7;
        text-align: justify;
    }

    .explore-section {
        width: calc(100% - 30px);
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .quick-menu {
        gap: 8px;
    }

    .quick-item {
        width: 70px;
    }

    .quick-icon {
        width: 55px;
        height: 55px;
    }

    .quick-icon img {
        width: 32px;
        height: 32px;
    }

    .quick-item span {
        font-size: 10px;
    }

    .explore-text {
        text-align: center;
    }

    .explore-text h2 {
        font-size: 22px;
    }

    .explore-text p {
        margin: auto;
        font-size: 13px;
        line-height: 1.7;
    }

    .umkm-section {
        width: calc(100% - 30px);
    }

    .umkm-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .umkm-image {
        height: 220px;
    }

    .umkm-content {
        padding: 18px;
        text-align: left;
    }

    .umkm-content h3 {
        font-size: 18px;
        text-align: left;
    }

    .umkm-content p {
        font-size: 14px;
        text-align: left;
    }

    .umkm-content span {
        font-size: 12px;
        text-align: left;
    }

    .umkm-more a {
        font-size: 13px;
    }

    .map-section {
        width: calc(100% - 30px);
        padding: 0;
        margin: 50px auto;
    }

    .map-title h2 {
        font-size: 23px;
    }

    .map-title p {
        font-size: 13px;
    }

    .map-wrapper {
        height: 350px;
    }

    .map-label {
        font-size: 13px;
        padding: 8px 10px;
    }

    .gallery-section {
        width: calc(100% - 30px);
    }

    .gallery-subtitle {
        font-size: 13px;
    }

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

    .gallery-item {
        height: 110px;
    }
}

@media (max-width: 430px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .hero-text h2 {
        font-size: 13px;
    }

    .hero-text p {
        font-size: 12px;
    }

    .hero-image {
        height: 200px;
    }

    .statistics-section {
        padding: 13px 10px;
    }

    .stat-item img {
        width: 22px;
        height: 22px;
    }

    .stat-text strong {
        font-size: 11px;
    }

    .stat-text span {
        font-size: 8px;
    }

    .section-heading h2 {
        font-size: 22px;
    }

    .welcome-section {
        width: calc(100% - 24px);
        padding: 35px 0;
        margin: 0 auto;
    }

    .welcome-section .section-heading {
        margin-bottom: 22px;
    }

    .welcome-section .section-heading h2 {
        font-size: 22px;
        text-align: center;
    }

    .welcome-card {
        width: 100%;
        margin: 0 auto;
        padding: 20px;
        gap: 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .leader-image {
        width: 190px;
        margin: 0 auto;
        flex: none;
    }

    .leader-image img {
        width: 190px;
        height: 205px;
        margin: 0 auto;
    }

    .leader-text {
        width: 100%;
        text-align: center;
    }

    .leader-text h3 {
        font-size: 17px;
        text-align: center;
    }

    .leader-position,
    .leader-text small {
        font-size: 12px;
        text-align: center;
    }

    .welcome-scroll {
        width: 100%;
        height: 230px;
        padding-right: 10px;
        text-align: left;
    }

    .welcome-scroll p {
        font-size: 14px;
        line-height: 1.65;
        text-align: justify;
    }

    .quick-menu {
        gap: 2px;
    }

    .quick-item {
        width: 62px;
    }

    .quick-icon {
        width: 50px;
        height: 50px;
    }

    .quick-icon img {
        width: 29px;
        height: 29px;
    }

    .quick-item span {
        font-size: 9px;
    }

    .explore-text h2 {
        font-size: 20px;
    }

    .explore-text p {
        font-size: 12px;
    }

    .umkm-content {
        padding: 16px;
    }

    .umkm-content h3 {
        font-size: 17px;
    }

    .umkm-content p {
        font-size: 13px;
        line-height: 1.6;
    }

    .umkm-content span {
        font-size: 11px;
    }

    .umkm-more a {
        font-size: 12px;
    }

    .gallery-subtitle {
        font-size: 12px;
    }

    .gallery-item {
        height: 100px;
    }

    .map-title h2 {
        font-size: 21px;
    }

    .map-title p {
        font-size: 12px;
    }

    .map-wrapper {
        height: 250px;
    }

    .map-label {
        font-size: 12px;
    }
}