/* ============================================================
   RAEES IMPORT & EXPORT
   NAVBAR.CSS
   FINAL ULTRA PREMIUM IMAGE LOGO VERSION
   ------------------------------------------------------------
   File:
   /public_html/assets/css/layout/navbar.css

   Logo:
   /public_html/assets/images/logo/raees-logo.png

   Mobile off-canvas:
   /assets/css/layout/mobile-menu.css
   ============================================================ */


/* ============================================================
   01. MAIN NAVBAR
   ============================================================ */

.main-navbar {
    position: relative;

    width: 100%;
    min-height: 88px;

    background: rgba(255, 255, 255, 0.985);

    border-bottom:
        1px solid rgba(23, 19, 15, 0.07);

    z-index: 1000;

    transition:
        min-height 0.3s ease,
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* subtle premium background */

.main-navbar::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 8% 50%,
            rgba(201, 150, 74, 0.055),
            transparent 24%
        ),
        linear-gradient(
            90deg,
            rgba(250, 247, 241, 0.50) 0%,
            rgba(255, 255, 255, 0.98) 28%,
            rgba(255, 255, 255, 0.98) 72%,
            rgba(250, 247, 241, 0.50) 100%
        );

    pointer-events: none;
}


/* premium bottom highlight */

.main-navbar::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: -1px;

    width: min(92%, 1320px);
    height: 1px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 150, 74, 0.15),
            transparent
        );

    pointer-events: none;
}


/* ============================================================
   02. CONTAINER
   ============================================================ */

.main-navbar > .container {
    position: relative;

    z-index: 2;
}


/* ============================================================
   03. NAVBAR INNER
   ============================================================ */

.navbar-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 88px;

    gap: 26px;
}


/* ============================================================
   04. IMAGE BRAND
   ============================================================ */

.navbar-brand,
.navbar-brand-image {
    display: inline-flex !important;

    align-items: center;
    justify-content: flex-start;

    flex: 0 0 auto;

    min-width: 0;

    margin: 0 !important;
    padding: 0 !important;

    color: inherit !important;

    text-decoration: none !important;

    transition:
        opacity 0.25s ease,
        transform 0.25s ease;
}

.navbar-brand:hover {
    opacity: 0.94;

    transform: translateY(-1px);
}


/* ============================================================
   05. ACTUAL LOGO IMAGE
   ============================================================ */

.navbar-logo {
    display: block;

    width: auto;
    height: 70px;

    max-width: 270px;

    margin: 0;
    padding: 0;

    object-fit: contain;
    object-position: left center;

    user-select: none;

    -webkit-user-select: none;
    -webkit-user-drag: none;

    transition:
        height 0.3s ease,
        max-width 0.3s ease,
        transform 0.3s ease;
}


/* ============================================================
   06. REMOVE OLD TEXT LOGO SYSTEM
   ============================================================ */

.navbar-brand-mark,
.navbar-brand-content,
.navbar-brand-name,
.navbar-brand-subtitle {
    display: none !important;
}


/* ============================================================
   07. NAVBAR MENU
   ============================================================ */

.navbar-menu {
    display: flex;

    align-items: center;
    justify-content: center;

    flex: 1 1 auto;

    min-width: 0;

    margin: 0;
    padding: 0;
}


/* ============================================================
   08. NAVIGATION LIST
   ============================================================ */

.navbar-nav {
    display: flex !important;

    flex-direction: row !important;

    align-items: center;
    justify-content: center;

    flex-wrap: nowrap;

    gap: 2px;

    width: auto;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* ============================================================
   09. NAV ITEM
   ============================================================ */

.navbar-nav .nav-item {
    position: relative;

    display: flex;

    align-items: center;

    margin: 0;
    padding: 0;

    list-style: none;
}


/* ============================================================
   10. NAV LINK
   ============================================================ */

.navbar-nav .nav-link {
    position: relative;

    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 7px;

    height: 44px;

    margin: 0;

    padding:
        0 12px !important;

    border: 0;
    border-radius: 8px;

    background: transparent;

    color: #29241f !important;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 600;

    line-height: 1;

    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        color 0.25s ease,
        background-color 0.25s ease;
}


/* ============================================================
   11. NAV LINK HOVER
   ============================================================ */

.navbar-nav .nav-link:hover {
    color: #a66f22 !important;

    background:
        rgba(201, 150, 74, 0.08);
}


/* ============================================================
   12. ACTIVE NAV LINK
   ============================================================ */

.navbar-nav .nav-link.active {
    color: #a66f22 !important;

    background:
        rgba(201, 150, 74, 0.08);
}


/* active underline */

.navbar-nav .nav-link.active::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 2px;

    width: 18px;
    height: 2px;

    border-radius: 999px;

    background:
        linear-gradient(
            90deg,
            #b47b2a,
            #d6a654
        );

    transform:
        translateX(-50%);
}


/* ============================================================
   13. PRODUCTS DROPDOWN
   ============================================================ */

.nav-dropdown {
    position: relative;
}


/* ============================================================
   14. DROPDOWN TOGGLE
   ============================================================ */

.nav-dropdown-toggle {
    font-family:
        "DM Sans",
        Arial,
        sans-serif !important;
}

.nav-dropdown-toggle i {
    font-size: 9px;

    color: #82786d;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.nav-dropdown:hover
.nav-dropdown-toggle i,

.nav-dropdown:focus-within
.nav-dropdown-toggle i,

.nav-dropdown.is-active
.nav-dropdown-toggle i {

    color: #b47b2a;

    transform: rotate(180deg);
}


/* ============================================================
   15. DROPDOWN MENU
   ============================================================ */

.nav-dropdown-menu {
    position: absolute;

    top: calc(100% + 10px);
    left: 50%;

    width: 350px;

    margin: 0;
    padding: 10px;

    background:
        rgba(255, 255, 255, 0.99);

    border:
        1px solid rgba(23, 19, 15, 0.09);

    border-radius: 15px;

    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.12),
        0 4px 15px rgba(0, 0, 0, 0.04);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    transform:
        translate(-50%, 10px);

    z-index: 1200;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease;
}


/* hover bridge */

.nav-dropdown-menu::before {
    content: "";

    position: absolute;

    left: 0;
    top: -14px;

    width: 100%;
    height: 15px;
}


/* ============================================================
   16. SHOW DROPDOWN
   ============================================================ */

.nav-dropdown:hover
.nav-dropdown-menu,

.nav-dropdown:focus-within
.nav-dropdown-menu,

.nav-dropdown.is-active
.nav-dropdown-menu {

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    transform:
        translate(-50%, 0);
}


/* ============================================================
   17. DROPDOWN LINKS
   ============================================================ */

.nav-dropdown-link {
    display: flex;

    align-items: center;

    width: 100%;

    gap: 12px;

    min-height: 62px;

    padding:
        10px 11px;

    border-radius: 11px;

    color: #29241f;

    text-decoration: none !important;

    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        transform 0.25s ease;
}

.nav-dropdown-link:hover {
    color: #9d681e;

    background: #faf5eb;

    transform:
        translateX(2px);
}


/* ============================================================
   18. DROPDOWN ICON
   ============================================================ */

.dropdown-icon {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    flex: 0 0 38px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            #faf2e5,
            #f4e7d1
        );

    color: #ad7627;

    font-size: 14px;
}


/* ============================================================
   19. DROPDOWN CONTENT
   ============================================================ */

.dropdown-content {
    display: flex;

    flex: 1 1 auto;

    flex-direction: column;

    min-width: 0;

    gap: 3px;
}

.dropdown-content strong {
    color: inherit;

    font-size: 13px;
    font-weight: 700;

    line-height: 1.3;
}

.dropdown-content small {
    color: #827a71;

    font-size: 11px;

    line-height: 1.4;
}


/* ============================================================
   20. DROPDOWN ENQUIRY
   ============================================================ */

.dropdown-enquiry {
    margin-top: 4px;

    border-top:
        1px solid rgba(23, 19, 15, 0.07);

    border-radius:
        0 0 10px 10px;
}


/* ============================================================
   21. NAVBAR ACTIONS
   ============================================================ */

.navbar-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;

    flex: 0 0 auto;

    gap: 12px;
}


/* ============================================================
   22. ENQUIRE NOW BUTTON
   ============================================================ */

.navbar-enquiry-btn {
    display: inline-flex !important;

    align-items: center;
    justify-content: center;

    gap: 9px;

    min-width: 142px;
    height: 48px;

    padding:
        0 20px;

    border:
        1px solid #17130f;

    border-radius: 7px;

    background:
        linear-gradient(
            135deg,
            #211c17,
            #15120e
        );

    color: #ffffff !important;

    font-family:
        "DM Sans",
        Arial,
        sans-serif;

    font-size: 13px;
    font-weight: 700;

    line-height: 1;

    text-decoration: none !important;

    white-space: nowrap;

    box-shadow:
        0 9px 22px rgba(0, 0, 0, 0.11);

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.navbar-enquiry-btn i {
    font-size: 10px;

    transition:
        transform 0.25s ease;
}

.navbar-enquiry-btn:hover {
    background:
        linear-gradient(
            135deg,
            #b47b2a,
            #c9964a
        );

    border-color: #b47b2a;

    color: #ffffff !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 28px
        rgba(180, 123, 42, 0.22);
}

.navbar-enquiry-btn:hover i {
    transform:
        translate(2px, -2px);
}


/* ============================================================
   23. MOBILE TOGGLE
   Desktop hidden
   ============================================================ */

.mobile-menu-toggle {
    display: none;

    position: relative;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    margin: 0;
    padding: 0;

    align-items: center;
    justify-content: center;

    flex-direction: column;

    gap: 5px;

    border:
        1px solid rgba(23, 19, 15, 0.20);

    border-radius: 11px;

    background: #ffffff;

    color: #17130f;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    z-index: 1300;

    box-shadow:
        0 5px 16px rgba(0, 0, 0, 0.05);

    transition:
        background-color 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        box-shadow 0.25s ease;
}


/* ============================================================
   24. HAMBURGER
   ============================================================ */

.mobile-menu-toggle > span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 999px;

    background: currentColor;

    pointer-events: none;

    transform-origin: center;

    transition:
        transform 0.3s ease,
        opacity 0.2s ease;
}


/* ============================================================
   25. MOBILE-ONLY ELEMENTS
   ============================================================ */

.mobile-menu-footer {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}


/* ============================================================
   26. SCROLLED NAVBAR
   ============================================================ */

.site-header.is-scrolled .main-navbar {
    background:
        rgba(255, 255, 255, 0.97);

    box-shadow:
        0 10px 35px
        rgba(0, 0, 0, 0.065);
}


/* ============================================================
   27. LARGE DESKTOP
   ============================================================ */

@media (min-width: 1400px) {

    .navbar-inner {
        gap: 32px;
    }

    .navbar-logo {
        height: 72px;
        max-width: 280px;
    }

    .navbar-nav {
        gap: 4px;
    }

    .navbar-nav .nav-link {
        padding-left:
            14px !important;

        padding-right:
            14px !important;

        font-size: 13.5px;
    }

}


/* ============================================================
   28. DESKTOP 1200 - 1399
   ============================================================ */

@media
(min-width: 1200px)
and
(max-width: 1399.98px) {

    .navbar-inner {
        gap: 17px;
    }

    .navbar-logo {
        height: 65px;
        max-width: 245px;
    }

    .navbar-nav .nav-link {
        padding-left:
            9px !important;

        padding-right:
            9px !important;

        font-size: 12px;
    }

    .navbar-enquiry-btn {
        min-width: 132px;

        padding-left: 16px;
        padding-right: 16px;
    }

}


/* ============================================================
   29. DESKTOP / SMALL LAPTOP
   992 - 1199
   ============================================================ */

@media
(min-width: 992px)
and
(max-width: 1199.98px) {

    .main-navbar,
    .navbar-inner {
        min-height: 82px;
    }

    .navbar-inner {
        gap: 10px;
    }

    .navbar-logo {
        height: 58px;
        max-width: 205px;
    }

    .navbar-nav {
        gap: 0;
    }

    .navbar-nav .nav-link {
        padding:
            0 7px !important;

        font-size: 11.2px;
    }

    .navbar-enquiry-btn {
        min-width: 118px;
        height: 44px;

        padding:
            0 13px;

        font-size: 11.5px;
    }

}


/* ============================================================
   30. TABLET / MOBILE NAVIGATION
   ============================================================ */

@media (max-width: 991.98px) {

    .main-navbar {
        min-height: 76px;
    }

    .navbar-inner {
        min-height: 76px;

        gap: 15px;
    }


    /*
     * #navbarMenu becomes off-canvas
     * through mobile-menu.css.
     *
     * DO NOT use display:none here.
     */

    .navbar-menu {
        /* controlled by mobile-menu.css */
    }


    /* hide desktop CTA */

    .navbar-enquiry-btn {
        display: none !important;
    }


    /* show hamburger */

    .mobile-menu-toggle {
        display: inline-flex !important;
    }


    /* image logo */

    .navbar-logo {
        height: 60px;
        max-width: 225px;
    }

}


/* ============================================================
   31. MOBILE
   ============================================================ */

@media (max-width: 767.98px) {

    .main-navbar {
        min-height: 70px;
    }

    .navbar-inner {
        min-height: 70px;

        gap: 10px;
    }

    .navbar-brand {
        max-width:
            calc(100% - 60px);
    }

    .navbar-logo {
        height: 52px;
        max-width: 195px;
    }

    .mobile-menu-toggle {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        border-radius: 10px;
    }

}


/* ============================================================
   32. MOBILE 480
   ============================================================ */

@media (max-width: 479.98px) {

    .main-navbar,
    .navbar-inner {
        min-height: 68px;
    }

    .navbar-logo {
        height: 48px;
        max-width: 178px;
    }

}


/* ============================================================
   33. VERY SMALL MOBILE
   ============================================================ */

@media (max-width: 374.98px) {

    .navbar-logo {
        height: 44px;
        max-width: 160px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }

    .mobile-menu-toggle > span {
        width: 19px;
    }

}


/* ============================================================
   34. ACCESSIBILITY
   ============================================================ */

.navbar-brand:focus-visible,
.navbar-nav .nav-link:focus-visible,
.nav-dropdown-link:focus-visible,
.navbar-enquiry-btn:focus-visible,
.mobile-menu-toggle:focus-visible {

    outline:
        2px solid #c9964a;

    outline-offset: 3px;
}


/* ============================================================
   35. REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .navbar-brand,
    .navbar-logo,
    .navbar-nav .nav-link,
    .nav-dropdown-toggle i,
    .nav-dropdown-menu,
    .nav-dropdown-link,
    .navbar-enquiry-btn,
    .navbar-enquiry-btn i,
    .mobile-menu-toggle,
    .mobile-menu-toggle > span {

        transition:
            none !important;
    }

}