@font-face {
    font-family: 'LatoFont';
    src: url('../fonts/Lato-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LatoFont';
    src: url('../fonts/Lato-Black.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LatoFont';
    src: url('../fonts/Lato-Bold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}


html {
    scroll-behavior: smooth;
}

#about,
#bestseller,
#shop,
#product {
    scroll-margin-top: 120px;
}

.delco-header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(6px);
}

.delco-container {
    max-width: auto;
    margin: auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}



/* LOGO PAKSA KE KIRI */
.delco-logo {
    position: absolute;
    left: 40px;
}

.delco-logo img {
    height: 36px;
}

.delco-nav ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}




.delco-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    letter-spacing: 0.5px;
    text-transform: initial;
    transition: opacity 0.3s;
}

.delco-nav a:hover {
    opacity: 0.7;
}

.delco-header.sticky {
    position: fixed;
    background: rgba(0, 0, 0, 0.85);
}

/* footer */

.delco-footer {
    padding: 24px 0;
}

.footer-divider {
    height: 15px;
    background: #fdaa0f;
    /* kuning */
    margin-bottom: 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.footer-logo {
    height: 36px;
    width: auto;
}

.footer-right {
    display: flex;
    gap: 16px;
}

.footer-right img {
    height: 36px;
    width: auto;
}

.social-icon {
    text-decoration: none;
    font-weight: 600;
    color: #000;
    font-size: 14px;

}

.delco-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.delco-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #ffffff;
    margin: 5px 0;
}

.delco-container {
    display: flex;
    align-items: center;
}

/* pastikan logo tetap kiri */
.delco-logo {
    flex-shrink: 0;
}

/* PUSH toggle ke kanan */
.delco-toggle {
    margin-left: auto;
}


/* MOBILE */
@media (max-width: 912px) {
    .footer-content {
        flex-direction: column;
        gap: 16px;
    }


    .delco-container {
        padding: 14px 16px;
    }

    .delco-toggle {
        display: block;
    }

    .delco-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.85);
        max-height: 0;
        overflow: hidden;

    }

    .delco-nav ul {
        flex-direction: column;
        gap: 0;
    }



    .delco-nav a {
        display: block;
        padding: 14px 20px;
    }

    /* ACTIVE STATE */
    .delco-header.active .delco-nav {
        max-height: 300px;
    }

    .delco-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        background: #000;
        backdrop-filter: unset;

    }


}