{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-29",
  "dependencies": [
    "@hugeicons/core-free-icons",
    "@hugeicons/react",
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-29.tsx",
      "content": "import { useState } from \"react\";\nimport { motion } from \"motion/react\";\nimport { HugeiconsIcon } from \"@hugeicons/react\";\nimport {\n  ArrowDown01Icon,\n  Menu01Icon,\n  Cancel01Icon,\n  StarIcon,\n} from \"@hugeicons/core-free-icons\";\nimport { Button } from \"@/components/ui/button\";\nimport LogoIcon from \"@/assets/logo-icon\";\n\ninterface Hero29Props {\n  title?: string;\n  ratingText?: string;\n  primaryActionText?: string;\n  consultationText?: string;\n  descriptionText?: string;\n  backgroundImage?: string;\n  avatarUrl?: string;\n}\n\nexport default function Hero29({\n  title = \"Shape the future by investing\\nin professional advisory\",\n  ratingText = \"Over 200+ Rate Us\",\n  primaryActionText = \"Talk Strategy\",\n  consultationText = \"CALL US TODAY FOR FREE CONSULTATION\",\n  descriptionText = \"Gain clarity, reduce risk, and make confident decisions with expert guidance in finance, law, tax and strategy. Our team helps you turn complexity into opportunity.\",\n  backgroundImage = \"https://assets.watermelon.sh/hero-29.avif\",\n  avatarUrl = \"https://assets.watermelon.sh/wm_alex.png\",\n}: Hero29Props) {\n  const [isMobileMenuOpen, setIsMobileMenuOpen] = useState(false);\n  const navItems = [\n    { label: \"Features\", hasDropdown: true },\n    { label: \"Company\", hasDropdown: true },\n    { label: \"Customers\", hasDropdown: false },\n    { label: \"Security\", hasDropdown: false },\n  ];\n\n  return (\n    <section className=\"relative flex min-h-dvh w-full flex-col overflow-hidden bg-neutral-900\">\n      {/* Background Image */}\n      <div\n        className=\"absolute inset-0 z-0 bg-cover bg-center bg-no-repeat\"\n        style={{ backgroundImage: `url(${backgroundImage})` }}\n      />\n\n      {/* Subtle overlay to ensure text legibility */}\n      <div className=\"absolute inset-0 z-0 bg-black/10\" />\n\n      {/* Header / Navigation */}\n      <motion.header\n        initial={{ opacity: 0, y: -20 }}\n        animate={{ opacity: 1, y: 0 }}\n        transition={{ duration: 0.8, ease: \"easeOut\" }}\n        className=\"relative z-50 flex w-full items-center justify-between px-6 py-6 md:px-10 lg:px-12\"\n      >\n        {/* Left: Logo */}\n        <div className=\"flex items-center gap-3 text-white\">\n          <LogoIcon className=\"size-8\" />\n          <span className=\"font-serif text-3xl tracking-wide italic\">\n            Watermelon\n          </span>\n        </div>\n\n        {/* Right: Nav & Actions */}\n        <div className=\"flex items-center gap-4 lg:gap-8\">\n          {/* Desktop Navigation */}\n          <nav className=\"hidden items-center gap-8 lg:flex\">\n            {navItems.map((item) => (\n              <button\n                key={item.label}\n                className=\"flex items-center gap-1 text-[15px] font-normal text-white/90 transition-colors hover:text-white\"\n              >\n                {item.label}\n                {item.hasDropdown && (\n                  <HugeiconsIcon\n                    icon={ArrowDown01Icon}\n                    className=\"size-3.5 opacity-70\"\n                  />\n                )}\n              </button>\n            ))}\n          </nav>\n\n          {/* Actions & Mobile Toggle */}\n          <div className=\"flex items-center gap-4\">\n            <Button className=\"hidden h-10 rounded-full border border-white/40 bg-transparent px-8 text-sm font-medium text-white transition-colors hover:bg-white/10 lg:flex\">\n              Contact\n            </Button>\n\n            {/* Mobile Menu Toggle */}\n            <button\n              onClick={() => setIsMobileMenuOpen(!isMobileMenuOpen)}\n              className=\"flex size-10 items-center justify-center rounded-full text-white transition-colors hover:bg-white/10 lg:hidden\"\n            >\n              <HugeiconsIcon\n                icon={isMobileMenuOpen ? Cancel01Icon : Menu01Icon}\n                className=\"size-6\"\n              />\n            </button>\n          </div>\n        </div>\n\n        {/* Mobile Navigation Dropdown */}\n        {isMobileMenuOpen && (\n          <motion.div\n            initial={{ opacity: 0, y: -10 }}\n            animate={{ opacity: 1, y: 0 }}\n            className=\"absolute top-full left-0 mt-2 w-full px-4 lg:hidden\"\n          >\n            <div className=\"overflow-hidden rounded-2xl bg-black/90 shadow-xl backdrop-blur-md\">\n              <nav className=\"flex flex-col p-4\">\n                {navItems.map((item) => (\n                  <button\n                    key={item.label}\n                    onClick={() => setIsMobileMenuOpen(false)}\n                    className=\"flex items-center justify-between rounded-xl px-4 py-3 text-left text-base font-medium text-white transition-colors hover:bg-white/10\"\n                  >\n                    {item.label}\n                    {item.hasDropdown && (\n                      <HugeiconsIcon\n                        icon={ArrowDown01Icon}\n                        className=\"size-4 text-white/50\"\n                      />\n                    )}\n                  </button>\n                ))}\n                <div className=\"mt-4 border-t border-white/10 pt-4\">\n                  <Button className=\"h-12 w-full rounded-full border border-white/40 bg-transparent text-base font-medium text-white hover:bg-white/10\">\n                    Contact\n                  </Button>\n                </div>\n              </nav>\n            </div>\n          </motion.div>\n        )}\n      </motion.header>\n\n      {/* Main Hero Content */}\n      <div className=\"relative z-10 container mx-auto flex flex-1 flex-col items-center justify-center px-4 pt-10 pb-20 text-center sm:pb-32 md:pt-0\">\n        <motion.div\n          initial={{ opacity: 0, y: 30 }}\n          animate={{ opacity: 1, y: 0 }}\n          transition={{ duration: 1, ease: [0.16, 1, 0.3, 1], delay: 0.1 }}\n          className=\"mx-auto flex w-full max-w-5xl flex-col items-center\"\n        >\n          {/* Star Rating */}\n          <div className=\"mb-5 flex flex-col items-center gap-1.5\">\n            <div className=\"flex items-center gap-[2px] text-white\">\n              {[...Array(5)].map((_, i) => (\n                <HugeiconsIcon\n                  key={i}\n                  icon={StarIcon}\n                  className=\"size-6 fill-current\"\n                />\n              ))}\n            </div>\n            <span className=\"font-normal tracking-wide text-white/90\">\n              {ratingText}\n            </span>\n          </div>\n\n          {/* Headline */}\n          <h1 className=\"mb-10 text-4xl leading-[1.05] font-medium tracking-tighter whitespace-pre-line text-white sm:text-[42px] md:text-[52px] lg:text-[60px] xl:text-[76px]\">\n            {title}\n          </h1>\n\n          {/* Primary Action */}\n          <Button\n            size=\"lg\"\n            className=\"h-14 rounded-full bg-white px-12 text-base font-medium text-neutral-900 transition-all hover:scale-105 hover:bg-neutral-100 hover:shadow-lg\"\n          >\n            {primaryActionText}\n          </Button>\n        </motion.div>\n      </div>\n\n      {/* Bottom Floating Content */}\n      <motion.div\n        initial={{ opacity: 0, y: 20 }}\n        animate={{ opacity: 1, y: 0 }}\n        transition={{ duration: 1, delay: 0.4, ease: \"easeOut\" }}\n        className=\"relative z-10 flex w-full flex-col items-center justify-between gap-6 px-6 pb-8 md:flex-row md:items-end lg:px-12\"\n      >\n        {/* Left Consultation Pill */}\n        <div className=\"flex w-fit shrink-0 cursor-pointer items-center gap-4 rounded-full border border-white/10 bg-black/40 py-2 pr-6 pl-2 shadow-xl backdrop-blur-md transition-colors hover:bg-black/50\">\n          <div className=\"relative shrink-0\">\n            <img\n              src={avatarUrl}\n              alt=\"Consultant\"\n              className=\"size-10 rounded-full object-cover\"\n            />\n          </div>\n          <div className=\"flex items-center gap-3\">\n            <div className=\"size-2 shrink-0 rounded-full bg-white shadow-[0_0_8px_rgba(255,255,255,0.8)]\" />\n            <span className=\"text-[11px] font-medium tracking-wide whitespace-nowrap text-white sm:text-xs md:text-sm\">\n              {consultationText}\n            </span>\n          </div>\n        </div>\n\n        {/* Right Description Text */}\n        <div className=\"max-w-[500px]\">\n          <p className=\"text-center text-sm leading-relaxed text-white/90 sm:text-base md:text-left\">\n            {descriptionText}\n          </p>\n        </div>\n      </motion.div>\n    </section>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-29.tsx"
    },
    {
      "path": "src/assets/logo-icon.tsx",
      "content": "export default function LogoIcon({ className }: { className?: string }) {\n  return (\n    <svg\n      className={className}\n      width=\"785\"\n      height=\"506\"\n      viewBox=\"0 0 785 506\"\n      fill=\"currentColor\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M392.688 104.141C299.504 104.141 291.288 234.316 261.147 234.316C231.007 234.316 230.996 0 121.38 0C-30.726 0 -49.9098 505.63 121.38 505.63C196.742 505.63 218.672 442.598 252.926 442.598C287.179 442.598 322.801 505.63 392.688 505.63C462.575 505.63 496.832 442.598 531.085 442.598C565.339 442.598 587.269 505.63 662.631 505.63C833.921 505.63 814.737 0 662.631 0C553.015 0 553.004 234.316 522.864 234.316C492.723 234.316 485.872 104.141 392.688 104.141Z\"\n        fill=\"currentColor\"\n      />\n      <circle cx=\"515.226\" cy=\"332.977\" r=\"46.5892\" fill=\"black\" />\n      <circle cx=\"268.575\" cy=\"332.976\" r=\"46.5892\" fill=\"black\" />\n    </svg>\n  );\n}\n",
      "type": "registry:component",
      "target": "assets/logo-icon.tsx"
    }
  ],
  "type": "registry:ui"
}
