"use client" import { useState, useEffect } from "react" import Link from "next/link" import { Menu, X, Cloud } from "lucide-react" import { Button } from "@/components/ui/button" export function Header() { const [isScrolled, setIsScrolled] = useState(false) const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false) useEffect(() => { const handleScroll = () => { setIsScrolled(window.scrollY > 50) } window.addEventListener("scroll", handleScroll) return () => window.removeEventListener("scroll", handleScroll) }, []) const navLinks = [ { href: "#services", label: "Services" }, { href: "#features", label: "Why Us" }, { href: "#process", label: "Process" }, { href: "#contact", label: "Contact" }, ] return (
{/* Mobile Menu */}
{navLinks.map((link, index) => ( setIsMobileMenuOpen(false)} className="block text-lg font-medium text-muted-foreground hover:text-foreground transition-all duration-300" style={{ transitionDelay: `${index * 50}ms` }} > {link.label} ))}
) }