:root {
    --bg: #0a0a0a;
    /* lebih gelap ala MAPPA */
    --accent: #00e676;
    /* hijau neon khas */
    --muted: #b0b0b0;
    /* abu-abu netral untuk teks sekunder */
}


* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: #fff;
    -webkit-font-smoothing: antialiased;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
}

.container {
    max-width: 100%;
    margin: 0 auto;
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 1;
    /* biar konten di atas pattern */
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Logo */
.brand img {
    margin-top: 10px;
    height: 20px;
    width: auto;
}

/* Navigation */
nav {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

nav a {
    color: #ccc;
    /* warna default link */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}

nav a:hover {
    color: var(--accent);
    /* warna saat hover */
}

header a.active {
    color: var(--accent);
    /* warna saat diklik */
}

section {
    margin: 60px 0;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 3px;
    margin: 8px auto 0;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius: 2px;
}


h2.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--accent);
    text-align: center;
}

p.section-desc {
    text-align: center;
    color: var(--muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero {
    margin-top: 100px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 40px;
}

.hero-text {
    flex: 1;
    min-width: 280px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards;
}

.hero-text h1 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.hero-text p {
    color: var(--muted);
    margin-bottom: 20px;
}

.hero-text a {
    background: var(--accent);
    color: #fff;
    padding: 10px 16px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
}

.hero-text a:hover {
    background: #fff;
    color: var(--accent);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

.hero-img {
    flex: 1;
    min-width: 280px;
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 1s forwards .3s;
    box-shadow: 0 0px 10px rgba(0, 230, 118, 0.4);
    transition: transform 0.5s ease;
    border-radius: 12px;
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    -ms-border-radius: 12px;
    -o-border-radius: 12px;
}

.hero-img:hover {
    box-shadow: 0 8px 20px rgba(0, 230, 118, 0.4);
    transform: scale(1.02);
    -webkit-transform: scale(1.02);
    -moz-transform: scale(1.02);
    -ms-transform: scale(1.02);
    -o-transform: scale(1.02);
}

.hero-img img {
    max-width: 100%;
    border-radius: 12px;
}

/* Features */
.section-title {
    margin-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 230, 118, 0.4);
}

.feature-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.2rem
}

.feature-card p {
    color: var(--muted)
}

.feature-card .icon {
    margin-top: 10px;
    font-size: 2rem;
    color: var(--accent);
    margin-bottom: 10px;
}


/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    padding: 0 20px;
}

.gallery-grid img {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.gallery-grid img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: rgba(0, 230, 118, 0.4) 0px 4px 15px -3px;
}

/* Container utama */
.gallery-scroll {
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0;
}

/* Baris */
.scroll-row {
    display: flex;
    width: max-content;
    gap: 20px;
    animation: scroll-right 40s linear infinite;
}

.scroll-row.reverse {
    display: flex;
    gap: 20px;
    animation: scroll-left 40s linear infinite;
    -webkit-animation: scroll-left 40s linear infinite;
}

/* Duplikat isi supaya loop mulus */
.scroll-row>div {
    display: flex;
    gap: 20px;
}

.scroll-row.reverse>div {
    display: flex;
    gap: 20px;
}

.scroll-row img {
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
}

.scroll-row.reverse img {
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease, transform 0.3s ease;
    -webkit-transition: filter 0.3s ease, transform 0.3s ease;
    -moz-transition: filter 0.3s ease, transform 0.3s ease;
    -ms-transition: filter 0.3s ease, transform 0.3s ease;
    -o-transition: filter 0.3s ease, transform 0.3s ease;
}

.scroll-row:hover {
    animation-play-state: paused;
}

.scroll-row img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: rgba(0, 230, 118, 0.4) 0px 4px 15px -3px;
}

.scroll-row.reverse img:hover {
    filter: grayscale(0%);
    transform: scale(1.05);
    box-shadow: rgba(0, 230, 118, 0.4) 0px 4px 15px -3px;
}

/* Animasi */
@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}


/* About */
.about {
    max-width: 700px;
    margin: 0 auto;
    color: var(--muted);
    line-height: 1.6;
    text-align: center;
}

.about-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    /* biar responsive */
    padding: 0 20px;
}

.about-text {
    flex: 1;
    min-width: 280px;
    color: var(--muted);
    line-height: 1.6;
}

.about-img {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.about-img img {
    max-width: 100%;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 230, 118, 0.3);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-img img:hover {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 230, 118, 0.5);
}


/* Join Section */
.join {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(0, 230, 118, 0.4);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
}

.join h3 {
    margin-bottom: 16px;
    color: var(--accent);
}

.join input[type="email"] {
    width: 80%;
    padding: 10px;
    margin-bottom: 12px;
    border-radius: 6px;
    border: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.join input[type="email"]:focus {
    outline: 2px solid var(--accent);
}

.join button {
    background: var(--accent);
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
}

.join button:hover {
    background: #fff;
    color: var(--accent);
    transition: 0.3s;
    -webkit-transition: 0.3s;
    -moz-transition: 0.3s;
    -ms-transition: 0.3s;
    -o-transition: 0.3s;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: none
    }
}

/* Responsive adjustments */
@media (max-width:768px) {
    nav {
        gap: 12px;
        font-size: 0.9rem;
    }

    .hero {
        display: inline;
    }

    .hero-img {
        text-align: center;
        margin-top: 40px;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }

    .brand img {
        height: 15px;
        /* Lebih kecil untuk tablet/ponsel */
    }

    footer .footer-container {
        padding: 0 20px;
    }

    .hero {
        padding: 0 10px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        column-count: 1;
        padding: 0 30px;
    }

    .gallery-grid {
        padding: 0 20px;
    }

    .scroll-row img {
        width: 300px;
        height: auto;
    }

    .scroll-row.reverse img {
        width: 300px;
        height: auto;
    }

    .join {
        padding: 20px 10px;
    }

    .about {
        padding: 0 10px;
        display: inline;
    }
}

@media (max-width:368px) {
    nav a {
        font-size: 0.75rem;
        /* menyesuaikan lagi jika sangat kecil */
    }

    .hero-text h1 {
        font-size: 1.3rem;
    }

    .brand img {
        height: 12px;
        /* Lebih kecil lagi untuk layar kecil */
    }
}

/* Footer Full Width */
footer {
    width: 100%;
    position: relative;
    /* default sudah relative, tapi bisa ditegaskan */
    left: 0;
    background: rgba(20, 25, 35, 0.95);
    padding: 40px 0;
    /* hilangkan 20px agar full edge */
    border-top: 1px solid #333;
    color: var(--muted);
}

footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

footer .footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

footer .footer-col {
    flex: 1 1 200px;
    min-width: 180px;
    margin-left: 8px
}

footer h4 {
    color: var(--accent);
    margin-bottom: 12px;
}

footer img {
    height: 30px;
    width: auto;
    margin-bottom: 12px;
}

footer ul {
    list-style: none;
}

footer ul li {
    margin-bottom: 8px;
}

footer ul li a {
    color: var(--muted);
    text-decoration: none;
    transition: color .2s;
}

footer ul li a:hover {
    color: #fff;
}

footer .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

footer .social-icons a {
    color: var(--muted);
    font-size: 1.2rem;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
}

footer .social-icons a:hover {
    transform: translateY(-4px) scale(1.1);
    color: var(--accent);
    font-size: 1.2rem;
    text-decoration: none;
}