"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import ReactLenis from "lenis/react";
import LegalSection from '@/components/legal/LegalSection';
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';

export default function ImpressumPage() {
  return (
    <ThemeProvider
        defaultButtonVariant="elastic-effect"
        defaultTextAnimation="entrance-slide"
        borderRadius="soft"
        contentWidth="mediumSmall"
        sizing="medium"
        background="noiseDiagonalGradient"
        cardStyle="glass-elevated"
        primaryButtonStyle="diagonal-gradient"
        secondaryButtonStyle="glass"
        headingFontWeight="semibold"
    >
      <ReactLenis root>
        <NavbarLayoutFloatingInline
          navItems={[
            { name: "Home", id: "/" },
          ]}
          brandName="Mili’s Cafe"
        />
        <LegalSection
          layout="page"
          title="Impressum"
          sections={[
            { heading: "Angaben gemäß § 5 TMG", content: { type: "paragraph", text: "Mili’s Cafe\nNeustädter Neuer Weg 20\n20459 Hamburg" } },
            { heading: "Kontakt", content: { type: "paragraph", text: "Telefon: 040 71622282" } }
          ]}
        />
        <FooterBaseCard
          logoText="Mili’s Cafe"
          columns={[
            { title: "Kontakt", items: [{ label: "Neustädter Neuer Weg 20", href: "https://maps.app.goo.gl/yC7LqP7Jb5J9f5K88" }, { label: "040 71622282", href: "tel:+494071622282" }] },
            { title: "Rechtliches", items: [{ label: "Impressum", href: "/impressum" }, { label: "Datenschutz", href: "/datenschutz" }] },
          ]}
        />
      </ReactLenis>
    </ThemeProvider>
  );
}