"use client";

import ReactLenis from "lenis/react";
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroSplitDoubleCarousel from "@/components/sections/hero/HeroSplitDoubleCarousel";
import FeatureBento from "@/components/sections/feature/FeatureBento";
import FeatureCardTwentyFive from "@/components/sections/feature/FeatureCardTwentyFive";
import MetricCardThree from "@/components/sections/metrics/MetricCardThree";
import TeamCardOne from "@/components/sections/team/TeamCardOne";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import ContactSplit from "@/components/sections/contact/ContactSplit";
import FooterSimple from "@/components/sections/footer/FooterSimple";
import TestimonialCardFive from "@/components/sections/testimonial/TestimonialCardFive";
import { Sparkles, Search, ArrowUpRight, Award, Users, TrendingUp, MessageCircle } from "lucide-react";

export default function WebAgency2Page() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="medium"
      sizing="medium"
      background="none"
      cardStyle="glass-elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="glass"
      headingFontWeight="medium"
    >
      <ReactLenis root>
        <div className="fixed bottom-6 right-6 z-50">
          <a 
            href="https://wa.me/917906713091?text=Hey%20WebOrigin%2C%20I%20want%20a%20fresh%20look%20for%20my%20business"
            target="_blank"
            rel="noopener noreferrer"
            className="flex items-center gap-2 bg-green-500 text-white p-4 rounded-full shadow-lg hover:scale-105 transition-transform"
          >
            <MessageCircle size={24} />
          </a>
        </div>

        <div id="nav" data-section="nav">
          <NavbarLayoutFloatingOverlay
            brandName="WebOrigin"
            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">
          <HeroSplitDoubleCarousel
            title="We Engineer Digital Growth at WebOrigin"
            description="Go beyond standard web design. We build high-performance, conversion-focused digital ecosystems engineered to deliver measurable revenue growth and market dominance for your business."
            tag="Award-Winning Agency"
            tagIcon={Sparkles}
            tagAnimation="slide-up"
            background={{ variant: "canvas-reveal" }}
            buttons={[
              { text: "Start Project", href: "#contact" },
              { text: "View Work", href: "#work" },
            ]}
            buttonAnimation="slide-up"
            leftCarouselItems={[
              { id: "l1", imageSrc: "http://img.b2bpic.net/free-photo/glowing-green-checkmark-success-symbol-dark-cosmic-background_84443-91492.jpg", imageAlt: "UI UX Design" },
              { id: "l2", imageSrc: "http://img.b2bpic.net/free-photo/representations-user-experience-interface-design_23-2150104516.jpg", imageAlt: "UI UX Design" },
              { id: "l3", imageSrc: "http://img.b2bpic.net/free-photo/tablet-near-nice-decorative-cosmetics_23-2147742653.jpg", imageAlt: "UI UX Design" },
              { id: "l4", imageSrc: "http://img.b2bpic.net/free-photo/e-learing-distance-education-icons-interface_53876-124201.jpg", imageAlt: "UI UX Design" },
              { id: "l5", imageSrc: "http://img.b2bpic.net/free-photo/leisure-calm-peace-relaxation-resting-serenity_53876-13860.jpg", imageAlt: "UI UX Design" },
              { id: "l6", imageSrc: "http://img.b2bpic.net/free-photo/login-box-username-password-inputs-virtual-digital-display_169016-40044.jpg", imageAlt: "UI UX Design" },
            ]}
            rightCarouselItems={[
              { id: "r1", imageSrc: "http://img.b2bpic.net/free-photo/glowing-green-checkmark-success-symbol-dark-cosmic-background_84443-91492.jpg", imageAlt: "UI UX Design" },
              { id: "r2", imageSrc: "http://img.b2bpic.net/free-photo/representations-user-experience-interface-design_23-2150104516.jpg", imageAlt: "UI UX Design" },
              { id: "r3", imageSrc: "http://img.b2bpic.net/free-photo/tablet-near-nice-decorative-cosmetics_23-2147742653.jpg", imageAlt: "UI UX Design" },
              { id: "r4", imageSrc: "http://img.b2bpic.net/free-photo/e-learing-distance-education-icons-interface_53876-124201.jpg", imageAlt: "UI UX Design" },
              { id: "r5", imageSrc: "http://img.b2bpic.net/free-photo/leisure-calm-peace-relaxation-resting-serenity_53876-13860.jpg", imageAlt: "UI UX Design" },
              { id: "r6", imageSrc: "http://img.b2bpic.net/free-photo/login-box-username-password-inputs-virtual-digital-display_169016-40044.jpg", imageAlt: "UI UX Design" },
            ]}
          />
        </div>

        <div id="services" data-section="services">
          <FeatureBento
            title="Our WebOrigin Services"
            description="We offer a full suite of digital services to help your brand stand out online."
            textboxLayout="default"
            useInvertedBackground={false}
            animationType="slide-up"
            buttons={[{ text: "All Services", href: "#services" }]}
            buttonAnimation="slide-up"
            features={[
              { title: "SEO", description: "WebOrigin optimizes your website to rank higher.", bentoComponent: "marquee", centerIcon: Search, variant: "text", texts: ["Growth", "Visibility", "Performance", "Strategy"] },
              { title: "Web Development", description: "Custom-built, scalable websites.", bentoComponent: "media-stack", items: [{ imageSrc: "http://img.b2bpic.net/free-photo/structured-building-construction-design-plan-concept_53876-132321.jpg", imageAlt: "Web dev 1" }, { imageSrc: "http://img.b2bpic.net/free-photo/structured-building-construction-design-plan-concept_53876-132321.jpg", imageAlt: "Web dev 2" }, { imageSrc: "http://img.b2bpic.net/free-photo/structured-building-construction-design-plan-concept_53876-132321.jpg", imageAlt: "Web dev 3" }] },
              { title: "Brand Strategy", description: "Build a memorable identity.", bentoComponent: "media-stack", items: [{ imageSrc: "http://img.b2bpic.net/free-photo/female-web-designer-taking-notes-office_23-2149749859.jpg", imageAlt: "Brand 1" }, { imageSrc: "http://img.b2bpic.net/free-photo/female-web-designer-taking-notes-office_23-2149749859.jpg", imageAlt: "Brand 2" }, { imageSrc: "http://img.b2bpic.net/free-photo/female-web-designer-taking-notes-office_23-2149749859.jpg", imageAlt: "Brand 3" }] },
            ]}
          />
        </div>
        
        <div id="work" data-section="work">
          <FeatureCardTwentyFive
            title="Projects Crafted by WebOrigin"
            description="A selection of projects we've crafted for clients across diverse industries."
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            features={[
              { title: "Digital Revamp", description: "Modern e-commerce", icon: ArrowUpRight, mediaItems: [{ imageSrc: "http://img.b2bpic.net/free-photo/representations-user-experience-interface-design_23-2150104479.jpg", imageAlt: "Project 1" }, { imageSrc: "http://img.b2bpic.net/free-photo/representations-user-experience-interface-design_23-2150104479.jpg", imageAlt: "Project 1" }] },
              { title: "Brand Identity", description: "Corporate identity", icon: ArrowUpRight, mediaItems: [{ imageSrc: "http://img.b2bpic.net/free-photo/business-professional-holding-blank-white-business-card_9975-133092.jpg", imageAlt: "Project 2" }, { imageSrc: "http://img.b2bpic.net/free-photo/business-professional-holding-blank-white-business-card_9975-133092.jpg", imageAlt: "Project 2" }] }
            ]}
          />
        </div>

        <div id="about" data-section="about">
           <TestimonialCardFive
            title="What Clients Say"
            description="Trust built on excellence."
            textboxLayout="default"
            useInvertedBackground={false}
            testimonials={[
              {
                id: "t1", name: "Creative Director", date: "2025", title: "Excellent Service", quote: "WebOrigin completely transformed our online presence. The team delivered a stunning website that exceeded our expectations and significantly impacted our growth.", tag: "5 Stars", avatarSrc: "http://img.b2bpic.net/free-photo/black-businessman-happy-expression_1194-2580.jpg"
              }
            ]}
          />
        </div>

        <div id="metrics" data-section="metrics">
          <MetricCardThree
            title="Trusted Results by WebOrigin"
            description="We deliver measurable results across all digital domains."
            animationType="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            metrics={[
              { id: "p1", title: "Projects", value: "150+", icon: Award },
              { id: "p2", title: "Satisfaction", value: "98%", icon: Users },
              { id: "p3", title: "Years", value: "10+", icon: TrendingUp },
            ]}
          />
        </div>

        <div id="team" data-section="team">
          <TeamCardOne
            title="The WebOrigin Experts"
            description="The creative minds and technical wizards behind every project."
            textboxLayout="default"
            useInvertedBackground={false}
            gridVariant="three-columns-all-equal-width"
            animationType="slide-up"
            members={[
              { id: "t1", name: "Alex Rivers", role: "Lead Developer", imageSrc: "http://img.b2bpic.net/free-photo/gamer-streaming-greeting-audience-preparing-showcase-gameplay_482257-103544.jpg" },
              { id: "t2", name: "Elena Vane", role: "Design Lead", imageSrc: "http://img.b2bpic.net/free-photo/smiley-tattoo-artist-indoors-side-view_23-2149445974.jpg" },
            ]}
          />
        </div>
        
        <div id="faq" data-section="faq">
          <FaqDouble
            title="Frequently Asked Questions"
            description="Learn more about partnering with the WebOrigin team."
            faqsAnimation="slide-up"
            textboxLayout="default"
            useInvertedBackground={false}
            faqs={[
              { id: "f1", title: "What makes WebOrigin different?", content: "We focus on high-performance architecture combined with creative storytelling that scales businesses." },
            ]}
          />
        </div>

        <div id="contact" data-section="contact">
          <ContactSplit
            title="Let's Build with WebOrigin"
            description="Ready to elevate your digital footprint? Reach out to our team today."
            tag="Contact Us"
            background={{ variant: "rotated-rays-animated" }}
            useInvertedBackground={false}
          />
        </div>

        <div id="footer" data-section="footer">
          <FooterSimple
            bottomLeftText="© 2026 | WebOrigin"
            bottomRightText="All rights reserved."
            columns={[
              { title: "Company", items: [{ label: "About", href: "#about" }, { label: "Services", href: "#services" }] },
            ]}
          />
        </div>
      </ReactLenis>
    </ThemeProvider>
  );
}