/* ====================================
* Theme Name: Go Green Garden
* Version: 1.2.4
* Tags: umkm, jualan, produk, pot bunga
* Description: Tema jualan tanaman hias untuk UMKM.
* Theme URI: https://templatestore.shop/item/3-greengarden-landing-page-template-tanaman-hias-umkm-modern-responsive-website
* Author: Akbar Silohon.
* Author Uri: https://github.com/akbarsilohon.git
* Requires PHP: 7.0
* License: GNU General Public License v2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
* Text Domain: go-green-garden
======================================= */

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

:root{
    --green: #2ecc71;
    --darkGreen: #1e8f4d;
    --softGreen: #eafaf1;
    --black: #111;
    --gray: #666;
    --white: #fff;
    --shadow: 0 1rem 2rem rgba(0,0,0,.08);
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
    text-decoration: none;
    transition: all 0.2s ease;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body{
    background: var(--softGreen);
}
.spacers{
    display: block;
    margin-top: 10rem;
}
/* Header ====================== */
.gHeader{
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    padding: 1.8rem 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.85);
    backdrop-filter: blur(12px);
    z-index: 9999;
    box-shadow: var(--shadow);
}

.gLogo{
    color: var(--black);
}
.gLogo img{
    width: auto;
    height: 25px;
}

/* Navbar */
.gNavbar{
    display: flex;
    list-style: none;
    gap: 2.2rem;
    margin: 0;
    padding: 0;
}

.gNavbar li{
    position: relative;
}

/* Link */
.gNavbar li a{
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--gray);
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.gNavbar li a:hover{
    color: var(--darkGreen);
}

/* Underline animation */
.gNavbar li a::after{
    content: "";
    position: absolute;
    bottom: -7px;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--green);
    transition: 0.3s;
}

.gNavbar li a:hover::after{
    width: 100%;
}

/* ================= Dropdown ================= */
/* Panah */
.menu-item-has-children > a::before{
    content: "▾ ";
    font-size: 1.5rem;
    color: #25D366;
}

/* Submenu base */
.gNavbar .sub-menu{
    position: absolute;
    top: 130%;
    left: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 1.2rem 2.5rem rgba(0,0,0,.08);
    list-style: none;
    padding: 1rem 0;
    margin: 0;

    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s ease;
    z-index: 999;
}

/* Show dropdown on hover */
.gNavbar li:hover > .sub-menu{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Submenu item */
.gNavbar .sub-menu li{
    padding: 0;
}

.gNavbar .sub-menu li a{
    display: block;
    padding: .9rem 1.6rem;
    font-size: 1.4rem;
    color: var(--gray);
}

.gNavbar .sub-menu li a:hover{
    background: rgba(46,204,113,.08);
    color: var(--darkGreen);
}

/* Action Button */
.gAction{
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.gBtn{
    padding: 1rem 1.8rem;
    border-radius: 14px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(90deg, var(--green), var(--darkGreen));
    box-shadow: 0 .8rem 1.6rem rgba(46,204,113,.25);
}

.gBtn:hover{
    transform: translateY(-2px);
}

.gMenuBtn{
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(46,204,113,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    display: none;
}

.gMenuBtn i{
    font-size: 2rem;
    color: var(--darkGreen);
}

/* Footer ====================== */
.gFooter{
    background: linear-gradient(120deg, #0f2f1c, #0b1f14);
    padding: 7rem 9% 2rem;
    color: #fff;
}

.gFooterGrid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 3rem;
}

.gFooterBox h2,
.gFooterBox h3{
    font-size: 2.1rem;
    font-weight: 900;
    margin-bottom: 1.6rem;
}
.img-footer{
    width: auto;
    height: 30px;
    margin-bottom: 1.5rem;
}
.gFooterLogo{
    font-size: 2.7rem;
    font-weight: 900;
}

.gFooterLogo span{
    color: var(--green);
}

.gFooterLogo i{
    color: var(--green);
    margin-left: .6rem;
}

.gFooterBox p{
    font-size: 1.4rem;
    line-height: 1.8;
    color: rgba(255,255,255,.78);
    margin-bottom: 1.2rem;
}

.gFooterBox a{
    display: block;
    font-size: 1.45rem;
    margin-bottom: 1.1rem;
    color: rgba(255,255,255,.8);
}

.gFooterBox a i{
    margin-right: .8rem;
    color: var(--green);
}

.gFooterBox a:hover{
    transform: translateX(7px);
    color: var(--green);
}

.gFooterBox p i{
    margin-right: .8rem;
    color: var(--green);
}

/* Social */
.fajjjjjj{
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.fajjjjjj a{
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 50%;
}
.fajjjjjj a i{
    margin-right: 0;
    color: #eafaf1;
}

/* Footer Bottom */
.gFooterBottom{
    margin-top: 4rem;
    padding-top: 2rem;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,.12);
}

.gFooterBottom p{
    font-size: 1.35rem;
    color: rgba(255,255,255,.7);
}


/* Responsive ===================== */
@media(max-width: 991px){
    html{
        font-size: 56%;
    }

    .gHeader{
        padding: 1.6rem 4%;
    }

    .gContactRow{
        padding: 0 5%;
        grid-template-columns: 1fr;
    }

    .gFooter{
        padding: 7rem 5% 2rem;
        text-align: center;
    }

    .gFooterSocial{
        justify-content: center;
    }
}

@media(max-width: 768px){
    .gMenuBtn{
        display: flex;
    }
    .gNavbar{
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;

        flex-direction: column;
        gap: 0;

        background: rgba(255,255,255,.96);
        backdrop-filter: blur(10px);
        box-shadow: var(--shadow);
        border-radius: 0 0 20px 20px;
        overflow: hidden;

        opacity: 0;
        pointer-events: none;
        transform: translateY(-25px);
        transition: .3s ease;
    }

    .menu-item-has-children > a::before{
        content: none;
    }

    .gNavbar.active{
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }

    /* Item utama */
    .gNavbar > li > a{
        display: block;
        padding: 1.6rem 2rem;
        font-size: 1.9rem;
        border-bottom: 1px solid rgba(0,0,0,.06);
    }

    .gNavbar > li > a:hover{
        background: rgba(46,204,113,.08);
    }

    /* ================= Submenu ================= */

    .gNavbar .sub-menu{
        position: static;
        display: block;          /* selalu tampil */
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        background: transparent;
    }

    /* Child agak masuk */
    .gNavbar .sub-menu li a{
        display: block;
        padding: 1.2rem 3.5rem;  /* ini yang bikin agak masuk */
        font-size: 1.7rem;
        border-bottom: 1px solid rgba(0,0,0,.05);
        background: rgba(0,0,0,.02);
    }

    .fajjjjjj{
        justify-content: center;
    }

}

@media(max-width: 560px){
    html{
        font-size: 50%;
    }

    .gBtn{
        display: none;
    }

    .gContactForm,
    .gContactInfo{
        padding: 2.6rem 2rem;
    }

    .gContactForm h3{
        font-size: 2.3rem;
    }

    .gContactInfo h3{
        font-size: 2.3rem;
    }
}

/* Pagination */
/* ================= PAGINATION WRAPPER ================= */

.gPagination {
    margin-top: 60px;
    text-align: center;
}

/* Semua link & span */
.gPagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 6px;
    padding: 0 14px;
    border-radius: 8px;
    background: #f3f3f3;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

/* Hover */
.gPagination .page-numbers:hover {
    background: #0a7d32;
    color: #fff;
    transform: translateY(-2px);
}

/* Active */
.gPagination .current {
    background: #0a7d32;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(10, 125, 50, 0.3);
}

/* Prev & Next */
.gPagination .prev,
.gPagination .next {
    font-weight: 600;
    padding: 0 18px;
}

/* Dots (...) */
.gPagination .dots {
    background: transparent;
    pointer-events: none;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {

    .gPagination {
        margin-top: 40px;
    }

    .gPagination .page-numbers {
        min-width: 36px;
        height: 36px;
        margin: 4px;
        font-size: 13px;
        border-radius: 6px;
    }

}

@media (max-width: 480px) {

    .gPagination .page-numbers {
        min-width: 32px;
        height: 32px;
        padding: 0 10px;
        font-size: 12px;
    }

}

/* WhatsApp Floating ====================== */
.gWaFloat{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    box-shadow: 0 1.2rem 2.2rem rgba(0,0,0,.25);
}

.gWaFloat i{
    font-size: 3rem;
    color: #fff;
}

.gWaFloat:hover{
    transform: scale(1.08);
}