"use client";

import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
import { Card } from "@/components/ui/card";
import { Button } from "@/components/ui/button";
import { Badge } from "@/components/ui/badge";
import { Avatar, AvatarImage, AvatarFallback } from "@/components/ui/avatar";
import { Leaf, Zap, Star, Heart, MapPin } from 'lucide-react';

export default function CoffeePage() {
  return (
    <ThemeProvider
      defaultButtonVariant="elastic-effect"
      defaultTextAnimation="background-highlight"
      borderRadius="soft"
      contentWidth="compact"
      sizing="largeSmallSizeLargeTitles"
      background="noise"
      cardStyle="gradient-bordered"
      primaryButtonStyle="outline"
      secondaryButtonStyle="solid"
      headingFontWeight="medium"
    >
      <div id="nav" data-section="nav">
        <nav className="sticky top-0 z-50 bg-background/95 backdrop-blur supports-[backdrop-filter]:bg-background/60">
          <div className="container mx-auto px-4">
            <div className="flex h-16 items-center justify-between">
              <div className="flex items-center space-x-4">
                <h1 className="text-xl font-bold">Gloria</h1>
              </div>
              <Button variant="default" asChild>
                <a href="#contact">Book a Table</a>
              </Button>
            </div>
          </div>
        </nav>
      </div>

      <div id="hero" data-section="hero">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="grid lg:grid-cols-2 gap-12 items-center">
              <div className="space-y-8">
                <Badge variant="secondary">Specialty Coffee House</Badge>
                <h1 className="text-5xl font-bold leading-tight">Welcome to Gloria Coffee</h1>
                <p className="text-xl text-muted-foreground">Experience the finest specialty coffee in a warm, inviting atmosphere. From our carefully sourced beans to expertly crafted beverages, every cup tells a story.</p>
                <div className="flex gap-4">
                  <Button size="lg" asChild>
                    <a href="#products">Explore Menu</a>
                  </Button>
                  <Button size="lg" variant="outline" asChild>
                    <a href="#contact">Visit Us</a>
                  </Button>
                </div>
                <div className="grid grid-cols-3 gap-8 pt-8">
                  <div className="text-center">
                    <div className="text-3xl font-bold">15+</div>
                    <div className="text-sm text-muted-foreground">Years of Excellence</div>
                  </div>
                  <div className="text-center">
                    <div className="text-3xl font-bold">1000+</div>
                    <div className="text-sm text-muted-foreground">Happy Customers Daily</div>
                  </div>
                  <div className="text-center">
                    <div className="text-3xl font-bold">50+</div>
                    <div className="text-sm text-muted-foreground">Premium Coffee Blends</div>
                  </div>
                </div>
              </div>
              <div className="relative">
                <Card className="overflow-hidden">
                  <img
                    src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766573457718-zh216nxd.jpg"
                    alt="Gloria Coffee House"
                    className="w-full h-96 object-cover"
                  />
                </Card>
              </div>
            </div>
          </div>
        </section>
      </div>

      <div id="about" data-section="about">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="grid lg:grid-cols-2 gap-12 items-center">
              <div className="space-y-8">
                <h2 className="text-4xl font-bold">Our Story</h2>
                <p className="text-lg text-muted-foreground">Gloria Coffee was founded with a simple passion: to bring the world's finest coffees to your cup. We believe every sip should be a moment of joy and connection.</p>
                <div className="space-y-6">
                  <div className="flex gap-4">
                    <div className="flex-shrink-0">
                      <div className="w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
                        <Leaf className="w-6 h-6 text-primary" />
                      </div>
                    </div>
                    <div>
                      <h3 className="font-semibold mb-2">Ethically Sourced</h3>
                      <p className="text-muted-foreground">We partner directly with sustainable coffee farms around the world</p>
                    </div>
                  </div>
                  <div className="flex gap-4">
                    <div className="flex-shrink-0">
                      <div className="w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
                        <Zap className="w-6 h-6 text-primary" />
                      </div>
                    </div>
                    <div>
                      <h3 className="font-semibold mb-2">Expert Baristas</h3>
                      <p className="text-muted-foreground">Our trained professionals craft each drink with precision and care</p>
                    </div>
                  </div>
                  <div className="flex gap-4">
                    <div className="flex-shrink-0">
                      <div className="w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
                        <Star className="w-6 h-6 text-primary" />
                      </div>
                    </div>
                    <div>
                      <h3 className="font-semibold mb-2">Premium Quality</h3>
                      <p className="text-muted-foreground">Only the finest beans and ingredients make it to your cup</p>
                    </div>
                  </div>
                  <div className="flex gap-4">
                    <div className="flex-shrink-0">
                      <div className="w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
                        <Heart className="w-6 h-6 text-primary" />
                      </div>
                    </div>
                    <div>
                      <h3 className="font-semibold mb-2">Community Focus</h3>
                      <p className="text-muted-foreground">More than coffee - we're a gathering place for meaningful moments</p>
                    </div>
                  </div>
                </div>
              </div>
              <div className="relative">
                <Card className="overflow-hidden">
                  <img
                    src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766504475843-rx4nokgi.jpg"
                    alt="Gloria Coffee Interior"
                    className="w-full h-96 object-cover"
                  />
                </Card>
              </div>
            </div>
          </div>
        </section>
      </div>

      <div id="features" data-section="features">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="text-center mb-16">
              <Badge variant="secondary" className="mb-4">Signature Selection</Badge>
              <h2 className="text-4xl font-bold mb-4">Our Specialty Drinks</h2>
              <p className="text-xl text-muted-foreground max-w-2xl mx-auto">Handcrafted beverages that elevate your coffee experience</p>
            </div>
            <div className="grid md:grid-cols-3 gap-8">
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414392169-w4l2sncs.jpg"
                  alt="Caramel Macchiato"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <h3 className="font-semibold text-lg mb-2">Caramel Macchiato</h3>
                  <p className="text-muted-foreground">Espresso with steamed milk and signature caramel drizzle</p>
                </div>
              </Card>
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414395178-77w1rchc.jpg"
                  alt="Single Origin Espresso"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <h3 className="font-semibold text-lg mb-2">Single Origin Espresso</h3>
                  <p className="text-muted-foreground">Pure, bold, and perfectly extracted from premium beans</p>
                </div>
              </Card>
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414393098-5j3dbjps.jpg"
                  alt="Iced Vanilla Latte"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <h3 className="font-semibold text-lg mb-2">Iced Vanilla Latte</h3>
                  <p className="text-muted-foreground">Smooth, refreshing, and perfect for warm days</p>
                </div>
              </Card>
            </div>
          </div>
        </section>
      </div>

      <div id="products" data-section="products">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="text-center mb-16">
              <Badge variant="secondary" className="mb-4">Must Try</Badge>
              <h2 className="text-4xl font-bold mb-4">Featured Menu Items</h2>
              <p className="text-xl text-muted-foreground max-w-2xl mx-auto">Discover our most loved offerings</p>
            </div>
            <div className="grid md:grid-cols-3 gap-8">
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766573458620-djq2znw8.jpg"
                  alt="Butter Croissant"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <div className="flex items-center justify-between mb-2">
                    <h3 className="font-semibold text-lg">Morning Croissant</h3>
                    <div className="flex items-center gap-1">
                      <Star className="w-4 h-4 fill-yellow-400 text-yellow-400" />
                      <span className="text-sm">4.8</span>
                    </div>
                  </div>
                  <div className="text-2xl font-bold text-primary">$5.99</div>
                </div>
              </Card>
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766414396263-ecaeakat.jpg"
                  alt="Fresh Caprese Sandwich"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <div className="flex items-center justify-between mb-2">
                    <h3 className="font-semibold text-lg">Caprese Sandwich</h3>
                    <div className="flex items-center gap-1">
                      <Star className="w-4 h-4 fill-yellow-400 text-yellow-400" />
                      <span className="text-sm">4.9</span>
                    </div>
                  </div>
                  <div className="text-2xl font-bold text-primary">$9.99</div>
                </div>
              </Card>
              <Card className="overflow-hidden">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766573460458-6fck1vod.jpg"
                  alt="Rich Chocolate Cake"
                  className="w-full h-48 object-cover"
                />
                <div className="p-6">
                  <div className="flex items-center justify-between mb-2">
                    <h3 className="font-semibold text-lg">Chocolate Cake</h3>
                    <div className="flex items-center gap-1">
                      <Star className="w-4 h-4 fill-yellow-400 text-yellow-400" />
                      <span className="text-sm">4.7</span>
                    </div>
                  </div>
                  <div className="text-2xl font-bold text-primary">$6.99</div>
                </div>
              </Card>
            </div>
          </div>
        </section>
      </div>

      <div id="testimonials" data-section="testimonials">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="text-center mb-16">
              <h2 className="text-4xl font-bold mb-4">What Our Customers Say</h2>
              <p className="text-xl text-muted-foreground max-w-2xl mx-auto">Join thousands who've made Gloria their favorite coffeehouse</p>
            </div>
            <div className="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
              <Card className="p-6">
                <div className="flex items-center gap-3 mb-4">
                  <Avatar>
                    <AvatarImage src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766679215769-8spgigse.jpg" alt="Maria Rodriguez" />
                    <AvatarFallback>MR</AvatarFallback>
                  </Avatar>
                  <div>
                    <div className="font-semibold">Maria Rodriguez</div>
                    <div className="text-sm text-muted-foreground">Regular Customer</div>
                  </div>
                </div>
                <p className="text-muted-foreground">"The best espresso I've had outside of Italy. Every barista knows how to perfect each drink."</p>
              </Card>
              <Card className="p-6">
                <div className="flex items-center gap-3 mb-4">
                  <Avatar>
                    <AvatarImage src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766508653705-qp2xy5s6.jpg" alt="James Chen" />
                    <AvatarFallback>JC</AvatarFallback>
                  </Avatar>
                  <div>
                    <div className="font-semibold">James Chen</div>
                    <div className="text-sm text-muted-foreground">Freelancer</div>
                  </div>
                </div>
                <p className="text-muted-foreground">"Gloria is my creative sanctuary. Great coffee, peaceful ambiance, and amazing staff."</p>
              </Card>
              <Card className="p-6">
                <div className="flex items-center gap-3 mb-4">
                  <Avatar>
                    <AvatarImage src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766679217178-y1zjo42n.jpg" alt="Sarah Thompson" />
                    <AvatarFallback>ST</AvatarFallback>
                  </Avatar>
                  <div>
                    <div className="font-semibold">Sarah Thompson</div>
                    <div className="text-sm text-muted-foreground">Business Owner</div>
                  </div>
                </div>
                <p className="text-muted-foreground">"I bring all my clients here for meetings. The atmosphere and quality coffee make the perfect impression."</p>
              </Card>
              <Card className="p-6">
                <div className="flex items-center gap-3 mb-4">
                  <Avatar>
                    <AvatarImage src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766679218140-bhsns38m.jpg" alt="Michael Park" />
                    <AvatarFallback>MP</AvatarFallback>
                  </Avatar>
                  <div>
                    <div className="font-semibold">Michael Park</div>
                    <div className="text-sm text-muted-foreground">Morning Regular</div>
                  </div>
                </div>
                <p className="text-muted-foreground">"The team remembers my order and always greets me with a smile. That's customer service done right."</p>
              </Card>
            </div>
          </div>
        </section>
      </div>

      <div id="contact" data-section="contact">
        <section className="py-24 px-4">
          <div className="container mx-auto">
            <div className="grid lg:grid-cols-2 gap-12">
              <div className="space-y-8">
                <div className="flex items-center gap-3 mb-4">
                  <div className="w-12 h-12 bg-primary/10 rounded-lg flex items-center justify-center">
                    <MapPin className="w-6 h-6 text-primary" />
                  </div>
                  <div>
                    <h2 className="text-3xl font-bold">Visit Gloria Coffee</h2>
                  </div>
                </div>
                <p className="text-lg text-muted-foreground">Join us for your next coffee break. We're open seven days a week.</p>
                <Button size="lg" asChild>
                  <a href="https://maps.google.com">Get Directions</a>
                </Button>
              </div>
              <Card className="p-6">
                <div className="space-y-6">
                  <div>
                    <h3 className="font-semibold mb-3">What are your opening hours?</h3>
                    <p className="text-muted-foreground">Monday - Friday: 6:00 AM - 8:00 PM. Saturday - Sunday: 8:00 AM - 9:00 PM. We're closed on major holidays.</p>
                  </div>
                  <div>
                    <h3 className="font-semibold mb-3">Do you offer WiFi?</h3>
                    <p className="text-muted-foreground">Yes, free WiFi is available to all customers. Password is displayed at the counter.</p>
                  </div>
                  <div>
                    <h3 className="font-semibold mb-3">Can I reserve a table?</h3>
                    <p className="text-muted-foreground">For groups of 6 or more, we recommend calling ahead at (555) 123-4567 to reserve seating.</p>
                  </div>
                  <div>
                    <h3 className="font-semibold mb-3">Do you have vegan options?</h3>
                    <p className="text-muted-foreground">Absolutely! We offer plant-based milk alternatives and vegan pastries. Ask our baristas for recommendations.</p>
                  </div>
                </div>
              </Card>
            </div>
          </div>
        </section>
      </div>

      <div id="footer" data-section="footer">
        <footer className="bg-card py-16">
          <div className="container mx-auto px-4">
            <div className="grid lg:grid-cols-2 gap-12 mb-12">
              <div className="space-y-6">
                <img
                  src="https://webuild-dev.s3.eu-north-1.amazonaws.com/gallery/uploaded-1766565658398-rzdk67xj.jpg"
                  alt="Premium Coffee Beans"
                  className="w-full h-64 object-cover rounded-lg"
                />
              </div>
              <div className="grid md:grid-cols-3 gap-8">
                <div>
                  <h3 className="font-semibold mb-4">Hours</h3>
                  <div className="space-y-2 text-muted-foreground">
                    <div>Monday - Friday: 6 AM - 8 PM</div>
                    <div>Saturday - Sunday: 8 AM - 9 PM</div>
                    <div>Contact: (555) 123-4567</div>
                  </div>
                </div>
                <div>
                  <h3 className="font-semibold mb-4">Location</h3>
                  <div className="space-y-2 text-muted-foreground">
                    <a href="https://maps.google.com" className="block hover:text-primary">123 Coffee Street</a>
                    <a href="https://maps.google.com" className="block hover:text-primary">Downtown District</a>
                    <a href="https://maps.google.com" className="block hover:text-primary">Get Directions</a>
                  </div>
                </div>
                <div>
                  <h3 className="font-semibold mb-4">Follow Us</h3>
                  <div className="space-y-2 text-muted-foreground">
                    <a href="https://instagram.com" className="block hover:text-primary">Instagram</a>
                    <a href="https://facebook.com" className="block hover:text-primary">Facebook</a>
                    <a href="#contact" className="block hover:text-primary">Contact Us</a>
                  </div>
                </div>
              </div>
            </div>
            <div className="border-t pt-8">
              <div className="flex items-center justify-between">
                <div className="text-xl font-bold">Gloria</div>
                <div className="text-muted-foreground">© 2025 Gloria Coffee. All rights reserved.</div>
              </div>
            </div>
          </div>
        </footer>
      </div>
    </ThemeProvider>
  );
}