"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleFullscreen from '@/components/navbar/NavbarStyleFullscreen/NavbarStyleFullscreen';
import TestimonialAboutCard from '@/components/sections/about/TestimonialAboutCard';
import TeamCardTwo from '@/components/sections/team/TeamCardTwo';
import FooterMedia from '@/components/sections/footer/FooterMedia';
import { Zap, Linkedin, Globe } from "lucide-react";

export default function HeritagePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="rounded"
      contentWidth="smallMedium"
      sizing="mediumSizeLargeTitles"
      background="circleGradient"
      cardStyle="elevated"
      primaryButtonStyle="gradient"
      secondaryButtonStyle="layered"
      headingFontWeight="medium"
    >
      {/* Navigation */}
      <div id="nav" data-section="nav">
        <NavbarStyleFullscreen
          brandName="Porsche"
          navItems={[
            { name: "Models", id: "products" },
            { name: "Performance", id: "features" },
            { name: "Heritage", id: "about" },
            { name: "Innovation", id: "team" },
            { name: "Contact", id: "contact" }
          ]}
          bottomLeftText="Engineering Excellence"
          bottomRightText="hello@porsche.com"
        />
      </div>

      {/* About Section */}
      <div id="about" data-section="about">
        <TestimonialAboutCard
          tag="Legacy"
          title="Seven Decades of Uncompromising Excellence and Automotive Innovation"
          description="Ferdinand Porsche"
          subdescription="Visionary Founder - Engineering Pioneer Since 1948"
          icon={Zap}
          imageSrc="https://img.b2bpic.net/free-photo/mini-coupe-driving-highway-accross-mountains_114579-4015.jpg"
          imageAlt="Porsche heritage and manufacturing excellence"
          useInvertedBackground="noInvert"
        />
      </div>

      {/* Team Section */}
      <div id="team" data-section="team">
        <TeamCardTwo
          title="Leadership & Innovation"
          description="Meet the visionary leaders driving Porsche's commitment to excellence and shaping the future of automotive performance."
          members={[
            {
              id: "1",
              name: "Klaus Zellmer",
              role: "CEO & President",
              description: "Visionary leader driving Porsche's strategic direction and global expansion with decades of automotive expertise.",
              imageSrc: "https://img.b2bpic.net/free-photo/pensive-mature-businessman-formal-suit-glasses-standing-by-office-glass-wall-looking-away-copy-space-business-portrait-concept_74855-14255.jpg",
              imageAlt: "Klaus Zellmer, CEO of Porsche",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Globe, url: "https://porsche.com" }
              ]
            },
            {
              id: "2",
              name: "Alexander Doll",
              role: "Chief Technology Officer",
              description: "Engineering innovator leading Porsche's technological advancement and sustainable performance solutions.",
              imageSrc: "https://img.b2bpic.net/free-photo/content-indian-ceo-standing-smiling-portrait-successful-pensive-bearded-businessman-glasses-posing-office-room-business-expression-management-concept_74855-11642.jpg",
              imageAlt: "Alexander Doll, CTO of Porsche",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Globe, url: "https://porsche.com" }
              ]
            },
            {
              id: "3",
              name: "Michael Steup",
              role: "Chief Designer",
              description: "Design visionary crafting Porsche's iconic aesthetic with timeless elegance and aerodynamic precision.",
              imageSrc: "https://img.b2bpic.net/free-photo/professional-broker_1098-14468.jpg",
              imageAlt: "Michael Steup, Chief Designer of Porsche",
              socialLinks: [
                { icon: Linkedin, url: "https://linkedin.com" },
                { icon: Globe, url: "https://porsche.com" }
              ]
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground="invertDefault"
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterMedia
          imageSrc="https://img.b2bpic.net/free-photo/sport-cars-parade-race-highway_114579-4052.jpg"
          imageAlt="Porsche racing legacy"
          logoText="Porsche"
          copyrightText="© 2025 Porsche AG. All rights reserved."
          columns={[
            {
              title: "Models",
              items: [
                { label: "911", href: "products" },
                { label: "Cayenne", href: "products" },
                { label: "Panamera", href: "products" },
                { label: "Taycan", href: "products" }
              ]
            },
            {
              title: "Company",
              items: [
                { label: "About Us", href: "about" },
                { label: "Careers", href: "about" },
                { label: "Heritage", href: "about" },
                { label: "Innovation", href: "team" }
              ]
            },
            {
              title: "Support",
              items: [
                { label: "Customer Service", href: "contact" },
                { label: "Warranty", href: "contact" },
                { label: "Service Centers", href: "contact" },
                { label: "Contact Us", href: "contact" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}