/* navbar.css */

/* Colors and theme variables */
:root {
    --primary-color: #5563DE;
    --secondary-color: #8A2BE2;
    --text-colors: #fff;
    --hover-color: #334E68;
    --background-gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  }
  
  /* Reset some default margins/padding */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Navbar container */
  .navbar {
    width: 100%;
    height: 60px;
    background: var(--background-gradient);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    box-shadow: var(--box-shadow);
    position: relative;
  }
  
  /* Brand / Logo area */
  .navbar-brand a{
    display: flex;
    align-items: center;
  }
  .logo {
    max-width: 150px; /* Adjust this to resize your logo */
    height: auto;
  }
  .brand-text {
    color: var(--text-colors);
    font-size: 1.25rem;
    font-weight: 600;
  }
  
  /* Toggle (Hamburger) for mobile view */
  .navbar-toggle {
    display: none;
    cursor: pointer;
  }
  .bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    transition: all 0.3s ease-in-out;
    background-color: var(--text-colors);
  }
  
  /* Navigation menu (desktop) */
  .nav-menu {
    list-style: none;
    display: flex;
    align-items: center;
  }
  .nav-item {
    margin-left: 1.5rem;
  }
  .nav-link {
    text-decoration: none;
    color: var(--text-colors);
    font-size: 1rem;
    transition: color 0.3s ease;
    font-weight: 500;
  }
  .nav-link:hover {
    color: var(--hover-color);
  }
  
  /* Email link stands out slightly */
  .nav-email {
    font-style: italic;
    border-bottom: 1px dashed transparent;
  }
  .nav-email:hover {
    border-bottom: 1px dashed var(--text-colors);
  }
  
  /* Responsive styles */
  @media screen and (max-width: 768px) {
    .navbar {
      height: 60px;
    }
    .navbar-toggle {
      display: block;
    }
    .nav-menu {
      position: absolute;
      top: 60px;
      right: 0;
      width: 100%;
      height: 0;
      overflow: hidden;
      flex-direction: column;
      background: var(--background-gradient);
      transition: height 0.3s ease;
    }
    .nav-menu.active {
      height: calc(100vh - 60px); /* Full height minus navbar height */
    }
    .nav-item {
      margin: 1rem 0;
      text-align: center;
    }
  }
  