"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
import HeroLogo from "@/components/sections/hero/HeroLogo";
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
import FeatureCardTwentySix from "@/components/sections/feature/FeatureCardTwentySix";
import TestimonialCardTwo from "@/components/sections/testimonial/TestimonialCardTwo";
import TeamCardEleven from "@/components/sections/team/TeamCardEleven";
import ContactText from "@/components/sections/contact/ContactText";
import FooterBase from "@/components/sections/footer/FooterBase";
import { Heart, Sparkles, Star, Wine, UtensilsCrossed, Users, Celebration, Building2, ChefHat, Handshake } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="reveal-blur"
      borderRadius="soft"
      contentWidth="medium"
      sizing="mediumSizeLargeTitles"
      background="noiseDiagonalGradient"
      cardStyle="outline"
      primaryButtonStyle="primary-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="normal"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Darmos Café"
          navItems={[
            { name: "About", id: "about" },
            { name: "Menu", id: "offerings" },
            { name: "Team", id: "team" },
            { name: "Events", id: "events" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Book Your Table",            href: "#events"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroLogo
          logoText="Your Neighborhood Escape Awaits"
          description="Craft cocktails, comfort food, and the kind of people you'll want to see again—all wrapped in golden light and genuine warmth."
          buttons={[
            { text: "Book Your Table", href: "https://www.opentable.com" },
            { text: "Explore Our Story", href: "#about" }
          ]}
          imageSrc="http://img.b2bpic.net/free-photo/woman-looking-man-side-view_23-2148422322.jpg"
          imageAlt="Darmos Café cozy interior with golden lighting"
          buttonAnimation="slide-up"
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <InlineImageSplitTextAbout
          heading={[
            { type: "text", content: "More Than a Bar—Your Third Space" }
          ]}
          useInvertedBackground={false}
          buttons={[
            { text: "Reserve Now", href: "https://www.opentable.com" }
          ]}
          buttonAnimation="slide-up"
        />
      </div>

      <div id="offerings" data-section="offerings">
        <FeatureCardTwentySix
          title="What We Offer"
          description="Every element of Darmos is crafted with intention—from the first sip to the final toast."
          tag="Our Specialties"
          tagIcon={Sparkles}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          features={[
            {
              title: "Craft Cocktails",              description: "Hand-crafted cocktails made with premium spirits, fresh ingredients, and a bartender's touch. Every drink tells a story.",              imageSrc: "http://img.b2bpic.net/free-photo/essential-kitchen-items-moody-backdrop_58702-17801.jpg",              imageAlt: "Artisan craft cocktails expertly mixed",              buttonIcon: Wine,
              buttonHref: "#contact"
            },
            {
              title: "Comfort Food Done Right",              description: "Elevated comfort cuisine designed to satisfy and delight. Small plates, shareables, and hearty mains made with care.",              imageSrc: "http://img.b2bpic.net/free-photo/rice-dish-menu_23-2147681081.jpg",              imageAlt: "Beautifully plated comfort food",              buttonIcon: UtensilsCrossed,
              buttonHref: "#contact"
            },
            {
              title: "Genuine People Behind the Bar",              description: "Our team knows you by name and remembers how you take your drink. We're here to make connections, not transactions.",              imageSrc: "http://img.b2bpic.net/free-photo/closeup-bartender-hands-pouring-alcoholic-drink-professional-drink-making_482257-45305.jpg",              imageAlt: "Professional bartender at Darmos Café",              buttonIcon: Users,
              buttonHref: "#team"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardTwo
          title="Loved by Our Community"
          description="Hear from the neighbors who've made Darmos their favorite gathering place."
          tag="Real Reviews"
          tagIcon={Star}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          animationType="opacity"
          testimonials={[
            {
              id: "1",              name: "Sarah Mitchell",              role: "Regular Guest",              testimonial: "Darmos feels like home. The bartenders know my name, the cocktails are impeccable, and the energy is just right—cozy without being stuffy. It's become my essential third space.",              imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-sensual-woman-sunset_1303-20869.jpg",              imageAlt: "Sarah Mitchell",              icon: Heart
            },
            {
              id: "2",              name: "Michael Chen",              role: "Event Host",              testimonial: "I hosted my team's quarterly celebration at Darmos and it was flawless. The space is intimate, the service is attentive, and everyone felt genuinely welcomed. Already planning our next gathering.",              imageSrc: "http://img.b2bpic.net/free-photo/pensive-person-alone-corridor-serious_1262-1042.jpg",              imageAlt: "Michael Chen",              icon: Heart
            },
            {
              id: "3",              name: "Jessica Rodriguez",              role: "Neighborhood Local",              testimonial: "Finally, a place that gets it right. The cocktails are creative, the food is comforting, and the vibe is warm without trying too hard. This is what a neighborhood café should be.",              imageSrc: "http://img.b2bpic.net/free-photo/front-view-smiley-woman-sitting-chair_23-2149927604.jpg",              imageAlt: "Jessica Rodriguez",              icon: Heart
            },
            {
              id: "4",              name: "David Thompson",              role: "Frequent Visitor",              testimonial: "Darmos has become my go-to spot for after-work decompression. Great drinks, genuine people, and an atmosphere that makes you want to linger. Can't recommend it enough.",              imageSrc: "http://img.b2bpic.net/free-photo/businessman-smiling-camera_107420-95907.jpg",              imageAlt: "David Thompson",              icon: Heart
            },
            {
              id: "5",              name: "Emma Walsh",              role: "Event Organizer",              testimonial: "I've booked Darmos for multiple private events and every single one has been a success. Their team goes above and beyond to make guests feel special.",              imageSrc: "http://img.b2bpic.net/free-photo/headshot-beautiful-female-model-with-blue-eyes-cute-cheerful-smile-posing-white-wall_273609-9057.jpg",              imageAlt: "Emma Walsh",              icon: Heart
            },
            {
              id: "6",              name: "James Park",              role: "Regular Guest",              testimonial: "There's something magic about Darmos. The quality, the people, the entire experience. It's rare to find a place that delivers on authenticity and craft. Darmos does both beautifully.",              imageSrc: "http://img.b2bpic.net/free-photo/young-male-model-posing-outdoor_23-2148289284.jpg",              imageAlt: "James Park",              icon: Heart
            }
          ]}
        />
      </div>

      <div id="team" data-section="team">
        <TeamCardEleven
          title="Meet the Darmos Crew"
          description="The genuine people who make every visit memorable."
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          groups={[
            {
              id: "bar-team",              groupTitle: "Bar & Hospitality",              members: [
                {
                  id: "marcus-lead",                  title: "Marcus Sullivan",                  subtitle: "Head Bartender & Co-Owner",                  detail: "15 years of craft cocktail expertise. Marcus believes every drink is an opportunity to impress and every guest deserves genuine attention.",                  imageSrc: "http://img.b2bpic.net/free-photo/bartender-working-club_23-2150497649.jpg",                  imageAlt: "Marcus Sullivan, Head Bartender"
                },
                {
                  id: "elena-bartender",                  title: "Elena Vasquez",                  subtitle: "Lead Bartender",                  detail: "Master mixologist with a passion for seasonal ingredients and molecular cocktails. Elena's creations are as beautiful as they are delicious.",                  imageSrc: "http://img.b2bpic.net/free-photo/bartender-working-club_23-2150497649.jpg",                  imageAlt: "Elena Vasquez, Lead Bartender"
                }
              ]
            },
            {
              id: "culinary-team",              groupTitle: "Kitchen & Culinary",              members: [
                {
                  id: "chef-thomas",                  title: "Thomas Park",                  subtitle: "Executive Chef",                  detail: "Former fine dining chef, Thomas brings refined technique to comfort food. His menu celebrates local ingredients and nostalgic flavors elevated.",                  imageSrc: "http://img.b2bpic.net/free-photo/surprised-young-male-cook-wearing-chef-uniform-crossing-hands-with-copy-space_141793-38137.jpg",                  imageAlt: "Thomas Park, Executive Chef"
                }
              ]
            },
            {
              id: "management",              groupTitle: "Management & Operations",              members: [
                {
                  id: "owner-alexander",                  title: "Alexander Darmos",                  subtitle: "Founder & Owner",                  detail: "Visionary hospitality leader who created Darmos to be a true neighborhood gathering place. Alexander's commitment to authenticity defines everything we do.",                  imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-painting-watercolors_23-2150170387.jpg",                  imageAlt: "Alexander Darmos, Founder & Owner"
                }
              ]
            }
          ]}
        />
      </div>

      <div id="events" data-section="events">
        <FeatureCardTwentySix
          title="Host Your Celebration"
          description="Intimate gatherings for birthdays, anniversaries, team celebrations, and everything in between. Your event becomes our priority."
          tag="Private Events"
          tagIcon={Celebration}
          tagAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          buttonAnimation="slide-up"
          buttons={[
            { text: "Inquire About Private Events", href: "#contact" }
          ]}
          features={[
            {
              title: "Flexible Spaces",              description: "Multiple intimate spaces perfect for groups of 8 to 40. Each area maintains Darmos's signature warmth and golden ambiance.",              imageSrc: "http://img.b2bpic.net/free-photo/christmas-tree-decorations_1232-5039.jpg",              imageAlt: "Private dining event setup at Darmos",              buttonIcon: Building2
            },
            {
              title: "Custom Menus & Packages",              description: "Work with our team to design a menu and experience tailored to your celebration. Signature cocktails, small plates, and more.",              imageSrc: "http://img.b2bpic.net/free-photo/rice-dish-menu_23-2147681081.jpg",              imageAlt: "Custom event menu options",              buttonIcon: ChefHat
            },
            {
              title: "Dedicated Event Support",              description: "From booking to the final toast, our team ensures every detail is perfect. We handle logistics so you can enjoy the moment.",              imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-man-painting-watercolors_23-2150170387.jpg",              imageAlt: "Event coordination team",              buttonIcon: Handshake
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactText
          text="Ready to experience Darmos? Reserve your table, inquire about events, or simply stop by. We're here to welcome you."
          background={{ variant: "radial-gradient" }}
          useInvertedBackground={false}
          animationType="entrance-slide"
          buttons={[
            { text: "Book a Table on OpenTable", href: "https://www.opentable.com" },
            { text: "Contact Us for Events", href: "mailto:events@darmoscafe.com" }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBase
          logoText="Darmos Café"
          copyrightText="© 2025 Darmos Café. All rights reserved."
          columns={[
            {
              title: "Explore",              items: [
                { label: "Our Story", href: "#about" },
                { label: "Menu & Offerings", href: "#offerings" },
                { label: "Meet the Team", href: "#team" },
                { label: "Private Events", href: "#events" }
              ]
            },
            {
              title: "Reserve",              items: [
                { label: "Book a Table", href: "https://www.opentable.com" },
                { label: "Inquire About Events", href: "#contact" },
                { label: "Contact Us", href: "#contact" }
              ]
            },
            {
              title: "Connect",              items: [
                { label: "Instagram", href: "https://instagram.com" },
                { label: "Email", href: "mailto:hello@darmoscafe.com" },
                { label: "Phone", href: "tel:+1234567890" }
              ]
            },
            {
              title: "Legal",              items: [
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}