"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple';
import MediaAbout from '@/components/sections/about/MediaAbout';
import FeatureCardTen from '@/components/sections/feature/FeatureCardTen';
import ContactText from '@/components/sections/contact/ContactText';
import FooterBase from '@/components/sections/footer/FooterBase';
import { Award, Leaf, Globe, Sparkles, Palette, Beaker, Star, CheckCircle, Shield, Zap } from "lucide-react";

export default function AboutPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="sharp"
      contentWidth="mediumLarge"
      sizing="large"
      background="circleGradient"
      cardStyle="gradient-radial"
      primaryButtonStyle="inset-glow"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleApple
          brandName="Lavanda"
          navItems={[
            { name: "Home", id: "/" },
            { name: "Collections", id: "/collections" },
            { name: "About", id: "/about" },
            { name: "Contact", id: "/contact" }
          ]}
        />
      </div>

      <div id="about" data-section="about">
        <MediaAbout
          title="Our Story of Excellence"
          description="Founded in 1995 with a passion for olfactory perfection, Lavanda has grown from a small artisan workshop to an internationally recognized fragrance house. Our commitment to quality and innovation continues to drive everything we do."
          tag="Heritage"
          imageSrc="https://img.b2bpic.net/free-photo/closeup-purple-petaled-flowers_417767-609.jpg"
          imageAlt="Beautiful lavender fields representing our heritage"
          buttons={[{ text: "Explore Collections", href: "/collections" }]}
          useInvertedBackground="noInvert"
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardTen
          title="Our Craft"
          description="From sourcing the finest ingredients to the final bottle, every step reflects our commitment to excellence."
          tag="Process"
          tagIcon={Award}
          features={[
            {
              id: "1",              title: "Ingredient Sourcing",              description: "We partner with the world's finest botanical suppliers to source rare and precious ingredients. Each component is selected for its purity and aromatic properties.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/glass-vase-female-hand-home-goods-store_169016-52128.jpg" },
              items: [
                { icon: Leaf, text: "100% natural ingredients" },
                { icon: Globe, text: "Global supplier network" },
                { icon: Sparkles, text: "Certified sustainable" }
              ],
              reverse: false
            },
            {
              id: "2",              title: "Artisan Blending",              description: "Our master perfumers blend each fragrance with precision and passion, creating harmonious compositions that evolve beautifully on the skin.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/ingredients-pastry_23-2147693995.jpg" },
              items: [
                { icon: Palette, text: "Master perfumer expertise" },
                { icon: Beaker, text: "Science meets art" },
                { icon: Star, text: "Award-winning formulas" }
              ],
              reverse: true
            },
            {
              id: "3",              title: "Quality Assurance",              description: "Every batch undergoes rigorous testing to ensure consistency, stability, and excellence. Our standards exceed industry requirements.",              media: { imageSrc: "https://img.b2bpic.net/free-photo/beakers-equipment-table-factory-laboratory_1359-307.jpg" },
              items: [
                { icon: CheckCircle, text: "Laboratory tested" },
                { icon: Shield, text: "Dermatologist approved" },
                { icon: Zap, text: "Longevity verified" }
              ],
              reverse: false
            }
          ]}
          textboxLayout="default"
          animationType="slide-up"
          useInvertedBackground="invertDefault"
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Want to learn more about our heritage and craftsmanship? We'd love to share our story with you."
          animationType="entrance-slide"
          buttons={[
            { text: "Visit Our Atelier", href: "/visit" },
            { text: "Contact Us", href: "/contact" }
          ]}
          useInvertedBackground="noInvert"
        />
      </div>

      <FooterBase
        logoText="Lavanda"
        copyrightText="© 2025 Lavanda Fragrances. All rights reserved."
        columns={[
          {
            title: "Collections",            items: [
              { label: "All Fragrances", href: "/collections" },
              { label: "New Arrivals", href: "/collections" },
              { label: "Limited Edition", href: "/collections" }
            ]
          },
          {
            title: "Company",            items: [
              { label: "About Us", href: "/about" },
              { label: "Our Story", href: "/about" },
              { label: "Careers", href: "/careers" }
            ]
          },
          {
            title: "Support",            items: [
              { label: "Contact Us", href: "/contact" },
              { label: "FAQ", href: "/faq" },
              { label: "Shipping Info", href: "/shipping" }
            ]
          }
        ]}
      />
    </ThemeProvider>
  );
}