* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
}

:root {
  --lamborghini-color: rgb(255, 215, 0);
  --ferrari-color: rgb(255, 40, 0);
  --random-color: rgb(40, 167, 69);
  --maserati-color: rgb(0, 0, 50);
  --title-font: 'Montserrat', sans-serif;
  --text-font: 'Poppins', sans-serif;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  background: white;
  width: 100%;
  height: 60px;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 2px solid black;
}

.logo {
  width: 25%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo i {
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.logo i:hover {
  cursor: pointer;
  color: var(--ferrari-color);
}

.logo-name {
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.logo-name:hover {
  cursor: pointer;
  color: var(--ferrari-color);
}

.nav-content {
  width: 75%;
}

.nav-content ul {
  list-style: none;
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-content ul li a {
  text-decoration: none;
  color: black;
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.nav-content ul li a:hover {
  color: var(--ferrari-color);
}

.logo-style {
  color: var(--lamborghini-color);
  font-weight: bold;
  font-size: 18px;
  transition: color 0.3s ease;
}

.logo-style:hover {
  color: var(--ferrari-color);
  cursor: pointer;
}

.menu-btn {
  display: none;
}

/* media queries */
@media (max-width: 576px) {

  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    width: 50%;
    order: 2;
    padding-right: 30px;
  }

  .ddd {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 50%;
    padding-left: 10px;
  }

  .nav-content {
    width: 0;
  }

  .nav-content ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    align-items: flex-start;
    background: white;
    width: 100%;
    /* padding: 10px 100% 10px 0; */
    /* display: none; */
    padding-bottom: 10px;
    border-bottom: 2px solid black;;
    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .nav-content.active ul {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;  
  }

  .nav-content ul li {
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    padding-left: 10px;
  }

  /* Kur menuja është aktive */
  .nav-content.active ul li {
    transform: translateX(0);
    opacity: 1;
  }

  /* Stagger delay për efekt më të bukur */
  .nav-content.active ul li:nth-child(1) { transition-delay: 0.05s; }
  .nav-content.active ul li:nth-child(2) { transition-delay: 0.1s; }
  .nav-content.active ul li:nth-child(3) { transition-delay: 0.15s; }
  .nav-content.active ul li:nth-child(4) { transition-delay: 0.2s; }
  .nav-content.active ul li:nth-child(5) { transition-delay: 0.25s; }

  .menu-btn {
    display: block;
    padding: 6px;
    border: 2px solid red;
    border-radius: 4px;
    margin-left: 6px;
    font-size: 18px;
    background: none;
    color: black;
    transition: all 0.3s ease;
  }

  .menu-btn:hover {
    transform: translateY(-2px);
  }
}

@media (max-width: 768px) {
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 60px;
  }

  .logo {
    display: flex;
    align-items: center;
    justify-content: end;
    height: 100%;
    width: 50%;
    order: 2;
    padding-right: 30px;
  }

  .ddd {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 50%;
    padding-left: 10px;
  }

  .nav-content {
    width: 0;
  }

  .nav-content ul {
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    align-items: flex-start;
    background: white;
    width: 100%;
    /* padding: 10px 100% 10px 0; */
    /* display: none; */

    transform: translateY(-20px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
  }

  .nav-content.active ul {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;  
  }

  .nav-content ul li {
    transform: translateX(-20px);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
    padding-left: 10px;
  }

  /* Kur menuja është aktive */
  .nav-content.active ul li {
    transform: translateX(0);
    opacity: 1;
  }

  /* Stagger delay për efekt më të bukur */
  .nav-content.active ul li:nth-child(1) { transition-delay: 0.05s; }
  .nav-content.active ul li:nth-child(2) { transition-delay: 0.1s; }
  .nav-content.active ul li:nth-child(3) { transition-delay: 0.15s; }
  .nav-content.active ul li:nth-child(4) { transition-delay: 0.2s; }
  .nav-content.active ul li:nth-child(5) { transition-delay: 0.25s; }

  .menu-btn {
    display: block;
    padding: 6px;
    border: 2px solid black;
    border-radius: 4px;
    margin-left: 6px;
    font-size: 18px;
    background: none;
    color: black;
    transition: all 0.3s ease;
  }

  .menu-btn:hover {
    transform: translateY(-2px);
  }
}