"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import FeatureCardNine from '@/components/sections/feature/FeatureCardNine';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardSix from '@/components/sections/testimonial/TestimonialCardSix';
import BlogCardThree from '@/components/sections/blog/BlogCardThree';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { MapPin, Briefcase, Award, Zap, Star, BookOpen, Quote, Lightbulb } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="mediumSmall"
      sizing="largeSmallSizeMediumTitles"
      background="circleGradient"
      cardStyle="outline"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Local Web Adelaide"
          navItems={[
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Portfolio", id: "portfolio" },
            { name: "Testimonials", id: "testimonials" },
            { name: "Contact", id: "contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Adelaide's Trusted Web Design Experts"
          description="We build high-performing, professional websites that turn visitors into customers. Locally owned, results-driven, and focused on your growth."
          tag="Adelaide Based"
          tagIcon={MapPin}
          tagAnimation="slide-up"
          buttons={[
            { text: "Book a Free Strategy Call", href: "#contact" },
            { text: "View Our Work", href: "#portfolio" }
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "animated-grid" }}
          carouselItems={[
            { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-vector/glowing-particle-wave-digital-technology-background_1017-30518.jpg?_wi=1", imageAlt: "Digital Pattern - Web Design" },
            { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=1", imageAlt: "Modern Website Design" },
            { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-vector/professional-dashboard-user-panel_23-2148310538.jpg?_wi=1", imageAlt: "Professional Interface" },
            { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-vector/shopping-online-landing-page-concept_23-2148529362.jpg?_wi=1", imageAlt: "Conversion-Focused Website" },
            { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg?_wi=1", imageAlt: "SEO Results" },
            { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-vector/glowing-particle-wave-digital-technology-background_1017-30518.jpg?_wi=2", imageAlt: "Digital Innovation" }
          ]}
          autoPlay={true}
          autoPlayInterval={4000}
          ariaLabel="Hero section with carousel"
        />
      </div>

      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="About Local Web Adelaide"
          tagIcon={Briefcase}
          tagAnimation="slide-up"
          title="Web Design Agency Built for Adelaide Businesses"
          description="We're a locally based Adelaide web design agency specializing in building clean, high-converting websites for small and medium businesses."
          subdescription="10+ years combined experience • 200+ projects delivered • 98% client satisfaction rate"
          icon={Award}
          imageSrc="http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=2"
          imageAlt="Local Web Adelaide Team"
          mediaAnimation="slide-up"
          useInvertedBackground={false}
          ariaLabel="About section"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardNine
          title="Services We Offer"
          description="Comprehensive web design and digital marketing solutions tailored to Adelaide businesses."
          tag="Our Services"
          tagIcon={Zap}
          tagAnimation="slide-up"
          features={[
            {
              id: 1,
              title: "Custom Website Design",              description: "Professional, responsive websites tailored to your brand and business goals. We create beautiful, functional websites that reflect your unique value proposition.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=3" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/professional-dashboard-user-panel_23-2148310538.jpg?_wi=2" }
            },
            {
              id: 2,
              title: "Website Redesign",              description: "Transform outdated websites into modern conversion machines. We breathe new life into existing sites with contemporary design and improved user experience.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-vector/professional-dashboard-user-panel_23-2148310538.jpg?_wi=3" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-vector/shopping-online-landing-page-concept_23-2148529362.jpg?_wi=2" }
            },
            {
              id: 3,
              title: "SEO for Local Businesses",              description: "Help Adelaide businesses rank higher on Google and attract qualified local customers. We implement proven SEO strategies that drive organic traffic and leads.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg?_wi=2" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-photo/teleworker-home-office-gathering-information-from-internet-seminar_482257-119301.jpg?_wi=1" }
            },
            {
              id: 4,
              title: "Website Maintenance & Support",              description: "Ongoing updates, security, backups, and performance optimization. Keep your website running smoothly with our reliable maintenance and support services.",              phoneOne: { imageSrc: "http://img.b2bpic.net/free-photo/businessman-work-closeup-top-view-man-working-laptop_93675-135729.jpg?_wi=1" },
              phoneTwo: { imageSrc: "http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=4" }
            }
          ]}
          showStepNumbers={true}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Services section"
        />
      </div>

      <div id="why-choose-us" data-section="why-choose-us">
        <MetricCardEleven
          title="Why Choose Local Web Adelaide"
          description="We combine local expertise with proven digital strategies to deliver results that matter."
          tag="Our Strengths"
          tagIcon={Star}
          tagAnimation="slide-up"
          metrics={[
            {
              id: "1",              value: "Local",              title: "Adelaide Experts",              description: "Deep understanding of local market and businesses",              imageSrc: "http://img.b2bpic.net/free-photo/workmates-with-statistic-documents_1098-757.jpg?_wi=1"
            },
            {
              id: "2",              value: "98%",              title: "Conversion Focus",              description: "Every design decision optimizes for results and ROI",              imageSrc: "http://img.b2bpic.net/free-vector/shopping-online-landing-page-concept_23-2148529362.jpg?_wi=3"
            },
            {
              id: "3",              value: "Fast",              title: "Quick Turnaround",              description: "Professional quality delivered on schedule, every time",              imageSrc: "http://img.b2bpic.net/free-vector/rocket-clouds-striped_25030-38450.jpg?_wi=1"
            },
            {
              id: "4",              value: "Clear",              title: "Transparent Pricing",              description: "No hidden costs, straightforward project estimates",              imageSrc: "http://img.b2bpic.net/free-photo/workmates-with-statistic-documents_1098-757.jpg?_wi=2"
            },
            {
              id: "5",              value: "24/7",              title: "Ongoing Support",              description: "Continuous maintenance and optimization included",              imageSrc: "http://img.b2bpic.net/free-photo/teleworker-home-office-gathering-information-from-internet-seminar_482257-119301.jpg?_wi=2"
            },
            {
              id: "6",              value: "100%",              title: "SEO Ready",              description: "Every website built with search rankings in mind",              imageSrc: "http://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg?_wi=3"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Why choose us section"
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardOne
          title="Our Portfolio"
          description="Explore recent projects and see the results we've delivered for Adelaide businesses."
          tag="Case Studies"
          tagIcon={BookOpen}
          tagAnimation="slide-up"
          products={[
            {
              id: "1",              name: "E-Commerce Redesign",              price: "+340% Conversions",              imageSrc: "http://img.b2bpic.net/free-vector/shopping-online-landing-page-concept_23-2148529362.jpg?_wi=4",              imageAlt: "E-commerce website design"
            },
            {
              id: "2",              name: "Local Service Website",              price: "+250% Leads",              imageSrc: "http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=5",              imageAlt: "Local service website"
            },
            {
              id: "3",              name: "SaaS Platform Design",              price: "+180% Users",              imageSrc: "http://img.b2bpic.net/free-vector/professional-dashboard-user-panel_23-2148310538.jpg?_wi=4",              imageAlt: "SaaS platform design"
            },
            {
              id: "4",              name: "Digital Agency Site",              price: "+420% Inquiries",              imageSrc: "http://img.b2bpic.net/free-photo/technological-devices-with-statistics-documents_1232-485.jpg?_wi=4",              imageAlt: "Digital agency website"
            },
            {
              id: "5",              name: "Restaurant Website",              price: "+310% Bookings",              imageSrc: "http://img.b2bpic.net/free-photo/businessman-work-closeup-top-view-man-working-laptop_93675-135729.jpg?_wi=2",              imageAlt: "Restaurant website design"
            },
            {
              id: "6",              name: "Legal Services Portal",              price: "+280% Consultations",              imageSrc: "http://img.b2bpic.net/free-psd/website-design-your-business_24972-394.jpg?_wi=6",              imageAlt: "Legal services portal"
            }
          ]}
          gridVariant="bento-grid"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Portfolio section"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="What Our Clients Say"
          description="Real feedback from Adelaide businesses we've worked with."
          tag="Testimonials"
          tagIcon={Quote}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              handle: "Founder, Mitchell & Co Real Estate",              testimonial: "Local Web Adelaide completely transformed our online presence. Our leads increased by 340% in the first quarter. Professional, reliable, and truly local.",              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen",              handle: "Director, Chen's Digital Marketing",              testimonial: "The team understood our business immediately. They delivered a website that not only looks stunning but converts like crazy. Best investment we made.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=1",              imageAlt: "James Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              handle: "Owner, Adelaide Coffee Roasters",              testimonial: "From concept to launch, the entire process was smooth and transparent. They even helped us rank for local keywords. Our phone hasn't stopped ringing!",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=2",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "Michael Thompson",              handle: "CEO, Thompson Legal Services",              testimonial: "Five-star service. They created a professional website that builds credibility with potential clients. The ongoing support has been invaluable for our business.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=3",              imageAlt: "Michael Thompson"
            },
            {
              id: "5",              name: "Lisa Anderson",              handle: "Manager, Adelaide Events Co",              testimonial: "Exceeded all expectations. Quick turnaround, great communication, and a final product that perfectly represents our brand. Highly recommend!",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=4",              imageAlt: "Lisa Anderson"
            },
            {
              id: "6",              name: "David Park",              handle: "Owner, Park's Fitness Studio",              testimonial: "Local Web Adelaide helped us go from a basic website to a lead generation machine. The investment paid for itself within months. Outstanding value.",              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg?_wi=5",              imageAlt: "David Park"
            }
          ]}
          speed={40}
        />
      </div>

      <div id="process" data-section="process">
        <BlogCardThree
          title="Our Simple Process"
          description="A straightforward, transparent approach to building your website."
          tag="How We Work"
          tagIcon={Lightbulb}
          tagAnimation="slide-up"
          blogs={[
            {
              id: "1",              category: "Step 1",              title: "Strategy Call",              excerpt: "We learn about your business, goals, and target audience. No pressure, just honest conversation about what success looks like.",              imageSrc: "http://img.b2bpic.net/free-photo/workmates-with-statistic-documents_1098-757.jpg?_wi=3",              imageAlt: "Strategy Call",              authorName: "Local Web Adelaide",              authorAvatar: "http://img.b2bpic.net/free-photo/happy-young-professional-posing-office_1262-21170.jpg",              date: "Phase 1"
            },
            {
              id: "2",              category: "Step 2",              title: "Design & Build",              excerpt: "We create a stunning, conversion-optimized website. You'll have regular updates and the chance to provide feedback throughout.",              imageSrc: "http://img.b2bpic.net/free-photo/businessman-work-closeup-top-view-man-working-laptop_93675-135729.jpg?_wi=3",              imageAlt: "Design & Build",              authorName: "Local Web Adelaide",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Phase 2"
            },
            {
              id: "3",              category: "Step 3",              title: "Launch",              excerpt: "Your website goes live with full optimization, SEO setup, and analytics tracking. We ensure a smooth, successful launch.",              imageSrc: "http://img.b2bpic.net/free-vector/rocket-clouds-striped_25030-38450.jpg?_wi=2",              imageAlt: "Launch",              authorName: "Local Web Adelaide",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Phase 3"
            },
            {
              id: "4",              category: "Step 4",              title: "Ongoing Growth",              excerpt: "Continuous support, updates, and optimization. We monitor performance and help your website evolve as your business grows.",              imageSrc: "http://img.b2bpic.net/free-photo/teleworker-home-office-gathering-information-from-internet-seminar_482257-119301.jpg?_wi=3",              imageAlt: "Ongoing Growth",              authorName: "Local Web Adelaide",              authorAvatar: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              date: "Phase 4"
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          ariaLabel="Process section"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to Grow Your Business Online? Let's build a website that actually generates leads and delivers results."
          animationType="entrance-slide"
          buttons={[
            { text: "Book Your Free Strategy Call", href: "https://calendly.com" },
            { text: "Get a Free Website Audit", href: "#" }
          ]}
          background={{ variant: "animated-grid" }}
          useInvertedBackground={false}
          ariaLabel="Contact call-to-action section"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Local Web Adelaide"
          columns={[
            {
              title: "Services",              items: [
                { label: "Web Design", href: "#services" },
                { label: "Website Redesign", href: "#services" },
                { label: "SEO Services", href: "#services" },
                { label: "Website Support", href: "#services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Portfolio", href: "#portfolio" },
                { label: "Client Testimonials", href: "#testimonials" },
                { label: "Contact Us", href: "#contact" }
              ]
            },
            {
              title: "Location",              items: [
                { label: "Adelaide, SA Australia", href: "#" },
                { label: "hello@localwebadelaide.com.au", href: "mailto:hello@localwebadelaide.com.au" },
                { label: "(08) 7XXX XXXX", href: "tel:+61872000000" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" },
                { label: "Cookie Policy", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 Local Web Adelaide | Building Results-Driven Websites for Adelaide Businesses"
          ariaLabel="Site footer"
        />
      </div>
    </ThemeProvider>
  );
}
