"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactText from '@/components/sections/contact/ContactText';
import FaqDouble from '@/components/sections/faq/FaqDouble';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
import MetricCardFourteen from '@/components/sections/metrics/MetricCardFourteen';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import ProductCardThree from '@/components/sections/product/ProductCardThree';
import TeamCardFive from '@/components/sections/team/TeamCardFive';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import TextAbout from '@/components/sections/about/TextAbout';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="pill"
        contentWidth="mediumLarge"
        sizing="largeSmall"
        background="grid"
        cardStyle="inset"
        primaryButtonStyle="flat"
        secondaryButtonStyle="layered"
        headingFontWeight="extrabold"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingInline
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Services",
          id: "#services",
        },
        {
          name: "Products",
          id: "#products",
        },
        {
          name: "Team",
          id: "#team",
        },
        {
          name: "Reviews",
          id: "#reviews",
        },
      ]}
      brandName="Linus Heating & Air"
      button={{
        text: "Get a Quote",
        href: "#contact",
      }}
    />
  </div>

  <div id="home" data-section="home">
      <HeroBillboard
      background={{
        variant: "downward-rays-animated-grid",
      }}
      title="Experience Unmatched Comfort with Linus Heating & Air"
      description="Your trusted partner for superior heating, cooling, and air quality solutions. We deliver fast, effective, and professional service with transparent pricing."
      buttons={[
        {
          text: "Get a Free Quote",
          href: "#contact",
        },
        {
          text: "Our Services",
          href: "#services",
        },
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/cozy-lively-home-interior-design_23-2151119029.jpg"
      imageAlt="Modern home interior with perfect heating and air conditioning"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/close-up-beautiful-joyful-african-student-woman-with-dark-wavy-hair-green-cardigan-sitting-cafe-drinking-cup-coffee-smiling-camera-woman-waiting-her-boyfriend-after-university_176420-12329.jpg",
          alt: "Happy customer smiling",
        },
        {
          src: "http://img.b2bpic.net/free-photo/beautiful-woman-carrying-shopping-bags_23-2148660763.jpg",
          alt: "Satisfied client",
        },
        {
          src: "http://img.b2bpic.net/free-photo/portrait-adult-woman-talking-phone_23-2148660711.jpg",
          alt: "Smiling customer",
        },
        {
          src: "http://img.b2bpic.net/free-photo/young-caucasian-woman-holding-shopping-bags-make-selfie-by-camera-clothing-store_839833-1916.jpg",
          alt: "Pleased client",
        },
        {
          src: "http://img.b2bpic.net/free-photo/smiley-woman-posing-her-home_23-2148708980.jpg",
          alt: "Friendly face",
        },
      ]}
      avatarText="Join 5,000+ Happy Customers"
      marqueeItems={[
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/cozy-lively-home-interior-design_23-2151118872.jpg",
          alt: "Cozy home interior",
        },
        {
          type: "text",
          text: "Expert Technicians",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/modern-living-room-interior-design_23-2150794718.jpg",
          alt: "Modern living room",
        },
        {
          type: "text",
          text: "24/7 Service",
        },
        {
          type: "image",
          src: "http://img.b2bpic.net/free-photo/modern-interior-design-interior_23-2151929536.jpg",
          alt: "Stylish interior design",
        },
      ]}
    />
  </div>

  <div id="about" data-section="about">
      <TextAbout
      useInvertedBackground={false}
      tag="About Us"
      title="Linus Heating & Air: Dependable Comfort, Exceptional Service"
      buttons={[
        {
          text: "Learn More",
          href: "#",
        },
      ]}
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Heating Services",
          description: "Expert furnace repair, new heating system installation, and preventative maintenance to keep you warm all winter.",
          imageSrc: "http://img.b2bpic.net/free-photo/smiley-couple-warming-up-hands-near-heater_23-2149339534.jpg",
          imageAlt: "Warm furnace glow in a modern home",
          buttonIcon: "Thermometer",
        },
        {
          title: "Cooling Solutions",
          description: "AC repair, efficient air conditioning unit installations, and seasonal tune-ups for refreshing comfort during hot months.",
          imageSrc: "http://img.b2bpic.net/free-photo/abstract-minimal-background-with-floor_23-2149207757.jpg",
          imageAlt: "Outdoor air conditioner unit for cooling",
          buttonIcon: "CloudSun",
        },
        {
          title: "HVAC Maintenance",
          description: "Comprehensive check-ups, cleaning, and preventative care to extend the life of your systems and ensure peak performance.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-working-with-drill_23-2149366711.jpg",
          imageAlt: "Technician checking an air filter during maintenance",
          buttonIcon: "Settings",
        },
        {
          title: "Emergency Repairs",
          description: "24/7 rapid response for urgent heating and cooling issues. We're here when you need us most, day or night.",
          imageSrc: "http://img.b2bpic.net/free-photo/high-angle-man-working-as-plumber_23-2150746421.jpg",
          imageAlt: "HVAC technician working on a system at night",
          buttonIcon: "AlertCircle",
        },
      ]}
      title="Reliable HVAC Solutions for Every Season"
      description="From installation to emergency repairs, we ensure your home or business stays comfortable year-round. Our expert technicians provide fast and effective service."
      tag="Our Services"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardThree
      animationType="opacity"
      textboxLayout="default"
      gridVariant="three-columns-all-equal-width"
      useInvertedBackground={false}
      products={[
        {
          id: "p-1",
          name: "High-Efficiency Furnaces",
          price: "Starting at $2,500",
          imageSrc: "http://img.b2bpic.net/free-photo/man-room-with-solid-fuel-boiler-working-biofuel-economical-heating_169016-14801.jpg",
          imageAlt: "Modern home furnace system",
        },
        {
          id: "p-2",
          name: "Central Air Conditioners",
          price: "Starting at $3,000",
          imageSrc: "http://img.b2bpic.net/free-photo/zoom-shot-manifold-meters_482257-91084.jpg",
          imageAlt: "Advanced outdoor air conditioner unit",
        },
        {
          id: "p-3",
          name: "Smart Thermostats",
          price: "Starting at $150",
          imageSrc: "http://img.b2bpic.net/free-photo/robotic-wireless-vacuum-cleaner-control-by-smartphone-app_23-2150783857.jpg",
          imageAlt: "Smart home thermostat digital",
        },
        {
          id: "p-4",
          name: "Whole-Home Air Purifiers",
          price: "Starting at $800",
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-using-home-technology_23-2149216659.jpg",
          imageAlt: "Indoor air purifier system",
        },
        {
          id: "p-5",
          name: "Tankless Water Heaters",
          price: "Starting at $1,200",
          imageSrc: "http://img.b2bpic.net/free-photo/crop-man-washing-dishes-near-woman_23-2147742315.jpg",
          imageAlt: "Modern tankless water heater",
        },
        {
          id: "p-6",
          name: "Ductwork & Ventilation",
          price: "Custom Quote",
          imageSrc: "http://img.b2bpic.net/free-photo/fan-electronic-air-condition_1203-3634.jpg",
          imageAlt: "Clean air duct system in a home",
        },
      ]}
      title="Premium HVAC Products for Optimal Comfort"
      description="We offer a curated selection of high-performance heating, cooling, and air quality systems from leading brands."
      tag="Our Products"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardFourteen
      useInvertedBackground={true}
      title="Decades of Expertise, Thousands of Happy Homes"
      tag="Why Choose Us"
      metrics={[
        {
          id: "m-1",
          value: "20+",
          description: "Years in Business",
        },
        {
          id: "m-2",
          value: "5,000+",
          description: "Satisfied Customers",
        },
        {
          id: "m-3",
          value: "99%",
          description: "Service Satisfaction",
        },
      ]}
      metricsAnimation="reveal-blur"
    />
  </div>

  <div id="team" data-section="team">
      <TeamCardFive
      animationType="opacity"
      textboxLayout="default"
      useInvertedBackground={false}
      team={[
        {
          id: "t-1",
          name: "Robin S.",
          role: "Customer Service Manager",
          imageSrc: "http://img.b2bpic.net/free-photo/modern-businesswoman-calling_23-2147707170.jpg",
          imageAlt: "Smiling customer service manager",
        },
        {
          id: "t-2",
          name: "Guy T.",
          role: "Lead HVAC Technician",
          imageSrc: "http://img.b2bpic.net/free-photo/meticulous-wiremen-expertly-refilling-freon-external-air-conditioner-while-using-manifold-measurement-device-closely-measure-pressure-hvac-system-ensuring-perfect-cooling-performance_482257-68069.jpg",
          imageAlt: "Lead HVAC technician",
        },
        {
          id: "t-3",
          name: "Sarah J.",
          role: "Senior Installation Specialist",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-laptop_23-2149097903.jpg",
          imageAlt: "Senior HVAC installation specialist",
        },
      ]}
      title="Meet the Professionals Who Keep You Comfortable"
      description="Our friendly, efficient, and highly skilled team is dedicated to providing quality HVAC service every time. Experience the Linus difference."
      tag="Our Team"
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardFive
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "testimonial-1",
          name: "Sarah Johnson",
          date: "2 weeks ago",
          title: "Dependable and Effective HVAC Service",
          quote: "Dependable HVAC service with fast and effective solutions. The technicians were friendly and explained the repair process clearly. My heating system is now working perfectly. Pricing was transparent and reasonable. Will call them again for future needs.",
          tag: "Heating Repair",
          avatarSrc: "http://img.b2bpic.net/free-photo/positive-fashion-store-customer-paying-purchase-checkout-looking-pos-terminal-cashier-hands-medium-shot-copy-space-shopping-concept_74855-11916.jpg",
          avatarAlt: "Sarah Johnson avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/man-drinking-hot-beverage-energy-crisis_23-2150061897.jpg",
          imageAlt: "Perfectly working heating system",
        },
        {
          id: "testimonial-2",
          name: "Ryder MacPherson",
          date: "5 years ago",
          title: "Exceptional Professionals, Two Thumbs Up!",
          quote: "Linus Heating and Air Conditioning squad came to our home to check on our heating and cooling unit. They got down to work instantly without intruding on our family time, they were great professionals, dependable, did an exceptional service. I will definitely recommend and refer my friends here. Two thumbs up!",
          tag: "Unit Check-up",
          avatarSrc: "http://img.b2bpic.net/free-photo/people-technology-leisure-concept_273609-6599.jpg",
          avatarAlt: "Ryder MacPherson avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-man-dog-home_23-2149335101.jpg",
          imageAlt: "HVAC technician checking unit",
        },
        {
          id: "testimonial-3",
          name: "Nancy George",
          date: "8 years ago",
          title: "The Only Company to Call for HVAC Needs",
          quote: "No need to go anywhere else. Linus Heating and Air Conditioning is the company you should be calling for all your heating and cooling needs - I promise you won't have a better team working on HVAC units. We had an issue with the cost of AC but they sorted it out.",
          tag: "AC Service",
          avatarSrc: "http://img.b2bpic.net/free-photo/career-success-office-concert-senior_1262-2793.jpg",
          avatarAlt: "Nancy George avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-holding-pizza-boxes_23-2151309386.jpg",
          imageAlt: "Transparent pricing solution",
        },
        {
          id: "testimonial-4",
          name: "Alan Gutierrez",
          date: "8 years ago",
          title: "Friendly, Efficient, and Quality Service",
          quote: "I cannot say enough about how easy Robin and the staff at Linus Heating and Air Conditioning are to work with. Friendly, efficient, and quality service all the way around. We are very pleased with our new furnace. They also do everything.",
          tag: "New Furnace",
          avatarSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-correcting-grammar-mistakes_23-2150171372.jpg",
          avatarAlt: "Alan Gutierrez avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/car-being-taking-care-workshop_23-2149580570.jpg",
          imageAlt: "New furnace installation",
        },
        {
          id: "testimonial-5",
          name: "Frank Barnes",
          date: "5 years ago",
          title: "True Professional in Heating and Cooling",
          quote: "If you are looking for a true professional in Heating and Cooling, you don't need to look any further! Linus Heating and Air Conditioning is the place. I called and Guy was there the next day and not only did he fix my problem, he diagnosed.",
          tag: "Problem Diagnosis",
          avatarSrc: "http://img.b2bpic.net/free-photo/pensive-office-worker-sitting-table-looking-laptop_74855-4344.jpg",
          avatarAlt: "Frank Barnes avatar",
          imageSrc: "http://img.b2bpic.net/free-photo/man-engaged-household-task_23-2151741230.jpg",
          imageAlt: "Technician diagnosing HVAC issue",
        },
      ]}
      title="What Our Valued Clients Say"
      description="We're proud of the trust our customers place in us. Read their experiences with Linus Heating and Air Conditioning."
      tag="Customer Love"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqDouble
      textboxLayout="default"
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq-1",
          title: "What areas do you serve?",
          content: "We proudly serve residential and commercial clients within a 50-mile radius of our main office. Please contact us to confirm service availability in your specific location.",
        },
        {
          id: "faq-2",
          title: "Do you offer emergency services?",
          content: "Yes, we provide 24/7 emergency repair services for both heating and air conditioning systems. Our technicians are always on standby to restore your comfort quickly.",
        },
        {
          id: "faq-3",
          title: "What brands do you work with?",
          content: "We service and install all major brands of HVAC equipment. Our technicians are factory-trained and certified to handle a wide range of systems, ensuring quality work regardless of the manufacturer.",
        },
        {
          id: "faq-4",
          title: "How often should I have my HVAC system serviced?",
          content: "We recommend professional maintenance at least twice a year – once in the spring for your AC and once in the fall for your heating system. Regular tune-ups can prevent costly breakdowns and improve efficiency.",
        },
        {
          id: "faq-5",
          title: "What payment options do you accept?",
          content: "We accept all major credit cards, personal checks, and offer flexible financing options to make your HVAC services more affordable. Please speak with our team for more details.",
        },
      ]}
      title="Common Questions About Our Services"
      description="Find quick answers to your heating, cooling, and air quality inquiries."
      tag="FAQs"
      faqsAnimation="reveal-blur"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactText
      useInvertedBackground={true}
      background={{
        variant: "radial-gradient",
      }}
      text="Ready for unparalleled comfort? Contact Linus Heating & Air today for a free quote!"
      buttons={[
        {
          text: "Call Us Now",
          href: "tel:+1234567890",
        },
        {
          text: "Email Us",
          href: "mailto:info@linushvac.com",
        },
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterLogoReveal
      logoText="Linus Heating & Air"
      leftLink={{
        text: "Privacy Policy",
        href: "#",
      }}
      rightLink={{
        text: "Terms of Service",
        href: "#",
      }}
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
