"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqBase from '@/components/sections/faq/FaqBase';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import FooterBase from '@/components/sections/footer/FooterBase';
import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import MetricSplitMediaAbout from '@/components/sections/about/MetricSplitMediaAbout';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="shift-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="smallMedium"
        sizing="mediumLarge"
        background="blurBottom"
        cardStyle="gradient-radial"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="solid"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",
          id: "#home",
        },
        {
          name: "About",
          id: "#about",
        },
        {
          name: "Features",
          id: "#features",
        },
        {
          name: "Products",
          id: "#products",
        },
        {
          name: "Pricing",
          id: "#pricing",
        },
        {
          name: "Metrics",
          id: "#metrics",
        },
        {
          name: "Testimonials",
          id: "#testimonials",
        },
        {
          name: "FAQ",
          id: "#faq",
        },
        {
          name: "Contact",
          id: "#contact",
        },
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fel9pk"
      logoAlt="Arctic Cooling Company Logo"
      brandName="ACC"
    />
  </div>

  <div id="home" data-section="home">
      <HeroSplitDualMedia
      background={{
        variant: "plain",
      }}
      title="Experience Unmatched Cooling Comfort"
      description="Arctic Cooling Company delivers state-of-the-art HVAC solutions designed for optimal efficiency, superior air quality, and lasting reliability. Stay cool, save energy, and breathe easy with our expert service."
      tag="Innovative Climate Solutions"
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Get a Free Quote",
          href: "#contact",
        },
        {
          text: "Explore Our Products",
          href: "#products",
        },
      ]}
      buttonAnimation="slide-up"
      mediaItems={[
        {
          imageSrc: "http://img.b2bpic.net/free-photo/home-automation-with-water-boiler-device_23-2148994135.jpg?_wi=1",
          imageAlt: "Smart thermostat displaying cool temperature",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-women-happy-smile-relax-sitting-sofa-chair_74190-9445.jpg?_wi=1",
          imageAlt: "Family relaxing in a comfortably cool living room",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/man-adjusting-thermostat-wall_23-2152024178.jpg",
          imageAlt: "Man adjusting thermostat on wall",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/young-woman-using-home-technology_23-2149216659.jpg",
          imageAlt: "Young woman using home technology",
        },
        {
          imageSrc: "http://img.b2bpic.net/free-photo/smart-home-thermostat-control_23-2152024168.jpg",
          imageAlt: "Smart home thermostat control",
        },
      ]}
      mediaAnimation="slide-up"
      rating={5}
      ratingText="5-Star Customer Satisfaction"
    />
  </div>

  <div id="about" data-section="about">
      <MetricSplitMediaAbout
      useInvertedBackground={true}
      title="About Arctic Cooling Company"
      description="For over two decades, Arctic Cooling Company has been a leader in providing advanced HVAC and refrigeration services. Our commitment to innovation, customer satisfaction, and environmental responsibility drives us to deliver the best cooling solutions tailored to your needs."
      metrics={[
        {
          value: "20+",
          title: "Years of Expertise",
        },
        {
          value: "5000+",
          title: "Projects Completed",
        },
        {
          value: "99%",
          title: "Customer Satisfaction",
        },
      ]}
      tag="Your Trusted HVAC Partner"
      tagAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/architectural-blueprints_1359-454.jpg"
      imageAlt="Engineers collaborating on cooling system design"
      mediaAnimation="slide-up"
      metricsAnimation="slide-up"
    />
  </div>

  <div id="features" data-section="features">
      <FeatureCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "Smart Climate Control",
          description: "Manage your indoor climate with intuitive smart thermostats and mobile apps, offering unparalleled control and energy efficiency.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/woman-using-digital-assistant-her-tablet_23-2149108007.jpg",
            imageAlt: "Smart home app for climate control",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-wearing-helmets-work_23-2149366667.jpg",
            imageAlt: "Outdoor AC unit",
          },
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fel9pk",
          imageAlt: "smart home app climate control",
        },
        {
          title: "Superior Air Quality",
          description: "Our systems integrate advanced air purification and filtration technologies, ensuring you breathe cleaner, healthier air free from allergens and pollutants.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/full-shot-smiley-woman-sitting-with-cat_23-2149395798.jpg",
            imageAlt: "Indoor air quality monitor",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/close-up-ventilation-system_23-2149388961.jpg",
            imageAlt: "Ducted air vents",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/home-automation-with-water-boiler-device_23-2148994135.jpg?_wi=2",
          imageAlt: "smart home app climate control",
        },
        {
          title: "Reliable Service & Support",
          description: "Benefit from our dedicated team of certified technicians providing fast, efficient installation, maintenance, and 24/7 emergency support.",
          phoneOne: {
            imageSrc: "http://img.b2bpic.net/free-photo/front-view-woman-relaxing-desk_23-2148521603.jpg",
            imageAlt: "Technician checking AC unit",
          },
          phoneTwo: {
            imageSrc: "http://img.b2bpic.net/free-photo/close-up-customer-support-worker-wearing-headset-following-call-script_482257-125782.jpg",
            imageAlt: "Customer support representative",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-beautiful-young-asian-women-happy-smile-relax-sitting-sofa-chair_74190-9445.jpg?_wi=2",
          imageAlt: "smart home app climate control",
        },
      ]}
      showStepNumbers={true}
      title="Innovative Solutions for Lasting Comfort"
      description="We engineer cooling systems that redefine comfort, efficiency, and air quality for your home or business."
      tag="Core Advantages"
      tagAnimation="slide-up"
    />
  </div>

  <div id="products" data-section="products">
      <ProductCardFour
      animationType="slide-up"
      textboxLayout="default"
      gridVariant="two-columns-alternating-heights"
      useInvertedBackground={true}
      products={[
        {
          id: "1",
          name: "Arctic Mini-Split Pro",
          price: "$1,200",
          variant: "Up to 24,000 BTU",
          imageSrc: "http://img.b2bpic.net/free-photo/couch-iluminated-by-large-window_1048-2487.jpg",
          imageAlt: "Sleek mini-split AC unit",
        },
        {
          id: "2",
          name: "Central Arctic Max",
          price: "$4,500",
          variant: "Whole Home Cooling",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-heat-pump-outside-home_23-2149250248.jpg",
          imageAlt: "Outdoor central AC unit",
        },
        {
          id: "3",
          name: "Portable Breeze",
          price: "$350",
          variant: "Personal Cooling",
          imageSrc: "http://img.b2bpic.net/free-photo/close-up-heat-pump-outside-home_23-2149250266.jpg",
          imageAlt: "Compact portable air conditioner",
        },
        {
          id: "4",
          name: "Smart Thermostat Elite",
          price: "$250",
          variant: "Wi-Fi Enabled",
          imageSrc: "http://img.b2bpic.net/free-photo/smart-speaker-house-control-innovative-technology_53876-102338.jpg",
          imageAlt: "Smart thermostat",
        },
        {
          id: "5",
          name: "Air Purifier Aura",
          price: "$180",
          variant: "HEPA Filter",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-with-smart-speaker_23-2149936213.jpg",
          imageAlt: "Air purification system",
        },
        {
          id: "6",
          name: "Commercial Arctic+",
          price: "Custom Quote",
          variant: "Industrial Grade",
          imageSrc: "http://img.b2bpic.net/free-photo/factory-workshop-interior-machines-glass-industry-background-process-production_645730-439.jpg",
          imageAlt: "Commercial HVAC unit",
        },
      ]}
      title="Discover Our Range of Cooling Products"
      description="From residential comfort to commercial power, find the perfect Arctic Cooling solution for your space."
      tag="Our Catalog"
      tagAnimation="slide-up"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardNine
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      plans={[
        {
          id: "basic",
          title: "Basic Maintenance",
          price: "$149",
          period: "/year",
          features: [
            "Annual System Check-up",
            "Filter Replacement (Standard)",
            "Minor Adjustments",
            "Priority Scheduling (Standard)",
          ],
          button: {
            text: "Choose Basic Plan",
            href: "#contact",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/front-view-man-working-as-plumber_23-2150746295.jpg",
          imageAlt: "Basic tools for maintenance",
        },
        {
          id: "premium",
          title: "Premium Care Plan",
          price: "$299",
          period: "/year",
          features: [
            "Bi-Annual System Check-up",
            "Advanced Filter Replacement",
            "Diagnostic Troubleshooting",
            "Emergency Service Discount",
            "Priority Scheduling (Premium)",
          ],
          button: {
            text: "Choose Premium Plan",
            href: "#contact",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/flat-lay-mechanic-supplies-composition_23-2149511911.jpg",
          imageAlt: "Advanced diagnostic equipment",
        },
        {
          id: "ultimate",
          title: "Ultimate Comfort Package",
          price: "$499",
          period: "/year",
          features: [
            "Quarterly System Check-ups",
            "Premium Air Quality Filters",
            "Comprehensive System Diagnostics",
            "Exclusive Repair Discounts",
            "24/7 Emergency Support",
            "Dedicated Account Manager",
          ],
          button: {
            text: "Choose Ultimate Plan",
            href: "#contact",
          },
          imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-photovoltaics-factory-workers-optimizing-production-flow_482257-120437.jpg",
          imageAlt: "Technician in premium uniform",
        },
      ]}
      title="Flexible Service Plans for Every Need"
      description="Select the perfect plan to keep your cooling systems running efficiently all year long."
      tag="Our Service Tiers"
      tagAnimation="slide-up"
    />
  </div>

  <div id="metrics" data-section="metrics">
      <MetricCardEleven
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      metrics={[
        {
          id: "1",
          value: "30%",
          title: "Energy Savings",
          description: "Our high-efficiency systems reduce energy consumption.",
          imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fg21od",
          imageAlt: "Energy savings icon",
        },
        {
          id: "2",
          value: "90%",
          title: "Reduced Carbon Footprint",
          description: "Committed to sustainable and eco-friendly practices.",
          imageSrc: "http://img.b2bpic.net/free-photo/radish-microgreens-with-seeds-roots-germination-seeds-home_169016-33556.jpg",
          imageAlt: "Reduced carbon footprint icon",
        },
        {
          id: "3",
          value: "4.9/5",
          title: "Customer Rating",
          description: "Consistently high satisfaction from our valued clients.",
          imageSrc: "http://img.b2bpic.net/free-photo/diverse-people-showing-golden-star-rating-symbol_53876-71536.jpg",
          imageAlt: "Customer rating stars",
        },
        {
          id: "4",
          value: "98%",
          title: "On-Time Service",
          description: "Timely installations and maintenance, every time.",
          imageSrc: "http://img.b2bpic.net/free-photo/hand-holding-wall-clock-still-life_23-2150533069.jpg",
          imageAlt: "On-time service calendar",
        },
      ]}
      title="Impactful Numbers That Speak for Themselves"
      description="Our commitment to excellence is reflected in the tangible benefits we bring to our clients and the environment."
      tag="Our Achievements"
      tagAnimation="slide-up"
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",
          name: "Sarah J.",
          role: "Homeowner",
          testimonial: "Arctic Cooling installed our new AC, and we couldn't be happier. The house is perfectly cool, and our energy bills have dropped significantly!",
          imageSrc: "http://img.b2bpic.net/free-photo/pleased-male-customer-guarantee-quality-show-okay-sign_176420-18709.jpg",
          imageAlt: "Sarah J.",
        },
        {
          id: "2",
          name: "Michael Chen",
          role: "Business Owner",
          testimonial: "Their commercial refrigeration solution was exactly what our restaurant needed. Professional installation and incredible efficiency.",
          imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-posing-her-home_23-2148708980.jpg",
          imageAlt: "Michael Chen",
        },
        {
          id: "3",
          name: "Emily R.",
          role: "Property Manager",
          testimonial: "The maintenance plan from Arctic Cooling is fantastic. Their technicians are always on time, polite, and ensure everything runs smoothly.",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-young-asian-businessman-businesswoman-meeting-brainstorming-some-new-ideas-about-project_7861-2781.jpg",
          imageAlt: "Emily R.",
        },
        {
          id: "4",
          name: "David Kim",
          role: "Residential Client",
          testimonial: "I appreciate the smart thermostat integration. It's so easy to control my home's temperature from anywhere. Truly a game-changer!",
          imageSrc: "http://img.b2bpic.net/free-photo/happy-caucasian-adult-brunette-woman-smiles-puts-her-thumb-forefinger-together-showing-that-everything-is-ok_197531-31190.jpg",
          imageAlt: "David Kim",
        },
        {
          id: "5",
          name: "Jessica L.",
          role: "Apartment Resident",
          testimonial: "My old unit was constantly breaking down. Arctic Cooling replaced it with a quiet, powerful mini-split, and I'm loving the peace and quiet.",
          imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-holding-pizza-boxes_23-2151309386.jpg",
          imageAlt: "Jessica L.",
        },
        {
          id: "6",
          name: "Robert B.",
          role: "Facility Director",
          testimonial: "Their team handled a complex industrial cooling project with expertise and precision. Highly recommended for large-scale solutions.",
          imageSrc: "http://img.b2bpic.net/free-photo/cheerful-hr-worker-interviewing-man-open-company-position_482257-123562.jpg",
          imageAlt: "Robert B.",
        },
      ]}
      title="What Our Valued Customers Say"
      description="Hear directly from clients who trust Arctic Cooling Company for their ultimate comfort and climate control needs."
      tag="Trusted by Many"
      tagAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqBase
      textboxLayout="default"
      useInvertedBackground={true}
      faqs={[
        {
          id: "1",
          title: "How often should I have my AC system serviced?",
          content: "We recommend annual maintenance for residential systems and bi-annual or quarterly maintenance for commercial systems to ensure optimal performance and longevity.",
        },
        {
          id: "2",
          title: "What is the average lifespan of an AC unit?",
          content: "With proper maintenance, a typical AC unit can last between 10 to 15 years. Regular servicing by professionals can extend its lifespan.",
        },
        {
          id: "3",
          title: "Can I save energy with a new cooling system?",
          content: "Absolutely! Modern AC units are significantly more energy-efficient than older models. Upgrading can lead to substantial savings on your utility bills.",
        },
        {
          id: "4",
          title: "Do you offer emergency repair services?",
          content: "Yes, we provide 24/7 emergency repair services for critical cooling system breakdowns. Contact us anytime for immediate assistance.",
        },
        {
          id: "5",
          title: "What types of cooling systems do you install?",
          content: "We install a wide range of systems, including central AC, mini-splits, heat pumps, and commercial refrigeration units. We'll help you choose the best fit for your space.",
        },
      ]}
      title="Frequently Asked Questions"
      description="Find quick answers to the most common questions about our services, products, and maintenance."
      tag="Need Help?"
      tagAnimation="slide-up"
      faqsAnimation="slide-up"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={false}
      background={{
        variant: "gradient-bars",
      }}
      tag="Get in Touch"
      title="Ready for Optimal Cooling?"
      description="Contact Arctic Cooling Company today for a free consultation or to schedule your next service. Our experts are here to help."
      tagAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/modern-skyscrapers-business-district_23-2148836789.jpg"
      imageAlt="Modern office building for Arctic Cooling Company"
      mediaAnimation="slide-up"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Request a Quote"
      termsText="By clicking Request a Quote, you agree to our privacy policy and terms of service."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBase
      columns={[
        {
          title: "Services",
          items: [
            {
              label: "Residential HVAC",
              href: "#products",
            },
            {
              label: "Commercial Solutions",
              href: "#products",
            },
            {
              label: "Maintenance Plans",
              href: "#pricing",
            },
            {
              label: "Emergency Repair",
              href: "#contact",
            },
          ],
        },
        {
          title: "Company",
          items: [
            {
              label: "About Us",
              href: "#about",
            },
            {
              label: "Our Values",
              href: "#about",
            },
            {
              label: "Careers",
              href: "#",
            },
            {
              label: "Contact Us",
              href: "#contact",
            },
          ],
        },
        {
          title: "Resources",
          items: [
            {
              label: "FAQs",
              href: "#faq",
            },
            {
              label: "Blog",
              href: "#",
            },
            {
              label: "Client Portal",
              href: "#",
            },
            {
              label: "Support",
              href: "#contact",
            },
          ],
        },
      ]}
      logoSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=fel9pk"
      logoAlt="Arctic Cooling Company Logo"
      logoText="Arctic Cooling Company"
      copyrightText="© 2024 Arctic Cooling Company. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
