{
  "$schema": "https://ui.shadcn.com/schema/registry-item.json",
  "name": "hero-33",
  "dependencies": [
    "lucide-react",
    "motion"
  ],
  "registryDependencies": [
    "button"
  ],
  "files": [
    {
      "path": "src/components/watermelon-ui/hero-33.tsx",
      "content": "import { motion, type Variants } from 'motion/react';\nimport { Armchair, Monitor, PlaneTakeoff } from 'lucide-react';\nimport React from 'react';\n\nexport interface Hero33Props {\n    logoText?: string;\n    navItems?: string[];\n    primaryActionText?: string;\n    secondaryActionText?: string;\n    titleLines?: string[];\n    features?: {\n        icon: React.ElementType;\n        title: string;\n        description: string;\n    }[];\n    backgroundImage?: string;\n}\n\nexport default function Hero33({\n  logoText = 'Watermelon',\n  navItems = ['Flights', 'Destinations', 'Pricing', 'Contact'],\n  primaryActionText = 'Explore Flights',\n  secondaryActionText = 'Learn More',\n  titleLines = ['Peak Moments,', 'Unforgettable', 'Journeys.'],\n  features = [\n    {\n      icon: Armchair,\n      title: 'Premium Comfort',\n      description: 'Relax in spacious, luxurious\\nseating',\n    },\n    {\n      icon: Monitor,\n      title: 'Stunning Views',\n      description: 'Marvel at the world from\\nnew heights',\n    },\n  ],\n  backgroundImage = 'https://assets.watermelon.sh/hero-33-bg.avif',\n}: Hero33Props) {\n  // Nav: quick fade+blur slide\n  const navVariants: Variants = {\n    hidden: { opacity: 0, y: -16, filter: 'blur(6px)' },\n    visible: {\n      opacity: 1,\n      y: 0,\n      filter: 'blur(0px)',\n      transition: {\n        type: 'spring',\n        damping: 20,\n        stiffness: 150,\n        duration: 0.5,\n      },\n    },\n  };\n\n  // Title container: per-line stagger with progressive delay\n  const titleContainerVariants: Variants = {\n    hidden: { opacity: 0 },\n    visible: {\n      opacity: 1,\n      transition: { staggerChildren: 0.14, delayChildren: 0.3 },\n    },\n  };\n\n  // Each title line: slides from left + blur\n  const titleLineVariants: Variants = {\n    hidden: { opacity: 0, x: -32, filter: 'blur(8px)', skewX: 2 },\n    visible: {\n      opacity: 1,\n      x: 0,\n      filter: 'blur(0px)',\n      skewX: 0,\n      transition: { type: 'spring', damping: 24, stiffness: 100, mass: 1.1 },\n    },\n  };\n\n  // CTA buttons: fade up after title lines settle\n  const ctaContainerVariants: Variants = {\n    hidden: { opacity: 0 },\n    visible: {\n      opacity: 1,\n      transition: { staggerChildren: 0.1, delayChildren: 0.85 },\n    },\n  };\n  const ctaItemVariants: Variants = {\n    hidden: { opacity: 0, y: 12, scale: 0.96 },\n    visible: {\n      opacity: 1,\n      y: 0,\n      scale: 1,\n      transition: { type: 'spring', damping: 18, stiffness: 150 },\n    },\n  };\n\n  // Bottom feature cards: slide up with stagger\n  const featuresContainerVariants: Variants = {\n    hidden: { opacity: 0 },\n    visible: {\n      opacity: 1,\n      transition: { staggerChildren: 0.12, delayChildren: 1.1 },\n    },\n  };\n  const featureItemVariants: Variants = {\n    hidden: { opacity: 0, y: 20, filter: 'blur(4px)', scale: 0.97 },\n    visible: {\n      opacity: 1,\n      y: 0,\n      filter: 'blur(0px)',\n      scale: 1,\n      transition: { type: 'spring', damping: 22, stiffness: 120 },\n    },\n  };\n\n  return (\n    <div className=\"relative min-h-screen w-full overflow-hidden bg-[#130f0c] font-sans antialiased selection:bg-white/20\">\n      {/* Background Image */}\n      <div className=\"pointer-events-none absolute inset-0 z-0 select-none\">\n        <img\n          className=\"absolute inset-0 h-full w-full object-cover object-center\"\n          src={backgroundImage}\n          alt=\"Airplane window sunset view\"\n        />\n      </div>\n\n      {/* Content Container */}\n      <div className=\"relative z-10 flex min-h-screen flex-col px-6 pt-6 pb-12 md:px-12 lg:px-20\">\n        <div className=\"mx-auto flex w-full max-w-7xl flex-1 flex-col\">\n          {/* Navigation */}\n          <motion.nav\n            variants={navVariants}\n            initial=\"hidden\"\n            animate=\"visible\"\n            className=\"flex items-center justify-between\"\n          >\n            <div className=\"flex items-center text-2xl font-bold tracking-tight text-white\">\n              {logoText}\n              <span className=\"text-amber-500\">.</span>\n            </div>\n            <div className=\"hidden items-center gap-10 md:flex\">\n              {navItems.map((item) => (\n                <a\n                  key={item}\n                  href=\"#\"\n                  className=\"text-sm font-medium text-white/90 transition-colors hover:text-white\"\n                >\n                  {item}\n                </a>\n              ))}\n            </div>\n            <button className=\"rounded-md border border-amber-500 px-6 py-2.5 text-sm font-medium text-white transition-transform hover:bg-white/10 active:scale-[0.96]\">\n              Book Now\n            </button>\n          </motion.nav>\n\n          {/* Hero Main Content */}\n          <div className=\"flex flex-1 flex-col justify-center\">\n            <div className=\"flex max-w-3xl flex-col items-start\">\n              {/* Title — line-by-line stagger, slides from left */}\n              <motion.h1\n                variants={titleContainerVariants}\n                initial=\"hidden\"\n                animate=\"visible\"\n                className=\"overflow-hidden text-5xl font-normal tracking-tight text-white md:text-7xl lg:text-7xl lg:leading-[1.05]\"\n              >\n                {titleLines.map((line, i) => (\n                  <motion.span\n                    key={i}\n                    variants={titleLineVariants}\n                    className=\"block\"\n                  >\n                    {line}\n                  </motion.span>\n                ))}\n              </motion.h1>\n\n              {/* CTA — staggered scale-in after title */}\n              <motion.div\n                variants={ctaContainerVariants}\n                initial=\"hidden\"\n                animate=\"visible\"\n                className=\"mt-10 flex items-center gap-4\"\n              >\n                <motion.button\n                  variants={ctaItemVariants}\n                  className=\"flex h-12 items-center gap-2 rounded-md bg-white pr-5 pl-6 text-sm font-semibold text-black transition-transform hover:bg-white/90 active:scale-[0.96]\"\n                >\n                  {primaryActionText}\n                  <PlaneTakeoff className=\"h-4 w-4\" />\n                </motion.button>\n                <motion.button\n                  variants={ctaItemVariants}\n                  className=\"flex h-12 items-center rounded-md border border-amber-500 px-8 text-sm font-medium text-white transition-transform hover:bg-white/10 active:scale-[0.96]\"\n                >\n                  {secondaryActionText}\n                </motion.button>\n              </motion.div>\n            </div>\n          </div>\n\n          {/* Bottom Features — stagger in last */}\n          <motion.div\n            variants={featuresContainerVariants}\n            initial=\"hidden\"\n            animate=\"visible\"\n            className=\"mt-12 flex flex-col gap-8 md:flex-row md:gap-16\"\n          >\n            {features.map((feature, index) => {\n              const Icon = feature.icon;\n              return (\n                <motion.div\n                  key={index}\n                  variants={featureItemVariants}\n                  className=\"flex items-center gap-4\"\n                >\n                  <div className=\"flex h-14 w-14 shrink-0 items-center justify-center rounded-2xl border border-amber-500 bg-white/5 backdrop-blur-sm\">\n                    <Icon className=\"h-6 w-6 text-white\" strokeWidth={1.5} />\n                  </div>\n                  <div>\n                    <h3 className=\"text-base font-semibold text-white\">\n                      {feature.title}\n                    </h3>\n                    <p className=\"mt-1 text-sm leading-relaxed whitespace-pre-line text-white/60\">\n                      {feature.description}\n                    </p>\n                  </div>\n                </motion.div>\n              );\n            })}\n          </motion.div>\n        </div>\n      </div>\n    </div>\n  );\n}\n",
      "type": "registry:ui",
      "target": "components/ui/hero-33.tsx"
    }
  ],
  "type": "registry:ui"
}
