/* =========================
    Navbar
========================= */

.custom-navbar {
    background: #fff;
    min-height: 76px;
    padding: 8px 0;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.navbar-brand,
.mobile-brand {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    background: #fff;
    border-radius: 6px;
    padding: 4px 8px;
}

.logo-img {
    display: block;
    width: clamp(120px, 13vw, 168px);
    height: 75px;
    object-fit: contain;
    object-position: left center;
}

/* =========================
    Nav Links
========================= */

.nav-link {
    color: #000 !important;
    font-weight: 500;
    padding: 10px 10px !important;
    position: relative;
    transition: 0.3s;
}

.nav-link:hover {
    color: #d4af37 !important;
}

.custom-navbar .navbar-nav .nav-link,
.custom-navbar .navbar-nav .nav-link:focus,
.custom-navbar .navbar-nav .nav-link:visited {
    color: #000 !important;
}

.custom-navbar .navbar-nav .nav-link:hover,
.custom-navbar .navbar-nav .nav-link.active {
    color: #d4af37 !important;
}

/* =========================
    Active / Hover Underline
========================= */

/* =========================
Active Underline
========================= */

.nav-link:not(.dropdown-toggle)::after {
    content: "";
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: 5px;
    width: auto;
    height: 2px;
    background: #d4af37;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.nav-link:not(.dropdown-toggle):hover::after,
.nav-link:not(.dropdown-toggle).active::after {
    opacity: 1;
}

.custom-navbar .nav-link.dropdown-toggle::before {
    content: "";
    position: absolute;
    left: 10px;
    right: 22px;
    bottom: 5px;
    width: auto;
    height: 2px;
    background: #d4af37;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.custom-navbar .nav-link.dropdown-toggle:hover::before,
.custom-navbar .nav-link.dropdown-toggle.active::before {
    opacity: 1;
}

/* =========================
    Dropdown
========================= */

.dropdown-menu {
    background: #111;
    border: 1px solid #222;
    border-radius: 12px;
    padding: 10px;
}

.dropdown-item {
    color: #fff;
    border-radius: 8px;
    padding: 10px 15px;
}

.dropdown-item:hover {
    background: #d4af37;
    color: #000;
}

/* =========================
    Phone
========================= */

.header-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.header-contact i {
    color: #d4af37;
}

.header-contact a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

/* =========================
    Toggler
========================= */

.navbar-toggler {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #111;
    border: 1px solid #111;
    width: 42px;
    height: 42px;
    border-radius: 6px;
    color: #fff;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

/* =========================
    Mobile Sidebar
========================= */

.mobile-sidebar {
    background: #0d0d0d;
    width: min(88vw, 360px) !important;
}

.mobile-sidebar .offcanvas-header {
    min-height: 76px;
    padding: 12px 20px;
    background: #fff;
    border-bottom: 3px solid #d4af37;
}

.mobile-sidebar .logo-img {
    width: min(168px, 62vw);
    height: 48px;
}

.mobile-sidebar .offcanvas-body {
    padding: 24px 20px;
}

.mobile-sidebar .header-contact {
    margin-top: 28px;
}

.mobile-sidebar .header-contact a {
    color: #fff;
    font-size: 15px;
}

.mobile-sidebar .nav-link {
    color: #fff !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-sidebar .nav-link:hover,
.mobile-sidebar .nav-link.active {
    color: #d4af37 !important;
}

.mobile-dropdown {
    background: #161616;
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
}

.mobile-dropdown li a {
    display: block;
    padding: 12px;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
}

.mobile-dropdown li a:hover {
    background: #d4af37;
    color: #000;
}

/* =========================
    Mobile
========================= */

@media (max-width: 991px) {

    .custom-navbar {
        min-height: 68px;
    }

    .custom-navbar .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .custom-navbar .logo-img {
        width: clamp(118px, 32vw, 156px);
        height: 67px;
    }

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

    .header-contact {
        margin-top: 20px;
    }
}

@media (max-width: 380px) {

    .custom-navbar .logo-img {
        width: 116px;
    }

    .custom-navbar .navbar-brand {
        padding-left: 4px;
        padding-right: 4px;
    }
}

.pt-1 {
    padding-top: 20px !important;
}