"use client"; import { motion, useInView } from "framer-motion"; import { useRef } from "react"; import { SectionHeader } from "@/components/shared/SectionHeader"; const steps = [ { number: "01", title: "Choose Your Experience", description: "Pick the afternoon coastal tour, the breakfast deep-dive, or go all in with the full-day edit.", icon: "🎯", }, { number: "02", title: "We Handle Everything", description: "Ferry tickets, reservations, insider access, the best table at sunset. You just show up.", icon: "✨", }, { number: "03", title: "Cross Over", description: "Meet your guide at the ferry. By the time you step off the boat, you're not a tourist anymore. You're a guest.", icon: "🚢", }, ]; export function HowItWorks() { const ref = useRef(null); const isInView = useInView(ref, { once: true, margin: "-100px" }); return (
{steps.map((step, i) => ( {i < steps.length - 1 && (
)}
{step.icon}
{step.number}

{step.title}

{step.description}

))}
); }