@extends('layouts.app')

@section('title', 'Blog - NRT SA Luxury Van Rentals')
@section('description', 'Read our latest articles about luxury transportation, travel tips, and Mercedes V-Class insights from NRT SA in Centurion.')

@section('content')
    <!-- Hero Section -->
    <section class="py-16 luxury-gradient">
        <div class="max-w-4xl mx-auto text-center px-4">
            <div class="glass-card p-8 rounded-2xl floating-card">
                <h1 class="text-4xl md:text-5xl font-bold text-white mb-6 font-display text-glow">Our Blog</h1>
                <p class="text-xl text-gray-300 font-body">Insights, tips, and stories about luxury transportation</p>
            </div>
        </div>
    </section>

    <!-- Featured Article -->
    <section class="py-16">
        <div class="max-w-7xl mx-auto px-4">
            <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card">
                <div class="grid grid-cols-1 lg:grid-cols-2">
                    <div class="h-64 lg:h-full bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-car text-gray-400 text-6xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-8">
                        <div class="flex items-center mb-4">
                            <span class="bg-green-500 text-white px-3 py-1 rounded-full text-sm font-body">Featured</span>
                            <span class="text-gray-400 ml-4 font-body">December 15, 2024</span>
                        </div>
                        <h2 class="text-3xl font-bold text-white mb-4 font-display text-glow">The Ultimate Guide to Luxury Van Travel in South Africa</h2>
                        <p class="text-gray-300 mb-6 font-body">
                            Discover the secrets to planning the perfect luxury transportation experience in South Africa. From choosing the right vehicle to planning your itinerary, we cover everything you need to know for an unforgettable journey.
                        </p>
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <div class="icon-bg w-10 h-10 rounded-full flex items-center justify-center mr-3">
                                    <i class="fas fa-user text-white"></i>
                                </div>
                                <span class="text-gray-300 font-body">NRT SA Team</span>
                            </div>
                            <a href="#" class="btn-primary shimmer">
                                <i class="fas fa-arrow-right"></i>
                                <span>Read More</span>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Blog Articles Grid -->
    <section class="py-16">
        <div class="max-w-7xl mx-auto px-4">
            <div class="text-center mb-12">
                <div class="glass-card p-6 rounded-xl mb-6">
                    <h2 class="text-3xl md:text-4xl font-bold text-white mb-4 font-display text-glow">Latest Articles</h2>
                    <p class="text-xl text-gray-300 font-body">Stay updated with our latest insights and tips</p>
                </div>
            </div>

            <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
                <!-- Article 1 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-calendar-alt text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-blue-500 text-white px-2 py-1 rounded-full text-xs font-body">Travel Tips</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">December 10, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">Planning Your Wedding Transportation</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Essential tips for choosing the perfect luxury transportation for your special day. From timing to vehicle selection, make your wedding day transportation seamless.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>

                <!-- Article 2 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card" style="animation-delay: 0.5s;">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-briefcase text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-purple-500 text-white px-2 py-1 rounded-full text-xs font-body">Corporate</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">December 8, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">Corporate Event Transportation Solutions</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Professional transportation solutions for corporate events, conferences, and business meetings. Ensure your guests arrive in style and comfort.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>

                <!-- Article 3 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card" style="animation-delay: 1s;">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-plane text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-orange-500 text-white px-2 py-1 rounded-full text-xs font-body">Airport</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">December 5, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">Airport Transfer Best Practices</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Everything you need to know about luxury airport transfers. From flight monitoring to luggage handling, we ensure a stress-free journey.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>

                <!-- Article 4 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card" style="animation-delay: 1.5s;">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-shield-alt text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-red-500 text-white px-2 py-1 rounded-full text-xs font-body">Safety</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">December 3, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">Safety Standards in Luxury Transportation</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Understanding the safety measures and standards that ensure your security during luxury transportation. Our commitment to passenger safety.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>

                <!-- Article 5 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card" style="animation-delay: 2s;">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-star text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-yellow-500 text-white px-2 py-1 rounded-full text-xs font-body">Luxury</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">November 30, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">The Mercedes V-Class Experience</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Discover what makes the Mercedes V-Class the ultimate choice for luxury transportation. Features, comfort, and the premium experience.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>

                <!-- Article 6 -->
                <div class="glass-card rounded-xl overflow-hidden shadow-lg floating-card" style="animation-delay: 2.5s;">
                    <div class="h-48 bg-gray-200 flex items-center justify-center relative overflow-hidden">
                        <i class="fas fa-map-marker-alt text-gray-400 text-4xl"></i>
                        <div class="absolute inset-0 bg-gradient-to-t from-black/50 to-transparent"></div>
                    </div>
                    <div class="p-6">
                        <div class="flex items-center mb-3">
                            <span class="bg-green-500 text-white px-2 py-1 rounded-full text-xs font-body">Destinations</span>
                            <span class="text-gray-400 ml-3 text-sm font-body">November 28, 2024</span>
                        </div>
                        <h3 class="text-xl font-bold text-white mb-3 font-display text-glow">Top Destinations in Centurion</h3>
                        <p class="text-gray-300 mb-4 font-body">
                            Explore the best destinations and attractions in Centurion and surrounding areas. Perfect for planning your next luxury outing.
                        </p>
                        <a href="#" class="text-gray-300 hover:text-white transition-colors font-body">Read More →</a>
                    </div>
                </div>
            </div>
        </div>
    </section>

    <!-- Newsletter Signup -->
    <section class="py-16">
        <div class="max-w-4xl mx-auto px-4">
            <div class="glass-card p-8 rounded-2xl text-center floating-card">
                <h2 class="text-3xl font-bold text-white mb-4 font-display text-glow">Stay Updated</h2>
                <p class="text-xl text-gray-300 mb-6 font-body">Subscribe to our newsletter for the latest articles and exclusive offers</p>
                <form method="POST" action="{{ route('newsletter.subscribe') }}" class="flex flex-col sm:flex-row gap-4 max-w-md mx-auto">
                    @csrf
                    <input type="email" name="email" placeholder="Enter your email" required
                           class="flex-1 px-4 py-3 rounded-lg bg-white/10 border border-white/20 text-white placeholder-gray-400 focus:outline-none focus:ring-2 focus:ring-white/50 focus:border-transparent backdrop-blur-sm">
                    <button type="submit" class="btn-primary shimmer">
                        <i class="fas fa-paper-plane"></i>
                        <span>Subscribe</span>
                    </button>
                </form>
                @if(session('success'))
                    <p class="text-green-400 mt-4 font-body">{{ session('success') }}</p>
                @endif
            </div>
        </div>
    </section>

    <!-- Categories -->
    <section class="py-16">
        <div class="max-w-7xl mx-auto px-4">
            <div class="text-center mb-12">
                <div class="glass-card p-6 rounded-xl mb-6">
                    <h2 class="text-3xl md:text-4xl font-bold text-white mb-4 font-display text-glow">Browse by Category</h2>
                    <p class="text-xl text-gray-300 font-body">Find articles that interest you most</p>
                </div>
            </div>

            <div class="grid grid-cols-2 md:grid-cols-4 gap-6">
                <div class="glass-card p-6 rounded-xl text-center floating-card">
                    <div class="icon-bg w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fas fa-heart text-2xl text-white"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-white mb-2 font-display text-glow">Weddings</h3>
                    <p class="text-gray-300 text-sm font-body">5 articles</p>
                </div>

                <div class="glass-card p-6 rounded-xl text-center floating-card" style="animation-delay: 0.5s;">
                    <div class="icon-bg w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fas fa-briefcase text-2xl text-white"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-white mb-2 font-display text-glow">Corporate</h3>
                    <p class="text-gray-300 text-sm font-body">8 articles</p>
                </div>

                <div class="glass-card p-6 rounded-xl text-center floating-card" style="animation-delay: 1s;">
                    <div class="icon-bg w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fas fa-plane text-2xl text-white"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-white mb-2 font-display text-glow">Travel Tips</h3>
                    <p class="text-gray-300 text-sm font-body">12 articles</p>
                </div>

                <div class="glass-card p-6 rounded-xl text-center floating-card" style="animation-delay: 1.5s;">
                    <div class="icon-bg w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4">
                        <i class="fas fa-star text-2xl text-white"></i>
                    </div>
                    <h3 class="text-lg font-semibold text-white mb-2 font-display text-glow">Luxury</h3>
                    <p class="text-gray-300 text-sm font-body">6 articles</p>
                </div>
            </div>
        </div>
    </section>

    <!-- CTA Section -->
    <section class="py-16 luxury-gradient">
        <div class="max-w-4xl mx-auto text-center px-4">
            <div class="glass-card p-8 rounded-2xl floating-card">
                <h2 class="text-3xl md:text-4xl font-bold text-white mb-6 font-display text-glow">
                    Ready to Experience Luxury?
                </h2>
                <p class="text-xl text-gray-300 mb-8 font-body">
                    Book your Mercedes V-Class today and enjoy premium transportation
                </p>
                <div class="flex flex-col sm:flex-row gap-4 justify-center">
                    <a href="{{ route('bookings.index') }}" class="btn-primary shimmer">
                        <i class="fas fa-calendar-check"></i>
                        <span>Book Now</span>
                    </a>
                    <a href="{{ route('contact') }}" class="btn-secondary shimmer">
                        <i class="fas fa-envelope"></i>
                        <span>Contact Us</span>
                    </a>
                </div>
            </div>
        </div>
    </section>
@endsection
