* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Anime Ace', 'Comic Sans MS', Arial, sans-serif;
}

body {
    background-color: #1e1e1e;
    color: #e0e0e0;
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Latar peta statis dengan overlay dan partikel */
#staticMapContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 1;
}

#staticMap {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(46, 125, 50, 0.5);
    z-index: 2;
}

#particleContainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    pointer-events: none;
    z-index: 3;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 12s linear infinite;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0.5);
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-10vh) scale(1);
        opacity: 0;
    }
}

/* Container utama dengan layout komik */
.comic-container {
    position: relative;
    z-index: 4;
    padding: 50px;
    display: grid;
    grid-template-areas:
        "logo intro features"
        "benefits howto action"
        "about gallery map"
        "contact contact contact";
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 100vh;
}

@media (max-width: 1024px) {
    .comic-container {
        grid-template-areas:
            "logo"
            "intro"
            "features"
            "benefits"
            "howto"
            "action"
            "about"
            "gallery"
            "map"
            "contact";
    }
}

/* Panel komik dengan efek 3D dan animasi */
.comic-panel {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    border: 6px solid #000;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6), inset 0 0 10px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.comic-panel:hover {
    transform: scale(1.03) rotate(1deg);
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.8);
}

.comic-panel.shake {
    animation: shake 0.5s ease;
}

@keyframes shake {
    0% {
        transform: translate(0);
    }

    25% {
        transform: translate(5px, 5px);
    }

    50% {
        transform: translate(-5px, -5px);
    }

    75% {
        transform: translate(5px, -5px);
    }

    100% {
        transform: translate(0);
    }
}

/* Styling untuk panel-panel spesifik */
.logo-panel {
    grid-area: logo;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#intro { grid-area: intro; }
#features { grid-area: features; }
.panel-4 { grid-area: benefits; }
.panel-5 { grid-area: howto; }
.panel-6 { grid-area: action; }
.panel-7 { grid-area: about; }
.panel-8 { grid-area: gallery; }
.panel-9 { grid-area: map; }
.panel-10 { grid-area: contact; }

/* Judul dan subjudul */
h1 {
    font-size: 3em;
    color: #fff;
    text-shadow: 4px 4px 0 #000, 6px 6px 0 #000;
    margin-bottom: 10px;
}

h2 {
    font-size: 1.8em;
    color: #222;
    text-shadow: 2px 2px 0 #fff, 3px 3px 0 #fff;
    margin-bottom: 15px;
}

h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 20px;
}

p {
    font-size: 1.1em;
    color: #444;
    margin-bottom: 25px;
}

/* Dekorasi logo */
.logo-icon {
    font-size: 2em;
    color: #fff;
    margin-bottom: 10px;
}

.logo-decoration {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #4CAF50, #8BC34A);
    border-radius: 50%;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.6);
}

/* Gelembung bicara */
.speech-bubble {
    position: absolute;
    background: #ffeb3b;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 15px 20px;
    text-align: center;
    font-size: 1.2em;
    font-weight: bold;
    color: #000;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.top-right {
    top: 10px;
    right: 10px;
}

.top-left {
    top: 10px;
    left: 10px;
}

.bottom-right {
    bottom: 10px;
    right: 10px;
}

.bottom-left {
    bottom: 10px;
    left: 10px;
}

/* Animasi gelembung */
.animate-bubble {
    animation: floatBubble 2s infinite alternate;
}

@keyframes floatBubble {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

/* Ikon animasi */
.animate-icon {
    animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Daftar dan langkah */
ul,
ol {
    list-style: none;
    padding-left: 20px;
}

li {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

li i {
    margin-right: 10px;
    color: #4CAF50;
}

ol {
    list-style-type: decimal;
}

/* Tombol aksi dan tautan */
.action-link {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border: 4px solid #000;
    border-radius: 10px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.read-more {
    display: inline-block;
    font-size: 20px;
    color: #fff;
    background: linear-gradient(45deg, #4CAF50, #66BB6A);
    text-transform: uppercase;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 25px;
    border: 4px solid #000;
    border-radius: 10px;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.action-link i, .read-more i {
    margin-right: 8px;
}

.action-link:hover, .read-more:hover {
    background: linear-gradient(45deg, #234edb, #4CAF50);
    transform: scale(1.05);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.7);
}

.action-link:active, .read-more:active {
    transform: scale(0.95);
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.5);
}

.contact-button {
    background: linear-gradient(45deg, #d81b60, #e57373);
}

.contact-button:hover {
    background: linear-gradient(45deg, #c2185b, #d81b60);
}

/* Galeri gambar */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-bottom: 20px;
}

.image-gallery img {
    width: 100%;
    height: auto;
    border: 4px solid #000;
    border-radius: 8px;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.image-gallery img:hover {
    transform: scale(1.05);
}

/* Peta Leaflet */
#map {
    height: 300px;
    width: 100%;
    border: 6px solid #000;
    border-radius: 12px;
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.6);
}

/* Formulir kontak */
#contactForm {
    display: grid;
    gap: 15px;
}

#contactForm label {
    font-size: 1.1em;
    color: #333;
    font-weight: bold;
}

#contactForm input,
#contactForm textarea {
    width: 100%;
    padding: 12px;
    border: 4px solid #000;
    border-radius: 8px;
    background-color: #f0f0f0;
    color: #333;
    font-size: 1em;
    resize: vertical;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

#contactForm input.invalid,
#contactForm textarea.invalid {
    border-color: #ff4444;
    background-color: #ffe6e6;
}

#contactForm button {
    cursor: pointer;
}

/* Footer */
footer {
    position: relative;
    z-index: 4;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, #222, #333);
    color: #e0e0e0;
    border-top: 4px solid #000;
    box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.5);
    margin-top: 50px;
}

.social-links {
    margin-top: 10px;
}

.social-links a {
    display: inline-block;
    margin: 0 10px;
    color: #e0e0e0;
    font-size: 1.5em;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #4CAF50;
}

/* Animasi panel */
.animate-panel {
    animation: fadeIn 1s forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}