/* Navbar Styles */
.navbar {
  padding: 15px 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(226, 232, 240, 0.3);
}

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

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo-icon {
  font-size: 1.8rem;
  animation: bounce 2s infinite;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-10px); }
  60% { transform: translateY(-5px); }
}

/* Search Section */
.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
  max-width: 500px;
}

.search-container {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.search-input {
  width: 100%;
  padding: 12px 50px 12px 20px;
  border: 2px solid rgba(239, 68, 68, 0.2);
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
  color: #334155;
}

.search-input::placeholder {
  color: #94a3b8;
}

.search-input:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  transform: scale(1.02);
}

.search-button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(45deg, #ef4444, #dc2626);
  border: none;
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.search-button:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.search-icon {
  color: white;
  font-size: 0.9rem;
}

/* Login Button */
.nav-right {
  display: flex;
  align-items: center;
}

.login-button {
  display: inline-block;
  padding: 10px 25px;
  background: linear-gradient(45deg, #ef4444, #dc2626);
  color: white;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(239, 68, 68, 0.2);
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
  .nav-center {
    max-width: 300px;
  }
  
  .search-input {
    font-size: 0.9rem;
    padding: 10px 45px 10px 18px;
  }
  
  .search-button {
    width: 30px;
    height: 30px;
  }
  
  .login-button {
    padding: 8px 20px;
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .nav-center {
    order: 2;
    max-width: 100%;
  }
  
  .nav-right {
    order: 3;
  }
  
  .navbar {
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.2rem;
  }
  
  .search-input {
    padding: 8px 40px 8px 15px;
  }
  
  .search-button {
    width: 28px;
    height: 28px;
  }
}