


.navbar {
  font-family: 'Nunito', sans-serif;
    background-color: #1a1a1a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);

  }
  .navbar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #ff6600;
  }
  .nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  .nav-links li a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }
  .nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    left: 0;
    bottom: -5px;
    background-color: #ff6600;
    transition: width 0.3s ease;
  }
  .nav-links li a:not(.btn-highlight):hover {
    color: #ff6600;
  }
  a.special-logo {
    display: block;
    text-decoration: none;
    color: inherit;
    cursor: pointer;}
  
  .nav-links li a:hover::after {
    width: 100%;
  }
  .btn-highlight {
    background-color: #ff6600;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 102, 0, 0.4);
    cursor: pointer;
  }
  
  .btn-highlight:hover {
    background-color: #e65c00;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(255, 102, 0, 0.6);
  }

  

  /* Hamburger Menu Style */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  transition: transform 0.3s ease-in-out; /* Smooth transition when transforming */
}

.hamburger span {
  height: 3px;
  width: 30px;
  background: #fff;
  border-radius: 2px;
  transition: 0.3s ease;
}

/* When the hamburger is clicked (active state), transform it into an X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px); /* Top bar rotates */
}

.hamburger.active span:nth-child(2) {
  opacity: 0; /* Middle bar disappears */
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px); /* Bottom bar rotates */
}
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1a1a1a;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
  }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #1a1a1a;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0; /* scoatem paddingul inițial */
  }
  
  .nav-links.active {
    max-height: 500px;
    padding: 20px 0; /* îl adăugăm doar când e activ */
  }

  .nav-links a {
    color: white;
    font-size: 20px;
    text-decoration: none;
    transition: color 0.3s ease;
  }

  .nav-links a:hover {
    color: #f39c12;
  }
}

