/* =========================================================
   OCEANBRIDGE GLOBAL
   CLEAN SHARED NAVBAR CSS
========================================================= */

/* =========================================================
   GLOBAL RESET
========================================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-padding-top: 72px;
}

body {
    width: 100%;
    min-width: 320px;
    margin: 0;
    padding-top: 72px;
    overflow-x: hidden;
}

/* =========================================================
   NAVBAR
========================================================= */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;

    width: 100%;
    height: 72px;

    margin: 0;
    padding: 0;

    z-index: 99999;

    background: #07152f;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* =========================================================
   NAVBAR INNER CONTAINER
========================================================= */

.site-header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;

    width: 100%;
    max-width: none;
    height: 72px;

    margin: 0;
    padding: 0 32px;

    gap: 30px;
}

/* =========================================================
   LOGO
========================================================= */

.site-logo {
    display: flex;
    align-items: center;
    justify-self: start;

    min-width: 0;
    gap: 9px;

    margin: 0;
    padding: 0;

    flex-shrink: 0;
    text-decoration: none;
}

.site-logo img {
    display: block;

    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;

    object-fit: contain;
}

.site-logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-width: 0;
    margin: 0;
    padding: 0;

    line-height: 1;
}

.site-logo-text strong {
    display: block;

    margin: 0;
    padding: 0;

    color: #ffffff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.3px;

    white-space: nowrap;
}

.site-logo-text small {
    display: block;

    margin: 4px 0 0;
    padding: 0;

    color: #e5c24b;

    font-family: "Inter", Arial, sans-serif;
    font-size: 7px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 1.15px;

    white-space: nowrap;
}

/* =========================================================
   DESKTOP NAVIGATION
========================================================= */

.site-nav {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 72px;
    min-width: 0;

    margin: 0;
    padding: 0;

    gap: 25px;
}

.site-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 72px;

    margin: 0;
    padding: 0;

    color: rgba(255, 255, 255, 0.92);

    font-family: "Inter", Arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    transition: color 0.2s ease;
}

.site-nav a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: 9px;

    height: 2px;

    border-radius: 999px;
    background: #d8ae27;

    transition: right 0.2s ease;
}

.site-nav a:hover,
.site-nav a.active {
    color: #f1d36b;
}

.site-nav a:hover::after,
.site-nav a.active::after {
    right: 0;
}

/* =========================================================
   CONSULTATION BUTTON
========================================================= */

.site-nav-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;

    width: 168px;
    height: 42px;

    margin: 0;
    padding: 0 18px;

    border: 0;
    border-radius: 10px;

    background: linear-gradient(
        135deg,
        #e5bf3b,
        #d0a51c
    );

    color: #07152f;

    font-family: "Inter", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    box-shadow: 0 5px 15px rgba(216, 174, 39, 0.18);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.site-nav-button:hover {
    color: #07152f;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(216, 174, 39, 0.25);
}

/* =========================================================
   MOBILE MENU BUTTON
========================================================= */

.site-menu-button {
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    margin: 0;
    padding: 7px;

    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 9px;

    background: transparent;

    cursor: pointer;
}

.site-menu-button span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 3px 0;

    border-radius: 3px;
    background: #ffffff;

    transition:
        transform 0.25s ease,
        opacity 0.25s ease;
}

.site-menu-button.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.site-menu-button.open span:nth-child(2) {
    opacity: 0;
}

.site-menu-button.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* =========================================================
   MOBILE MENU
========================================================= */

.site-mobile-menu {
    display: none;

    position: absolute;
    top: 72px;
    left: 0;
    right: 0;

    width: 100%;

    margin: 0;
    padding: 15px 20px 25px;

    background: #07152f;
    border-top: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.site-mobile-menu.open {
    display: flex;
    flex-direction: column;
}

.site-mobile-menu a {
    display: block;

    width: 100%;

    margin: 0;
    padding: 14px 0;

    border-bottom: 1px solid rgba(255, 255, 255, 0.07);

    color: #ffffff;

    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;

    text-decoration: none;
}

.site-mobile-menu a:hover,
.site-mobile-menu a.active {
    color: #f1d36b;
}

/* =========================================================
   MOBILE CONTACT BUTTON
========================================================= */

.site-mobile-menu .site-mobile-contact {
    display: block;

    width: 100%;

    margin-top: 15px;
    padding: 13px 18px;

    border: 0;
    border-radius: 9px;

    background: #d8ae27;
    color: #07152f;

    text-align: center;
    font-weight: 800;
    text-decoration: none;
}

/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {
    .site-header-container {
        gap: 20px;
        padding-left: 24px;
        padding-right: 24px;
    }

    .site-nav {
        gap: 18px;
    }

    .site-nav a {
        font-size: 12px;
    }

    .site-nav-button {
        width: 155px;
        height: 41px;
        padding: 0 15px;
        font-size: 11px;
    }
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 900px) {
    html {
        scroll-padding-top: 70px;
    }

    body {
        padding-top: 70px;
    }

    .site-header {
        height: 70px;
    }

    .site-header-container {
        display: flex;
        align-items: center;

        width: 100%;
        height: 70px;

        padding: 0 18px;
        gap: 12px;
    }

    .site-nav {
        display: none;
    }

    .site-nav-button {
        display: none;
    }

    .site-logo {
        flex: 1 1 auto;
        min-width: 0;
    }

    .site-menu-button {
        display: flex;
        margin-left: auto;
    }

    .site-mobile-menu {
        top: 70px;
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 500px) {
    .site-header-container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-logo {
        gap: 7px;
    }

    .site-logo img {
        width: 42px;
        height: 42px;
        max-width: 42px;
        max-height: 42px;
    }

    .site-logo-text strong {
        font-size: 14px;
    }

    .site-logo-text small {
        font-size: 5.5px;
        letter-spacing: 0.8px;
    }
}

/* =========================================================
   ACCESSIBILITY
========================================================= */

.site-menu-button:focus-visible,
.site-nav a:focus-visible,
.site-nav-button:focus-visible,
.site-mobile-menu a:focus-visible {
    outline: 2px solid #f1d36b;
    outline-offset: 4px;
}