/* =========================================================
   HEADER / NAVBAR – BASE (ALL SCREENS)
========================================================= */

.custom-nav {
  height: 64px;	
  background: #7a1333;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.navbar {
  min-height: 64px;
}

/* ---------------------------------------------------------
   Inner wrapper controls horizontal alignment
   (background = full width, content = controlled width)
--------------------------------------------------------- */
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  width: 100%;
  max-width: 1200px;      /* desktop baseline */
  margin: 0 auto;
  padding: 0 16px;
}

.navbar-toggler {
  border: none;
  padding: 6px 8px;
}

/* ---------------------------------------------------------
   Logo
--------------------------------------------------------- */
.logo {
  max-height: 40px;
  width: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------
   Navigation links
--------------------------------------------------------- */
.navbar-nav {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 500;
  padding: 0 14px;
  position: relative;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.navbar-nav .nav-link:hover {
  opacity: 0.85;
}

/* ---------------------------------------------------------
   ACTIVE MENU HIGHLIGHTING
   (works with Bootstrap's .active class)
--------------------------------------------------------- */
.navbar-nav .nav-link.active {
  color: #ffd700; /* gold highlight */
}

/* Subtle underline for active item */
.navbar-nav .nav-link.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background: #ffd700;
  border-radius: 2px;
}

/* =========================================================
   DESKTOP ENHANCEMENT (≥ 992px)
========================================================= */
@media (min-width: 992px) {

  .nav-inner {
    max-width: 1400px;
  }

  .navbar-nav .nav-link {
    padding: 0 16px;
  }
}

/* =========================================================
   ULTRA-WIDE SCREENS (≥ 1600px)
========================================================= */
@media (min-width: 1600px) {

  .nav-inner {
    max-width: 1800px;   /* utilize wide screens properly */
    padding: 0 48px;
  }

  .navbar-nav .nav-link {
    padding: 0 18px;
  }
}

/* =========================================================
   MOBILE SAFETY (≤ 991px)
========================================================= */
@media (max-width: 991px) {

  .nav-inner {
    padding: 0 16px;
  }

  .navbar-nav .nav-link.active::after {
    display: none; /* cleaner mobile menu */
  }
}

.navbar-logo {
  height: 40px;
  width: auto;
}
