"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FaqSplitText from '@/components/sections/faq/FaqSplitText';
import FeatureBorderGlow from '@/components/sections/feature/featureBorderGlow/FeatureBorderGlow';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import PricingCardEight from '@/components/sections/pricing/PricingCardEight';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import SplitAbout from '@/components/sections/about/SplitAbout';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import { Activity, Award, Building, CalendarCheck, CheckCircle2, Cloud, Cog, Home, Leaf, MessageSquare, Phone, Quote, Star, Wallet, Wrench } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="reveal-blur"
        borderRadius="soft"
        contentWidth="medium"
        sizing="medium"
        background="circleGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="shadow"
        secondaryButtonStyle="layered"
        headingFontWeight="medium"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarStyleFullscreen
      navItems={[
        {
          name: "Home",          id: "#hero"},
        {
          name: "About Us",          id: "#about"},
        {
          name: "Services",          id: "#services"},
        {
          name: "Pricing",          id: "#pricing"},
        {
          name: "Testimonials",          id: "#testimonials"},
        {
          name: "FAQ",          id: "#faq"},
        {
          name: "Contact",          id: "#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/creative-hvac-logo-template_23-2149215673.jpg"
      logoAlt="Bangalore HVAC Experts Logo"
      brandName="Bangalore HVAC Experts"
      bottomLeftText="Call for Service: +91 80 1234 5678"
      bottomRightText="info@bangalorehvac.com"
      button={{
        text: "Get Free Quote",        href: "#contact"}}
    />
  </div>

  <div id="hero" data-section="hero">
      <HeroOverlayTestimonial
      title="Stay Cool, Bangalore! Expert HVAC Services At Your Doorstep"
      description="Experience unparalleled comfort with Bangalore's leading HVAC specialists. From rapid repairs to new installations, we ensure your home or business has perfect climate control. Get a free quote today!"
      testimonials={[
        {
          name: "Priya Sharma",          handle: "@priyasharma_BLR",          testimonial: "Amazing service! My AC was fixed within hours. Highly recommend Bangalore HVAC Experts!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/young-man-casual-clothes-smiling-cheerfully-showing-thumbs-up-sitting-chair-light-living-room_141793-101772.jpg",          imageAlt: "Priya Sharma"},
        {
          name: "Rajesh Kumar",          handle: "@rajesh_k",          testimonial: "Professional and efficient installation. Our office is finally comfortable year-round.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/great-time-home-beautiful-young-smiling-woman-working-laptop-while-sitting-big-comfortable-chair-home_231208-609.jpg",          imageAlt: "Rajesh Kumar"},
        {
          name: "Anita Devi",          handle: "@anita_devi",          testimonial: "They truly care about customer satisfaction. My elderly parents are so happy with their prompt service.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/horizontal-portrait-beautiful-positive-young-european-female-blue-shirt-dress-relaxing-home-looking-front-with-easy-carefree-smile_343059-3894.jpg",          imageAlt: "Anita Devi"},
        {
          name: "Sanjay & Meena",          handle: "@bangalore_home",          testimonial: "New AC installed perfectly! The team was courteous and tidy. Great value!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/couple-looking-tablet-park_23-2147779567.jpg",          imageAlt: "Sanjay & Meena"},
        {
          name: "Kiran Rao",          handle: "@kiran_corp",          testimonial: "Our commercial HVAC system needed urgent repair. Bangalore HVAC was quick and reliable.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/satisfied-customer-shaking-hands-with-mechanic_1170-1424.jpg",          imageAlt: "Kiran Rao"},
      ]}
      testimonialRotationInterval={6000}
      tag="Your Comfort, Our Priority"
      tagIcon={Star}
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Get a Free Estimate",          href: "#contact"},
        {
          text: "Call Us Now",          href: "tel:+918012345678"},
      ]}
      buttonAnimation="slide-up"
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/young-indian-man-suit-tie-posed-against-pink-wall_627829-13303.jpg",          alt: "Customer Avatar 1"},
        {
          src: "http://img.b2bpic.net/free-photo/young-man-travelling-by-city-bus_23-2148958101.jpg",          alt: "Customer Avatar 2"},
        {
          src: "http://img.b2bpic.net/free-photo/young-male-posing-isolated-against-blank-studio-wall_273609-12356.jpg",          alt: "Customer Avatar 3"},
        {
          src: "http://img.b2bpic.net/free-photo/front-view-smiley-friends_23-2148576843.jpg",          alt: "Customer Avatar 4"},
        {
          src: "http://img.b2bpic.net/free-photo/elegant-indian-macho-man-model-suit-pink-tie-posed-winter-day_627829-1596.jpg",          alt: "Elegant indian macho man model on suit and pink tie posed on winter day"},
      ]}
      avatarText="Trusted by 1000+ Happy Customers"
      imageSrc="http://img.b2bpic.net/free-photo/repairman-reporting-found-freon-leaks_482257-92670.jpg"
      imageAlt="HVAC technician working on an AC unit in a modern home in Bangalore"
      showDimOverlay={false}
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="about" data-section="about">
      <SplitAbout
      textboxLayout="default"
      useInvertedBackground={true}
      imagePosition="right"
      title="Your Trusted HVAC Partner in Bangalore"
      description="At Bangalore HVAC Experts, we're dedicated to providing superior heating, ventilation, and air conditioning solutions across the city. With years of experience and a team of certified technicians, we deliver reliable, efficient, and affordable services for both residential and commercial clients."
      tag="Quality & Expertise"
      tagIcon={CheckCircle2}
      tagAnimation="slide-up"
      buttons={[
        {
          text: "Discover Our Commitment",          href: "#"},
      ]}
      buttonAnimation="slide-up"
      bulletPoints={[
        {
          title: "Certified Technicians",          description: "Our team comprises highly trained and certified HVAC professionals committed to excellence."},
        {
          title: "24/7 Emergency Service",          description: "We're available round the clock to address your urgent AC repair and maintenance needs."},
        {
          title: "Customer Satisfaction",          description: "Your comfort is our top priority. We guarantee satisfaction with every service."},
      ]}
      imageSrc="http://img.b2bpic.net/free-photo/anonymous-man-discussing-data-tablet_23-2147785036.jpg"
      imageAlt="HVAC technician explaining services to a customer in Bangalore"
      mediaAnimation="opacity"
    />
  </div>

  <div id="services" data-section="services">
      <FeatureBorderGlow
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          icon: Cloud,
          title: "AC Installation",          description: "Expert installation of all types of AC units, ensuring optimal performance and energy efficiency for your home or office."},
        {
          icon: Wrench,
          title: "AC Repair & Servicing",          description: "Fast and reliable repair services for all AC brands. Our technicians diagnose and fix issues promptly to restore your comfort."},
        {
          icon: Activity,
          title: "Preventive Maintenance",          description: "Regular maintenance plans to extend the lifespan of your HVAC system, improve air quality, and prevent costly breakdowns."},
        {
          icon: Leaf,
          title: "Indoor Air Quality",          description: "Solutions for cleaner, healthier indoor air, including air purifiers, humidifiers, and ventilation system checks."},
        {
          icon: Building,
          title: "Commercial HVAC",          description: "Specialized HVAC services for businesses, ensuring a comfortable and productive environment for your employees and customers."},
      ]}
      title="Comprehensive HVAC Solutions"
      description="We offer a full spectrum of HVAC services tailored to meet the unique climate needs of Bangalore. From installation to preventive maintenance, we've got you covered."
      tag="Our Expertise"
      tagIcon={Cog}
      tagAnimation="slide-up"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardEight
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "basic-service",          badge: "Residential",          badgeIcon: Home,
          price: "₹1499",          subtitle: "Basic AC Check-up",          buttons: [
            {
              text: "Book Now",              href: "#contact"},
          ],
          features: [
            "Thorough AC unit inspection",            "Filter cleaning",            "Coolant level check",            "Basic functional test"],
        },
        {
          id: "annual-maintenance",          badge: "Most Popular",          badgeIcon: CalendarCheck,
          price: "₹4999",          subtitle: "Annual Maintenance Contract",          buttons: [
            {
              text: "Enroll Now",              href: "#contact"},
          ],
          features: [
            "2 preventive services per year",            "Priority emergency repairs",            "10% discount on spare parts",            "Extended warranty on services"],
        },
        {
          id: "commercial-plan",          badge: "Business",          badgeIcon: Building,
          price: "Custom Quote",          subtitle: "Tailored Commercial Solutions",          buttons: [
            {
              text: "Get a Quote",              href: "#contact"},
          ],
          features: [
            "On-site system assessment",            "Customized maintenance schedule",            "Dedicated account manager",            "24/7 commercial support"],
        },
      ]}
      title="Transparent Service Packages"
      description="Choose from our flexible service plans designed to fit your needs and budget. All prices are competitive and upfront, with no hidden costs."
      tag="Affordable Comfort"
      tagIcon={Wallet}
      tagAnimation="slide-up"
    />
  </div>

  <div id="social-proof" data-section="social-proof">
      <SocialProofOne
      textboxLayout="default"
      useInvertedBackground={false}
      names={[
        "Corporate Hubs",        "Tech Parks",        "Hospitality Groups",        "Retail Chains",        "Educational Institutions",        "Healthcare Facilities",        "Residential Complexes"]}
      title="Trusted by Leading Businesses in Bangalore"
      description="Our commitment to excellence has made us the preferred HVAC partner for diverse industries across the city. Join our growing list of satisfied commercial clients."
      tag="Our Valued Clients"
      tagIcon={Award}
      tagAnimation="slide-up"
      buttons={[
        {
          text: "See Our Case Studies",          href: "#"},
      ]}
      buttonAnimation="slide-up"
      speed={50}
    />
  </div>

  <div id="testimonials" data-section="testimonials">
      <TestimonialCardSix
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      testimonials={[
        {
          id: "t1",          name: "Preeti Singh",          handle: "Residential Client",          testimonial: "The best AC service in Bangalore! Quick, efficient, and very professional. My old AC feels brand new.",          imageSrc: "http://img.b2bpic.net/free-photo/smiley-woman-posing-her-home_23-2148708980.jpg",          imageAlt: "Preeti Singh",          icon: Quote,
        },
        {
          id: "t2",          name: "Arjun Reddy",          handle: "Business Owner",          testimonial: "Exceptional commercial HVAC maintenance. Our office environment has never been more consistent.",          imageSrc: "http://img.b2bpic.net/free-photo/smiling-happily-with-hand-hip-confident-positive-proud-friendly-attitude_1194-633391.jpg",          imageAlt: "Arjun Reddy",          icon: Quote,
        },
        {
          id: "t3",          name: "The Murthy Family",          handle: "Homeowners",          testimonial: "We got a new AC installed, and the team was fantastic. Clean work, polite, and explained everything clearly.",          imageSrc: "http://img.b2bpic.net/free-photo/front-view-senior-people-with-tablet_23-2149893904.jpg",          imageAlt: "The Murthy Family",          icon: Quote,
        },
        {
          id: "t4",          name: "Sneha Prakash",          handle: "Startup CEO",          testimonial: "Responsive emergency repair! Our server room AC failed, and they were there within an hour. Lifesavers!",          imageSrc: "http://img.b2bpic.net/free-photo/happy-female-colleagues-embracing-with-eyes-closed-while-having-coffee-break-cafe_637285-8148.jpg",          imageAlt: "Sneha Prakash",          icon: Quote,
        },
        {
          id: "t5",          name: "Vikram & Pooja",          handle: "Apartment Residents",          testimonial: "Our annual maintenance contract with them gives us peace of mind. Great value and superb service every time.",          imageSrc: "http://img.b2bpic.net/free-photo/lovely-senior-couple-dancing-together_23-2148268622.jpg",          imageAlt: "Vikram & Pooja",          icon: Quote,
        },
      ]}
      title="What Our Bangalore Customers Say"
      description="Don't just take our word for it. Read honest feedback from our happy clients who trust us with their comfort."
      tag="Customer Raves"
      tagIcon={MessageSquare}
      tagAnimation="slide-up"
    />
  </div>

  <div id="faq" data-section="faq">
      <FaqSplitText
      useInvertedBackground={false}
      faqs={[
        {
          id: "faq1",          title: "What areas in Bangalore do you serve?",          content: "We proudly serve all major areas within Bangalore, including Indiranagar, Koramangala, Jayanagar, HSR Layout, Whitefield, Electronic City, and more. Contact us to confirm service availability in your specific location."},
        {
          id: "faq2",          title: "How quickly can you respond to an emergency AC repair?",          content: "Our emergency response team is available 24/7. We aim to reach your location within 1-2 hours for urgent AC repair requests across Bangalore to restore your comfort swiftly."},
        {
          id: "faq3",          title: "Do you offer annual maintenance contracts (AMCs)?",          content: "Yes, we offer comprehensive annual maintenance contracts for both residential and commercial clients. Our AMCs include regular check-ups, preferential service, and discounts on parts to keep your system running smoothly."},
        {
          id: "faq4",          title: "What brands of AC units do you service?",          content: "Our certified technicians are experienced in servicing and repairing all major brands of AC units, including Daikin, LG, Samsung, Voltas, Hitachi, Blue Star, Carrier, and many others. We also handle lesser-known brands."},
        {
          id: "faq5",          title: "How can I get a free estimate?",          content: "You can request a free estimate by filling out the contact form on our website, calling us directly, or sending an email. We'll schedule a convenient time for an on-site assessment."},
      ]}
      sideTitle="Got Questions? We Have Answers."
      sideDescription="Find quick answers to the most common questions about our HVAC services in Bangalore. If you don't find what you're looking for, feel free to contact us directly!"
      buttons={[
        {
          text: "Ask a Question",          href: "#contact"},
      ]}
      buttonAnimation="slide-up"
      faqsAnimation="slide-up"
      textPosition="left"
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactSplit
      useInvertedBackground={true}
      background={{
        variant: "plain"}}
      tag="Get Your HVAC Needs Sorted"
      title="Request a Free Quote or Call Us Today!"
      description="Ready for reliable HVAC service? Fill out the form below to get a free, no-obligation estimate, or call us directly for immediate assistance. Your comfort is just a click or call away!"
      tagIcon={Phone}
      tagAnimation="slide-up"
      imageSrc="http://img.b2bpic.net/free-photo/young-female-male-plumbers-keep-hand-as-pray_273609-8786.jpg"
      imageAlt="HVAC technicians discussing plans on site with a tablet"
      mediaAnimation="opacity"
      mediaPosition="right"
      inputPlaceholder="Enter your email"
      buttonText="Get Your Free Quote"
      termsText="By clicking, you agree to receive communications from Bangalore HVAC Experts. We respect your privacy."
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterBaseReveal
      logoSrc="http://img.b2bpic.net/free-vector/creative-hvac-logo-template_23-2149215673.jpg"
      logoAlt="Bangalore HVAC Experts Logo"
      logoText="HVAC Experts"
      columns={[
        {
          title: "Services",          items: [
            {
              label: "AC Installation",              href: "#services"},
            {
              label: "AC Repair",              href: "#services"},
            {
              label: "Maintenance Plans",              href: "#services"},
            {
              label: "Commercial HVAC",              href: "#services"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "#about"},
            {
              label: "Testimonials",              href: "#testimonials"},
            {
              label: "FAQ",              href: "#faq"},
            {
              label: "Contact Us",              href: "#contact"},
          ],
        },
        {
          title: "Connect",          items: [
            {
              label: "Call: +91 80 1234 5678",              href: "tel:+918012345678"},
            {
              label: "Email: info@bangalorehvac.com",              href: "mailto:info@bangalorehvac.com"},
            {
              label: "WhatsApp",              href: "https://wa.me/918012345678"},
            {
              label: "Google Maps",              href: "https://maps.app.goo.gl/YourLocation"},
          ],
        },
      ]}
      copyrightText="© 2024 Bangalore HVAC Experts. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}