@extends('layouts.app')

@section('title', 'Wedding Page - WedBooker')
@section('page-title', 'Wedding Page')
@section('page-description', 'Customize your wedding website')

@section('content')
<div class="space-y-6">
    <!-- Wedding Preview -->
    <div class="glass-card rounded-2xl p-6 border border-white/10" data-aos="fade-up">
        <div class="flex justify-between items-center mb-6">
            <h3 class="text-xl font-bold text-white">Wedding Page Preview</h3>
            <a href="#" class="text-purple-400 hover:text-purple-300 text-sm">View Live Page →</a>
        </div>
        <div class="bg-gradient-to-br from-purple-900/50 to-pink-900/50 rounded-xl p-6">
            <div class="text-center">
                <h2 class="text-3xl font-bold text-white">Emma & James</h2>
                <p class="text-gray-300 mt-2">June 15, 2024 • London, UK</p>
                <div class="flex justify-center gap-4 mt-4">
                    <span class="px-3 py-1 bg-white/10 rounded-full text-sm">#EmmaAndJames</span>
                    <span class="px-3 py-1 bg-white/10 rounded-full text-sm">150 Guests</span>
                </div>
            </div>
        </div>
    </div>
    
    <!-- Wedding Details Form -->
    <div class="glass-card rounded-2xl p-6 border border-white/10" data-aos="fade-up">
        <h3 class="text-xl font-bold text-white mb-6">Wedding Details</h3>
        <form class="space-y-4">
            <div class="grid md:grid-cols-2 gap-4">
                <div>
                    <label class="block text-white mb-2">Wedding Title</label>
                    <input type="text" value="Emma & James's Wedding" class="w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">
                </div>
                <div>
                    <label class="block text-white mb-2">Date</label>
                    <input type="date" value="2024-06-15" class="w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">
                </div>
                <div>
                    <label class="block text-white mb-2">Time</label>
                    <input type="time" value="14:00" class="w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">
                </div>
                <div>
                    <label class="block text-white mb-2">Venue</label>
                    <input type="text" value="The Grand Hotel, London" class="w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">
                </div>
                <div class="md:col-span-2">
                    <label class="block text-white mb-2">Wedding Story</label>
                    <textarea rows="4" class="w-full px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">We met 5 years ago and fell in love. Join us as we celebrate our special day!</textarea>
                </div>
            </div>
            <button class="px-6 py-2 bg-gradient-to-r from-purple-600 to-pink-600 text-white rounded-lg font-semibold hover:shadow-2xl transition">Save Changes</button>
        </form>
    </div>
    
    <!-- Custom URL -->
    <div class="glass-card rounded-2xl p-6 border border-white/10" data-aos="fade-up">
        <h3 class="text-xl font-bold text-white mb-4">Wedding Page URL</h3>
        <div class="flex items-center gap-2">
            <span class="text-gray-400">wedbooker.com/</span>
            <input type="text" value="emma-james-wedding" class="flex-1 px-4 py-2 bg-white/10 border border-white/20 rounded-lg text-white focus:outline-none focus:border-purple-500">
            <button class="px-4 py-2 bg-purple-600 rounded-lg hover:bg-purple-700 transition">Save</button>
        </div>
    </div>
</div>
@endsection