{% extends 'base.html.twig' %}

{% block title %}
Danke
{% endblock %}

{% block body %}
<div class="min-h-screen bg-gradient-to-br from-yellow-50 via-white to-orange-50 relative overflow-hidden">
    <header class="w-full bg-white/90 backdrop-blur-md shadow-lg fixed top-0 z-50 border-b border-gray-100">
        <div class="container mx-auto px-4 sm:px-6 lg:px-8 py-3 sm:py-4 flex justify-between items-center">
            <a href="{{ path('app_home') }}" class="flex items-center space-x-4">
                <img src="{{ asset('images/logos/new_logo.png') }}" alt="Waldorfschule Bremen Osterholz"
                     class="w-32 sm:w-36 md:w-40 h-auto hover:opacity-90 transition-opacity"/>
                <img src="{{ asset('images/logos/second_logo.png') }}" alt="Secondary Logo"
                     class="w-32 sm:w-36 md:w-40 h-auto hover:opacity-90 transition-opacity sm:block hidden"/>
            </a>
            <a href="{{ path('app_home') }}" class="bg-gradient-to-r from-red-500 to-orange-500 hover:from-red-600 hover:to-orange-600 text-white px-6 py-2.5 rounded-full text-sm font-medium shadow-md hover:shadow-lg transition-all duration-300 flex items-center space-x-2">
                <twig:ux:icon name="line-md:home" class="w-4 h-4" />
                <span>Zurück zur Startseite</span>
            </a>
        </div>
    </header>

    <div class="container mx-auto px-4 sm:px-6 lg:px-8 pt-24 sm:pt-28 md:pt-32 pb-16 sm:pb-20 flex flex-col items-center justify-center relative z-10">
        <div class="w-full max-w-3xl mx-auto text-center">
            <div class="mb-8">
                <div class="inline-flex items-center justify-center w-16 h-16 rounded-full bg-green-100 mb-6">
                    <twig:ux:icon name="heroicons:check-circle" class="w-10 h-10 text-green-500" />
                </div>
                <h1 class="text-3xl sm:text-4xl font-bold text-gray-900 mb-4">Vielen Dank für deine Bestellung!</h1>
                <p class="text-lg text-gray-600">Wir freuen uns, dich beim Abiball zu sehen.</p>
            </div>

            <div class="grid grid-cols-1 sm:grid-cols-2 gap-5">
                <div class="bg-white rounded-2xl shadow-lg p-8 border border-gray-100">
                    <h2 class="text-2xl font-semibold mb-6 w-full bg-clip-text text-transparent bg-gradient-to-r from-red-500 to-orange-500">Veranstaltungsdetails</h2>
                    <div class="max-w-xs mx-auto">
                        <div class="space-y-4">
                            <div class="flex justify-start space-x-3">
                                <twig:ux:icon name="heroicons:calendar" class="w-6 h-6 text-orange-600" />
                                <p class="text-gray-700">Sa. 28.06.2025</p>
                            </div>
                            <div class="flex justify-start space-x-3">
                                <twig:ux:icon name="heroicons:clock" class="w-6 h-6 text-orange-600" />
                                <p class="text-gray-700">17:30 - Open End</p>
                            </div>
                            <div class="flex justify-start space-x-3">
                                <twig:ux:icon name="heroicons:map-pin" class="w-6 h-6 text-orange-600" />
                                <p class="text-gray-700">Graubündener Str. 4, 28325 Bremen</p>
                            </div>
                            <div class="flex justify-start space-x-3">
                                <twig:ux:icon name="tabler:shirt" class="w-6 h-6 text-orange-600" />
                                <p class="text-gray-700">Abendkleidung</p>
                            </div>
                        </div>
                    </div>
                </div>

                <div class="bg-white rounded-2xl shadow-lg p-8 border border-gray-100">
                    <h2 class="text-2xl font-semibold mb-6 w-full bg-clip-text text-transparent bg-gradient-to-r from-red-500 to-orange-500">Ablauf</h2>
                    <div class="max-w-xs mx-auto">
                        <div class="space-y-4">
                            <div class="flex items-center gap-3">
                                <twig:ux:icon name="heroicons:ticket" class="w-6 h-6 text-orange-600 flex-shrink-0" />
                                <span class="text-gray-600 font-medium whitespace-nowrap">17:30-19:30</span>
                                <span class="text-gray-700">Einlass & Platznehmen</span>
                            </div>
                            <div class="flex items-center gap-3">
                                <twig:ux:icon name="heroicons:cake" class="w-6 h-6 text-orange-600 flex-shrink-0" />
                                <span class="text-gray-600 font-medium whitespace-nowrap">19:30-22:00</span>
                                <span class="text-gray-700">Dinner & Beisammensein</span>
                            </div>
                            <div class="flex items-center gap-3">
                                <twig:ux:icon name="heroicons:musical-note" class="w-6 h-6 text-orange-600 flex-shrink-0" />
                                <span class="text-gray-600 font-medium whitespace-nowrap">22:00-03:00</span>
                                <span class="text-gray-700">Feier & Tanz im Saal</span>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

            <div class="mt-8 pt-6 border-t border-gray-200 text-center">
                <div class="flex items-center justify-center">
                    <a href="{{ path('app_calendar') }}" 
                       target="_blank"
                       class="inline-flex items-center px-6 py-3 bg-gray-200 hover:bg-gray-300 rounded transition-colors">
                        <twig:ux:icon name="heroicons:calendar" class="w-5 h-5 text-gray-600 mr-2" />
                        <span class="text-sm font-medium text-gray-700">Zum Kalender hinzufügen</span>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>
{% endblock %}
