:root {
    --primary: #1a73e8;
    --primary-dark: #0f1c2e;
    --bg: #f4f6fa;
    --text-main: #1f2933;
    --text-muted: #6b7280;

    --sidebar-width: 280px;
    --topbar-height: 64px;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    padding: 0;
    background: var(--bg);
    font-family: "Segoe UI", Arial, sans-serif;
}

#topbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--topbar-height);

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px;

    background-image: url("../images/KebunSawit.jpeg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    box-shadow: 0 2px 10px rgba(0,0,0,0.25);

    z-index: 1000;
}

#topbar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
}

#topbar * { position: relative; z-index: 2; }

.logo {
    height: 54px;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-name {
    color: white;
    font-weight: 700;
}

.brand-subtitle {
    color: #dfe8ff;
    font-size: 12px;
}

.topbar-nav a {
    margin-left: 14px;
    padding: 6px 14px;
    border-radius: 30px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 600;
    transition: 0.25s;
}

.topbar-nav a:hover {
    color: #b2dbff;
}

.topbar-nav .active {
    background: var(--primary);
}


#sidebar {
    position: fixed;
    top: var(--topbar-height);
    left: 8;
    bottom: 0;

    width: var(--sidebar-width);
    background: #fff;
    border-right: 1px solid #d4d4d4;

    padding: 20px;
    overflow-y: auto;
}

.sidebar-profile {
    width: 80%;
    border-radius: 15px;
    margin-bottom: 15px;
}

.sidebar-text {
    font-size: 13px;
    color: var(--text-main);
    line-height: 1.5;
}

.sidebar-list {
    margin-top: 6px;
    padding-left: 18px;
    font-size: 14px;
}

#content-area {
    margin-left: var(--sidebar-width);
    padding: 110px 40px 40px;
    min-height: 100vh;

    background-image:
        linear-gradient(#e3e3e3 1px, transparent 1px),
        linear-gradient(90deg, #e3e3e3 1px, transparent 1px);
    background-size: 24px 24px;
}

.contact-card {
    width: 700px;
    margin: 0 auto;
    padding: 35px 30px;
    background: white;
    border-radius: 18px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.18);
    text-align: center;
}

.contact-photo {
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 18px;
}

.contact-logo {
    height: 95px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.contact-title {
    margin: 8px 0 5px;
    font-size: 26px;
    font-weight: 700;
}

.contact-desc {
    margin-bottom: 22px;
    color: var(--text-muted);
    font-size: 15px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.contact-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 600;
    color: white;
    text-decoration: none;
}


.wa { background: #25D366; }
.ig { background: #E4405F; }
.tt { background: black; }

.glow {
    transition: 0.25s;
}

.glow:hover {
    filter: brightness(1.18);
    transform: translateY(-3px);
}

@media (max-width: 900px) {

    #sidebar {
        display: none;
    }

    #content-area {
        margin-left: 0;
        padding-top: 110px;
    }

    .contact-card {
        width: 92%;
    }
}

#topbar {
    padding: 0 28px !important;
}
.brand-name {
    font-size: 20px !important;
    font-weight: 700 !important;
}
.brand-subtitle {
    font-size: 11px !important;
    letter-spacing: 0.3px !important;
}

.kontak-area {
    display: flex;
    justify-content: center;
    padding-top: 120px;
}

.contact-card {
    width: 720px;
    background: white;
    border-radius: 22px;
    padding: 45px 35px;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.contact-photo {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    margin-bottom: 18px;
}

.contact-logo {
    width: 85px;
    margin: 0 auto 8px auto;
    display: block;
}

.contact-title {
    font-size: 26px;
    font-weight: 800;
    margin-top: 8px;
}

.contact-desc {
    font-size: 15px;
    color: #444;
    margin-bottom: 22px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.contact-btn {
    padding: 10px 22px;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
}
.wa { background: #25D366; }
.ig { background: #E1306C; }
.tt { background: #000; }


.about-logo {
    width: 240px;
    transition: 0.25s ease;
}
.about-logo.shrink {
    width: 110px;
}

.layer-dot.layer-2020 {
    background: #ff7b00 !important;
}
.layer-dot.layer-2025 {
    background: #7a1de0 !important;
}

footer {
    font-size: 11px !important;
    opacity: 0.8;
}
.sidebar-profile {
    width: 100%;
    border-radius: 12px;
    margin-bottom: 14px;
}
.about-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;        
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: center;
}

.about-logo {
    width: 320px !important;    
    margin-bottom: 10px;
    display: block;
    object-fit: contain;
}

.about-logo.shrink {
    width: 110px !important;
}

.about-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    margin-top: 8px;
    color: var(--primary-dark);
    text-align: center;
}

.about-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-main);
}

.topbar-title {
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.1;
}

.brand-name {
    font-size: 20px !important;
    font-weight: 700 !important;
}

.brand-subtitle {
    font-size: 11px !important;
    margin-top: 2px;
    opacity: 0.9;
}

#index-page #content-area,
.index-page #content-area {
    padding-top: 100px !important;
}

#center-choice {
    margin-top: 20px !important;
}
.gname-box {
    border: 4px solid #ff7b00 !important;
    box-shadow: 0 0 12px rgba(255, 123, 0, 0.35) !important;
}
.qname-box {
    border: 4px solid #7a1de0 !important;
    box-shadow: 0 0 12px rgba(122, 29, 224, 0.35) !important;
}
.choice-box {
    border-radius: 16px !important;
    overflow: hidden !important;
}
.choice-img {
    border-bottom: 3px solid rgba(0,0,0,0.1);
}
.leaflet-interactive.gname {
    stroke: #ff7b00 !important;
    fill: rgba(255, 158, 66, 0.35) !important;
}

.leaflet-interactive.qname {
    stroke: #7a1de0 !important;
    fill: rgba(122, 29, 224, 0.35) !important;
}

.choice-wrapper {
    display: flex;
    justify-content: center;     
    align-items: flex-start;
    gap: 60px;                   
    margin-top: 40px;
}

.choice-box {
    width: 260px;               
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    border: 3px solid transparent;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.choice-box.gname-box {
    border-color: #ff7b00;       
    box-shadow: 0 6px 18px rgba(255, 132, 0, 0.25);
}

.choice-box.qname-box {
    border-color: #7a1de0;       
    box-shadow: 0 6px 18px rgba(123, 63, 255, 0.25);
}

.choice-img {
    width: 100%;
    height: 150px;               
    object-fit: cover;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.choice-text {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 15px;
    color: #1f2933;
}

.choice-box:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 26px rgba(0,0,0,0.20);
}

.layer-dot.layer-2020 {
    background: #ff7b00 !important; 
}
.layer-dot.layer-2025 {
    background: #7a1de0 !important; 
}

.choice-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.choice-text {
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    margin-top: 10px;
    color: #222;
}

.layer-dot.layer-2020 {
    background: #ff7b00 !important;
}

.layer-dot.layer-2025 {
    background: #7a1de0 !important;
}
footer {
    width: calc(60% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    padding: 10px 0;
    background: rgba(255,255,255,0.9);
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 10px;
    position: relative;
    bottom: 0;
}
@media (max-width: 800px) {
    footer {
        width: 80%;
        margin-left: 0;
    }
}

.choice-wrapper {
    display: flex;
    justify-content: center;
    gap: 80px;                
    margin-top: 50px;
}

.choice-box {
    width: 300px;             
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    border: 4px solid transparent;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    transition: 0.25s ease;
}

.choice-img {
    width: 100%;
    height: 240px;        
    object-fit: cover;
    border-bottom: 3px solid rgba(0,0,0,0.1);
}

.choice-text {
    padding: 16px 0;
    font-size: 14px;
    font-weight: 700;
    color: #1f2933;
}
.gname-box {
    border-color: #ff7b00 !important;
    box-shadow: 0 8px 22px rgba(255, 123, 0, 0.35);
}

.qname-box {
    border-color: #7a1de0 !important;
    box-shadow: 0 8px 22px rgba(122, 29, 224, 0.35);
}
.choice-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.2);
}

footer {
    width: calc(100% - var(--sidebar-width));
    margin-left: var(--sidebar-width);
    text-align: center;
    padding: 14px 0;
    background: #ffffffd8;
    border-top: 1px solid #ddd;
    font-size: 12px;
}

@media (max-width: 900px) {
    footer {
        width: 100%;
        margin-left: 0;
    }
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: -40px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.legend-color {
    width: 28px;
    height: 14px;
    border-radius: 10px;
    box-shadow: 0 0 6px rgba(0,0,0,0.25);
}

.legend-gname {
    background: #f97316;
}

.legend-qname {
    background: #8b5cf6; 
}

.map-card {
    width: 330px;
    background: white;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 5px 16px rgba(0,0,0,0.12);
    border: 3px solid transparent;
}

.map-card.gname {
    border-color: #f97316;
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}

.map-card.qname {
    border-color: #8b5cf6;
    box-shadow: 0 0 12px rgba(139, 92, 246, 0.35);
}
.map-card:hover {
    transform: translateY(-10px) scale(1.03);
}

.map-card.gname:hover {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.55);
}

.map-card.qname:hover {
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.55);
}

.map-card img {
    width: 100%;
    height: 160px;
    object-fit: cover;
}
