|
88 | 88 | backdrop-filter: blur(20px); |
89 | 89 | border-bottom: 1px solid var(--border); |
90 | 90 | padding: 16px 0; |
| 91 | + box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5); |
91 | 92 | } |
92 | 93 | .nav .container { |
93 | 94 | display: flex; align-items: center; justify-content: space-between; |
|
108 | 109 | align-items: center; |
109 | 110 | justify-content: center; |
110 | 111 | font-family: var(--font-body); |
111 | | - font-weight: 800; |
| 112 | + font-weight: 900; |
112 | 113 | font-size: 0.8rem; |
113 | 114 | letter-spacing: 1px; |
114 | 115 | text-transform: uppercase; |
|
150 | 151 | .nav-links a:hover { |
151 | 152 | color: var(--neon-pink); |
152 | 153 | } |
| 154 | +.nav-hamburger { |
| 155 | + display: none; |
| 156 | + background: none; |
| 157 | + border: none; |
| 158 | + cursor: pointer; |
| 159 | + padding: 4px; |
| 160 | + flex-direction: column; |
| 161 | + gap: 5px; |
| 162 | +} |
| 163 | +.nav-hamburger span { |
| 164 | + display: block; |
| 165 | + width: 24px; |
| 166 | + height: 2px; |
| 167 | + background: var(--text); |
| 168 | + border-radius: 2px; |
| 169 | + transition: all 0.3s ease; |
| 170 | +} |
| 171 | +.nav-hamburger:hover span { |
| 172 | + background: var(--neon-pink); |
| 173 | +} |
| 174 | +.nav-mobile-menu { |
| 175 | + display: none; |
| 176 | + position: absolute; |
| 177 | + top: 100%; |
| 178 | + left: 0; |
| 179 | + right: 0; |
| 180 | + background: rgba(6, 6, 15, 0.95); |
| 181 | + backdrop-filter: blur(20px); |
| 182 | + border-bottom: 1px solid var(--border); |
| 183 | + padding: 16px 0; |
| 184 | + box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5); |
| 185 | +} |
| 186 | +.nav-mobile-menu.open { |
| 187 | + display: block; |
| 188 | +} |
| 189 | +.nav-mobile-menu a { |
| 190 | + display: block; |
| 191 | + padding: 12px 24px; |
| 192 | + font-family: var(--font-body); |
| 193 | + font-size: 0.95rem; |
| 194 | + font-weight: 500; |
| 195 | + color: var(--text-dim); |
| 196 | + transition: color 0.2s, background 0.2s; |
| 197 | +} |
| 198 | +.nav-mobile-menu a:hover { |
| 199 | + color: var(--neon-pink); |
| 200 | + background: rgba(255, 168, 79, 0.05); |
| 201 | +} |
153 | 202 |
|
154 | 203 | /* ── HERO ── */ |
155 | 204 | .hero { |
|
698 | 747 | } |
699 | 748 | @media (max-width: 520px) { |
700 | 749 | .nav-links { display: none; } |
| 750 | + .nav-hamburger { display: flex; } |
701 | 751 | .hero-ctas { flex-direction: column; align-items: center; } |
702 | 752 | .hero-title { font-size: clamp(2.8rem, 11vw, 4.5rem); letter-spacing: 3px; } |
703 | 753 | .container { padding: 0 16px; } |
|
749 | 799 | <a href="#install">Install</a> |
750 | 800 | <a href="https://github.com/grcengineering/nthpartyfinder" target="_blank" rel="noopener">GitHub</a> |
751 | 801 | </div> |
| 802 | + <button class="nav-hamburger" aria-label="Menu" onclick="document.querySelector('.nav-mobile-menu').classList.toggle('open')"> |
| 803 | + <span></span> |
| 804 | + <span></span> |
| 805 | + <span></span> |
| 806 | + </button> |
| 807 | + </div> |
| 808 | + <div class="nav-mobile-menu"> |
| 809 | + <a href="#features" onclick="this.parentElement.classList.remove('open')">Features</a> |
| 810 | + <a href="#how-it-works" onclick="this.parentElement.classList.remove('open')">How It Works</a> |
| 811 | + <a href="#install" onclick="this.parentElement.classList.remove('open')">Install</a> |
| 812 | + <a href="https://github.com/grcengineering/nthpartyfinder" target="_blank" rel="noopener">GitHub</a> |
752 | 813 | </div> |
753 | 814 | </nav> |
754 | 815 |
|
|
0 commit comments