"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline";
import TestimonialCardSix from "@/components/sections/testimonial/TestimonialCardSix";
import FaqDouble from "@/components/sections/faq/FaqDouble";
import FooterCard from "@/components/sections/footer/FooterCard";
import Link from "next/link";
import { Star, MapPin } from "lucide-react";

export default function ReviewsPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="expand-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="pill"
      contentWidth="compact"
      sizing="mediumSizeLargeTitles"
      background="none"
      cardStyle="solid"
      primaryButtonStyle="radial-glow"
      secondaryButtonStyle="solid"
      headingFontWeight="bold"
    >
      {/* Navbar */}
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="CHICKEN BOX"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Menu", id: "menu" },
            { name: "Order", id: "order" },
            { name: "About", id: "about" },
            { name: "Contact", id: "contact" },
          ]}
          button={{
            text: "Order Now",
            href: "/order",
          }}
        />
      </div>

      {/* Testimonials Section */}
      <div id="testimonials" data-section="testimonials">
        <TestimonialCardSix
          title="Customer Testimonials"
          description="Join thousands of satisfied customers who love CHICKEN BOX"
          testimonials={[
            {
              id: "1",
              name: "أحمد محمد",
              handle: "@ahmed_customer",
              testimonial: "الدجاج الأفضل في الطور! الطعم رائع والخدمة سريعة جداً.",
              imageSrc: "http://img.b2bpic.net/free-photo/hispanic-man-standing-blue-background-smiling-cheerful-playing-peek-boo-with-hands-showing-face-surprised-exited_839833-10690.jpg?_wi=3",
              imageAlt: "Ahmed Customer",
              icon: Star,
            },
            {
              id: "2",
              name: "فاطمة عبدالله",
              handle: "@fatima_loves_food",
              testimonial: "أطلب من chicken box كل أسبوع. الجودة والطعم ممتازة والأسعار معقولة.",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-caucasian-smiling-woman_93675-135471.jpg?_wi=3",
              imageAlt: "Fatima Review",
              icon: Star,
            },
            {
              id: "3",
              name: "محمود سالم",
              handle: "@mahmoud_eater",
              testimonial: "الخدمة متميزة والدجاج طازة. أنصح الجميع بالطلب منهم.",
              imageSrc: "http://img.b2bpic.net/free-photo/happy-young-man-pointing-finger-upwards-handsome-guy-recommending-something_1262-14254.jpg?_wi=3",
              imageAlt: "Mahmoud Testimonial",
              icon: Star,
            },
            {
              id: "4",
              name: "سارة أحمد",
              handle: "@sarah_foodie",
              testimonial: "أفضل مكان لتناول الفراخ المقلية في الطور. خدمة ممتازة وتوصيل سريع!",
              imageSrc: "http://img.b2bpic.net/free-photo/close-up-enthusiastic-brunette-girl-with-makeup-smiling-looking-happy-camera-posing-agains_1258-123661.jpg?_wi=2",
              imageAlt: "Sarah Review",
              icon: Star,
            },
            {
              id: "5",
              name: "علي محسن",
              handle: "@ali_customer",
              testimonial: "جودة عالية جداً والدجاج متبل بطريقة رائعة. يستحق كل فلس!",
              imageSrc: "http://img.b2bpic.net/free-photo/hispanic-man-standing-blue-background-smiling-cheerful-playing-peek-boo-with-hands-showing-face-surprised-exited_839833-10690.jpg?_wi=4",
              imageAlt: "Ali Customer",
              icon: Star,
            },
            {
              id: "6",
              name: "ليلى إبراهيم",
              handle: "@layla_reviews",
              testimonial: "توصيلهم سريع جداً والدجاج وصل ساخن وطازة. شكراً chicken box!",
              imageSrc: "http://img.b2bpic.net/free-photo/portrait-attractive-caucasian-smiling-woman_93675-135471.jpg?_wi=4",
              imageAlt: "Layla Testimonial",
              icon: Star,
            },
          ]}
          animationType="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
          speed={40}
          topMarqueeDirection="left"
        />
      </div>

      {/* FAQ Section */}
      <div id="faq" data-section="faq">
        <FaqDouble
          title="Frequently Asked Questions"
          description="Find answers to common questions about CHICKEN BOX"
          faqs={[
            {
              id: "1",
              title: "ما هي ساعات العمل؟",
              content: "نحن مفتوحون 24 ساعة، 7 أيام في الأسبوع. يمكنك الطلب في أي وقت!",
            },
            {
              id: "2",
              title: "كم وقت التوصيل؟",
              content: "المتوسط 30 دقيقة أو أقل حسب موقعك. نضمن وصول الطعام ساخناً وطازاً.",
            },
            {
              id: "3",
              title: "هل تقبلون الدفع عند الاستلام؟",
              content: "نعم، نقبل الدفع عند الاستلام (كاش) والدفع ببطاقة الائتمان.",
            },
            {
              id: "4",
              title: "هل الطعام طازة وآمن؟",
              content: "نستخدم مكونات طازة عالية الجودة وننظف المطبخ باستمرار لضمان السلامة الغذائية.",
            },
            {
              id: "5",
              title: "Can I order online?",
              content: "Yes! You can order through our website for dine-in, drive-through, or delivery.",
            },
            {
              id: "6",
              title: "What payment methods do you accept?",
              content: "We accept cash on delivery and online card payments for your convenience.",
            },
          ]}
          faqsAnimation="slide-up"
          textboxLayout="default"
          useInvertedBackground={false}
        />
      </div>

      {/* Footer */}
      <div id="footer" data-section="footer">
        <FooterCard
          logoText="CHICKEN BOX 🍗"
          copyrightText="© 2025 CHICKEN BOX تشكن بوكس. All rights reserved. Open 24/7 | El Tor, South Sinai, Egypt"
          socialLinks={[
            {
              icon: Star,
              href: "https://www.facebook.com/people/Chicken-box-306street/61553159303644/",
              ariaLabel: "Facebook",
            },
            {
              icon: MapPin,
              href: "#",
              ariaLabel: "Location",
            },
          ]}
        />
      </div>
    </ThemeProvider>
  );
}