"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import AboutMetric from '@/components/sections/about/AboutMetric';
import ProductCardFour from '@/components/sections/product/ProductCardFour';
import FeatureCardTwelve from '@/components/sections/feature/FeatureCardTwelve';
import TeamCardSix from '@/components/sections/team/TeamCardSix';
import TestimonialCardTwo from '@/components/sections/testimonial/TestimonialCardTwo';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterSimple from '@/components/sections/footer/FooterSimple';
import { Sparkles, Heart, Users, ShoppingCart, Award, Check, MapPin, Star } from 'lucide-react';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-bubble"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLarge"
      background="blurBottom"
      cardStyle="glass-depth"
      primaryButtonStyle="double-inset"
      secondaryButtonStyle="layered"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          navItems={[
            { name: "Home", id: "home" },
            { name: "About", id: "about" },
            { name: "Products", id: "products" },
            { name: "Contact", id: "contact" }
          ]}
          brandName="VW Lane Butchers"
          bottomLeftText="Since your local neighbourhood"
          bottomRightText="131 Bath Road, Cheltenham"
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Premium Local Butchery Since Your Community Started"
          description="Handpicked quality meats from trusted suppliers. Supporting our local community one cut at a time. Visit VW Lane Butchers at 131 Bath Road, Cheltenham."
          background={{ variant: "plain" }}
          tag="Cheltenham's Finest"
          tagIcon={Sparkles}
          buttons={[
            { text: "View Our Selection", href: "#products" },
            { text: "Get in Touch", href: "#contact" }
          ]}
          carouselItems={[
            { id: "carousel-1", imageSrc: "http://img.b2bpic.net/free-photo/cutting-cooked-steak-food-photography-recipe-ide_53876-144780.jpg?_wi=1", imageAlt: "Premium beef cuts" },
            { id: "carousel-2", imageSrc: "http://img.b2bpic.net/free-photo/raw-lamb-chops-with-spices-herbs-close-up-wooden-background_1417-152.jpg?_wi=1", imageAlt: "Fresh lamb selection" },
            { id: "carousel-3", imageSrc: "http://img.b2bpic.net/free-photo/raw-chicken-fillet-with-garlic-pepper-rosemary-wooden-chopping-board_1150-37784.jpg?_wi=1", imageAlt: "Quality chicken cuts" },
            { id: "carousel-4", imageSrc: "http://img.b2bpic.net/free-photo/top-distant-view-becon-slices-chopping-board_140725-99759.jpg?_wi=1", imageAlt: "Specialty pork products" },
            { id: "carousel-5", imageSrc: "http://img.b2bpic.net/free-photo/smoked-meat-served-with-olives-tomatoes_141793-963.jpg?_wi=1", imageAlt: "Game meats selection" },
            { id: "carousel-6", imageSrc: "http://img.b2bpic.net/free-photo/meat-set-table_140725-8629.jpg?_wi=1", imageAlt: "Ready-to-cook prepared meats" }
          ]}
          autoPlay={true}
          autoPlayInterval={5000}
        />
      </div>

      <div id="about" data-section="about">
        <AboutMetric
          title="Serving Cheltenham's Finest Families with Passion, Expertise, and the Highest Quality Meats"
          metrics={[
            { icon: Heart, label: "Years of Local Tradition", value: "30+" },
            { icon: Users, label: "Happy Local Customers", value: "5,000+" },
            { icon: ShoppingCart, label: "Premium Meat Cuts", value: "100+" },
            { icon: Award, label: "Trusted Staff Members", value: "4" }
          ]}
          metricsAnimation="slide-up"
          useInvertedBackground={false}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardFour
          title="Our Premium Selection"
          description="Carefully sourced and expertly prepared. Each cut is hand-selected for quality and freshness."
          tag="Fresh Daily"
          tagIcon={Check}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="three-columns-all-equal-width"
          products={[
            { id: "beef", name: "Premium Beef", price: "Market Price", variant: "Steaks, Roasts, Ground", imageSrc: "http://img.b2bpic.net/free-photo/cutting-cooked-steak-food-photography-recipe-ide_53876-144780.jpg?_wi=2", imageAlt: "Premium beef cuts" },
            { id: "lamb", name: "Fresh Lamb", price: "Market Price", variant: "Chops, Leg, Shanks", imageSrc: "http://img.b2bpic.net/free-photo/raw-lamb-chops-with-spices-herbs-close-up-wooden-background_1417-152.jpg?_wi=2", imageAlt: "Fresh lamb selection" },
            { id: "chicken", name: "Quality Poultry", price: "Market Price", variant: "Whole, Breasts, Thighs", imageSrc: "http://img.b2bpic.net/free-photo/raw-chicken-fillet-with-garlic-pepper-rosemary-wooden-chopping-board_1150-37784.jpg?_wi=2", imageAlt: "Quality chicken cuts" },
            { id: "pork", name: "Specialty Pork", price: "Market Price", variant: "Chops, Bacon, Sausages", imageSrc: "http://img.b2bpic.net/free-photo/top-distant-view-becon-slices-chopping-board_140725-99759.jpg?_wi=2", imageAlt: "Specialty pork products" },
            { id: "game", name: "Game Meats", price: "Market Price", variant: "Venison, Pheasant, Duck", imageSrc: "http://img.b2bpic.net/free-photo/smoked-meat-served-with-olives-tomatoes_141793-963.jpg?_wi=2", imageAlt: "Game meats selection" },
            { id: "cooked", name: "Prepared Meats", price: "Market Price", variant: "Ready-to-Cook, Deli", imageSrc: "http://img.b2bpic.net/free-photo/meat-set-table_140725-8629.jpg?_wi=2", imageAlt: "Ready-to-cook prepared meats" }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTwelve
          title="Why Choose VW Lane Butchers"
          description="Experience the difference that local expertise and quality commitment makes"
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          features={[
            {
              id: "quality",              label: "Quality",              title: "Hand-Selected Premium Cuts",              items: ["Daily fresh delivery", "Supplier relationships built on trust", "Rigorous quality standards", "Expert meat selection"]
            },
            {
              id: "expertise",              label: "Expertise",              title: "Local Master Butchers",              items: ["30+ years of tradition", "Professional training & certification", "Custom cuts available", "Cooking advice & recipes"]
            },
            {
              id: "community",              label: "Community",              title: "Supporting Local Cheltenham",              items: ["Local business pride", "Sustainable sourcing", "Supporting local economy", "Family-friendly service"]
            }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardSix
          title="Meet Our Team"
          description="The passionate professionals behind every perfect cut"
          tag="Our Staff"
          tagIcon={Users}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          gridVariant="four-items-2x2-equal-grid"
          members={[
            { id: "owner", name: "Shop Owner", role: "Master Butcher & Proprietor", imageSrc: "http://img.b2bpic.net/free-photo/bearded-butcher-dressed-fleece-shirt-serving-fresh-cut-meat-market_613910-16169.jpg", imageAlt: "Shop owner" },
            { id: "staff-1", name: "Experienced Staff", role: "Senior Butcher", imageSrc: "http://img.b2bpic.net/free-photo/male-butcher-posing-counter_7502-4755.jpg", imageAlt: "Senior staff member" },
            { id: "staff-2", name: "Skilled Butcher", role: "Meat Specialist", imageSrc: "http://img.b2bpic.net/free-photo/supermarket-worker-organizing-position-meat-department_342744-1068.jpg", imageAlt: "Skilled butcher" },
            { id: "staff-3", name: "Professional Staff", role: "Customer Service Expert", imageSrc: "http://img.b2bpic.net/free-photo/focused-master-chef-wearing-uniform-cooking-delicious-beef-steak-kitchen-restaurant_613910-18983.jpg", imageAlt: "Customer service staff" }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="What Our Customers Say"
          description="Real reviews from Cheltenham locals who trust us for their family meals"
          tag="Customer Reviews"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          testimonials={[
            { id: "1", name: "Margaret Thompson", role: "Local Family", testimonial: "VW Lane Butchers has been my go-to for Sunday roasts for over a decade. Their quality is unmatched and the team always remembers exactly how I like my cuts prepared.", imageSrc: "http://img.b2bpic.net/free-photo/positive-customer-approving-new-offer_1262-17151.jpg", imageAlt: "Margaret Thompson" },
            { id: "2", name: "David Richardson", role: "Chef & Local", testimonial: "As a chef, I'm picky about my suppliers. VW Lane is exceptional. The consistency, freshness, and expert advice have made them an essential part of my kitchen.", imageSrc: "http://img.b2bpic.net/free-photo/satisfied-female-customer-making-like-gesture-with-both-hands_74855-3666.jpg", imageAlt: "David Richardson" },
            { id: "3", name: "Sarah Ahmed", role: "Community Member", testimonial: "I love supporting local business, and VW Lane makes it easy. The staff are friendly, knowledgeable, and genuinely care about helping you get the perfect meal.", imageSrc: "http://img.b2bpic.net/free-photo/dreamy-beautiful-female-with-warm-blue-eyes-positive-smile-dressed-casually-has-dark-hair-tied-knot-drinks-fresh-cocktail-being-pleased-spend-free-time-cafeteria-summer-rest-leisure_273609-3039.jpg", imageAlt: "Sarah Ahmed" },
            { id: "4", name: "James Wilson", role: "Dinner Party Host", testimonial: "Every special meal I host starts with a visit to VW Lane. Their premium selections and personal service have never let me down. Simply the best in Cheltenham.", imageSrc: "http://img.b2bpic.net/free-photo/satisfied-happy-female-customer-making-like-gesture_74855-3668.jpg", imageAlt: "James Wilson" }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Visit Us Today"
          ctaDescription="Drop by our shop at 131 Bath Road, Cheltenham. We're here to help with expert advice and the finest selection of quality meats."
          ctaIcon={MapPin}
          ctaButton={{ text: "Get Directions", href: "https://maps.google.com/?q=131+Bath+Road+Cheltenham" }}
          useInvertedBackground={false}
          animationType="slide-up"
          faqs={[
            { id: "1", title: "What are your opening hours?", content: "Contact us at 131 Bath Road, Cheltenham for our current opening hours. We're committed to serving your family's weekly needs with convenient access." },
            { id: "2", title: "Do you offer custom cuts?", content: "Absolutely! Our expert butchers love preparing custom cuts. Just ask our team what you're looking to cook, and we'll prepare it perfectly for your meal." },
            { id: "3", title: "Can I order in advance?", content: "Yes, we encourage advance orders for special occasions or specific cuts. This ensures we have exactly what you need ready for your important meals." },
            { id: "4", title: "Do you source locally?", content: "We partner with trusted local and regional suppliers who share our commitment to quality. Supporting our community is at the heart of what we do." }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSimple
          columns={[
            {
              title: "Navigate",              items: [
                { label: "Home", href: "#home" },
                { label: "About Us", href: "#about" },
                { label: "Our Products", href: "#products" },
                { label: "Meet the Team", href: "#team" }
              ]
            },
            {
              title: "Contact",              items: [
                { label: "131 Bath Road, Cheltenham", href: "#" },
                { label: "Call for hours", href: "#" },
                { label: "Visit our shop", href: "#contact" }
              ]
            },
            {
              title: "Community",              items: [
                { label: "Customer Reviews", href: "#testimonials" },
                { label: "Cooking Tips", href: "#" },
                { label: "Local Sourcing", href: "#" }
              ]
            }
          ]}
          bottomLeftText="© 2025 VW Lane Butchers. Supporting Cheltenham's families."
          bottomRightText="Local Quality Since Day One"
        />
      </div>
    </ThemeProvider>
  );
}
