
/* ==========================================
   BHARAT GOLDSMITH
   FULL WIDTH DESKTOP NAVIGATION
========================================== */

.bg-navbar,
.bg-navbar * {
    box-sizing: border-box;
}

.bg-navbar {
    top:2vw;
    width: 100vw;
    max-width: 100vw;

    position: relative;
    left: 50%;
    transform: translateX(-50%);

    margin: 0;
    padding: 0;

    z-index: 9999;

    background: linear-gradient(
        110deg,
        #151515,
        #292929,
        #171717
    );

    border-top: 1px solid #3a3322;
    border-bottom: 3px solid #c9a227;

    box-shadow: 0 5px 18px rgba(0,0,0,0.25);

    font-family: Arial, Helvetica, sans-serif;
}

/* MAIN NAVIGATION */

.bg-nav-container {
    width: 100%;
    max-width: none;

    min-height: 66px;

    margin: 0;
    padding: 0 2%;

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

    flex-wrap: nowrap;
}

/* MAIN MENU LINKS */

.bg-nav-link {
    display: block;

    color: #f5f5f5;
    text-decoration: none;

    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;

    padding: 25px 16px;

    white-space: nowrap;
    cursor: pointer;

    transition: all 0.3s ease;
}

.bg-nav-link:hover,
.bg-nav-link:focus-visible {
    color: #e5c15a;
    background: rgba(212,175,55,0.10);
}

/* PRODUCTS DROPDOWN */

.bg-dropdown {
    position: relative;
}

.bg-products {
    position: relative;
}

.bg-products > summary,
.bg-machines > summary {
    list-style: none;
}

.bg-products > summary::-webkit-details-marker,
.bg-machines > summary::-webkit-details-marker {
    display: none;
}

.bg-arrow {
    color: #d4af37;
    margin-left: 5px;
}

/* DROPDOWN PANEL */

.bg-dropdown-content {
    display: none;

    position: absolute;
    top: 100%;
    left: 0;

    width: 250px;

    padding: 8px 0;

    background: #222222;

    border-top: 3px solid #d4af37;

    box-shadow: 0 10px 25px rgba(0,0,0,0.35);

    z-index: 10000;
}

.bg-products[open] > .bg-dropdown-content {
    display: block;
}

/* JEWELLERY MACHINES */

.bg-machines {
    position: static;
}

.bg-submenu-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 15px 18px;

    color: #e5c15a;

    font-size: 13px;
    font-weight: bold;

    cursor: pointer;

    transition: all 0.3s ease;
}

.bg-submenu-heading:hover {
    background: #333333;
    color: white;
}

.bg-right-arrow {
    color: #d4af37;
    font-size: 23px;
}

/* JEWELLERY DIES AND TOOLS */

.bg-submenu-link {
    display: block;

    padding: 14px 18px;

    color: #eeeeee;
    text-decoration: none;

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

    transition: all 0.3s ease;
}

.bg-submenu-link:hover {
    color: #e5c15a;
    background: #333333;
    padding-left: 25px;
}

/* ==========================================
   FULL WIDTH JEWELLERY MACHINES MEGA MENU
========================================== */

.bg-mega-menu {
    display: none;

    position: fixed;

    top: 66px;
    left: 50%;

    transform: translateX(-50%);

    width: 100vw;
    max-width: 100vw;

    min-height: 300px;
    max-height: calc(100vh - 85px);

    overflow-y: auto;

    padding: 30px 3%;

    background: #ffffff;

    border-top: 3px solid #d4af37;

    box-shadow: 0 12px 30px rgba(0,0,0,0.25);

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 25px;

    z-index: 10001;
}

.bg-machines[open] > .bg-mega-menu {
    display: grid;
}

/* MEGA MENU COLUMNS */

.bg-mega-column {
    min-width: 0;

    padding: 0 15px;

    border-right: 1px solid #eeeeee;
}

.bg-mega-column:last-child {
    border-right: none;
}

/* COLUMN HEADINGS */

.bg-mega-column h3 {
    color: #9c771a;

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

    line-height: 1.5;

    padding-bottom: 12px;
    margin: 0 0 8px 0;

    border-bottom: 2px solid #d4af37;

    letter-spacing: 0.5px;
}

/* PRODUCT LINKS */

.bg-mega-column a {
    display: block;

    color: #333333;

    font-size: 13px;
    line-height: 1.5;

    text-decoration: none;

    padding: 11px 7px;

    border-bottom: 1px solid #eeeeee;

    transition: all 0.25s ease;
}

.bg-mega-column a:hover {
    color: #a47c16;

    background: #faf6e9;

    padding-left: 13px;
}

/* ==========================================
   LAPTOP SCREEN ADJUSTMENTS
========================================== */

@media screen and (min-width: 701px) and (max-width: 1200px) {

    .bg-nav-container {
        padding: 0 5px;
    }

    .bg-nav-link {
        font-size: 11px;
        padding: 25px 9px;
    }

    .bg-mega-menu {
        padding: 25px 15px;
        gap: 10px;
    }

    .bg-mega-column {
        padding: 0 7px;
    }

    .bg-mega-column a {
        font-size: 11px;
    }

}

/* MEGA MENU CLOSE BUTTON */


/* =================================
   ATTRACTIVE GOLD CLOSE BUTTON
================================= */

.bg-mega-menu {
    position: fixed;
    padding-top: 65px !important;
}

.bg-mega-menu > .bg-mega-close {
    /* Position */
    position: absolute !important;
    top: 12px !important;
    right: 25px !important;

    /* Dimensions */
    width: 38px !important;
    height: 38px !important;
    min-width: 38px !important;
    min-height: 38px !important;

    /* Appearance */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 0 !important;
    margin: 0 !important;

    border: 2px solid #d4af37 !important;
    border-radius: 50% !important;

    background: linear-gradient(
        145deg,
        #292929,
        #111111
    ) !important;

    color: #f5ce55 !important;

    font-family: Arial, sans-serif !important;
    font-size: 27px !important;
    font-weight: normal !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow:
        0 3px 10px rgba(0,0,0,0.25),
        0 0 5px rgba(212,175,55,0.25);

    z-index: 10005 !important;

    transition: all 0.3s ease !important;
}

/* HOVER EFFECT */

.bg-mega-menu > .bg-mega-close:hover {
    background: linear-gradient(
        145deg,
        #f2d477,
        #c49a25
    ) !important;

    color: #171717 !important;

    border-color: #a47c16 !important;

    transform: rotate(90deg) scale(1.12);

    box-shadow:
        0 5px 15px rgba(0,0,0,0.3),
        0 0 12px rgba(212,175,55,0.5);
}

/* CLICK EFFECT */

.bg-mega-menu > .bg-mega-close:active {
    transform: scale(0.92);
}
