"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import HeroCarouselLogo from '@/components/sections/hero/heroCarouselLogo/HeroCarouselLogo';
import TextSplitAbout from '@/components/sections/about/TextSplitAbout';
import ProductCardTwo from '@/components/sections/product/ProductCardTwo';
import PricingCardNine from '@/components/sections/pricing/PricingCardNine';
import FeatureCardSix from '@/components/sections/feature/FeatureCardSix';
import TestimonialCardFifteen from '@/components/sections/testimonial/TestimonialCardFifteen';
import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
import ContactFaq from '@/components/sections/contact/ContactFaq';
import FooterBaseReveal from '@/components/sections/footer/FooterBaseReveal';
import { MessageSquare } from "lucide-react";

export default function CocaColaPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="icon-arrow"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumSmall"
      sizing="large"
      background="aurora"
      cardStyle="elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="glass"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="Coca-Cola"
          navItems={[
            { name: "Products", id: "products" },
            { name: "About", id: "about" },
            { name: "Pricing", id: "pricing" },
            { name: "Contact", id: "contact" }
          ]}
          button={{ text: "Order Now", href: "#products" }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroCarouselLogo
          logoText="COCA-COLA"
          description="Taste the sensation. Experience refreshment like never before with our iconic, globally beloved beverage."
          buttons={[
            { text: "Shop Now", href: "#products" },
            { text: "Learn More", href: "#about" }
          ]}
          slides={[
            {
              imageSrc: "https://img.b2bpic.net/free-photo/whiskey-whiskey-with-cola-lime-ready-drink_1150-26269.jpg",              imageAlt: "Coca-Cola Classic Bottle"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/whiskey-whiskey-with-cola-lime-ready-drink_1150-26268.jpg",              imageAlt: "Coca-Cola Refreshment"
            },
            {
              imageSrc: "https://img.b2bpic.net/free-photo/glass-coke-with-ice-hand-beach_23-2148134661.jpg",              imageAlt: "Coca-Cola Cold Glass"
            }
          ]}
          autoplayDelay={4000}
          showDimOverlay={true}
        />
      </div>

      <div id="about" data-section="about">
        <TextSplitAbout
          title="About Coca-Cola"
          description={[
            "For over a century, Coca-Cola has been the world's most iconic beverage brand, bringing joy and refreshment to billions of people across the globe.",            "Our commitment to quality, innovation, and sustainability drives everything we do. From our signature cola to our expanding portfolio of beverages, we continue to evolve and meet the changing tastes of consumers worldwide.",            "We believe in the power of a moment—a moment of pause, of connection, of pure refreshment. That's what Coca-Cola delivers every single day."
          ]}
          buttons={[
            { text: "Our Story", href: "#" }
          ]}
          showBorder={false}
          useInvertedBackground={false}
        />
      </div>

      <div id="products" data-section="products">
        <ProductCardTwo
          title="Our Product Line"
          description="Discover our complete range of refreshing beverages crafted for every taste and occasion."
          textboxLayout="default"
          useInvertedBackground={false}
          gridVariant="three-columns-all-equal-width"
          animationType="slide-up"
          products={[
            {
              id: "1",              brand: "Coca-Cola",              name: "Classic Coke",              price: "$2.49",              rating: 5,
              reviewCount: "128.4k",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54237.jpg",              imageAlt: "Coca-Cola Classic Bottle"
            },
            {
              id: "2",              brand: "Coca-Cola",              name: "Diet Coke",              price: "$2.49",              rating: 5,
              reviewCount: "95.2k",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54239.jpg",              imageAlt: "Diet Coke Bottle"
            },
            {
              id: "3",              brand: "Sprite",              name: "Sprite Lemon-Lime",              price: "$2.49",              rating: 5,
              reviewCount: "87.6k",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54234.jpg",              imageAlt: "Sprite Bottle"
            },
            {
              id: "4",              brand: "Fanta",              name: "Fanta Orange",              price: "$2.49",              rating: 5,
              reviewCount: "72.1k",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54238.jpg",              imageAlt: "Fanta Orange Bottle"
            }
          ]}
        />
      </div>

      <div id="pricing" data-section="pricing">
        <PricingCardNine
          title="Beverage Packages"
          description="Choose the perfect package for your needs—from individual bottles to bulk wholesale orders."
          textboxLayout="default"
          useInvertedBackground={false}
          animationType="slide-up"
          plans={[
            {
              id: "single",              title: "Single Bottle",              price: "$2.49",              period: "each",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54237.jpg",              imageAlt: "Single Coca-Cola Bottle",              features: [
                "Single 12oz bottle",                "Premium packaging",                "Maximum freshness"
              ],
              button: { text: "Buy Now", href: "#" }
            },
            {
              id: "pack",              title: "6-Pack Bundle",              price: "$12.99",              period: "pack",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54239.jpg",              imageAlt: "6-Pack of Coca-Cola",              features: [
                "6 × 12oz bottles",                "Convenient packaging",                "Better value"
              ],
              button: { text: "Buy Now", href: "#" }
            },
            {
              id: "case",              title: "24-Pack Case",              price: "$45.99",              period: "case",              imageSrc: "https://img.b2bpic.net/free-vector/soda-simple-element_24908-54234.jpg",              imageAlt: "24-Pack Case of Coca-Cola",              features: [
                "24 × 12oz bottles",                "Bulk savings",                "Family-size value"
              ],
              button: { text: "Buy Now", href: "#" }
            }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardSix
          title="Why Choose Coca-Cola"
          description="Discover what makes us the world's favorite beverage brand."
          tag="Features"
          textboxLayout="default"
          useInvertedBackground={false}
          features={[
            {
              id: 1,
              title: "Iconic Taste",              description: "Our signature formula has been perfected over generations. A taste that's instantly recognizable and loved worldwide.",              imageSrc: "https://img.b2bpic.net/free-photo/woman-eating-ice-cream_1187-1467.jpg"
            },
            {
              id: 2,
              title: "Premium Quality",              description: "We use only the finest ingredients and maintain strict quality standards in every bottle. Excellence is our standard.",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-image-pretty-brunette-woman-drinking-tasty-lemonade-looking-camera-enjoying-time-city-terrace-warm-summertime-natural-beauty_291049-1728.jpg"
            },
            {
              id: 3,
              title: "Global Reach",              description: "Available in over 200 countries and territories. Coca-Cola connects people and brings moments of joy across the globe.",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-beautiful-woman-licking-yummy-ice-cream_23-2147911695.jpg"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFifteen
          testimonial="Coca-Cola isn't just a drink—it's a moment of pure happiness. The refreshing taste and iconic brand have been part of my life for decades. It's simply the best!"
          rating={5}
          author="Sarah Mitchell, Global Consumer"
          ratingAnimation="entrance-slide"
          avatarsAnimation="entrance-slide"
          useInvertedBackground={false}
          avatars={[
            { src: "https://img.b2bpic.net/free-photo/close-up-portrait-young-handsome-successful-man_1163-5475.jpg", alt: "Sarah Mitchell" },
            { src: "https://img.b2bpic.net/free-photo/happy-businessman-smiling-camera_1163-4660.jpg", alt: "Consumer" },
            { src: "https://img.b2bpic.net/free-photo/successful-businessman-imagines-great-career_1163-5478.jpg", alt: "Customer" },
            { src: "https://img.b2bpic.net/free-photo/smiling-young-businessman-suit-looking-camera-meeting_1163-4654.jpg", alt: "Satisfied Customer" },
            { src: "https://img.b2bpic.net/free-photo/closeup-young-female-professional-making-eye-contact-against-colored-background_662251-651.jpg", alt: "Happy Consumer" },
            { src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", alt: "Brand Enthusiast" }
          ]}
        />
      </div>

      <div id="socialproof" data-section="socialproof">
        <SocialProofOne
          title="Part of the Coca-Cola Family"
          description="Our portfolio includes some of the world's most beloved beverage brands."
          tag="Brands"
          textboxLayout="default"
          useInvertedBackground={false}
          names={[
            "Coca-Cola",            "Sprite",            "Fanta",            "Minute Maid",            "Dasani",            "SmartWater",            "VitaminWater",            "Honest Tea"
          ]}
          speed={40}
          showCard={true}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactFaq
          ctaTitle="Get in Touch"
          ctaDescription="Have questions about our products or want to place an order? Contact our team today."
          ctaButton={{ text: "Contact Us", href: "mailto:info@coca-cola.com" }}
          ctaIcon={MessageSquare}
          animationType="slide-up"
          useInvertedBackground={false}
          faqs={[
            {
              id: "1",              title: "What are the ingredients in Coca-Cola?",              content: "Coca-Cola contains carbonated water, high fructose corn syrup or sugar, caramel color, phosphoric acid, natural flavors, caffeine, and citric acid. Our formula is consistent globally while meeting local regulations."
            },
            {
              id: "2",              title: "Is Coca-Cola suitable for everyone?",              content: "While Coca-Cola is enjoyed by billions worldwide, we offer multiple options including Diet Coke and Coke Zero for those watching sugar intake, and caffeine-free varieties. Always consult health guidelines for your specific dietary needs."
            },
            {
              id: "3",              title: "Where can I buy Coca-Cola products?",              content: "Coca-Cola is available at virtually every retailer globally—supermarkets, convenience stores, restaurants, vending machines, and online platforms. Check our website for local retailers in your area."
            },
            {
              id: "4",              title: "What is Coca-Cola's commitment to sustainability?",              content: "We're committed to reducing our environmental impact through sustainable packaging, water stewardship programs, and renewable energy initiatives. Our goal is to achieve net-positive impact on water, climate, and waste."
            },
            {
              id: "5",              title: "Do you offer bulk or wholesale ordering?",              content: "Yes! We offer competitive wholesale pricing for businesses, restaurants, and large orders. Contact our B2B team for bulk pricing and partnership opportunities."
            }
          ]}
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterBaseReveal
          columns={[
            {
              title: "Products",              items: [
                { label: "Coca-Cola", href: "#products" },
                { label: "Diet Coke", href: "#products" },
                { label: "Sprite", href: "#products" },
                { label: "Fanta", href: "#products" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "#about" },
                { label: "Our Story", href: "#" },
                { label: "Careers", href: "#" },
                { label: "Sustainability", href: "#" }
              ]
            },
            {
              title: "Support",              items: [
                { label: "Contact", href: "#contact" },
                { label: "FAQ", href: "#contact" },
                { label: "Privacy Policy", href: "#" },
                { label: "Terms of Service", href: "#" }
              ]
            }
          ]}
          copyrightText="© 2025 The Coca-Cola Company. All rights reserved."
        />
      </div>
    </ThemeProvider>
  );
}