/* =====================================================
   BIODEBLOOM GLOBAL HEADER
===================================================== */

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-width: 100%;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: "DM Sans", sans-serif;
}

a {
    text-decoration: none;
}


/* =====================================================
   HEADER
===================================================== */

.bd-header {
    position: fixed;
    inset: 0 0 auto 0;
    width: 100%;
    z-index: 1000;

    padding: 18px 0;

    background: #173f2b;

    box-shadow: 0 6px 24px rgba(0,0,0,.10);

    transition: box-shadow .3s ease;
}



/* =====================================================
   CONTAINER
===================================================== */

.bd-header-container {
    width: min(1240px, calc(100% - 64px));
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 28px;
}


/* =====================================================
   LOGO
===================================================== */

.bd-logo {
    display: inline-flex;
    align-items: center;

    flex: 0 0 auto;

    min-width: 145px;
}

.bd-logo img {
    display: block;

    width: 245px;
    height: auto;

    filter: brightness(0) invert(1);
}

.bd-logo-fallback {
    display: none;

    color: #fff;

    font-family: "Playfair Display", serif;
    font-size: 21px;
    font-weight: 600;
    letter-spacing: -.03em;
}

/* =====================================================
   NAV
===================================================== */

.bd-navbar {
    display: flex;
    align-items: center;
    gap: 28px;
}

.bd-nav-link {
    position: relative;

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    white-space: nowrap;

    transition: color .25s ease;
}

/* =====================================================
   CTA
===================================================== */

.bd-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 12px 18px;

    border-radius: 999px;

    color: #123a2a;
    background: #fff;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;

    transition: transform .25s ease, box-shadow .25s ease;
}

.bd-header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,.12);
}


/* =====================================================
   MOBILE
===================================================== */

.bd-menu-btn {
    display: none;

    width: 42px;
    height: 42px;

    padding: 0;

    border: 0;
    border-radius: 50%;

    background: #fff;

    cursor: pointer;
}

.bd-menu-btn span {
    display: block;

    width: 20px;
    height: 2px;

    margin: 4px auto;

    background: #123a2a;
}


@media (max-width: 1050px) {

    .bd-header-container {
        width: calc(100% - 40px);
    }

    .bd-navbar {
        gap: 17px;
    }

    .bd-header-btn {
        padding: 11px 15px;
    }
}


@media (max-width: 850px) {

    .bd-header {
        padding: 14px 0;
    }

    .bd-header-container {
        width: calc(100% - 30px);
    }

    .bd-logo img {
        width: 135px;
    }

    .bd-header-btn {
        display: none;
    }

    .bd-menu-btn {
        display: block;
    }

    .bd-navbar {
        position: fixed;
        top: 70px;
        right: 15px;

        width: min(320px, calc(100% - 30px));

        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 12px;

        background: #fff;

        border-radius: 18px;

        box-shadow: 0 18px 55px rgba(0,0,0,.16);
    }

    .bd-navbar.open {
        display: flex;
    }

    .bd-nav-link {
        padding: 13px 11px;

        color: #14241c;

        font-size: 13px;
    }

    .bd-nav-link::after {
        display: none;
    }
}


/* =====================================================
   MOBILE MENU — FULL WIDTH
   ===================================================== */

@media (max-width: 850px) {

    .bd-navbar {
        top: 70px;
        left: 0;
        right: 0;

        width: 100%;
        max-width: none;

        padding: 12px 18px 18px;

        border-radius: 0 0 18px 18px;
        box-shadow: 0 18px 45px rgba(0,0,0,.16);
    }

    .bd-nav-link {
        padding: 14px 10px;
    }

}
