"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroSplitTestimonial from '@/components/sections/hero/HeroSplitTestimonial';
import FeatureBento from '@/components/sections/feature/FeatureBento';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import PricingCardThree from '@/components/sections/pricing/PricingCardThree';
import TeamCardOne from '@/components/sections/team/TeamCardOne';
import ContactCTA from '@/components/sections/contact/ContactCTA';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { AirConditioning, Wrench, Zap, ShieldCheck, Sparkles, Star } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="bounce-effect"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="small"
      sizing="mediumLargeSizeMediumTitles"
      background="noiseDiagonalGradient"
      cardStyle="gradient-bordered"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="CONEJO SERVICES"
          logoSrc="http://img.b2bpic.net/free-photo/isolated-white-house-silhouette-minimal-black-landscape_1194-641505.jpg"
          logoAlt="Conejo Services Logo"
          navItems={[
            { name: "Services", id: "#services" },
            { name: "Why Us", id: "#why-conejo" },
            { name: "Reviews", id: "#reviews" },
            { name: "Membership", id: "#membership" },
            { name: "About", id: "#about" },
            { name: "Contact", id: "#contact" }
          ]}
        />
      </div>
      <div id="hero" data-section="hero">
        <HeroSplitTestimonial
          title="Beverly Hills' Most Trusted Home Services — Since 1977"
          description="HVAC · Plumbing · Electrical · Available 24/7\n\n⭐ 4.9 Stars (2,663 Reviews) | ✅ Licensed & Background Checked | 🏠 Family-Owned 47+ Years"
          background={{ variant: "radial-gradient" }}
          testimonials={[
            { name: "Sarah P.", handle: "@sarahp", testimonial: "Conejo Services is simply the best! Professional, prompt, and truly cared for my home.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/closeup-confident-asian-man-with-arms-crossed_1262-884.jpg", imageAlt: "Sarah P. avatar" },
            { name: "Michael L.", handle: "@michaell", testimonial: "Impeccable service! They fixed our AC quickly and efficiently. Highly recommend.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/front-close-view-young-female-dark-jacket-making-funny-faces-pink-background_179666-30952.jpg", imageAlt: "Michael L. avatar" },
            { name: "Emily R.", handle: "@emilyr", testimonial: "Friendly, knowledgeable technicians. Our plumbing issue was resolved with ease.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/young-handsome-man-beige-turtleneck-smiling-cheerfully-showing-teeth_141793-54841.jpg", imageAlt: "Emily R. avatar" },
            { name: "David K.", handle: "@davidk", testimonial: "Prompt and transparent pricing. No surprises and excellent electrical work.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-female-dentist-dentistry-concept-dental-treatment_169016-67131.jpg", imageAlt: "David K. avatar" },
            { name: "Jessica M.", handle: "@jessicam", testimonial: "Consistently reliable. They are our go-to for all home service needs in Conejo Valley.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/elderly-businessman-posing_23-2148116283.jpg", imageAlt: "Jessica M. avatar" }
          ]}
          mediaAnimation="slide-up"
          useInvertedBackground={true}
          tag="$100 OFF Emergency Dispatch Fees — Limited Time"
          buttons={[
            { text: "Call Now: (805) 398-0659", href: "tel:+18053980659" },
            { text: "Get a Free Estimate", href: "#contact" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/electrical-technician-looking-focused-while-working-switchboard-with-fuses_169016-23922.jpg"
          imageAlt="HVAC technician working in a modern home interior"
        />
      </div>
      <div id="services" data-section="services">
        <FeatureBento
          title="Our Comprehensive Home Services"
          description="From heating and cooling to plumbing and electrical, Conejo Services covers all your home needs. Experienced technicians, quality work, and reliable solutions. 24/7 Emergency Service Available — We Answer Every Call"
          features={[
            { title: "Heating & Air Conditioning", description: "Installation, repair, and maintenance for all makes and models. AC tune-ups, duct cleaning, ductless systems, thermostat installation. We keep your home comfortable year-round.", bentoComponent: "reveal-icon", icon: AirConditioning },
            { title: "Plumbing Services", description: "Water heater installation, leak repairs, garbage disposal, drain cleaning, and full-service plumbing. Fast same-day service available.", bentoComponent: "reveal-icon", icon: Wrench },
            { title: "Electrical Services", description: "Outlets, panel upgrades, wiring, and more. Our licensed electricians handle everything safely and to code.", bentoComponent: "reveal-icon", icon: Zap }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>
      <div id="why-conejo" data-section="why-conejo">
        <TestimonialAboutCard
          tag="Our Promise"
          title="Why Choose Conejo Services?"
          description={`"From the phone service to the sales team to the installation crew — Conejo delivers for each and every customer. Zero pressure to buy."`}
          subdescription={`🔵 On-Time Arrival + Live GPS Technician Tracking
🔵 Shoe Covers & Full Home Respect, Every Visit
🔵 Transparent Pricing — No Surprise Charges
🔵 Named Technicians: Greg, Carlos, Juan, James, Craig & more
🔵 Google Verified · Licensed · Background Checked`}
          icon={ShieldCheck}
          imageSrc="http://img.b2bpic.net/free-photo/man-electrical-technician-working-switchboard-with-fuses-uses-tablet_169016-23790.jpg"
          imageAlt="Friendly technician smiling"
          mediaAnimation="slide-up"
          useInvertedBackground={true}
        />
      </div>
      <div id="reviews" data-section="reviews">
        <TestimonialCardFifteen
          testimonial={`"If I could give them 100 stars I would! Amazing job from all aspects — top notch quality installation and equipment."`}
          rating={5}
          author="Jane M. (Verified Google Review)"
          avatars={[
            { src: "http://img.b2bpic.net/free-photo/excited-handsome-blonde-man-looking-front-isolated-purple-wall_141793-66160.jpg", alt: "Jane M. avatar" },
            { src: "http://img.b2bpic.net/free-photo/close-up-good-looking-smiling-friendly-female-trainee-ready-tackle-assignments-smiling-broadly-feeling-lucky-day-work-self-assured-encouraged-achieve-success-goal-white-wall_176420-35567.jpg", alt: "Jenny J. avatar" },
            { src: "http://img.b2bpic.net/free-photo/african-american-man-white-t-shirt_273609-14766.jpg", alt: "K. Thompson avatar" },
            { src: "http://img.b2bpic.net/free-photo/person-indian-origin-having-fun_23-2150285284.jpg", alt: "J. Will avatar" },
            { src: "http://img.b2bpic.net/free-photo/upbeat-saleswoman-hired-explain-vehicle-pricing-options-clients_482257-118422.jpg", alt: "Customer avatar" }
          ]}
          ratingAnimation="blur-reveal"
          avatarsAnimation="blur-reveal"
          useInvertedBackground={false}
        />
      </div>
      <div id="membership" data-section="membership">
        <PricingCardThree
          title="The Conejo Platinum Service Plan"
          description="Your home. Maintained. All year long. Join thousands of homeowners on our Preferred Maintenance Club. Annual tune-ups, priority scheduling, member discounts, and peace of mind — all in one plan. 'I signed up for their Platinum Service package and it is a very good deal!'"
          plans={[
            { id: "standard", badge: "Value", badgeIcon: Sparkles, price: "Call for Quote", name: "Standard Service Plan", buttons: [{ text: "Learn More", href: "#" }], features: ["Annual System Check", "Basic Priority", "10% Off Repairs"] },
            { id: "platinum", badge: "Most Popular", badgeIcon: Star, price: "Call for Quote", name: "Conejo Platinum Service Plan", buttons: [{ text: "Get Plan Details", href: "#" }], features: ["Annual HVAC & Plumbing Tune-ups", "Priority Scheduling", "Exclusive Member Discounts", "Extended Warranty Options", "Peace of Mind Coverage"] }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
        />
      </div>
      <div id="about" data-section="about">
        <TeamCardOne
          title="Family-Owned. Neighbor-Trusted. Since 1977."
          description="For over 47 years, Conejo Services has been the name Conejo Valley and Beverly Hills families call when it matters most. We're not a call center — we're your neighbors. Every technician is background-checked, licensed, and trained to treat your home with the same care they'd give their own. When you call us, a real person answers. When we arrive, you'll know our name."
          members={[
            { id: "family", name: "The Conejo Services Family", role: "Owners & Operators", imageSrc: "http://img.b2bpic.net/free-photo/close-up-company-team-working_23-2149145125.jpg", imageAlt: "Family photo of Conejo Services owners" }
          ]}
          gridVariant="one-large-left-three-stacked-right"
          animationType="slide-up"
          textboxLayout="split"
          useInvertedBackground={false}
        />
      </div>
      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Your Local Experts"
          title="Ready When You Are — Day or Night"
          description="Emergency? Maintenance? New install? We've got you. Serves Beverly Hills & Conejo Valley | Open 24 Hours | Free Estimates | $100 Off Emergency Dispatch"
          buttons={[
            { text: "📞 Call (805) 398-0659", href: "tel:+18053980659" },
            { text: "📋 Request a Free Estimate", href: "#contact" }
          ]}
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={true}
        />
      </div>
      <div id="footer" data-section="footer">
        <FooterBaseReveal
          logoSrc="http://img.b2bpic.net/free-photo/isolated-white-house-silhouette-minimal-black-landscape_1194-641505.jpg"
          logoAlt="Conejo Services Logo"
          logoText="CONEJO SERVICES"
          columns={[
            { title: "Services", items: [{ label: "HVAC", href: "#services" }, { label: "Plumbing", href: "#services" }, { label: "Electrical", href: "#services" }, { label: "Emergency Service", href: "#services" }] },
            { title: "Company", items: [{ label: "About Us", href: "#about" }, { label: "Why Conejo", href: "#why-conejo" }, { label: "Reviews", href: "#reviews" }, { label: "Membership", href: "#membership" }] },
            { title: "Contact", items: [{ label: "Get a Quote", href: "#contact" }, { label: "Call Us", href: "tel:+18053980659" }] }
          ]}
          copyrightText="© 2024 Conejo Services HVAC, Plumbing & Electrical | Licensed & Insured | Serving Beverly Hills & Surrounding Areas"
        />
      </div>
    </ThemeProvider>
  );
}
