"use client";

import Link from "next/link";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import HeroLogoBillboard from '@/components/sections/hero/HeroLogoBillboard';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardOne from '@/components/sections/product/ProductCardOne';
import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven';
import TestimonialCardTen from '@/components/sections/testimonial/TestimonialCardTen';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { TrendingUp, Users, Award, Zap, Sparkles } from 'lucide-react';

export default function HomePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-shift"
      defaultTextAnimation="background-highlight"
      borderRadius="sharp"
      contentWidth="mediumLarge"
      sizing="largeSmallSizeMediumTitles"
      background="floatingGradient"
      cardStyle="inset"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Dialed Web"
          navItems={[
            { name: "Services", id: "/services" },
            { name: "Work", id: "/work" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogoBillboard
          logoText="Dialed Web"
          description="We craft premium digital experiences that elevate brands and drive growth. Strategic design, flawless execution, boundless creativity."
          background={{ variant: "sparkles-gradient" }}
          imageSrc="https://img.b2bpic.net/free-photo/empty-home-setup-desk-filled-with-documents-financial-reports_482257-100068.jpg"
          imageAlt="Web design and creative workspace"
          frameStyle="browser"
          logoLineHeight={1.1}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Where creativity meets precision. We've been transforming visions into digital reality since 2015, partnering with industry leaders across every sector."
          useInvertedBackground="invertDefault"
          metrics={[
            { icon: TrendingUp, label: "Projects Delivered", value: "250+" },
            { icon: Users, label: "Global Clients", value: "80+" },
            { icon: Award, label: "Design Awards", value: "45" },
            { icon: Zap, label: "Years of Excellence", value: "9+" }
          ]}
        />
      </div>

      <div id="work" data-section="work">
        <ProductCardOne
          title="Featured Work"
          description="Explore our portfolio of transformative digital projects that showcase excellence in design, strategy, and innovation."
          tag="Latest Projects"
          tagIcon={Sparkles}
          textboxLayout="default"
          animationType="blur-reveal"
          gridVariant="bento-grid"
          useInvertedBackground="noInvert"
          products={[
            {
              id: "1",              name: "E-Commerce Platform",              price: "Enterprise",              imageSrc: "https://img.b2bpic.net/free-photo/technology-hologram-indoors_23-2151833348.jpg",              imageAlt: "E-commerce platform showcase"
            },
            {
              id: "2",              name: "Brand Redesign",              price: "Strategy + Design",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "Brand identity redesign"
            },
            {
              id: "3",              name: "Mobile App Design",              price: "iOS & Android",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-laptop-keyboard-colorful-neon-illumination-backlit-keyboard_169016-29668.jpg",              imageAlt: "Mobile application design"
            }
          ]}
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Our Services"
          description="Comprehensive digital solutions designed to elevate your brand and drive meaningful results."
          tag="What We Do"
          tagIcon={Zap}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
          features={[
            {
              id: 1,
              title: "Web Design & Development",              description: "Beautiful, responsive websites built with cutting-edge technology and optimized for performance, conversion, and user experience.",              imageSrc: "https://img.b2bpic.net/free-photo/technology-hologram-indoors_23-2151833348.jpg",              imageAlt: "Web design showcase"
            },
            {
              id: 2,
              title: "Brand Strategy & Identity",              description: "Strategic brand positioning, visual identity design, and creative campaigns that resonate with your target audience.",              imageSrc: "https://img.b2bpic.net/free-photo/elegant-cozy-office-lifestyle_23-2149636247.jpg",              imageAlt: "Brand identity design"
            },
            {
              id: 3,
              title: "Mobile App Development",              description: "Native and cross-platform mobile applications with intuitive interfaces and seamless functionality for iOS and Android.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-laptop-keyboard-colorful-neon-illumination-backlit-keyboard_169016-29668.jpg",              imageAlt: "Mobile app development"
            },
            {
              id: 4,
              title: "Digital Marketing",              description: "Data-driven marketing strategies including SEO, content marketing, and paid advertising to amplify your digital presence.",              imageSrc: "https://img.b2bpic.net/free-photo/empty-home-setup-desk-filled-with-documents-financial-reports_482257-100068.jpg",              imageAlt: "Digital marketing strategy"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTen
          title="Trusted by Leaders"
          description="Hear from founders, executives, and innovators who've partnered with us to transform their digital vision."
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              title: "Exceptional creativity and execution",              quote: "Dialed Web transformed our entire digital presence. Their team's attention to detail and strategic thinking exceeded every expectation. A true partner in success.",              name: "Sarah Chen",              role: "CEO, TechVenture",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-smiley-man-library_23-2149204750.jpg",              imageAlt: "Sarah Chen CEO portrait"
            },
            {
              id: "2",              title: "Delivered beyond our goals",              quote: "From concept to launch, every step was handled with professionalism and creativity. The results speak for themselves - our engagement tripled in the first quarter.",              name: "Marcus Rodriguez",              role: "Founder, Growth Labs",              imageSrc: "https://img.b2bpic.net/free-photo/glasses-smiling-arm-horizontal-front_1262-2739.jpg",              imageAlt: "Marcus Rodriguez founder portrait"
            },
            {
              id: "3",              title: "Strategic partners, not just vendors",              quote: "What sets Dialed Web apart is their genuine commitment to understanding our business goals. They delivered a platform that perfectly aligns with our vision.",              name: "Jennifer Kim",              role: "CMO, Digital Collective",              imageSrc: "https://img.b2bpic.net/free-photo/attractive-blond-business-woman-white-shirt-eyeglasses-crossed-arms-grey-background_613910-11786.jpg",              imageAlt: "Jennifer Kim CMO portrait"
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to bring your vision to life? Let's partner on a project that moves the needle."
          animationType="background-highlight"
          useInvertedBackground="invertDefault"
          buttons={[
            { text: "Start Your Project", href: "/contact" },
            { text: "View Our Process", href: "/services" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseCard
          logoText="Dialed Web"
          copyrightText="© 2025 Dialed Web. All rights reserved."
          columns={[
            {
              title: "Services",              items: [
                { label: "Web Design", href: "/services" },
                { label: "Development", href: "/services" },
                { label: "Strategy", href: "/services" },
                { label: "Marketing", href: "/services" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "/about" },
                { label: "Our Work", href: "/work" },
                { label: "Contact", href: "/contact" }
              ]
            },
            {
              title: "Resources",              items: [
                { label: "Blog", href: "/blog" },
                { label: "Case Studies", href: "/case-studies" },
                { label: "Portfolio", href: "/portfolio" },
                { label: "Insights", href: "/insights" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "LinkedIn", href: "https://linkedin.com" },
                { label: "Twitter", href: "https://twitter.com" },
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Email", href: "mailto:hello@dialedweb.studio" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
