"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingOverlay from "@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay";
import HeroOverlay from "@/components/sections/hero/HeroOverlay";
import TestimonialCardSixteen from "@/components/sections/testimonial/TestimonialCardSixteen";
import FeatureCardSixteen from "@/components/sections/feature/FeatureCardSixteen";
import ProductCardTwo from "@/components/sections/product/ProductCardTwo";
import PricingCardNine from "@/components/sections/pricing/PricingCardNine";
import ContactFaq from "@/components/sections/contact/ContactFaq";
import FooterCard from "@/components/sections/footer/FooterCard";
import { Phone, Twitter, Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="text-stagger"
      defaultTextAnimation="reveal-blur"
      borderRadius="rounded"
      contentWidth="small"
      sizing="largeSmallSizeLargeTitles"
      background="floatingGradient"
      cardStyle="outline"
      primaryButtonStyle="shadow"
      secondaryButtonStyle="solid"
      headingFontWeight="extrabold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingOverlay
          brandName="Garden Cafe"
          navItems={[
            { name: "Home", id: "hero" },
            { name: "Why Us", id: "features" },
            { name: "Menu", id: "product" },
            { name: "Celebrations", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "📞 Call Now", href: "tel:+917415571557" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroOverlay
          title="Nikol's Favourite Garden Cafe Experience"
          description="Relax. Celebrate. Enjoy Great Food."
          tag="🌿 Open Till 11 PM"
          imageSrc="http://img.b2bpic.net/free-photo/outdoor-breakfast_1098-12924.jpg"
          imageAlt="Garden seating area at Garden Cafe"
          textPosition="bottom-left"
          showBlur={true}
          showDimOverlay={false}
          buttons={[
            { text: "📞 Call Now", href: "tel:+917415571557" },
            { text: "🍽 Reserve a Table", href: "#contact" }
          ]}
        />
      </div>

      <div id="trust" data-section="trust">
        <TestimonialCardSixteen
          title="Trusted by 1,293+ Happy Customers"
          description="Experience the warmth and excellence that keeps families coming back"
          tag="⭐ 4.7 Rating"
          testimonials={[
            {
              id: "1",              name: "Priya Sharma",              role: "Regular Customer",              company: "Nikol Community",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg?_wi=1",              imageAlt: "professional portrait customer photo team member cafe staff"
            },
            {
              id: "2",              name: "Rajesh Patel",              role: "Family Visitor",              company: "Local Resident",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg?_wi=2",              imageAlt: "professional portrait customer photo team member cafe staff"
            },
            {
              id: "3",              name: "Neha Gupta",              role: "Event Planner",              company: "Celebration Organizer",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg?_wi=3",              imageAlt: "professional portrait customer photo team member cafe staff"
            },
            {
              id: "4",              name: "Vikram Singh",              role: "Corporate Client",              company: "Business Owner",              rating: 5,
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-waitress-standing-with-disposable-coffee-cup_107420-12311.jpg?_wi=4",              imageAlt: "professional portrait customer photo team member cafe staff"
            }
          ]}
          kpiItems={[
            { value: "1,293+", label: "Happy Reviews" },
            { value: "4.7★", label: "Average Rating" },
            { value: "10+", label: "Years Trusted" }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSixteen
          title="Why Choose Garden Cafe"
          description="The perfect blend of ambience, food, and hospitality"
          tag="Our Strengths"
          negativeCard={{
            items: [
              "Crowded, noisy cafes",              "Unfriendly staff",              "Overpriced menu",              "Limited seating options"
            ]
          }}
          positiveCard={{
            items: [
              "Beautiful garden ambience",              "Warm & supportive staff",              "₹200–400 budget friendly",              "Perfect for families & celebrations"
            ]
          }}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="product" data-section="product">
        <ProductCardTwo
          title="Popular Dishes & Beverages"
          description="Customer favorites that keep people coming back"
          tag="Best Sellers"
          products={[
            {
              id: "1",              brand: "Garden Cafe",              name: "Garlic Bread",              price: "₹150",              rating: 5,
              reviewCount: "450+",              imageSrc: "http://img.b2bpic.net/free-photo/baked-cheese-camembert-with-rosemary-honey-tasty-food_2829-7098.jpg",              imageAlt: "Crispy garlic bread"
            },
            {
              id: "2",              brand: "Garden Cafe",              name: "Iced Coffee",              price: "₹120",              rating: 5,
              reviewCount: "380+",              imageSrc: "http://img.b2bpic.net/free-photo/cold-summer-coffee-drink-with-ice-orange-juice_169016-21399.jpg",              imageAlt: "Refreshing iced coffee"
            },
            {
              id: "3",              brand: "Garden Cafe",              name: "Masala Tea",              price: "₹80",              rating: 5,
              reviewCount: "520+",              imageSrc: "http://img.b2bpic.net/free-photo/steaming-cup-masala-chai-with-spices-coffee-beans-dark-surface_9975-124574.jpg",              imageAlt: "Hot masala chai"
            },
            {
              id: "4",              brand: "Garden Cafe",              name: "Orange Mocktail",              price: "₹140",              rating: 5,
              reviewCount: "310+",              imageSrc: "http://img.b2bpic.net/free-photo/nonalcoholic-cocktails-are-table-beautiful-photo-drink-from-restaurant_132075-14714.jpg",              imageAlt: "Fresh orange mocktail"
            },
            {
              id: "5",              brand: "Garden Cafe",              name: "Biryani",              price: "₹280",              rating: 5,
              reviewCount: "420+",              imageSrc: "http://img.b2bpic.net/free-psd/authentic-chicken-biryani-served-traditional-earthenware-bowl_84443-64517.jpg",              imageAlt: "Aromatic biryani"
            }
          ]}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Perfect for Celebrations & Gatherings"
          description="Make your special moments memorable at Garden Cafe"
          tag="Events & Occasions"
          plans={[
            {
              id: "birthday",              title: "Birthday Celebrations",              price: "From",              period: "₹2,000",              imageSrc: "http://img.b2bpic.net/free-photo/birthday-celebration-girl-terrace-cafe-with-giving-presents-from-best-friends_8353-10084.jpg?_wi=1",              imageAlt: "Birthday party setup",              button: { text: "Book Now", href: "#contact" },
              features: [
                "Decorated seating area",                "Complimentary snacks platter",                "Dedicated table for cake",                "Special birthday ambience"
              ]
            },
            {
              id: "family",              title: "Family Dinners",              price: "From",              period: "₹1,500",              imageSrc: "http://img.b2bpic.net/free-photo/birthday-celebration-girl-terrace-cafe-with-giving-presents-from-best-friends_8353-10084.jpg?_wi=2",              imageAlt: "Family gathering",              button: { text: "Reserve Table", href: "#contact" },
              features: [
                "Spacious family seating",                "Garden ambience",                "Menu customization",                "Flexible timing"
              ]
            }
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get in Touch"
          ctaDescription="Call, message, or visit us. We're ready to serve you."
          ctaButton={{ text: "📞 +91 74155 71557", href: "tel:+917415571557" }}
          ctaIcon={Phone}
          faqs={[
            {
              id: "1",              title: "What are your opening hours?",              content: "We're open daily from morning to 11 PM. Perfect for breakfast, lunch, dinner, or a late-night hangout with friends."
            },
            {
              id: "2",              title: "Do you accept reservations?",              content: "Yes! We welcome table reservations for groups and special occasions. Call us at +91 74155 71557 or fill out our contact form."
            },
            {
              id: "3",              title: "What services do you offer?",              content: "We provide dine-in, drive-through, and no-contact delivery options. Choose what works best for you."
            },
            {
              id: "4",              title: "Is the cafe family-friendly?",              content: "Absolutely! Garden Cafe is the perfect place for families. Our welcoming staff and beautiful garden setting make it ideal for kids and adults alike."
            },
            {
              id: "5",              title: "Can we host events here?",              content: "Yes! We specialize in hosting birthdays, celebrations, and small gatherings. Contact us to discuss your event details and customized packages."
            },
            {
              id: "6",              title: "What's your location?",              content: "We're located at 401, Giriraj Enclave, Nikol Gam Rd, Nr. KP Residency, Avkash Park Society, Nikol, Ahmedabad, Gujarat 380049."
            }
          ]}
          useInvertedBackground={false}
          animationType="slide-up"
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterCard
          logoText="Garden Cafe"
          copyrightText="© 2025 Garden Cafe, Nikol. All rights reserved."
          socialLinks={[
            { icon: Twitter, href: "https://twitter.com/gardencafe", ariaLabel: "Twitter" },
            { icon: Linkedin, href: "https://linkedin.com/company/gardencafe", ariaLabel: "LinkedIn" }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}
