"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";

import ContactCTA from '@/components/sections/contact/ContactCTA';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import HeroOverlayTestimonial from '@/components/sections/hero/HeroOverlayTestimonial';
import MetricCardThree from '@/components/sections/metrics/MetricCardThree';
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
import PricingCardOne from '@/components/sections/pricing/PricingCardOne';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import FeatureBento from '@/components/sections/feature/FeatureBento';

import { Award, Clock, Droplet, Gauge, Phone, Search, Sparkles, Star, Users, Waves, Wrench, MapPin, CalendarDays, ShoppingCart } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="expand-hover"
        defaultTextAnimation="entrance-slide"
        borderRadius="rounded"
        contentWidth="medium"
        sizing="largeSmallSizeMediumTitles"
        background="none"
        cardStyle="solid"
        primaryButtonStyle="primary-glow"
        secondaryButtonStyle="radial-glow"
        headingFontWeight="light"
    >
      <ReactLenis root>
  <div id="nav" data-section="nav">
      <NavbarLayoutFloatingOverlay
      navItems={[
        {
          name: "Home",          id: "/"},
        {
          name: "About Us",          id: "/about"},
        {
          name: "Services",          id: "/#services"},
        {
          name: "Reviews",          id: "/#reviews"},
        {
          name: "Order Online",          id: "/order-online"},
        {
          name: "Reservations",          id: "/reservations"},
        {
          name: "Contact",          id: "/#contact"},
      ]}
      logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-evil-eye-icon_23-2150148629.jpg"
      logoAlt="Omega Plumbing & Drain logo"
      brandName="Omega Plumbing & Drain"
      button={{
        text: "Call Now",        href: "tel:210-618-2887"}}
    />
  </div>

  <div id="home" data-section="home">
      <HeroOverlayTestimonial
      title="Your Trusted San Antonio Plumbing Experts"
      description="Omega Plumbing & Drain offers 24/7 emergency service, leak detection, drain cleaning, and more. Fast, reliable, and licensed plumbers ready to solve your toughest plumbing issues."
      testimonials={[
        {
          name: "Sarah J.",          handle: "@HappyClientTX",          testimonial: "Called Omega for an emergency leak late at night. They were at my door in under an hour and fixed it perfectly! So grateful for their fast response and professional work.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/woman-trying-listening-some-sound_1187-4036.jpg",          imageAlt: "Sarah J."},
        {
          name: "Michael R.",          handle: "@SATXHomeowner",          testimonial: "Highly recommend Omega Plumbing! They diagnosed and repaired our water main issue quickly and at a fair price. True professionals with excellent service.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/home-peace-time-only-me_329181-7411.jpg",          imageAlt: "Michael R."},
        {
          name: "Emily D.",          handle: "@LocalBizOwner",          testimonial: "Our business relies on functioning plumbing. Omega has been our go-to for years, handling everything from routine drain cleaning to unexpected repairs with top-notch skill.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/using-from-new-technology-is-easier-than-i-thought_329181-7959.jpg",          imageAlt: "Emily D."},
        {
          name: "David L.",          handle: "@SatisfiedCustomer",          testimonial: "Finding a reliable plumber can be tough, but Omega Plumbing makes it easy. Their team is knowledgeable, courteous, and gets the job done right the first time. Fantastic service!",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/male-real-estate-agent-doing-business-showing-house-potential-buying-couple_23-2150164666.jpg",          imageAlt: "David L."},
        {
          name: "Jessica M.",          handle: "@NewHomeowner",          testimonial: "As a new homeowner, plumbing issues are stressful. Omega Plumbing explained everything clearly and fixed my drain quickly. Felt completely at ease with their experienced team.",          rating: 5,
          imageSrc: "http://img.b2bpic.net/free-photo/old-zero-waste-shop-owner-does-marketing_482257-76263.jpg",          imageAlt: "Jessica M."},
      ]}
      buttons={[
        {
          text: "Call Now: 210-618-2887",          href: "tel:210-618-2887"},
        {
          text: "Request Service",          href: "/#contact"},
        {
          text: "Order Online",          href: "/order-online"},
        {
          text: "Make a Reservation",          href: "/reservations"},
      ]}
      avatars={[
        {
          src: "http://img.b2bpic.net/free-photo/service-maintenance-worker-repairing_23-2149176742.jpg",          alt: "Experienced Plumber"},
        {
          src: "http://img.b2bpic.net/free-photo/builder-woman-wearing-construction-uniform-safety-helmet-looking-confident-with-smile-face-pointing-with-index-fingers-down-isolated-white-wall_141793-14635.jpg",          alt: "Skilled Plumber"},
        {
          src: "http://img.b2bpic.net/free-photo/barber-with-hairbrush-pocket_140725-7931.jpg",          alt: "Senior Plumber"},
        {
          src: "http://img.b2bpic.net/free-photo/diy-activity-online-content-craft-creation_23-2151515939.jpg",          alt: "Friendly Technician"},
        {
          src: "http://img.b2bpic.net/free-photo/young-joyful-blonde-male-barber-uniform-puts-hands-belly-isolated-green-space-with-copy-space_141793-60188.jpg",          alt: "Professional Plumber"},
      ]}
      avatarText="Trusted by 1000+ San Antonio Residents"
      imageSrc="http://img.b2bpic.net/free-photo/man-adjusting-water-tap-with-wrench_259150-58269.jpg"
      imageAlt="Plumber working on pipes in a modern home"
      showDimOverlay={true}
      showBlur={true}
      textPosition="bottom"
    />
  </div>

  <div id="trust-elements" data-section="trust-elements">
      <MetricCardThree
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      metrics={[
        {
          id: "licensed",          icon: Award,
          title: "Licensed & Insured",          value: "Fully Compliant"},
        {
          id: "emergency",          icon: Clock,
          title: "24/7 Emergency Service",          value: "Rapid Response"},
        {
          id: "experienced",          icon: Sparkles,
          title: "Experienced Professionals",          value: "Skilled & Certified"},
      ]}
      title="Why Choose Omega Plumbing & Drain?"
      description="Our commitment to excellence ensures peace of mind for every customer in San Antonio."
    />
  </div>

  <div id="services" data-section="services">
      <FeatureCardTwentySix
      textboxLayout="default"
      useInvertedBackground={false}
      features={[
        {
          title: "24/7 Emergency Plumbing",          description: "Burst pipes, major leaks, or overflowing toilets – our rapid response team is available around the clock to handle your urgent plumbing crises efficiently.",          imageSrc: "https://img.b2bpic.net/free-photo/man-installs-heating-system-house-checks-pipes-with-wrench_169016-55822.jpg?id=219636595",          imageAlt: "Plumber responding to emergency call at night",          buttonIcon: Phone,
        },
        {
          title: "Advanced Leak Detection",          description: "Utilizing state-of-the-art technology, we accurately locate hidden leaks in walls, floors, and underground pipes to prevent costly water damage and conserve water.",          imageSrc: "https://img.b2bpic.net/free-photo/male-plumber-working-fix-problems-client-s-house_23-2150990705.jpg?id=94957533",          imageAlt: "Leak detection equipment scanning a wall",          buttonIcon: Search,
        },
        {
          title: "Thorough Drain Cleaning",          description: "From stubborn clogs to slow drains, we provide effective cleaning solutions for sinks, showers, toilets, and main sewer lines, ensuring free-flowing plumbing.",          imageSrc: "https://img.b2bpic.net/premium-photo/plumbing-repair-sewer-cleaning-toned-processing-food-chopper-repair_494741-49829.jpg?id=23544247",          imageAlt: "Plumber clearing a clogged drain with an auger",          buttonIcon: Droplet,
        },
        {
          title: "Water Main Repair & Installation",          description: "Expert services for diagnosing, repairing, or replacing damaged water mains, restoring essential water supply with minimal disruption to your property.",          imageSrc: "https://img.b2bpic.net/premium-photo/different-plumbing-fixtures-use-bathroom_128406-984.jpg?id=9664673",          imageAlt: "Water main repair in progress",          buttonIcon: Wrench,
        },
        {
          title: "High-Pressure Hydro Jetting",          description: "For tough blockages and accumulated debris, our hydro jetting service uses high-pressure water streams to thoroughly clean pipes, leaving them pristine.",          imageSrc: "https://img.b2bpic.net/free-photo/plumbing-repair-service_181624-27146.jpg?id=12152405",          imageAlt: "Hydro jetting equipment cleaning a pipe",          buttonIcon: Waves,
        },
      ]}
      title="Our Comprehensive Plumbing Services"
      description="We offer a full range of plumbing solutions to keep your home or business running smoothly. No job is too big or too small for our expert team."
      cardTitleClassName="text-white"
      cardDescriptionClassName="text-white"
    />
  </div>

  <div id="pricing" data-section="pricing">
      <PricingCardOne
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={true}
      plans={[
        {
          id: "drain-cleaning-price",          badge: "Standard",          badgeIcon: Droplet,
          price: "Starting at $150",          subtitle: "For basic clogs & maintenance",          features: [
            "Standard drain snaking",            "Video inspection (add-on)",            "Residential sinks & toilets"],
        },
        {
          id: "leak-detection-price",          badge: "Essential",          badgeIcon: Search,
          price: "Starting at $250",          subtitle: "Pinpointing hidden water leaks",          features: [
            "Non-invasive techniques",            "Detailed leak report",            "Minor patch repair (add-on)"],
        },
        {
          id: "emergency-call-price",          badge: "Urgent Care",          badgeIcon: Clock,
          price: "Call for Quote",          subtitle: "24/7 emergency response fee",          features: [
            "Immediate dispatch",            "After-hours service",            "Priority scheduling"],
        },
      ]}
      title="Transparent Service Pricing"
      description="While every plumbing situation is unique, here are starting price estimates for our most common services. Contact us for a precise quote tailored to your needs."
    />
  </div>

  <div id="reviews" data-section="reviews">
      <TestimonialCardTwo
      animationType="slide-up"
      textboxLayout="default"
      useInvertedBackground={false}
      testimonials={[
        {
          id: "1",          name: "Carlos G.",          role: "Homeowner, Stone Oak",          testimonial: "Omega Plumbing saved my weekend! Had a major pipe burst, and they were here within the hour. Professional, quick, and very tidy work. Highly recommend!",          imageSrc: "http://img.b2bpic.net/free-photo/amazing-beautiful-redhead-young-lady-sitting-cafe_171337-15285.jpg",          imageAlt: "Carlos G."},
        {
          id: "2",          name: "Maria L.",          role: "Restaurant Owner, Downtown",          testimonial: "Reliable and efficient service every time. Omega takes care of our restaurant's drains, and we haven't had a major clog since. Top-tier professionalism.",          imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-young-businessman-looking-camera_23-2147839978.jpg",          imageAlt: "Maria L."},
        {
          id: "3",          name: "John P.",          role: "Property Manager, Alamo Heights",          testimonial: "Their team is fantastic with leak detection. They found a hidden leak that other plumbers missed, saving us a ton on water damage. Trustworthy and skilled.",          imageSrc: "http://img.b2bpic.net/free-photo/old-woman-confronting-alzheimer-disease_23-2149043734.jpg",          imageAlt: "John P."},
        {
          id: "4",          name: "Sophia K.",          role: "Resident, Boerne",          testimonial: "I've used Omega for several years now, and they always exceed expectations. Their hydro jetting service cleared my old pipes like new. Excellent customer care.",          imageSrc: "http://img.b2bpic.net/free-photo/young-friends-having-good-conversation_23-2148653401.jpg",          imageAlt: "Sophia K."},
        {
          id: "5",          name: "Robert S.",          role: "Small Business Owner, North Loop",          testimonial: "For commercial plumbing, Omega is the best. They handled our water main repair without disrupting business hours. Fast, clean, and incredibly efficient. A lifesaver!",          imageSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2579.jpg",          imageAlt: "Robert S."},
        {
          id: "6",          name: "Olivia M.",          role: "Homeowner, Helotes",          testimonial: "Professional and courteous from start to finish. They arrived on time, clearly explained the issue, and fixed my drain cleaning problem quickly. Highly recommend their service!",          imageSrc: "http://img.b2bpic.net/free-photo/mother-taking-photo-grandmother-with-her-grandchildren-home_58466-16154.jpg",          imageAlt: "Olivia M."},
      ]}
      title="What Our Customers Say"
      description="Read honest feedback from our valued clients across San Antonio. Their satisfaction is our greatest reward."
    />
  </div>

  <div id="location-hours" data-section="location-hours">
      <FeatureBento
      animationType="blur-reveal"
      title="Visit Us or Check Our Hours"
      description="Find us easily and know when we're available. We're dedicated to serving the San Antonio community with reliable plumbing solutions."
      textboxLayout="default"
      useInvertedBackground={true}
      features={[
        {
          title: "Our Location",          description: "123 Plumbing Way, San Antonio, TX 78205",          bentoComponent: "map"},
        {
          title: "Business Hours",          description: "Monday - Friday: 8:00 AM - 5:00 PM\nSaturday: 9:00 AM - 1:00 PM\nSunday: Closed\n24/7 Emergency Service Available!",          bentoComponent: "reveal-icon",          icon: Clock,
        },
      ]}
    />
  </div>

  <div id="contact" data-section="contact">
      <ContactCTA
      useInvertedBackground={false}
      background={{
        variant: "radial-gradient"}}
      tag="Contact Us"
      title="Need Plumbing Help? Call Omega Today!"
      description="Don't let plumbing problems disrupt your life. Our expert team is ready to provide fast, reliable solutions 24/7. Reach out for immediate assistance or to schedule a service."
      buttons={[
        {
          text: "Call Now: 210-618-2887",          href: "tel:210-618-2887"},
        {
          text: "Request Service",          href: "mailto:info@omegaplumbingdrain.com"},
        {
          text: "Order Online",          href: "/order-online"},
        {
          text: "Make a Reservation",          href: "/reservations"},
      ]}
    />
  </div>

  <div id="footer" data-section="footer">
      <FooterMedia
      imageSrc="http://img.b2bpic.net/free-photo/close-up-surface-with-white-circles_1203-511.jpg?_wi=1"
      imageAlt="Omega Plumbing & Drain service van at night"
      logoSrc="http://img.b2bpic.net/free-vector/hand-drawn-evil-eye-icon_23-2150148629.jpg"
      logoAlt="Omega Plumbing & Drain logo"
      logoText="Omega Plumbing & Drain"
      columns={[
        {
          title: "Services",          items: [
            {
              label: "Emergency Plumbing",              href: "/#services"},
            {
              label: "Leak Detection",              href: "/#services"},
            {
              label: "Drain Cleaning",              href: "/#services"},
            {
              label: "Water Main Repair",              href: "/#services"},
            {
              label: "Hydro Jetting",              href: "/#services"},
          ],
        },
        {
          title: "Company",          items: [
            {
              label: "About Us",              href: "/about"},
            {
              label: "Testimonials",              href: "/#reviews"},
            {
              label: "Contact",              href: "/#contact"},
          ],
        },
        {
          title: "Legal",          items: [
            {
              label: "Privacy Policy",              href: "#"},
            {
              label: "Terms of Service",              href: "#"},
          ],
        },
      ]}
      copyrightText="© 2024 Omega Plumbing & Drain. All rights reserved."
    />
  </div>
      </ReactLenis>
    </ThemeProvider>
  );
}
