"use client"; import { motion, useScroll, useTransform } from "framer-motion"; import { useRef } from "react"; import Image from "next/image"; import { Button } from "@/components/shared/Button"; export function Hero() { const ref = useRef(null); const { scrollYProgress } = useScroll({ target: ref, offset: ["start start", "end start"], }); const scale = useTransform(scrollYProgress, [0, 1], [1.1, 1]); const opacity = useTransform(scrollYProgress, [0, 0.5], [1, 0]); const y = useTransform(scrollYProgress, [0, 1], [0, 100]); return (
Friends walking along a sun-drenched tree-lined boulevard on Istanbul's Asian side {/* Gradient scrim: 30% at top → 60% at bottom for text readability */}
{/* Extra top band so nav is always legible */}
{/* Glassmorphism container */}
Istanbul's Asian Side · Curated Experiences The Side They Never{" "} Show You While 17 million tourists crowd the same five monuments, an entire coastline of world-class dining, sun-drenched boulevards, and the city's best-kept secrets waits across the water. We take you there.
4.9/5 from 200+ guests | Featured in TimeOut Istanbul | Small groups, max 8 people
); }