/* ===== Navbar Base Styles ===== */
.custom-navbar {
    padding: 0.5rem 1rem;
    width: 100%;
}

#theme-toggle-btn {
    border: none;
    border-radius: 20px;
    font-size: var(--font-size-body);
    font-weight: 600;
}

.light-mode #theme-toggle-btn {
    background: white;
    color:#212121
}

.dark-mode #theme-toggle-btn {
    background-color: #212121;
    color: white
}


.navbar-title {
    font-size: var(--font-size-heading-main);
}

a {
    color:transparent
}

@media screen and (max-width:450px) {
    .navbar-title{
        font-size:var(--font-size-body)
    }
}

.custom-navbar-collapse {
    justify-content: end;
}

.nav-bar-main {
    align-items: center;
}

.dropdown-menu.show {
    border-radius: 5px;
    border:none;
}

.light-mode .dropdown-menu.show {
    background-color: rgb(16,51,91);
}

.dark-mode .dropdown-menu.show {
    background-color: #333333;
}

.dark-mode a.dropdown-item:hover{
    background-color: #212121;

}

.light-mode a.dropdown-item:hover{
    background-color: #0b2441;

}

/* Ensure fluid container (stretches full width) */
.custom-navbar .container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* ===== Light Mode ===== */
.light-mode .custom-navbar {
    background-color: #10335b !important;
}

.light-mode .custom-navbar .navbar-brand {
    color: white !important;
}

.light-mode .dropdown-item {
    color:white
}

/* ✅ Light mode fix for collapsed menu */
.light-mode .custom-navbar-collapse {
    background-color: #10335b !important;
}

.light-mode .custom-navbar-collapse .nav-link {
    color: white !important;
}

/* Making color of burger white */
.custom-toggler-icon .navbar-toggler-icon {
    filter: invert(100%) brightness(100%) contrast(100%) !important;

}

/* ===== Dark Mode ===== */
.dark-mode .custom-navbar {
    background-color: #333333 !important;
}

.dark-mode .custom-navbar .navbar-brand,
.dark-mode .custom-navbar .nav-link,
.dark-mode .custom-navbar a,
.dark-mode .custom-navbar .btn {
    color: white !important;
}

/* ===== NavLink Highlighting ===== */
.nav-link-diff-models {
    font-weight: bold;
    color: #0d6efd !important;  /* Bootstrap primary */
    margin-right: 50px; /* Add space between links */
}

.nav-link-diff-models:hover {
    text-decoration: underline;
}

/* ===== NavLink Highlighting ===== */
.nav-link-home-models{
    font-weight: bold;
    color: #0d6efd !important;  /* Bootstrap primary */
}

.nav-link-home-models:hover {
    text-decoration: underline;
}

.custom-toggle-btn {
  background-color: transparent; /* transparent background */
  border-color: grey; /* no border */
  border-width: 1px; /* thin border */
  line-height: normal; /* ensure text vertical alignment */
  vertical-align: middle;
  display: inline-flex;
  align-items: center; /* vertically centers the text inside the button */
  justify-content: center; /* horizontally centers the text */
  height: 40px; /* example fixed height */
}


/* ===== Logo Styling ===== */
.navbar-logo {
    margin-right: 20px;
}


.navbar-link {
    font-family: sans-serif;
    font-size: var(--font-size-body);
    text-decoration: none;
    color:grey;
}

/* ===== Optional Loader Placeholder ===== */
.loader-placeholder {
    background-color: transparent;
    width: 10px;
    height: 1px;
}

/* At screen size when nav collapses justify left */
@media screen and (max-width:768px) {
    .custom-navbar-collapse {
        justify-items:flex-start;
    }
}


/* Nav toggler */

.navbar-toggler {
    padding:5px 10px 5px 10px;
    border-radius:5px;
    border:none;
    margin-top: 5px;
    margin-bottom:5px;
}

.navbar-toggler:hover,
.navbar-toggler:focus {
    border:none
}