"use client"
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroBillboardGallery from '@/components/sections/hero/HeroBillboardGallery';
import MediaSplitTabsAbout from '@/components/sections/about/MediaSplitTabsAbout';
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import TestimonialCardOne from '@/components/sections/testimonial/TestimonialCardOne';
import MetricCardOne from '@/components/sections/metrics/MetricCardOne';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal';
import { ArrowRight, Award, CheckCircle, MessageSquare, Palette, Sparkles, Star, TrendingUp } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="small"
      sizing="mediumLarge"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="diagonal-gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Designstudio"
          navItems={[
            { name: "Work", id: "work" },
            { name: "Services", id: "services" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Get Started", href: "contact" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardGallery
          title="Transforming Ideas Into Exceptional Design"
          description="We craft compelling visual experiences that drive growth. Strategic thinking meets creative excellence."
          tag="Award-Winning Design Agency"
          tagIcon={Sparkles}
          background={{ variant: "radial-gradient" }}
          mediaItems={[
            {
              imageSrc: "https://img.b2bpic.net/free-psd/job-opportunity-landing-page-template_23-2149018663.jpg",              imageAlt: "Portfolio design project"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-vector/flat-design-portfolio-template_23-2151095677.jpg",              imageAlt: "Branding and identity design"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/flat-design-astrophysics-conference-template_23-2150295442.jpg",              imageAlt: "Web interface design"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-psd/swiss-design-instagram-stories-set_23-2148876347.jpg",              imageAlt: "Design process and collaboration"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-vector/gradient-business-template-design_23-2149752076.jpg",              imageAlt: "Typography and visual design"
            }
          ]}
          buttons={[
            { text: "View Our Work", href: "work" },
            { text: "Schedule a Call", href: "contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaSplitTabsAbout
          title="Why Partner With Designstudio"
          description="We believe great design is more than aesthetics—it's a strategic tool that solves problems and drives business results."
          tabs={[
            {
              id: "strategy",              label: "Strategic Approach",              description: "We start by understanding your business goals, audience, and market landscape. Every design decision is rooted in research and strategy, ensuring your brand stands out and resonates with your target market."
            },
            {
              id: "execution",              label: "Flawless Execution",              description: "From concept to delivery, we maintain meticulous attention to detail. Our team uses cutting-edge tools and best practices to bring visions to life with pixel-perfect precision and timely delivery."
            },
            {
              id: "collaboration",              label: "True Partnership",              description: "We work collaboratively with your team, maintaining transparent communication throughout the process. Your feedback shapes our work, ensuring the final product exceeds expectations and aligns with your vision."
            },
            {
              id: "results",              label: "Measurable Results",              description: "Success means real impact. We design with purpose and track outcomes, ensuring your investment translates into tangible business growth, improved user engagement, and stronger brand loyalty."
            }
          ]}
          imageSrc="https://img.b2bpic.net/free-photo/group-business-executives-interacting-with-each-other_1170-760.jpg"
          imageAlt="Design studio team collaboration"
          imagePosition="right"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="work" data-section="work">
        <FeatureCardTwentySix
          title="Featured Work"
          description="Discover the projects that showcase our creative excellence and strategic approach to design"
          tag="Case Studies"
          tagIcon={Award}
          features={[
            {
              title: "E-Commerce Platform Redesign",              description: "Transformed user experience and increased conversions by 45% through strategic UX improvements and modern visual design",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "E-commerce platform redesign",              buttonIcon: ArrowRight,
              buttonHref: "#work"
            },
            {
              title: "Brand Identity System",              description: "Developed comprehensive brand identity and design system for a tech startup, establishing a strong market presence",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-with-laptop-desk_23-2149636248.jpg",              imageAlt: "Brand identity design",              buttonIcon: ArrowRight,
              buttonHref: "#work"
            },
            {
              title: "Mobile App Design",              description: "Created intuitive mobile app interface that achieved 4.8-star rating and 100k+ downloads in the first month",              imageSrc: "https://img.b2bpic.net/free-vector/business-landing-page-template_52683-28746.jpg",              imageAlt: "Mobile app interface design",              buttonIcon: ArrowRight,
              buttonHref: "#work"
            },
            {
              title: "Integrated Marketing Campaign",              description: "Designed cohesive visual campaign across digital and print, resulting in 60% increase in brand awareness",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-computer-laptop-screen-showing-ideas-wooden-table_53876-16088.jpg",              imageAlt: "Marketing campaign design",              buttonIcon: ArrowRight,
              buttonHref: "#work"
            }
          ]}
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="services" data-section="services">
        <ProductCardOne
          title="Our Services"
          description="Comprehensive design solutions tailored to elevate your brand and drive business growth"
          tag="What We Offer"
          tagIcon={Palette}
          products={[
            {
              id: "branding",              name: "Brand Strategy & Identity",              price: "Premium Service",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-with-laptop-desk_23-2149636248.jpg",              imageAlt: "Branding service"
            },
            {
              id: "web",              name: "Web Design & Development",              price: "Full Stack",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "Web design service"
            },
            {
              id: "mobile",              name: "Mobile App Design",              price: "iOS & Android",              imageSrc: "https://img.b2bpic.net/free-vector/business-landing-page-template_52683-28746.jpg",              imageAlt: "Mobile design service"
            },
            {
              id: "marketing",              name: "Digital Marketing Design",              price: "Campaign Services",              imageSrc: "https://img.b2bpic.net/free-photo/closeup-computer-laptop-screen-showing-ideas-wooden-table_53876-16088.jpg",              imageAlt: "Marketing design service"
            },
            {
              id: "ux",              name: "UX/UI Design",              price: "User-Centered",              imageSrc: "https://img.b2bpic.net/free-psd/flat-design-astrophysics-conference-template_23-2150295442.jpg",              imageAlt: "UX design service"
            },
            {
              id: "consulting",              name: "Design Consulting",              price: "Strategic Guidance",              imageSrc: "https://img.b2bpic.net/free-vector/flat-design-portfolio-template_23-2151095677.jpg",              imageAlt: "Design consulting"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="What Our Clients Say"
          description="Real feedback from companies we've partnered with to transform their brands"
          tag="Client Success Stories"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "CEO",              company: "TechVenture Inc",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Mitchell"
            },
            {
              id: "2",              name: "James Chen",              role: "Marketing Director",              company: "Growth Collective",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg",              imageAlt: "James Chen"
            },
            {
              id: "3",              name: "Emma Rodriguez",              role: "Founder",              company: "Creative Ventures",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/close-up-competitive-employee_1098-2870.jpg",              imageAlt: "Emma Rodriguez"
            },
            {
              id: "4",              name: "Michael Park",              role: "Product Manager",              company: "Innovation Labs",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/closeup-handsome-middle-aged-business-leader_1262-4822.jpg",              imageAlt: "Michael Park"
            },
            {
              id: "5",              name: "Lisa Thompson",              role: "Business Owner",              company: "Digital Nexus",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/portrait-grey-haired-businessman-standing_74855-10324.jpg",              imageAlt: "Lisa Thompson"
            },
            {
              id: "6",              name: "David Zhang",              role: "Brand Director",              company: "Elevate Studios",              rating: 5,
              imageSrc: "https://img.b2bpic.net/free-photo/positive-middle-aged-business-leader-window_1262-5388.jpg",              imageAlt: "David Zhang"
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardOne
          title="Our Impact By The Numbers"
          description="Results-driven design that translates into measurable business success"
          tag="Performance Metrics"
          metrics={[
            {
              id: "1",              value: "150+",              title: "Projects Completed",              description: "Successful designs delivered across industries",              icon: CheckCircle
            },
            {
              id: "2",              value: "45%",              title: "Avg. Conversion Increase",              description: "Performance improvement for our clients",              icon: TrendingUp
            },
            {
              id: "3",              value: "50+",              title: "Award Nominations",              description: "Recognition from industry leaders",              icon: Award
            },
            {
              id: "4",              value: "98%",              title: "Client Satisfaction",              description: "Rated by our valued partners",              icon: Star
            }
          ]}
          gridVariant="uniform-all-items-equal"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Ready to Transform Your Brand?"
          ctaDescription="Let's discuss how strategic design can drive growth for your business. Schedule a consultation with our team."
          ctaButton={{ text: "Book a Free Consultation", href: "https://calendly.com/example" }}
          ctaIcon={MessageSquare}
          faqs={[
            {
              id: "1",              title: "What is your typical project timeline?",              content: "Project timelines vary based on scope and complexity. Most projects take 4-12 weeks from discovery to delivery. We'll provide a detailed timeline during our initial consultation based on your specific needs."
            },
            {
              id: "2",              title: "Do you work with startups?",              content: "Absolutely! We love working with startups and emerging businesses. We offer flexible engagement models and can work with various budgets to help you establish a strong brand foundation."
            },
            {
              id: "3",              title: "What's included in the design process?",              content: "Our comprehensive process includes discovery and strategy, competitive analysis, wireframing, design mockups, user testing, revisions, and final delivery with documentation and support."
            },
            {
              id: "4",              title: "How do you measure design success?",              content: "We measure success through clear KPIs established at the project start, including user engagement metrics, conversion rates, brand awareness metrics, and client satisfaction scores."
            },
            {
              id: "5",              title: "Do you offer ongoing design support?",              content: "Yes, we offer retainer packages for ongoing design support, maintenance, and optimization. This allows us to continuously improve your digital presence and adapt to market changes."
            }
          ]}
          useInvertedBackground="noInvert"
          animationType="slide-up"
        />
      </div>

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