"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from "@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen";
import HeroBillboard from "@/components/sections/hero/HeroBillboard";
import SplitAbout from "@/components/sections/about/SplitAbout";
import FeatureCardSeven from "@/components/sections/feature/FeatureCardSeven";
import ProductCardOne from "@/components/sections/product/ProductCardOne";
import TestimonialCardOne from "@/components/sections/testimonial/TestimonialCardOne";
import MetricCardSeven from "@/components/sections/metrics/MetricCardSeven";
import ContactCTA from "@/components/sections/contact/ContactCTA";
import FooterBase from "@/components/sections/footer/FooterBase";
import {
  Award,
  Building2,
  CheckCircle,
  DollarSign,
  Image,
  MapPin,
  Phone,
  Star,
  TrendingUp,
  Users,
  Wrench,
} from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmall"
      background="circleGradient"
      cardStyle="soft-shadow"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="glass"
      headingFontWeight="light"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Services", id: "services" },
            { name: "Projects", id: "portfolio" },
            { name: "Contact", id: "contact" },
          ]}
          brandName="Atlanta Construction"
          bottomLeftText="Atlanta-based since 2008"
          bottomRightText="contact@atlascontruction.com"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboard
          title="Atlanta Construction Built to Last"
          description="From residential renovations to commercial builds, we deliver quality craftsmanship and transparent partnerships. Serving Atlanta for 17 years"
          background={{ variant: "sparkles-gradient" }}
          tag="Local Atlanta Contractor"
          tagIcon={Building2}
          tagAnimation="slide-up"
          buttons={[
            { text: "View Our Projects", href: "#portfolio" },
            { text: "Get a Quote", href: "#contact" },
          ]}
          buttonAnimation="slide-up"
          imageSrc="http://img.b2bpic.net/free-photo/world-trade-center-station-new-york-downtown-usa_1268-19541.jpg"
          imageAlt="Professional construction team on Atlanta project site"
          mediaAnimation="slide-up"
        />
      </div>

      <div id="about" data-section="about">
        <SplitAbout
          title="Trusted Local Expertise"
          description="With nearly two decades of experience serving Atlanta's residential and commercial sectors, we pride ourselves on reliability, transparent communication, and exceptional craftsmanship. Our team combines skilled trades with modern project management to deliver results that exceed expectations."
          tag="Our Story"
          tagIcon={Award}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          bulletPoints={[
            {
              title: "Expert Team",              description: "Skilled professionals with deep industry knowledge and attention to detail",              icon: Users,
            },
            {
              title: "Transparent Pricing",              description: "Clear estimates, no hidden costs, and regular project updates",              icon: DollarSign,
            },
            {
              title: "Quality Assurance",              description: "Comprehensive inspections and warranties on all completed work",              icon: CheckCircle,
            },
            {
              title: "Local Reputation",              description: "17 years of satisfied clients throughout Atlanta and surrounding areas",              icon: MapPin,
            },
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/builders-unfinished-construction_1098-15482.jpg"
          imageAlt="Construction team collaborating on a project plan"
          mediaAnimation="slide-up"
          imagePosition="right"
        />
      </div>

      <div id="services" data-section="services">
        <FeatureCardSeven
          title="Comprehensive Services"
          description="We provide a complete range of construction services tailored to residential and commercial clients. From renovation planning to final walkthrough, we handle every phase with professionalism."
          tag="What We Do"
          tagIcon={Wrench}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="blur-reveal"
          features={[
            {
              id: 1,
              title: "Residential Renovations",              description: "Kitchen and bathroom remodels, room additions, and whole-home upgrades designed to enhance comfort and value",              imageSrc: "http://img.b2bpic.net/free-photo/manual-worker-grinding-metal-steel-objects-workshop-with-tools_1163-3130.jpg",              imageAlt: "Modern residential renovation project"},
            {
              id: 2,
              title: "Commercial Construction",              description: "Office buildouts, retail spaces, and tenant improvements executed on schedule and within budget",              imageSrc: "http://img.b2bpic.net/free-photo/modern-mirror-building_1150-12657.jpg",              imageAlt: "Commercial construction site in Atlanta"},
            {
              id: 3,
              title: "Project Management",              description: "Coordinated scheduling, resource allocation, and communication to ensure seamless project execution",              imageSrc: "http://img.b2bpic.net/free-photo/manual-worker-grinding-metal-steel-objects-workshop-with-tools_1163-3130.jpg",              imageAlt: "Project management coordination meeting"},
            {
              id: 4,
              title: "General Contracting",              description: "Licensed and insured general construction services including permits, inspections, and code compliance",              imageSrc: "http://img.b2bpic.net/free-photo/modern-mirror-building_1150-12657.jpg",              imageAlt: "General contracting team at work site"},
          ]}
        />
      </div>

      <div id="portfolio" data-section="portfolio">
        <ProductCardOne
          title="Recent Projects"
          description="Explore our recent work across Atlanta. Each project reflects our commitment to quality, attention to detail, and client satisfaction."
          tag="Portfolio"
          tagIcon={Image}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="bento-grid"
          products={[
            {
              id: "1",              name: "Buckhead Residence Renovation",              price: "$450k",              imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg",              imageAlt: "Luxury home renovation in Buckhead"},
            {
              id: "2",              name: "Midtown Office Buildout",              price: "$850k",              imageSrc: "http://img.b2bpic.net/free-photo/low-angle-view-glass-roof-modern-building_1359-247.jpg",              imageAlt: "Modern office space in Midtown Atlanta"},
            {
              id: "3",              name: "Virginia Highland Kitchen Remodel",              price: "$95k",              imageSrc: "http://img.b2bpic.net/free-photo/workers-talking-phone-doing-paperwork_23-2147668775.jpg",              imageAlt: "Contemporary kitchen renovation"},
            {
              id: "4",              name: "East Atlanta Retail Space",              price: "$320k",              imageSrc: "http://img.b2bpic.net/free-photo/indoor-alone-corridor_1127-279.jpg",              imageAlt: "Retail interior construction"},
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardOne
          title="Client Testimonials"
          description="Hear from homeowners and business owners who've partnered with us. Their feedback speaks to our commitment to excellence and client satisfaction."
          tag="Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="uniform-all-items-equal"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Homeowner",              company: "Buckhead Resident",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Sarah Mitchell, satisfied client"},
            {
              id: "2",              name: "James Chen",              role: "Business Owner",              company: "Chen Retail Solutions",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "James Chen, commercial client"},
            {
              id: "3",              name: "Jennifer Rodriguez",              role: "Property Manager",              company: "Atlanta Properties Group",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg",              imageAlt: "Jennifer Rodriguez, property manager"},
            {
              id: "4",              name: "Michael Thompson",              role: "Real Estate Developer",              company: "Thompson Development",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Michael Thompson, developer client"},
            {
              id: "5",              name: "Lisa Park",              role: "Homeowner",              company: "Virginia Highland",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "Lisa Park, residential client"},
            {
              id: "6",              name: "David Williams",              role: "Office Manager",              company: "Midtown Business Hub",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg",              imageAlt: "David Williams, commercial client"},
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardSeven
          title="By the Numbers"
          description="Our track record speaks to our dedication to quality and client satisfaction. These metrics represent years of trusted partnership and professional excellence."
          tag="Our Impact"
          tagIcon={TrendingUp}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="scale-rotate"
          metrics={[
            {
              id: "1",              value: "17+",              title: "Years Serving Atlanta",              items: [
                "Continuous operation since 2008",                "Licensed and insured",                "Award-winning contractor"],
            },
            {
              id: "2",              value: "500+",              title: "Projects Completed",              items: [
                "Residential renovations",                "Commercial builds",                "Property improvements"],
            },
            {
              id: "3",              value: "98%",              title: "Client Satisfaction Rate",              items: [
                "Repeat client base",                "5-star reviews",                "Referral-driven growth"],
            },
            {
              id: "4",              value: "15+",              title: "Team Members",              items: [
                "Expert tradespeople",                "Project managers",                "Quality inspectors"],
            },
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactCTA
          tag="Ready to Build"
          tagIcon={Phone}
          tagAnimation="slide-up"
          title="Let's Bring Your Vision to Life"
          description="Contact us today for a free consultation. We'll discuss your project, answer questions, and provide a transparent estimate. Our team is committed to making your construction experience seamless and rewarding."
          buttons={[
            { text: "Request a Quote", href: "#" },
            { text: "Call Us", href: "tel:+14045551234" },
          ]}
          buttonAnimation="slide-up"
          background={{ variant: "sparkles-gradient" }}
          useInvertedBackground={false}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Atlanta Construction"
          copyrightText="© 2025 Atlanta Construction. All rights reserved."
          columns={[
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Services", href: "#services" },
                { label: "Portfolio", href: "#portfolio" },
              ],
            },
            {
              title: "Resources",              items: [
                { label: "Client Testimonials", href: "#testimonials" },
                { label: "Contact Us", href: "#contact" },
                { label: "Request Quote", href: "#" },
              ],
            },
            {
              title: "Connect",              items: [
                { label: "Phone: (404) 555-1234", href: "tel:+14045551234" },
                { label: "Email: info@atlascontruction.com", href: "mailto:info@atlascontruction.com" },
                { label: "Atlanta, Georgia", href: "#" },
              ],
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
