"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia';
import FeatureCardTwentyNine from '@/components/sections/feature/featureCardTwentyNine/FeatureCardTwentyNine';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import MediaAbout from '@/components/sections/about/MediaAbout';
import MetricCardSeven from '@/components/sections/metrics/MetricCardSeven';
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="text-stagger"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="medium"
        sizing="largeSmall"
        background="noiseDiagonalGradient"
        cardStyle="solid"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="solid"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleCentered
      navItems={[
        { name: "About", id: "#about" },
        { name: "Products", id: "#products" },
        { name: "Contact", id: "#contact" },
      ]}
      brandName="Inovit"
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroBillboardRotatedCarousel
      background={{ variant: "rotated-rays-animated" }}
      title="Science-Based Nutrition for Sustainable Livestock"
      description="Inovit delivers innovative feed additive solutions designed to improve animal health, optimize feed efficiency, and empower the future of farming."
      buttons={[{ text: "Explore Our Products", href: "/products" }]}
      carouselItems={[
        { id: "h1", imageSrc: "http://img.b2bpic.net/free-photo/long-shot-herd-sheep-eating-grass-pasture_23-2148214286.jpg", imageAlt: "sustainable farming livestock field" },
        { id: "h2", imageSrc: "http://img.b2bpic.net/free-photo/high-angle-woman-feeding-sheep_23-2149535200.jpg", imageAlt: "organic animal feed texture" },
        { id: "h3", imageSrc: "http://img.b2bpic.net/free-photo/smart-robotic-farmers-concept-robot-farmers-agriculture-technology-farm-automation_35913-2324.jpg", imageAlt: "modern agricultural facility aerial" },
        { id: "h4", imageSrc: "http://img.b2bpic.net/free-photo/pharmaceutical-chemist-examining-tomato-microbiology-experiment-typing-medical-information_482257-4507.jpg", imageAlt: "science laboratory research agriculture" },
        { id: "h5", imageSrc: "http://img.b2bpic.net/free-photo/side-view-smiley-woman-petting-cow_23-2149514582.jpg", imageAlt: "healthy livestock farm green" },
        { id: "h6", imageSrc: "http://img.b2bpic.net/free-photo/city-park-with-lake_1127-3977.jpg", imageAlt: "aquaculture fish farm technology" }
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <MediaAbout
      useInvertedBackground={false}
      title="Innovating Animal Nutrition"
      description="Inovit is a leader in feed additives, committed to delivering science-based solutions that promote sustainable farming. With GMP+ certification, we ensure reliability and excellence across all livestock, poultry, and aquaculture sectors."
      imageSrc="http://img.b2bpic.net/free-photo/concentrated-florists-working-with-potted-flowers-greenhouse_74855-16350.jpg"
      imageAlt="agricultural consultant professional tablet"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardTwentyNine
      animationType="slide-up"
      textboxLayout="split-description"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={true}
      features={[
        { title: "Poultry Additives", description: "Tailored formulations to improve poultry growth and disease resilience.", imageSrc: "http://img.b2bpic.net/free-photo/old-duck-drinking-water-farm-backyard_23-2148315326.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/side-view-women-holding-birds_23-2149456975.jpg", buttonText: "Learn More" },
        { title: "Ruminant Solutions", description: "Advanced science to enhance metabolic health in ruminant livestock.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-hands-holding-animal-food_23-2148990381.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/selective-focus-pasta-cereals-glass-jars_482257-82853.jpg", buttonText: "Learn More" },
        { title: "Aquaculture", description: "Optimized nutrition for high-yield aquatic life development.", imageSrc: "http://img.b2bpic.net/free-photo/marine-life-abstract-oil_23-2148227175.jpg", titleImageSrc: "http://img.b2bpic.net/free-photo/bread-crumbs-bowl-marble-surface_114579-61286.jpg", buttonText: "Learn More" }
      ]}
      title="Our Specialized Solutions"
      description="Specialized additives for diverse species, ensuring optimal health and maximum yield."
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardTwo
      animationType="slide-up"
      textboxLayout="split-description"
      gridVariant="four-items-2x2-equal-grid"
      useInvertedBackground={false}
      products={[
        { id: "p1", brand: "Inovit", name: "Soybean Meal", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/wooden-spoon-full-raw-buckwheat-marble-surface_114579-25380.jpg?_wi=1" },
        { id: "p2", brand: "Inovit", name: "Corn Gluten Meal", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/barley-grains-out-bowl-marble-surface_114579-47809.jpg?_wi=1" },
        { id: "p3", brand: "Inovit", name: "Meat & Bone Meal", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/spices-market-morocco_23-2148129885.jpg?_wi=1" },
        { id: "p4", brand: "Inovit", name: "Sugar Beet Pulp", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/fresh-harvested-red-radish-plastic-crate-supermarket_23-2148209755.jpg?_wi=1" },
        { id: "p5", brand: "Inovit", name: "Wheat Bran", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/buckwheat-seeds-isolated-grey_114579-24770.jpg?_wi=1" },
        { id: "p6", brand: "Inovit", name: "Fish Meal", price: "High Quality", rating: 5, reviewCount: "100+", imageSrc: "http://img.b2bpic.net/free-photo/common-food-allergens-people_23-2149870515.jpg?_wi=1" }
      ]}
      title="Quality Raw Materials"
      description="Premium soybean meal, corn products, and protein sources for balanced farm nutrition."
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardSeven
      animationType="depth-3d"
      textboxLayout="split"
      useInvertedBackground={true}
      metrics={[
        { id: "m1", value: "100%", title: "GMP+ Certified", items: ["Strict safety standards", "Consistent reliability", "Quality assured"] },
        { id: "m2", value: "20+", title: "Species Covered", items: ["Poultry", "Ruminants", "Aquaculture"] },
        { id: "m3", value: "15+", title: "Raw Materials", items: ["Soybean products", "Corn derivatives", "Protein meals"] }
      ]}
      title="Proven Performance Results"
      description="Our science-based approach delivers tangible results for our partners."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="scale-rotate"
      textboxLayout="split"
      useInvertedBackground={false}
      testimonials={[
        { id: "t1", name: "Sarah Miller", role: "Farm Owner", testimonial: "The quality of Inovit's feed additives has significantly increased our poultry yield.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-people-taking-coffee-break_329181-16523.jpg" },
        { id: "t2", name: "David Thorne", role: "Operations Manager", testimonial: "Reliable, science-driven, and highly consistent. GMP+ standards mean everything to us.", imageSrc: "http://img.b2bpic.net/free-photo/greenhouse-owner-posing-with-folded-arms-having-many-flowers-colleague-holding-pot-with-pink-chrysanthemums-glass-roof_158595-7126.jpg" },
        { id: "t3", name: "Elena Vance", role: "Business Director", testimonial: "Inovit is our preferred partner for soybean meal sourcing. Exceptional quality.", imageSrc: "http://img.b2bpic.net/free-photo/young-female-florist-greenhouse_23-2148357607.jpg" },
        { id: "t4", name: "Dr. Marcus Reed", role: "Veterinary Consultant", testimonial: "I trust Inovit formulas for my clients' herds. Their ruminant nutrition is outstanding.", imageSrc: "http://img.b2bpic.net/free-photo/close-up-smiley-woman-checking-dog_23-2149271808.jpg" },
        { id: "t5", name: "James Logan", role: "Agricultural Entrepreneur", testimonial: "Innovative solutions that keep my aquaculture farm competitive.", imageSrc: "http://img.b2bpic.net/free-photo/smiling-greenhouse-owner-posing-with-notepad-her-hands-having-many-flowers-glass-roof_158595-7026.jpg" }
      ]}
      title="Partner Success Stories"
      description="What our partners across the farming and agricultural sectors say about us."
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitMedia
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        { id: "f1", title: "What certifications does Inovit hold?", content: "Inovit operates under strict quality standards and is GMP+ certified, ensuring the safety and quality of all products." },
        { id: "f2", title: "Which species can use Inovit feed additives?", content: "We cater to poultry, ruminants, aquaculture, and many other livestock species." },
        { id: "f3", title: "Do you offer bulk raw materials?", content: "Yes, we distribute a wide range of raw materials including soybean meal, canola meal, and DDGS in bulk." }
      ]}
      mediaAnimation="slide-up"
      title="Frequently Asked Questions"
      description="Clear answers to your questions about Inovit's products and certifications."
      faqsAnimation="blur-reveal"
      imageSrc="http://img.b2bpic.net/free-photo/two-researches-man-woman-examine-greenery-with-tablet-all-white-greenhouse_8353-7179.jpg"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={false}
      background={{ variant: "sparkles-gradient" }}
      text="Get in touch with Inovit for expert feed additive support, bulk orders, or product information. \n\nMustafa Kemal Mahallesi 2079 Sokak, Via Green B Blok No:49, 06510 Cankaya/Ankara - TÜRKİYE | +90 (0)312 2846506 | info@inovit.com.tr"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterSimple
      columns={[
        {
          title: "Company",          items: [
            { label: "About Us", href: "#about" },
            { label: "Contact Us", href: "#contact" },
          ],
        },
        {
          title: "Products",          items: [
            { label: "Poultry Additives", href: "/products" },
            { label: "Ruminant Additives", href: "/products" },
            { label: "Aquaculture", href: "/products" },
          ],
        },
        {
          title: "Legal",          items: [
            { label: "Privacy Policy", href: "#" },
            { label: "GMP+ Certified", href: "#" },
          ],
        },
      ]}
      bottomLeftText="© 2024 Inovit Gıda ve Spor Ürünler."
      bottomRightText="All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}