"use client"

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboardRotatedCarousel from '@/components/sections/hero/HeroBillboardRotatedCarousel';
import AboutPhoneTimeline from '@/components/sections/about/AboutPhoneTimeline';
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
import MetricCardEleven from '@/components/sections/metrics/MetricCardEleven';
import TestimonialCardFive from '@/components/sections/testimonial/TestimonialCardFive';
import FaqBase from '@/components/sections/faq/FaqBase';
import ContactSplit from '@/components/sections/contact/ContactSplit';
import FooterSocial from '@/components/sections/footer/FooterSocial';
import { Droplets, Heart, TrendingUp, Star, HelpCircle, Facebook, Instagram, Twitter, Linkedin } from "lucide-react";

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="directional-hover"
      defaultTextAnimation="entrance-slide"
      borderRadius="soft"
      contentWidth="mediumLarge"
      sizing="mediumLargeSizeLargeTitles"
      background="circleGradient"
      cardStyle="elevated"
      primaryButtonStyle="layered-depth"
      secondaryButtonStyle="solid"
      headingFontWeight="semibold"
    >
      <div id="nav" data-section="nav">
        <NavbarStyleCentered
          brandName="Milk Health"
          navItems={[
            { name: "Home", id: "home" },
            { name: "Benefits", id: "features" },
            { name: "About", id: "about" },
            { name: "FAQ", id: "faq" },
            { name: "Contact", id: "contact" }
          ]}
          button={{
            text: "Learn More",            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <HeroBillboardRotatedCarousel
          title="Milk: Fuel Your Health from the Inside Out"
          description="Discover the powerful nutrients in milk that support strong bones, energy, and overall wellness. Science-backed nutrition for you and your family."
          tag="Nutritional Excellence"
          tagIcon={Droplets}
          buttons={[
            {
              text: "Learn More About Milk's Benefits Today",              href: "features"
            },
            {
              text: "Discover Nutrition Facts",              href: "about"
            }
          ]}
          carouselItems={[
            {
              id: "1",              imageSrc: "https://img.b2bpic.net/free-photo/glass-milk-natural-background_93675-128777.jpg",              imageAlt: "Fresh glass of milk"
            },
            {
              id: "2",              imageSrc: "https://img.b2bpic.net/free-photo/ayran-drink-with-mint-cucumber-glass-wooden-table_123827-21428.jpg",              imageAlt: "Milk splash showing freshness"
            },
            {
              id: "3",              imageSrc: "https://img.b2bpic.net/free-photo/ayran-drink-with-mint-cucumber-glass-blue-wooden-table_123827-22328.jpg",              imageAlt: "Milk bottle on white background"
            },
            {
              id: "4",              imageSrc: "https://img.b2bpic.net/free-photo/ayran-with-herbs-flowers_140725-2693.jpg",              imageAlt: "Pouring fresh milk"
            },
            {
              id: "5",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-view-stick-shaped-candy-glass-cup-pastries-red-stripped-towel-gray-surface_140725-154468.jpg",              imageAlt: "Dairy farm natural milk production"
            },
            {
              id: "6",              imageSrc: "https://img.b2bpic.net/free-photo/milk-green-space_93675-128775.jpg",              imageAlt: "Milk with healthy breakfast cereal"
            }
          ]}
          autoPlay={true}
          autoPlayInterval={4000}
          containerClassName="relative"
          titleClassName="text-4xl md:text-5xl lg:text-6xl font-bold tracking-tight"
          descriptionClassName="text-lg md:text-xl text-opacity-80"
        />
      </div>

      <div id="about" data-section="about">
        <AboutPhoneTimeline
          tag="Nutritional Science"
          title="Why Milk Matters for Your Health"
          description="Milk is nature's complete food, containing 13 essential nutrients including calcium, protein, vitamins A and D, and potassium. For over a century, milk has been recognized as a cornerstone of human nutrition, supporting bone development, muscle function, and overall vitality across all ages."
          phoneOne={{
            imageSrc: "https://img.b2bpic.net/free-vector/flat-design-world-arthritis-day-vertical-banners_52683-72479.jpg",            imageAlt: "Bone health benefits of milk nutrition"
          }}
          phoneTwo={{
            imageSrc: "https://img.b2bpic.net/free-vector/flat-world-arthritis-day-background_23-2149095602.jpg",            imageAlt: "Nutrition facts and health benefits display"
          }}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          buttons={[
            {
              text: "Explore All Benefits",              href: "features"
            }
          ]}
        />
      </div>

      <div id="features" data-section="features">
        <FeatureCardFifteen
          title="Key Health Benefits of Milk"
          description="Six powerful reasons milk is essential for your wellness journey and family health"
          tag="Health Benefits"
          tagIcon={Heart}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          animationType="slide-up"
          features={[
            {
              id: "1",              title: "Strong Bones & Calcium",              description: "Milk provides highly bioavailable calcium essential for bone density and strength throughout life",              imageSrc: "https://img.b2bpic.net/free-vector/flat-world-arthritis-day-background_23-2149095601.jpg",              imageAlt: "Calcium-rich milk for bone health"
            },
            {
              id: "2",              title: "Complete Protein",              description: "Contains all nine essential amino acids for muscle building, recovery, and body composition",              imageSrc: "https://img.b2bpic.net/free-photo/close-up-view-fresh-milk-glass-bottle-chocolate-cookies-golden-spoon-peanuts-walnuts-black-surface_140725-154462.jpg",              imageAlt: "Protein content in milk for muscle health"
            },
            {
              id: "3",              title: "Vitamin D & Nutrients",              description: "Rich in vitamin D for calcium absorption and immune system support",              imageSrc: "https://img.b2bpic.net/free-vector/flat-world-arthritis-day-background_23-2149064074.jpg",              imageAlt: "Vitamin D and essential nutrients in milk"
            },
            {
              id: "4",              title: "Natural Energy",              description: "Natural carbohydrates and nutrients provide sustained energy for active lifestyles",              imageSrc: "https://img.b2bpic.net/free-photo/pretty-sport-woman-doing-yoga-exercises-park_231208-12429.jpg",              imageAlt: "Energy boost from milk nutrition"
            },
            {
              id: "5",              title: "Skeletal Health",              description: "Combined nutrients support bone development in children and bone maintenance in adults",              imageSrc: "https://img.b2bpic.net/free-vector/flat-design-world-arthritis-day-instagram-stories_52683-72481.jpg",              imageAlt: "Strong bones from regular milk consumption"
            },
            {
              id: "6",              title: "Family Wellness",              description: "A nutritious choice for all ages, supporting growth, health, and vitality across the family",              imageSrc: "https://img.b2bpic.net/free-photo/young-woman-relaxing-nature_23-2148291377.jpg",              imageAlt: "Family healthy eating with milk products"
            }
          ]}
        />
      </div>

      <div id="metrics" data-section="metrics">
        <MetricCardEleven
          title="The Impact of Milk on Health"
          description="Evidence-based statistics showing why milk is critical for nutritional wellness"
          tag="Health Statistics"
          tagIcon={TrendingUp}
          textboxLayout="default"
          useInvertedBackground="invertCard"
          animationType="slide-up"
          metrics={[
            {
              id: "1",              value: "99%",              title: "Adults Calcium Deficit",              description: "Adults lack adequate calcium intake for optimal bone health",              imageSrc: "https://img.b2bpic.net/free-vector/hand-drawn-flat-world-arthritis-day-horizontal-banners-set_23-2149105157.jpg",              imageAlt: "Health assessment showing calcium deficiency"
            },
            {
              id: "2",              value: "13",              title: "Essential Nutrients",              description: "Milk contains 13 essential nutrients per serving for complete nutrition",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-woman-wearing-headphones_23-2149818230.jpg",              imageAlt: "Family living an active, healthy lifestyle"
            }
          ]}
        />
      </div>

      <div id="testimonials" data-section="testimonials">
        <TestimonialCardFive
          title="What Health-Conscious Adults Say"
          description="Real stories from people who have transformed their wellness with proper nutrition"
          tag="Customer Stories"
          tagIcon={Star}
          textboxLayout="default"
          useInvertedBackground="noInvert"
          testimonials={[
            {
              id: "1",              name: "Sarah Chen, Fitness Coach",              date: "Date: 15 November 2024",              title: "Game-changer for my fitness routine",              quote: "Since I started incorporating milk into my daily nutrition plan, my bone density improved significantly and my energy levels are consistently high. My clients have noticed the difference too!",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/businesswoman-glasses-portrait_1262-1461.jpg",              imageAlt: "Sarah Chen, fitness professional"
            },
            {
              id: "2",              name: "Michael Rodriguez, Nutritionist",              date: "Date: 8 October 2024",              title: "Evidence-backed nutrition at its finest",              quote: "I recommend milk to all my patients. The complete amino acid profile and bioavailable calcium make it one of the most efficient nutritional choices for supporting health goals.",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/portrait-confident-businesswoman-office_329181-19343.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/portrait-confident-businesswoman-office_329181-19343.jpg",              imageAlt: "Michael Rodriguez, nutrition expert"
            },
            {
              id: "3",              name: "Jessica Williams, Parent",              date: "Date: 22 September 2024",              title: "Peace of mind for my children's health",              quote: "Knowing my kids are getting proper nutrition from milk gives me peace of mind. They're healthier, stronger, and I've noticed improved focus in school.",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/blonde-pretty-doctor-sitting-her-place-office_259150-60614.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/blonde-pretty-doctor-sitting-her-place-office_259150-60614.jpg",              imageAlt: "Jessica Williams, satisfied parent"
            },
            {
              id: "4",              name: "David Kumar, Athletic Director",              date: "Date: 10 August 2024",              title: "Essential for athletic performance",              quote: "We've made milk a cornerstone of our athletic program. Student-athletes on proper milk-inclusive diets show better recovery times and improved overall health metrics.",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/content-beautiful-businesswoman-standing-window_1262-1778.jpg",              imageAlt: "David Kumar, athletic professional"
            },
            {
              id: "5",              name: "Emma Thompson, Wellness Coach",              date: "Date: 3 July 2024",              title: "Simple nutrition made impactful",              quote: "Milk is the most straightforward way to ensure my clients get essential nutrients. The results speak for themselves—better energy, stronger bones, and improved wellbeing.",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-doctor-clinic_23-2149351647.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/medium-shot-smiley-doctor-clinic_23-2149351647.jpg",              imageAlt: "Emma Thompson, wellness advocate"
            },
            {
              id: "6",              name: "Laura Martinez, Family Health Advocate",              date: "Date: 20 June 2024",              title: "Our family's secret to staying healthy",              quote: "Making milk part of our daily routine transformed our family's health. From improved immune function to stronger bones, we've never felt better.",              tag: "Verified Customer",              avatarSrc: "https://img.b2bpic.net/free-photo/family-doctor-doctor-s-office_23-2148168485.jpg",              imageSrc: "https://img.b2bpic.net/free-photo/family-doctor-doctor-s-office_23-2148168485.jpg",              imageAlt: "Laura Martinez with family"
            }
          ]}
        />
      </div>

      <div id="faq" data-section="faq">
        <FaqBase
          title="Common Questions About Milk & Health"
          description="Evidence-based answers to help you understand milk's role in your wellness journey"
          tag="FAQ"
          tagIcon={HelpCircle}
          textboxLayout="default"
          useInvertedBackground="invertDefault"
          animationType="smooth"
          faqs={[
            {
              id: "1",              title: "Is milk necessary for bone health?",              content: "Yes. Milk provides highly bioavailable calcium and vitamin D, which are crucial for bone development in children and bone maintenance in adults. Studies show that adequate dairy consumption correlates with improved bone density and reduced fracture risk."
            },
            {
              id: "2",              title: "What about lactose intolerance?",              content: "Many lactose-intolerant individuals can consume lactose-free milk, which retains all nutritional benefits. Additionally, fermented dairy products like yogurt and cheese contain less lactose while providing the same essential nutrients."
            },
            {
              id: "3",              title: "How much milk should I consume daily?",              content: "Health guidelines recommend 3 servings of dairy per day for most adults. One serving equals 1 cup of milk, 1.5 ounces of cheese, or 1 cup of yogurt. Individual needs may vary based on age, health status, and dietary goals."
            },
            {
              id: "4",              title: "Is milk fattening?",              content: "Milk provides balanced nutrition with protein, carbs, and healthy fats. Low-fat and fat-free options are available for those managing calorie intake. The protein content actually supports satiety and muscle maintenance, making it beneficial for weight management."
            },
            {
              id: "5",              title: "What about milk's impact on digestion?",              content: "For most people, milk is easily digestible and supports gut health through its lactose content and beneficial compounds. If you experience digestive issues, lactose-free versions or fermented dairy products are excellent alternatives."
            },
            {
              id: "6",              title: "Can milk help with hydration and energy?",              content: "Yes. Milk contains natural carbohydrates and electrolytes that support hydration and energy levels. Its complete nutrient profile makes it an ideal post-workout beverage, helping with recovery and muscle repair."
            }
          ]}
        />
      </div>

      <div id="contact" data-section="contact">
        <ContactSplit
          tag="Stay Informed"
          title="Join Our Health & Wellness Community"
          description="Subscribe to receive evidence-based nutrition tips, health insights, and updates on the latest research about milk's role in wellness."
          useInvertedBackground="invertCard"
          imageSrc="https://img.b2bpic.net/free-vector/hand-drawn-world-arthritis-day-background_23-2149059567.jpg"
          imageAlt="Healthy lifestyle and wellness planning"
          mediaPosition="right"
          inputPlaceholder="Enter your email"
          buttonText="Subscribe"
          termsText="We respect your privacy and never spam. Unsubscribe anytime."
        />
      </div>

      <div id="footer" data-section="footer">
        <FooterSocial
          logoText="Milk Health"
          copyrightText="© Milk Health, 2025. All rights reserved. Supporting wellness through nutrition."
          columns={[
            {
              title: "Resources",              items: [
                { label: "Benefits Guide", href: "features" },
                { label: "Nutrition Facts", href: "about" },
                { label: "FAQ", href: "faq" },
                { label: "Health Tips", href: "contact" }
              ]
            },
            {
              title: "Company",              items: [
                { label: "About Us", href: "about" },
                { label: "Contact", href: "contact" },
                { label: "Privacy Policy", href: "#privacy" },
                { label: "Terms of Service", href: "#terms" }
              ]
            }
          ]}
          socialLinks={[
            {
              icon: Facebook,
              href: "https://facebook.com",              ariaLabel: "Follow us on Facebook"
            },
            {
              icon: Instagram,
              href: "https://instagram.com",              ariaLabel: "Follow us on Instagram"
            },
            {
              icon: Twitter,
              href: "https://twitter.com",              ariaLabel: "Follow us on Twitter"
            },
            {
              icon: Linkedin,
              href: "https://linkedin.com",              ariaLabel: "Follow us on LinkedIn"
            }
          ]}
        />
      </div>
    </ThemeProvider>
  );
}