

/*————————————————————————————————————————————————————————————————————————————————————————————————*/
/* MENU                                                            															  */
/*————————————————————————————————————————————————————————————————————————————————————————————————*/


/* Menu ——————————————————————————————————————————————————————————————————————————————————————————*/
.navbar {
  background: rgba(255, 255, 255, 0.8);
  border-bottom: 1px solid #e5e7eb;
  backdrop-filter: blur(16px);
  position: sticky;
  z-index: 50;
  top: 0;
}

.nav-container {
  justify-content: space-between;
  align-items: center;
  display: flex;
  height: 5rem;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
}

.logo {
  text-decoration: none;
  font-size: 1.875rem;
  font-weight: 700;
  cursor: pointer;
	display: flex;
}

.nav-links {
  align-items: center;
  list-style: none;
  display: none;
  gap: 2.5rem;
}

.hamburger {
	display: flex;
}

.nav-links a {
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  color: #525252;
  font-weight: 500;
}

.nav-links a::after {
  transition: width 0.3s ease;
  background: #2bbfbd;
  position: absolute;
  bottom: -2px;
  height: 2px;
  content: '';
  width: 0;
  left: 0;
}

.nav-links a:hover, .nav-links a.active {
  color: #0a0a0a;
}

.nav-links a:hover::after, .nav-links a.active::after {
  border-bottom-color: #d1d5db;
  width: 100%;
}

.menu-toggle {
  transition: all 0.3s ease;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  background: none;
  cursor: pointer;
  display: flex;
  z-index: 5001;
  border: none;
  height: 44px;
  width: 44px;
}

.nav-actions {
  align-items: center;
  display: none;
  gap: 1rem;
}

.menu-toggle:hover {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.menu-toggle.active .hamburger {
  background: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: rotate(45deg);
  top: 0;
}

.menu-toggle.active .hamburger::after {
  transform: rotate(-45deg);
  top: 0;
}

.hamburger {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #0a0a0a;
  position: relative;
  width: 20px;
  height: 2px;
}

.hamburger::before, .hamburger::after {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: #0a0a0a;
  position: absolute;
  content: '';
  width: 20px;
  height: 2px;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}


/* Mobilni menu ——————————————————————————————————————————————————————————————————————————————————*/
.mobile-menu {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(30px);
  justify-content: center;
  transform: scale(0.95);
  flex-direction: column;
  align-items: center;
  visibility: hidden;
  position: fixed;
  height: 100vh;
  display: flex;
  z-index: 999;
  width: 100%;
  opacity: 0;
  left: 0;
  top: 0;
}

.mobile-menu.active {
  visibility: visible;
  transform: scale(1);
  opacity: 1;
}

.mobile-nav {
  margin-bottom: 3rem;
  text-align: center;
  list-style: none;
}

.mobile-nav li {
  margin: 1.5rem 0;
}

.mobile-nav a {
  transition: all 0.3s ease;
  text-decoration: none;
  padding: 0.5rem 2rem;
  border-radius: 12px;
  position: relative;
  font-size: 1.5rem;
  color: #525252;
  font-weight: 600;
  display: block;
}

.mobile-nav a:hover, .mobile-nav a.active {
  background: #2bbfbd;
  color: white;
}

.mobile-actions {
  flex-direction: column;
  display: flex;
  width: 250px;
  gap: 1rem;
}

.mobile-actions .btn {
  padding: 1rem 2rem;
  text-align: center;
  font-size: 1rem;
  width: 100%;
}


/* Responzivita ——————————————————————————————————————————————————————————————————————————————————*/

/* min-width: 1024px */
@media (min-width: 1024px) {
  .nav-actions {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }
}

/* min-width: 768px */
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }

	.mobile-menu {
    display: none;
  }
}

/* max-width: 1024px */
@media (max-width: 1024px) {
  .nav-container {
    padding: 0 1rem;
    height: 60px;
  }

  .logo {
    font-size: 1.5rem;
  }
}

