'use client' import { motion, useScroll, useTransform } from 'framer-motion' import { useRef } from 'react' import Image from 'next/image' export default function ShowcaseImage() { const containerRef = useRef(null) const { scrollYProgress } = useScroll({ target: containerRef, offset: ["start end", "end start"] }) // Slightly increased scales for a better balance const scale = useTransform(scrollYProgress, [0, 0.4], [0.8, 1.0]) const opacity = useTransform(scrollYProgress, [0, 0.2], [0, 1]) return (
Luxury Cave Pool Experience
) }