/* Reset default */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  /* Body font */
  body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  
  /* Navbar */
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    padding: 10px 25px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  /* Logo and site name side by side */
  .logo-container {
    display: flex;
    align-items: center;
    gap :10px;
   text-decoration: none;
  }

  
  .logo {
    height: 50px;
    width: 50px;
    left :23px;
    border-radius: 50%;  /*makes it circular */
    object-fit: cover;  /* crops perfectly inside the circle */
    border: 2px solid #ffffff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff; /* fallback background */
  }
  
  .logo:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
  }
  
  
  .Bookverse {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
  }
  
  /* Navigation links */
  .nav-links {
    display: flex;
    gap: 15px;
    transition : opacity 0.3s ease; 
  }
  
  .nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 4px;
    transition: background 0.3s, color 0.3s;
  }
  
  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #090d5a;
  }


  /* Hamburger menu - hidden by default */
  .hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  /* 3 lines  */
  .hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    border-radius: 2px;
  }
  
  /* Responsive */
  @media (max-width: 980px) {
    .nav-links {
      display: none;
      position: absolute;
      top: 70px;
     left :0px;
     background-color: #18448c;
      flex-direction: column;
      width: 100%;
      text-align :center;
      /* padding: 15px; */
      
      box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    }
  
    .nav-links.active {
      display: flex;
    }
  
    .hamburger {
      display: flex;
    }
  }
  