"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import AboutMetric from '@/components/sections/about/AboutMetric';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import { Apple, Coffee, Cookie, Crown, Leaf, Smile, Sparkles, Star, Sunrise, Truck, Users, Utensils } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="directional-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="small"
        sizing="medium"
        background="noiseDiagonalGradient"
        cardStyle="subtle-shadow"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "Products",
          id: "#products",
        },
        {
          name: "About Us",
          id: "#about",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      logoSrc="http://img.b2bpic.net/free-photo/eat-healthy-restaurant-logo-papercraft-cut-out-style_53876-126879.jpg"
      logoAlt="Brekkie Breakfast Club Logo"
      brandName="Brekkie Breakfast Club"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitTestimonial
      useInvertedBackground={false}
      background={{
        variant: "cell-wave",
      }}
      imagePosition="right"
      title="Start Your Day with the Best Breakfast!"
      description="Discover delicious and nutritious breakfast products from Brekkie Breakfast Club. Perfect for a great start to your morning."
      testimonials={[
        {
          name: "Ayşe Yılmaz",
          handle: "@ayseyilmaz",
          testimonial: "Brekkie Breakfast Club'ın ürünleri güne harika bir başlangıç yapmamı sağlıyor. Özellikle granolaları favorim!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-eating-pancakes-with-milk_1303-9779.jpg",
          imageAlt: "happy woman eating breakfast",
        },
        {
          name: "Mehmet Demir",
          handle: "@mehmetdemir",
          testimonial: "Taze ve doğal içeriklerle hazırlanan ürünleriniz için teşekkürler. Her lokması lezzet dolu.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/eat-healthy-restaurant-logo-papercraft-cut-out-style_53876-126879.jpg",
          imageAlt: "happy woman eating breakfast",
        },
        {
          name: "Zeynep Kaya",
          handle: "@zeynepkaya",
          testimonial: "Pazar kahvaltılarımızın vazgeçilmezi oldu. Özellikle pancake karışımına bayılıyoruz.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/sandwiches-fruits-dry-fruits-plate-wooden-table_23-2147942207.jpg?_wi=1",
          imageAlt: "happy woman eating breakfast",
        },
        {
          name: "Can Polat",
          handle: "@canpolat",
          testimonial: "Kalite ve lezzet bir arada! Brekkie Breakfast Club'ın ürünleri beklentilerimin üzerinde.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/ambitious-handsome-young-stylish-mature-male-with-beard-big-blue-eyes-smiling-excited-pleased-grin-standing-trendy-suit-gray-wall-waiting-chance-show-skills-gray-wall_176420-22711.jpg",
          imageAlt: "happy woman eating breakfast",
        },
        {
          name: "Elif Aslan",
          handle: "@elifaslan",
          testimonial: "Sabahları pratik ve lezzetli seçenekler arayan herkese tavsiye ederim. Her hafta sipariş veriyorum.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg",
          imageAlt: "happy woman eating breakfast",
        },
      ]}
      testimonialRotationInterval={5000}
      tag="Your Daily Dose of Deliciousness"
      tagAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/eat-healthy-restaurant-logo-papercraft-cut-out-style_53876-126879.jpg",
          alt: "Customer 1",
        },
        {
          src: "http://img.b2bpic.net/free-photo/ambitious-handsome-young-stylish-mature-male-with-beard-big-blue-eyes-smiling-excited-pleased-grin-standing-trendy-suit-gray-wall-waiting-chance-show-skills-gray-wall_176420-22711.jpg",
          alt: "Customer 2",
        },
        {
          src: "http://img.b2bpic.net/free-photo/people-technology-close-up-shot-happy-face-attractive-bearded-man-sitting-front-laptop-screen-smiling-joyfully-while-messaging-friends-online-via-social-networks_273609-6655.jpg",
          alt: "Customer 3",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-shot-handsome-african-student-with-beard-dressed-denim-shirt-smiling-happily-showing-his-white-teeth-having-joyful-contented-look_273609-1853.jpg",
          alt: "Customer 4",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-happy-smiling-modern-woman-starts-her-day-with-morning-mug-tea-girl-drinking-coffee_1258-198139.jpg",
          alt: "Happy customer enjoying breakfast",
        },
      ]}
      avatarText="Join 1000+ happy customers!"
      imageSrc="http://img.b2bpic.net/free-photo/sandwiches-fruits-dry-fruits-plate-wooden-table_23-2147942207.jpg?_wi=2"
      imageAlt="Delicious breakfast spread"
      mediaAnimation="slide-up"
      fixedMediaHeight={true}
      marqueeItems={[
        {
          type: "text-icon",
          text: "Fresh & Local",
          icon: Leaf,
        },
        {
          type: "text-icon",
          text: "Baked Daily",
          icon: Cookie,
        },
        {
          type: "text-icon",
          text: "Delivered Fast",
          icon: Star,
        },
        {
          type: "text-icon",
          text: "Happy Mornings",
          icon: Smile,
        },
        {
          type: "text-icon",
          text: "Gourmet Flavors",
          icon: Coffee,
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <AboutMetric
      useInvertedBackground={true}
      title="Why Choose Brekkie Breakfast Club?"
      metrics={[
        {
          icon: Sparkles,
          label: "Premium Quality",
          value: "Always Fresh",
        },
        {
          icon: Apple,
          label: "Wholesome Ingredients",
          value: "Natural & Healthy",
        },
        {
          icon: Utensils,
          label: "Artisanal Recipes",
          value: "Unique Flavors",
        },
      ]}
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureBorderGlow
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: Leaf,
          title: "Freshly Sourced",
          description: "We partner with local farms to bring you the freshest fruits, grains, and dairy.",
        },
        {
          icon: Star,
          title: "Handcrafted with Care",
          description: "Every product is lovingly prepared, ensuring a homemade taste and exceptional quality.",
        },
        {
          icon: Truck,
          title: "Delivered to Your Door",
          description: "Enjoy the convenience of having your favorite breakfast items delivered right to you.",
        },
      ]}
      title="Our Delicious Offerings"
      description="Explore our range of breakfast essentials and unique treats, made with passion and the finest ingredients."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardOne
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Artisanal Granola",
          price: "45 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/breakfast-decoration-with-top-view-cereals_23-2147672443.jpg",
          imageAlt: "Artisanal Granola",
        },
        {
          id: "p2",
          name: "Gourmet Pancake Mix",
          price: "55 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-delicious-pancakes-with-strawberries-jelly-white-desk-pie-fruit-biscuit-sweet-cake-berry_140725-95175.jpg",
          imageAlt: "Gourmet Pancake Mix",
        },
        {
          id: "p3",
          name: "Premium Coffee Beans",
          price: "80 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/coffee-concept-with-beans_23-2147729453.jpg",
          imageAlt: "Premium Coffee Beans",
        },
        {
          id: "p4",
          name: "Handmade Fruit Jams",
          price: "35 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/assortment-tkemali-is-traditional-georgian-sauce-with-cherry-plum_127032-2561.jpg",
          imageAlt: "Handmade Fruit Jams",
        },
        {
          id: "p5",
          name: "Fresh Sourdough Bread",
          price: "40 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-yummy-cake-slices-with-fresh-strawberries-light_140725-120583.jpg",
          imageAlt: "Fresh Sourdough Bread",
        },
        {
          id: "p6",
          name: "Organic Wildflower Honey",
          price: "60 TL",
          imageSrc: "http://img.b2bpic.net/free-photo/top-view-glass-jar-full-honey_23-2148173010.jpg",
          imageAlt: "Organic Wildflower Honey",
        },
      ]}
      title="Our Signature Breakfast Products"
      description="From artisanal granola to gourmet pancake mixes, find your next favorite breakfast item here."
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardOne
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "basic",
          badge: "Starter",
          badgeIcon: Sunrise,
          price: "99 TL/month",
          subtitle: "Perfect for individuals",
          features: [
            "2 Premium Products",
            "Monthly Delivery",
            "Exclusive Recipes",
          ],
        },
        {
          id: "family",
          badge: "Family Favorite",
          badgeIcon: Users,
          price: "179 TL/month",
          subtitle: "Ideal for households",
          features: [
            "4 Premium Products",
            "Monthly Delivery",
            "Exclusive Recipes & Tips",
          ],
        },
        {
          id: "gourmet",
          badge: "Gourmet Deluxe",
          badgeIcon: Crown,
          price: "249 TL/month",
          subtitle: "For the breakfast connoisseur",
          features: [
            "6 Premium Products",
            "Bi-Weekly Delivery",
            "Limited Edition Items",
          ],
        },
      ]}
      title="Subscription Boxes for Every Taste"
      description="Choose from our flexible subscription plans to get your favorite breakfast items delivered regularly."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardThirteen
      animationType="scale-rotate"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",
          name: "Elif Demir",
          handle: "@elif.d",
          testimonial: "Every box is a delightful surprise! The quality of ingredients is unmatched.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/supportive-cute-blond-girlfriend-cheering-liking-interesting-concept-cool-idea-thumbsup-smiling_1258-229510.jpg",
          imageAlt: "Elif Demir",
        },
        {
          id: "t2",
          name: "Burak Özcan",
          handle: "@burak.o",
          testimonial: "Brekkie made my mornings so much better. Healthy, delicious, and convenient.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-business-office-business-center_1303-20365.jpg",
          imageAlt: "Burak Özcan",
        },
        {
          id: "t3",
          name: "Selin Gündüz",
          handle: "@selin.g",
          testimonial: "I love the variety and how fresh everything tastes. Highly recommended!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/attractive-woman-dark-wall_329181-7280.jpg",
          imageAlt: "Selin Gündüz",
        },
        {
          id: "t4",
          name: "Deniz Arslan",
          handle: "@deniz.a",
          testimonial: "The best breakfast subscription I've tried. Always on time and always delicious.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/two-young-businessmen-discussing-something_158595-5252.jpg",
          imageAlt: "Deniz Arslan",
        },
        {
          id: "t5",
          name: "Gamze Tekin",
          handle: "@gamze.t",
          testimonial: "Starting my day with Brekkie's products feels like a treat every single time.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/overjoyed-woman-closes-eyes-laughs-out-happily-smiles-broadly-dressed-stylish-clothes-leans-down-wears-blue-eyeliner-has-funny-hairstyle-feels-lively-full-energy-happy-human-emotions_273609-57107.jpg",
          imageAlt: "Gamze Tekin",
        },
      ]}
      showRating={true}
      title="What Our Club Members Say"
      description="Hear from happy customers who love starting their day with Brekkie Breakfast Club."
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Healthy Living Magazine",
        "Foodie Daily",
        "Morning Bliss Blog",
        "Gourmet Digest",
        "Taste of Home",
        "Wellness Journal",
        "Epicurean Eats",
      ]}
      title="Loved by Breakfast Enthusiasts Nationwide"
      description="Join a growing community of people who prioritize a delicious and healthy breakfast."
      showCard={true}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={true}
      faqs={[
        {
          id: "faq1",
          title: "How often are the products delivered?",
          content: "Our subscription boxes are delivered monthly, or bi-weekly for the Gourmet Deluxe plan. You can choose your preferred delivery frequency.",
        },
        {
          id: "faq2",
          title: "Can I customize my breakfast box?",
          content: "Currently, our boxes are curated with seasonal and popular items. We are working on customization options for the future.",
        },
        {
          id: "faq3",
          title: "What if I have dietary restrictions?",
          content: "Please contact our customer service team to discuss your specific dietary needs. We offer a range of options and can help guide your choices.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find answers to common questions about our products, subscriptions, and delivery."
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "plain",
      }}
      tag="Get in Touch"
      title="Join the Breakfast Club!"
      description="Sign up for our newsletter to get exclusive offers and new product announcements, and never miss a delicious update."
      imageSrc="http://img.b2bpic.net/free-photo/still-life-cocktail-tablecloth_23-2151318425.jpg"
      imageAlt="Fresh orange juice with fruits"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Subscribe"
      termsText="By subscribing, you agree to receive emails from Brekkie Breakfast Club."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoEmphasis
      logoSrc="http://img.b2bpic.net/free-photo/eat-healthy-restaurant-logo-papercraft-cut-out-style_53876-126879.jpg"
      logoAlt="Brekkie Breakfast Club Logo"
      columns={[
        {
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Story",
              href: "#",
            },
            {
              label: "Careers",
              href: "#",
            },
          ],
        },
        {
          items: [
            {
              label: "Products",
              href: "#products",
            },
            {
              label: "Subscriptions",
              href: "#pricing",
            },
            {
              label: "Shop All",
              href: "#",
            },
          ],
        },
        {
          items: [
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact",
              href: "#contact",
            },
            {
              label: "Support",
              href: "#",
            },
          ],
        },
      ]}
      logoText="Brekkie Breakfast Club"
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
