"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';

export default function LandingPage() {
  return (
    <ThemeProvider
      defaultButtonVariant="hover-magnetic"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="medium"
      sizing="medium"
      background="animatedAurora"
      cardStyle="glass-elevated"
      primaryButtonStyle="flat"
      secondaryButtonStyle="radial-glow"
      headingFontWeight="bold"
    >
      <div id="nav" data-section="nav">
        <NavbarLayoutFloatingInline
          brandName="MarketHub"
          navItems={[
            { name: "Services", id: "services" },
            { name: "Work", id: "work" },
            { name: "About", id: "about" },
            { name: "Team", id: "team" }
          ]}
          button={{
            text: "Get Started",
            href: "contact"
          }}
        />
      </div>

      <div id="hero" data-section="hero">
        <div className="min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-600 to-purple-700 text-white">
          <div className="text-center px-4">
            <h1 className="text-5xl font-bold mb-6">MarketHub</h1>
            <p className="text-xl mb-8">Strategic marketing solutions that drive growth and transform brands</p>
            <div className="space-x-4">
              <a href="#work" className="bg-white text-blue-600 px-6 py-3 rounded-lg font-medium">View Our Work</a>
              <a href="#contact" className="border border-white text-white px-6 py-3 rounded-lg font-medium">Schedule Consultation</a>
            </div>
          </div>
        </div>
      </div>

      <div id="about" data-section="about">
        <div className="py-20 px-4">
          <div className="max-w-4xl mx-auto text-center">
            <h2 className="text-3xl font-bold mb-6">Transforming Ideas Into Results</h2>
            <p className="text-lg text-gray-600">We are a full-service marketing agency dedicated to helping businesses reach their full potential</p>
          </div>
        </div>
      </div>

      <div id="services" data-section="services">
        <div className="py-20 px-4 bg-gray-50">
          <div className="max-w-6xl mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-3xl font-bold mb-6">Why Choose MarketHub</h2>
              <p className="text-lg text-gray-600">See how our approach delivers better results than traditional marketing</p>
            </div>
            <div className="grid md:grid-cols-2 gap-8">
              <div className="bg-red-50 border border-red-200 rounded-lg p-8">
                <h3 className="text-xl font-bold mb-6 text-red-800">Traditional Marketing</h3>
                <ul className="space-y-4">
                  <li className="flex items-center text-red-700">
                    <span className="mr-3">✗</span>
                    <span>One-size-fits-all campaigns</span>
                  </li>
                  <li className="flex items-center text-red-700">
                    <span className="mr-3">✗</span>
                    <span>Limited measurement and analytics</span>
                  </li>
                  <li className="flex items-center text-red-700">
                    <span className="mr-3">✗</span>
                    <span>Slow adaptation to market changes</span>
                  </li>
                  <li className="flex items-center text-red-700">
                    <span className="mr-3">✗</span>
                    <span>Higher costs with unclear ROI</span>
                  </li>
                  <li className="flex items-center text-red-700">
                    <span className="mr-3">✗</span>
                    <span>Outdated strategies and tactics</span>
                  </li>
                </ul>
              </div>
              <div className="bg-green-50 border border-green-200 rounded-lg p-8">
                <h3 className="text-xl font-bold mb-6 text-green-800">MarketHub Strategy</h3>
                <ul className="space-y-4">
                  <li className="flex items-center text-green-700">
                    <span className="mr-3">✓</span>
                    <span>Custom tailored campaigns for your brand</span>
                  </li>
                  <li className="flex items-center text-green-700">
                    <span className="mr-3">✓</span>
                    <span>Real-time data and performance tracking</span>
                  </li>
                  <li className="flex items-center text-green-700">
                    <span className="mr-3">✓</span>
                    <span>Agile approach with rapid optimization</span>
                  </li>
                  <li className="flex items-center text-green-700">
                    <span className="mr-3">✓</span>
                    <span>Transparent ROI and cost efficiency</span>
                  </li>
                  <li className="flex items-center text-green-700">
                    <span className="mr-3">✓</span>
                    <span>Modern tactics and cutting-edge tools</span>
                  </li>
                </ul>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="work" data-section="work">
        <div className="py-20 px-4">
          <div className="max-w-6xl mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-3xl font-bold mb-6">Featured Case Studies</h2>
              <p className="text-lg text-gray-600">Real results from brands we've helped transform</p>
            </div>
            <div className="grid md:grid-cols-2 gap-8">
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766735979965-ub5950lw.jpg" alt="E-commerce success case study" className="w-full h-48 object-cover" />
                <div className="p-6">
                  <span className="inline-block bg-blue-100 text-blue-800 px-3 py-1 rounded-full text-sm mb-3">E-Commerce</span>
                  <h3 className="text-xl font-bold mb-3">200% Sales Growth in 6 Months</h3>
                  <p className="text-gray-600">Comprehensive digital strategy for leading online retailer increased conversions through targeted campaigns</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140107205-4bafhl5z.jpg" alt="Brand strategy case study" className="w-full h-48 object-cover" />
                <div className="p-6">
                  <span className="inline-block bg-purple-100 text-purple-800 px-3 py-1 rounded-full text-sm mb-3">Brand Strategy</span>
                  <h3 className="text-xl font-bold mb-3">Brand Repositioning Success</h3>
                  <p className="text-gray-600">Rebranded established company for millennial audience, resulting in 150% increase in engagement</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="metrics" data-section="metrics">
        <div className="py-20 px-4 bg-gray-50">
          <div className="max-w-6xl mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-3xl font-bold mb-6">Our Impact by Numbers</h2>
              <p className="text-lg text-gray-600">Proven results across diverse industries and markets</p>
            </div>
            <div className="grid md:grid-cols-2 gap-8">
              <div className="bg-white rounded-lg shadow-lg p-8 text-center">
                <div className="text-4xl font-bold text-blue-600 mb-4">500+</div>
                <h3 className="text-xl font-bold mb-3">Campaigns Delivered</h3>
                <p className="text-gray-600">Successful marketing campaigns across all channels</p>
              </div>
              <div className="bg-white rounded-lg shadow-lg p-8 text-center">
                <div className="text-4xl font-bold text-green-600 mb-4">$50M+</div>
                <h3 className="text-xl font-bold mb-3">Revenue Generated</h3>
                <p className="text-gray-600">Total revenue driven for our clients</p>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="testimonials" data-section="testimonials">
        <div className="py-20 px-4">
          <div className="max-w-6xl mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-3xl font-bold mb-6">What Our Clients Say</h2>
              <p className="text-lg text-gray-600">Real feedback from brands we've partnered with</p>
            </div>
            <div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
              <div className="bg-white rounded-lg shadow-lg p-6 text-center">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766140101670-ttp7xdlv.jpg" alt="Sarah Johnson testimonial" className="w-16 h-16 rounded-full mx-auto mb-4 object-cover" />
                <h4 className="font-bold">Sarah Johnson</h4>
                <p className="text-gray-600 text-sm">CEO, TechVenture Inc</p>
                <div className="flex justify-center mt-2">
                  <span className="text-yellow-500">★★★★★</span>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg p-6 text-center">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766517224921-22qgllu9.jpg" alt="Michael Chen testimonial" className="w-16 h-16 rounded-full mx-auto mb-4 object-cover" />
                <h4 className="font-bold">Michael Chen</h4>
                <p className="text-gray-600 text-sm">Marketing Director, RetailBrand Co</p>
                <div className="flex justify-center mt-2">
                  <span className="text-yellow-500">★★★★★</span>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg p-6 text-center">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766735981305-ohmchoon.jpg" alt="Emily Rodriguez testimonial" className="w-16 h-16 rounded-full mx-auto mb-4 object-cover" />
                <h4 className="font-bold">Emily Rodriguez</h4>
                <p className="text-gray-600 text-sm">Founder, GrowthLabs</p>
                <div className="flex justify-center mt-2">
                  <span className="text-yellow-500">★★★★★</span>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg p-6 text-center">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766735982136-fwsz9f0i.jpg" alt="David Kim testimonial" className="w-16 h-16 rounded-full mx-auto mb-4 object-cover" />
                <h4 className="font-bold">David Kim</h4>
                <p className="text-gray-600 text-sm">CMO, InnovateCorp</p>
                <div className="flex justify-center mt-2">
                  <span className="text-yellow-500">★★★★★</span>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="team" data-section="team">
        <div className="py-20 px-4 bg-gray-50">
          <div className="max-w-6xl mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-3xl font-bold mb-6">Meet Our Team</h2>
              <p className="text-lg text-gray-600">Creative experts driving results</p>
            </div>
            <div className="grid md:grid-cols-2 lg:grid-cols-4 gap-6">
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320179601-o8gildtx.jpg" alt="Alexandra Stone" className="w-full h-48 object-cover" />
                <div className="p-4 text-center">
                  <h4 className="font-bold">Alexandra Stone</h4>
                  <p className="text-gray-600">Creative Director</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320184384-whnns6as.jpg" alt="James Mitchell" className="w-full h-48 object-cover" />
                <div className="p-4 text-center">
                  <h4 className="font-bold">James Mitchell</h4>
                  <p className="text-gray-600">Strategy Lead</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766320178642-9c2nk7ji.jpg" alt="Lisa Park" className="w-full h-48 object-cover" />
                <div className="p-4 text-center">
                  <h4 className="font-bold">Lisa Park</h4>
                  <p className="text-gray-600">Digital Strategist</p>
                </div>
              </div>
              <div className="bg-white rounded-lg shadow-lg overflow-hidden">
                <img src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766735974338-mwt6qh8n.jpg" alt="Marcus Williams" className="w-full h-48 object-cover" />
                <div className="p-4 text-center">
                  <h4 className="font-bold">Marcus Williams</h4>
                  <p className="text-gray-600">Content Director</p>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>

      <div id="contact" data-section="contact">
        <div className="py-20 px-4 bg-blue-600 text-white">
          <div className="max-w-4xl mx-auto text-center">
            <h2 className="text-3xl font-bold mb-6">Ready to transform your marketing?</h2>
            <div className="flex justify-center items-center space-x-4">
              <input 
                type="email" 
                placeholder="Enter your email" 
                className="px-4 py-3 rounded-lg text-gray-900 flex-1 max-w-md"
              />
              <button className="bg-white text-blue-600 px-6 py-3 rounded-lg font-medium">Get in Touch</button>
            </div>
          </div>
        </div>
      </div>

      <div id="footer" data-section="footer">
        <div className="bg-gray-900 text-white py-16 px-4">
          <div className="max-w-6xl mx-auto">
            <div className="grid md:grid-cols-5 gap-8 mb-8">
              <div>
                <h3 className="text-xl font-bold mb-4">MarketHub</h3>
              </div>
              <div>
                <h4 className="font-bold mb-4">Services</h4>
                <ul className="space-y-2">
                  <li><a href="#" className="text-gray-400 hover:text-white">Strategy</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Content Marketing</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Social Media</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Analytics</a></li>
                </ul>
              </div>
              <div>
                <h4 className="font-bold mb-4">Company</h4>
                <ul className="space-y-2">
                  <li><a href="#about" className="text-gray-400 hover:text-white">About</a></li>
                  <li><a href="#team" className="text-gray-400 hover:text-white">Team</a></li>
                  <li><a href="#work" className="text-gray-400 hover:text-white">Work</a></li>
                  <li><a href="#contact" className="text-gray-400 hover:text-white">Contact</a></li>
                </ul>
              </div>
              <div>
                <h4 className="font-bold mb-4">Resources</h4>
                <ul className="space-y-2">
                  <li><a href="#" className="text-gray-400 hover:text-white">Blog</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Case Studies</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Tools</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Guides</a></li>
                </ul>
              </div>
              <div>
                <h4 className="font-bold mb-4">Legal</h4>
                <ul className="space-y-2">
                  <li><a href="#" className="text-gray-400 hover:text-white">Privacy</a></li>
                  <li><a href="#" className="text-gray-400 hover:text-white">Terms</a></li>
                </ul>
              </div>
            </div>
            <div className="border-t border-gray-700 pt-8 text-center text-gray-400">
              <p>© 2024 MarketHub. All rights reserved.</p>
            </div>
          </div>
        </div>
      </div>
    </ThemeProvider>
  );
}