/* Default styles (for desktop) */
.navbar-nav .nav-link {
  padding: 0.5rem 1rem;
  transition: color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: rgba(255, 165, 0, 0.7);
  box-shadow: inset 0 -2px 0 #f39c12;
}

.navbar-nav .nav-link:active, .navbar-nav .nav-link:focus {
  color: rgba(255, 165, 0, 0.7); /* Keep the orange color when selected */
  box-shadow: inset 0 -2px 0 #f39c12; /* Keep the underline effect on select */
}

.navbar-brand img {
  transition: transform 0.3s ease;
}

.navbar-brand img:hover {
  transform: scale(1.1);
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .navbar {
    padding: 0;
    margin: 0;
    width: 100%;
  }
  
  .navbar-nav .nav-link {
    padding: 1rem;
  }

  .navbar-brand img {
    max-width: 100px;
  }
}

.nav-link {
  color: white;
}

/* Make the navbar-toggler-icon white */
.navbar-toggler .navbar-toggler-icon {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 30 30"%3E%3Cpath stroke="rgba%28255, 255, 255, 1%29" stroke-width="2" stroke-linecap="round" stroke-miterlimit="10" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
}

/* Change the border of the navbar-toggler button to white */
.navbar-toggler {
  border-color: white;
}

/* Navbar background and fixed positioning on scroll */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  border-radius: 10px;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Shadow below navbar */
}

.navbar.scrolled {
  background-color: rgb(0, 0, 0);
}

/* Ensure content does not overlap navbar */
body {
  padding-top: 70px;
}
