/* navbar.css */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --bg-color: #0f0f23;
  --bg-secondary: #1a1a2e;
  --card-bg: #16213e;
  --card-hover: #1e2749;
  --text-color: #e2e8f0;
  --text-muted: #94a3b8;
  --text-accent: #f1f5f9;
  --border-color: #334155;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #06b6d4 100%);
  --gradient-card: linear-gradient(145deg, #16213e 0%, #1e2749 100%);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 25px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(99, 102, 241, 0.3);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius: 12px;
  --border-radius-lg: 20px;
}

* {
  box-sizing: border-box;   
}
html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden; 
}

header {
  background: var(--bg-color);
  box-shadow: var(--shadow-md);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-decoration: none;
  transition: var(--transition);
}
.logo:hover {
  filter: brightness(1.2);
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--text-color);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  padding: 0.5rem 0.75rem;
  border-radius: var(--border-radius);
}
nav ul li a:hover {
  background: var(--card-hover);
  color: var(--accent-color);
}

/* Shop button highlight */
nav ul li a.shop {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
}
nav ul li a.shop:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 21px;
  background: none;
  border: none;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--text-color);
  border-radius: 2px;
  transition: var(--transition);
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  nav ul {
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }
  .menu-toggle {
    display: flex;
  }
  nav.open {
    max-height: 500px; /* open state */
  }

  .shop {
    margin-top: 20px;
    margin-left: 50px;
  }
  section {
    width: 100%;
  }
  header {
    width: 100%;
  }
  footer {
    width: 100%;
  }
}
