"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricCardTwo from '@/components/sections/metrics/MetricCardTwo';
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="compact"
        sizing="largeSmall"
        background="noiseDiagonalGradient"
        cardStyle="glass-depth"
        primaryButtonStyle="double-inset"
        secondaryButtonStyle="layered"
        headingFontWeight="bold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleApple
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About Us",
          id: "#about",
        },
        {
          name: "Services",
          id: "#services",
        },
        {
          name: "Projects",
          id: "#projects",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      brandName="Star Promoters"
    />
  </div>

  <div id="home" data-section="home">
      <HeroOverlayTestimonial
      title="Build Your Future, Brick by Brick with Star Promoters"
      description="Your trusted partner in Construction and Real Estate in Trichy. Delivering excellence in every project, transforming dreams into tangible realities."
      testimonials={[
        {
          name: "Arjun Kumar",
          handle: "@arjun_k",
          testimonial: "Star Promoters exceeded our expectations! Their professionalism and quality of work on our new home were outstanding.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-middle-aged-attractive-woman-showing-thumb-up-outdoors_1262-12526.jpg",
          imageAlt: "Arjun Kumar",
        },
        {
          name: "Priya Sharma",
          handle: "@priya_s",
          testimonial: "Finding the perfect commercial space was seamless with Star Promoters. Their team is knowledgeable and highly supportive.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/rearview-businesswoman-enjoying-her-great-results_158595-7824.jpg",
          imageAlt: "Priya Sharma",
        },
        {
          name: "Rajesh Gupta",
          handle: "@rajesh_g",
          testimonial: "Invested in a plot through Star Promoters. The process was transparent, and the returns are promising. Highly recommended!",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/senior-man-checking-his-blood-pressure-while-lying-home-sofa_496169-1546.jpg",
          imageAlt: "Rajesh Gupta",
        },
        {
          name: "Deepa Singh",
          handle: "@deepa_s",
          testimonial: "From design to delivery, Star Promoters managed our project with utmost care and precision. Truly a class apart.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg",
          imageAlt: "Deepa Singh",
        },
        {
          name: "Karthik Reddy",
          handle: "@karthik_r",
          testimonial: "Reliable, efficient, and innovative. Star Promoters is the best choice for construction and real estate services in Trichy.",
          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-handsome-man-wearing-glasses-keeping-hand-waist-looking-camera-doing-ok-sign-isolated-white-wall_141793-113579.jpg",
          imageAlt: "Karthik Reddy",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/neo-brutalism-inspired-building_23-2151004748.jpg"
      imageAlt="Modern construction site with Star Promoters logo"
      showDimOverlay={true}
      showBlur={true}
      textPosition="bottom"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/portrait-smiley-modern-male_23-2148514900.jpg",
          alt: "Smiling businessman",
        },
        {
          src: "http://img.b2bpic.net/free-photo/blond-business-woman-standing-with-crossed-arms_23-2148095775.jpg",
          alt: "Confident businesswoman",
        },
        {
          src: "http://img.b2bpic.net/free-photo/successful-confident-businessman-glasses-speaking-beige-wall_176420-132.jpg",
          alt: "Experienced man",
        },
        {
          src: "http://img.b2bpic.net/free-photo/close-up-portrait-stylish-pretty-young-woman-look-professional-cross-hands-chest-smiling-confident-camera-wear-glasses-standing-near-reception-office-hall-discuss-business_197531-22165.jpg",
          alt: "Young professional woman",
        },
        {
          src: "http://img.b2bpic.net/free-photo/closeup-happy-bearded-man-suit-laughing-smiling-standing-white-background_1258-155212.jpg",
          alt: "Satisfied male client",
        },
      ]}
      avatarText="Join our growing community of happy clients!"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={false}
      title="About Star Promoters"
      description="Star Promoters is a leading construction and real estate company based in Trichy, committed to delivering high-quality projects. With years of experience, we specialize in residential, commercial, and industrial developments, ensuring excellence and customer satisfaction at every stage."
      bulletPoints={[
        {
          title: "Quality Craftsmanship",
          description: "We use superior materials and employ skilled artisans to ensure lasting quality in every build.",
        },
        {
          title: "Timely Delivery",
          description: "Our project management ensures that your projects are completed on schedule, every time.",
        },
        {
          title: "Customer-Centric Approach",
          description: "Your vision is our priority. We work closely with clients to bring their dreams to life.",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/professional-architects-looking-plan_23-2147702511.jpg"
      imageAlt="Construction team discussing blueprints"
      mediaAnimation="slide-up"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardTwo
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="uniform-all-items-equal"
      useInvertedBackground={true}
      metrics={[
        {
          id: "projects",
          value: "150+",
          description: "Projects Completed",
        },
        {
          id: "clients",
          value: "100+",
          description: "Satisfied Clients",
        },
        {
          id: "experience",
          value: "15",
          description: "Years of Experience",
        },
        {
          id: "acres",
          value: "500+",
          description: "Acres Developed",
        },
      ]}
      title="Our Achievements Speak for Themselves"
      description="Proudly serving Trichy with dedication and excellence, our numbers reflect our commitment to quality and client satisfaction in every project undertaken."
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Residential Construction",
          description: "Crafting dream homes that combine modern aesthetics with functional living spaces.",
          imageSrc: "http://img.b2bpic.net/free-photo/image-engineering-objects-workplace-top-view-construction-concept-engineering-tools-vintage-tone-retro-filter-effect-soft-focus-selective-focus_1418-472.jpg",
          imageAlt: "Residential construction blueprint",
          buttonIcon: "Home",
        },
        {
          title: "Commercial Development",
          description: "Building state-of-the-art commercial spaces designed for productivity and growth.",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-men-work-with-laptop_23-2148921389.jpg",
          imageAlt: "Commercial building site",
          buttonIcon: "Building",
        },
        {
          title: "Land & Plot Sales",
          description: "Assisting you in finding the perfect land for investment or building your next project.",
          imageSrc: "http://img.b2bpic.net/free-photo/mixed-race-family-couple-have-problems-have-frustrated-expressions-think-how-solve-problems_273609-18379.jpg",
          imageAlt: "Land plot for sale",
          buttonIcon: "MapPin",
        },
        {
          title: "Property Management",
          description: "Ensuring your investments are well-maintained and profitable with our expert management services.",
          imageSrc: "http://img.b2bpic.net/free-photo/construction-tool-lying-draft_23-2147831911.jpg",
          imageAlt: "Property management plan",
          buttonIcon: "Clipboard",
        },
      ]}
      title="Comprehensive Construction & Real Estate Services"
      description="From innovative designs to flawless execution, Star Promoters offers a full spectrum of services to meet all your property needs."
    />
  </div>

  <div id="projects" data-section="projects">
      <ProductCardOne
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="bento-grid"
      useInvertedBackground={true}
      products={[
        {
          id: "p1",
          name: "Emerald Villa Estates",
          price: "₹1.2 Cr onwards",
          imageSrc: "http://img.b2bpic.net/free-photo/3d-house-model-with-modern-architecture_23-2151004061.jpg",
          imageAlt: "Luxury villa exterior",
        },
        {
          id: "p2",
          name: "Skyline Apartments",
          price: "₹65 Lacs onwards",
          imageSrc: "http://img.b2bpic.net/free-photo/woman-reading-book-reading-club-library_23-2150293528.jpg",
          imageAlt: "Modern apartment building",
        },
        {
          id: "p3",
          name: "Corporate Hub Trichy",
          price: "₹2.5 Cr onwards",
          imageSrc: "http://img.b2bpic.net/free-photo/modern-district-aerial-panorama-urban-style_169016-68484.jpg",
          imageAlt: "Modern commercial building",
        },
        {
          id: "p4",
          name: "Green Acres Plots",
          price: "₹30 Lacs onwards",
          imageSrc: "http://img.b2bpic.net/free-photo/man-with-carton-box-street_23-2151191473.jpg",
          imageAlt: "Green residential plot",
        },
        {
          id: "p5",
          name: "Retail Boulevard",
          price: "₹80 Lacs onwards",
          imageSrc: "http://img.b2bpic.net/free-photo/city-background-panoramic-view_23-2148892904.jpg",
          imageAlt: "Modern retail storefronts",
        },
        {
          id: "p6",
          name: "Industrial Park Phase II",
          price: "Contact for Pricing",
          imageSrc: "http://img.b2bpic.net/free-photo/scene-with-photorealistic-logistics-operations-proceedings_23-2151468861.jpg",
          imageAlt: "Industrial warehouse complex",
        },
      ]}
      title="Our Signature Projects"
      description="Explore a selection of our finest residential and commercial developments, showcasing our commitment to quality and architectural excellence."
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "t1",
          name: "Suresh Rao",
          handle: "Homeowner",
          testimonial: "The attention to detail in my new home is simply superb. Star Promoters truly understands luxury and comfort.",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-businessman-making-hand-gesture-with-cup-coffee-laptop-desk_23-2147955285.jpg",
          imageAlt: "Suresh Rao",
        },
        {
          id: "t2",
          name: "Lakshmi Devi",
          handle: "Investor",
          testimonial: "An excellent partner for real estate investments. Transparent dealings and strong growth prospects.",
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiley-woman-engineer_23-2148826529.jpg",
          imageAlt: "Lakshmi Devi",
        },
        {
          id: "t3",
          name: "Mohammed Ali",
          handle: "Business Owner",
          testimonial: "Our new office space is fantastic. Star Promoters delivered exactly what we needed, on time and within budget.",
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-adult-builder-man-uniform-points-front-with-two-hands-isolated-orange-wall_141793-66459.jpg",
          imageAlt: "Mohammed Ali",
        },
        {
          id: "t4",
          name: "Anjali Sharma",
          handle: "Resident",
          testimonial: "The apartment complex built by Star Promoters is beautiful and well-maintained. A great place to live!",
          imageSrc: "http://img.b2bpic.net/free-photo/business-woman-portrait_93675-133073.jpg",
          imageAlt: "Anjali Sharma",
        },
        {
          id: "t5",
          name: "Vijay Kumar",
          handle: "Developer",
          testimonial: "Collaborating with Star Promoters on a project was a smooth experience. Their expertise is unmatched.",
          imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-handsome-guy-wearing-green-shirt-showing-thumbs-up_141793-120967.jpg",
          imageAlt: "Vijay Kumar",
        },
      ]}
      title="What Our Clients Say"
      description="Hear directly from our valued clients about their experiences with Star Promoters and the quality of our construction and real estate services."
    />
  </div>

  <div id="partners" data-section="partners">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={true}
      names={[
        "Construction Innovations Ltd.",
        "Green Build Solutions",
        "City Bank Real Estate",
        "Elite Interiors",
        "Safety First Certifications",
        "Smart Living Technologies",
        "National Property Association",
      ]}
      title="Trusted by Industry Leaders"
      description="Our success is built on strong partnerships. We collaborate with the best to ensure quality and innovation in every project."
      speed={40}
      showCard={false}
      logos={[
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gzhdev",
          alt: "Construction Partner Logo",
        },
        {
          src: "http://img.b2bpic.net/free-photo/metallic-new-jersey-state-flag-new-jersey-flag-background-metallic-texture_559531-11418.jpg",
          alt: "Government Housing Logo",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=mh7kbi",
          alt: "Financial Institution Logo",
        },
        {
          src: "http://img.b2bpic.net/free-vector/furniture-logo-concept_52683-43986.jpg",
          alt: "Interior Design Partner Logo",
        },
        {
          src: "http://img.b2bpic.net/free-vector/iso-certification-stamp-collection_23-2148698601.jpg",
          alt: "Quality Certification Logo",
        },
        {
          src: "http://img.b2bpic.net/free-vector/smart-home-background-with-icons_23-2147854696.jpg",
          alt: "Smart Home Tech Logo",
        },
        {
          src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=zhb95g",
          alt: "Real Estate Association Logo",
        },
      ]}
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",
          title: "What types of projects do you undertake?",
          content: "We handle a diverse range of projects including residential homes, apartments, commercial buildings, industrial facilities, and land development.",
        },
        {
          id: "faq2",
          title: "Where are your main service areas?",
          content: "While primarily based in Trichy, Tamil Nadu, we also undertake projects in surrounding regions based on client requirements.",
        },
        {
          id: "faq3",
          title: "How do you ensure project quality?",
          content: "We adhere to strict quality control standards, use premium materials, and employ experienced professionals for every phase of construction.",
        },
        {
          id: "faq4",
          title: "Do you offer property management services?",
          content: "Yes, we provide comprehensive property management services for both residential and commercial properties.",
        },
        {
          id: "faq5",
          title: "What is your approach to sustainability?",
          content: "We integrate sustainable building practices and eco-friendly materials to minimize environmental impact and create energy-efficient properties.",
        },
      ]}
      sideTitle="Frequently Asked Questions"
      sideDescription="Find answers to common questions about our construction and real estate services in Trichy."
      faqsAnimation="slide-up"
      textPosition="left"
      showCard={true}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplitForm
      useInvertedBackground={true}
      title="Get in Touch with Star Promoters"
      description="Have a question, a project in mind, or want to discuss real estate opportunities? Reach out to us!"
      inputs={[
        {
          name: "name",
          type: "text",
          placeholder: "Your Name",
          required: true,
        },
        {
          name: "email",
          type: "email",
          placeholder: "Your Email",
          required: true,
        },
        {
          name: "phone",
          type: "tel",
          placeholder: "Your Phone Number",
        },
      ]}
      textarea={{
        name: "message",
        placeholder: "Your Message",
        rows: 4,
        required: true,
      }}
      imageSrc="http://img.b2bpic.net/free-photo/interior-kitchen-area-modern-office-with-long-wooden-table-chairs_181624-17912.jpg"
      imageAlt="Modern office interior with Star Promoters branding"
      mediaAnimation="opacity"
      mediaPosition="right"
      buttonText="Send Message"
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoText="Star Promoters"
      columns={[
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Projects",
              href: "#projects",
            },
            {
              label: "Services",
              href: "#services",
            },
          ],
        },
        {
          title: "Support",
          items: [
            {
              label: "FAQ",
              href: "#faq",
            },
            {
              label: "Contact Us",
              href: "#contact",
            },
          ],
        },
        {
          title: "Legal",
          items: [
            {
              label: "Privacy Policy",
              href: "#",
            },
            {
              label: "Terms of Service",
              href: "#",
            },
          ],
        },
      ]}
      copyrightText="© 2024 Star Promoters. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
