"use client";

import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboardScroll from '@/components/sections/hero/HeroBillboardScroll';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import FeatureCardEight from '@/components/sections/feature/FeatureCardEight';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import TestimonialCardThirteen from '@/components/sections/testimonial/TestimonialCardThirteen';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ThemeProvider } from '@/providers/themeProvider/ThemeProvider';
import { Users, TrendingUp, Briefcase, CheckCircle } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="pill"
      contentWidth="smallMedium"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="subtle-shadow"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Bravima"
          navItems={[
            { name: "How It Works", id: "process" },
            { name: "Results", id: "metrics" },
            { name: "Pricing", id: "pricing" },
            { name: "FAQ", id: "faq" }
          ]}
          button={{ text: "Get Started", href: "contact" }}
          animateOnLoad={true}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardScroll
          title="More Clients, More Projects, More Revenue"
          description="Bravima Media helps renovation contractors attract high-quality leads, convert them faster, and build a thriving business. Our proven marketing strategies have generated thousands of qualified projects for home improvement specialists."
          tag="For Renovation Contractors"
          tagAnimation="slide-up"
          background={{ variant: "sparkles-gradient" }}
          imageSrc="http://img.b2bpic.net/free-photo/man-sitting-looking-project_23-2148751972.jpg"
          imageAlt="Bravima Marketing Dashboard"
          buttons={[
            { text: "See How It Works", href: "process" },
            { text: "Schedule Consultation", href: "contact" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="Why Contractors Choose Bravima"
          description={[
            "We understand the renovation industry. Our team has worked with hundreds of contractors, kitchen specialists, bathroom experts, and general builders to develop targeted marketing strategies that actually convert.",            "Bravima combines data-driven lead generation with relationship-focused conversion tactics. We don't just send you leads—we help you close them, scale your team, and dominate your local market.",            "Your success is our success. We measure everything by your project pipeline growth and revenue impact."
          ]}
          buttons={[{ text: "Explore Our Services", href: "#features" }]}
          buttonAnimation="slide-up"
          showBorder={true}
          useInvertedBackground={false}
        />
      </div>

      <div id="process" data-section="process">
        <FeatureCardEight
          title="Your Path to Growth"
          description="A proven four-step process designed to fill your pipeline with qualified renovation leads and keep your team busy with profitable projects."
          tag="The Process"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={true}
          features={[
            {
              id: 1,
              title: "Discovery & Strategy",              description: "We analyze your renovation business, target market, and unique value proposition to create a customized lead generation strategy.",              imageSrc: "http://img.b2bpic.net/free-photo/very-important-project-is-serious-aim_329181-10350.jpg?_wi=1",              imageAlt: "Strategy planning session"
            },
            {
              id: 2,
              title: "Campaign Launch",              description: "We build and execute targeted digital campaigns across multiple channels to position you as the renovation expert in your area.",              imageSrc: "http://img.b2bpic.net/free-photo/colleagues-smiling-speaking-discussing-new-ideas_176420-1662.jpg?_wi=1",              imageAlt: "Marketing campaign execution"
            },
            {
              id: 3,
              title: "Lead Conversion",              description: "Our conversion experts help you close more deals with proven sales techniques, follow-up systems, and closing frameworks.",              imageSrc: "http://img.b2bpic.net/free-photo/young-cute-family-repairs-room_1157-24904.jpg?_wi=1",              imageAlt: "Successful project closing"
            },
            {
              id: 4,
              title: "Growth & Optimization",              description: "We continuously monitor, test, and optimize your campaigns to maximize ROI and scale your renovation business consistently.",              imageSrc: "http://img.b2bpic.net/free-photo/young-happy-businesswoman-working-home-communicating-cell-phone_637285-4625.jpg",              imageAlt: "Ongoing optimization and support"
            }
          ]}
          buttons={[{ text: "Start Your Journey", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Bravima Results Speak for Themselves"
          description="See the impact we've delivered for renovation contractors across the country."
          tag="Our Track Record"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          metrics={[
            {
              id: "1",              value: "500+",              title: "Contractors",              description: "Helping home improvement specialists grow their businesses",              icon: Users
            },
            {
              id: "2",              value: "50K+",              title: "Qualified Leads",              description: "Generated and delivered to renovation professionals",              icon: TrendingUp
            },
            {
              id: "3",              value: "$200M+",              title: "Projects",              description: "In renovation work closed by our clients",              icon: Briefcase
            },
            {
              id: "4",              value: "92%",              title: "Success Rate",              description: "Of contractors report measurable business growth",              icon: CheckCircle
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          buttons={[{ text: "Join Our Network", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardThirteen
          title="Loved by Contractors Nationwide"
          description="Hear from renovation specialists who transformed their businesses with Bravima's marketing strategies."
          tag="Client Testimonials"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          showRating={true}
          testimonials={[
            {
              id: "1",              name: "Mike Torres",              handle: "@torres_renovations",              testimonial: "Bravima helped me triple my lead volume in just 6 months. I went from struggling to find clients to turning away projects. Their team understands the renovation business.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/gardener-man-with-long-hair-talking-phone_23-2148435649.jpg",              imageAlt: "Mike Torres"
            },
            {
              id: "2",              name: "Sarah Chen",              handle: "@kitchens_by_sarah",              testimonial: "The conversion training alone was worth it. But combined with their lead generation, my kitchen remodel business has never been stronger. Highly recommend.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiley-woman-looking-camera_23-2148273321.jpg",              imageAlt: "Sarah Chen"
            },
            {
              id: "3",              name: "James Rodriguez",              handle: "@jrod_bathrooms",              testimonial: "Working with Bravima transformed how I think about marketing. They showed me exactly how to position myself and attract the right clients at the right price point.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/portrait-happy-mature-businessman-holding-mobile-phone_23-2147899738.jpg",              imageAlt: "James Rodriguez"
            },
            {
              id: "4",              name: "Lisa Anderson",              handle: "@anderson_general_contracting",              testimonial: "Professional, responsive, and results-driven. They delivered exactly what they promised and then some. My project pipeline is consistently full.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/happy-business-woman-standing-with-crossed-arms_23-2148095676.jpg",              imageAlt: "Lisa Anderson"
            },
            {
              id: "5",              name: "David Park",              handle: "@premium_renovations_dp",              testimonial: "I've tried other marketing companies. Bravima is different. They focus on quality leads and conversion, not vanity metrics. My ROI speaks for itself.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/m-engineering-worker-man-electrician_1303-2092.jpg",              imageAlt: "David Park"
            },
            {
              id: "6",              name: "Jennifer Walsh",              handle: "@walsh_home_experts",              testimonial: "From strategy to execution to ongoing support, Bravima has been an absolute game-changer for my renovation business. Best investment I've made.",              rating: 5,              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-woman-holding-drill_23-2149366635.jpg",              imageAlt: "Jennifer Walsh"
            }
          ]}
          animationType="slide-up"
          buttons={[{ text: "Get Your Free Audit", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Flexible Plans for Every Stage"
          description="Choose the package that fits your renovation business needs and growth goals."
          tag="Pricing"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "starter",              title: "Starter Growth",              price: "$2,500",              period: "/month",              imageSrc: "http://img.b2bpic.net/free-photo/very-important-project-is-serious-aim_329181-10350.jpg?_wi=2",              imageAlt: "Starter Growth plan",              button: { text: "Get Started", href: "contact" },              features: [
                "Lead generation targeting your local market",                "Basic conversion coaching",                "Monthly strategy reviews",                "Access to marketing templates"
              ]
            },
            {
              id: "professional",              title: "Professional Scale",              price: "$5,000",              period: "/month",              imageSrc: "http://img.b2bpic.net/free-photo/colleagues-smiling-speaking-discussing-new-ideas_176420-1662.jpg?_wi=2",              imageAlt: "Professional Scale plan",              button: { text: "Learn More", href: "contact" },              features: [
                "Multi-channel lead generation",                "Advanced conversion training",                "Bi-weekly strategy sessions",                "CRM setup and training",                "Lead quality monitoring and optimization"
              ]
            },
            {
              id: "enterprise",              title: "Enterprise Dominance",              price: "Custom",              period: "/month",              imageSrc: "http://img.b2bpic.net/free-photo/young-cute-family-repairs-room_1157-24904.jpg?_wi=2",              imageAlt: "Enterprise Dominance plan",              button: { text: "Schedule Call", href: "contact" },              features: [
                "White-label lead generation platform",                "Dedicated account management",                "Custom sales team training",                "Multi-location support",                "Advanced analytics and reporting",                "Strategic partnership opportunities"
              ]
            }
          ]}
          buttons={[{ text: "Talk to Our Experts", href: "contact" }]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Frequently Asked Questions"
          description="Get answers to common questions about Bravima's services, pricing, and how we help renovation contractors grow."
          tag="FAQ"
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          faqsAnimation="slide-up"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "How quickly will I see results?",              content: "Most contractors see their first qualified leads within 2-4 weeks of campaign launch. However, meaningful business growth typically takes 60-90 days as we optimize campaigns based on performance data. Your dedicated account manager will keep you updated on all progress metrics."
            },
            {
              id: "2",              title: "What if I don't close the leads you send me?",              content: "We include conversion training and follow-up support in all our packages. If you're not closing leads, we'll work with you to identify the bottleneck—whether it's your sales process, pricing, or positioning. We succeed when you succeed, so we're invested in your conversion rate."
            },
            {
              id: "3",              title: "Do you guarantee results?",              content: "We guarantee our process, effort, and strategy. What we can't guarantee is market conditions or how you execute on leads we send. However, we have a 92% success rate with contractors who follow our recommendations and actively participate in our coaching program."
            },
            {
              id: "4",              title: "Can you work with contractors outside my service area?",              content: "Absolutely. We serve contractors across the United States. Our lead generation platform can target any geographic market. Whether you're in a major city or a smaller region, we have proven strategies to fill your pipeline locally."
            },
            {
              id: "5",              title: "What's included in the monthly fee?",              content: "Monthly fees include lead generation, campaign management, conversion coaching, strategy sessions, CRM setup (for higher tiers), and ongoing optimization. There are no hidden fees. All costs are transparent and discussed upfront."
            },
            {
              id: "6",              title: "How do I get started?",              content: "Simply click 'Get Started' or schedule a free consultation. Our team will learn about your business, discuss your goals, and show you exactly how Bravima can help. No obligation, no pressure—just a conversation about growing your renovation business."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Ready to Grow"
          title="Get Your Free Renovation Business Audit"
          description="Join hundreds of contractors who've transformed their lead generation and revenue. Schedule your free consultation today and discover your untapped growth potential."
          tagAnimation="slide-up"
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
          imageSrc="http://img.b2bpic.net/free-vector/fitness-email-template-with-news_23-2148729498.jpg"
          imageAlt="Contact Bravima"
          mediaAnimation="slide-up"
          mediaPosition="right"
          inputPlaceholder="your@email.com"
          buttonText="Schedule Consultation"
          termsText="We respect your privacy. Unsubscribe at any time. No spam, just renovation marketing insights."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterLogoReveal
          logoText="Bravima Media"
          leftLink={{ text: "Privacy Policy", href: "#" }}
          rightLink={{ text: "Terms of Service", href: "#" }}
        />
      </div>
    </ThemeProvider>
  );
}
