<html lang="es">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Convención para Matrimonios - Monterrey 2025</title>
    <!-- Tailwind CSS CDN -->
    <script src="https://cdn.tailwindcss.com"></script>
    <style>
        /* Custom Font Import (Inter) */
        @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
        body {
            font-family: 'Inter', sans-serif;
        }
        /* Adjust for smoother scrolling with fixed elements if any, though none are here */
        html {
            scroll-behavior: smooth;
        }

        /* Custom Modal Styles */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }

        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }

        .modal-content {
            background-color: white;
            padding: 2.5rem;
            border-radius: 1.5rem;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
            text-align: center;
            max-width: 90%;
            width: 500px;
            transform: translateY(-20px);
            transition: transform 0.3s ease;
            position: relative; /* For close button positioning */
            border: 4px solid #047857; /* Emerald-700 */
        }
        .modal-overlay.active .modal-content {
            transform: translateY(0);
        }

        .modal-close-button {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            font-size: 1.8rem;
            cursor: pointer;
            color: #4b5563; /* Gray-600 */
            transition: color 0.2s ease;
        }
        .modal-close-button:hover {
            color: #10B981; /* Emerald-500 */
        }
    </style>
</head>
<body class="min-h-screen bg-gradient-to-br from-emerald-50 to-white text-gray-800 antialiased flex flex-col">

    <!-- Header Section with Background Image -->
    <header class="relative h-96 sm:h-[400px] lg:h-[500px] bg-cover bg-center rounded-b-3xl shadow-xl overflow-hidden" 
            style="background-image: url('https://images.unsplash.com/photo-1598972583804-9467d58b29f7?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1920&q=80');">
        <!-- Overlay for text readability and aesthetic -->
        <div class="absolute inset-0 bg-gradient-to-t from-emerald-900/60 via-emerald-800/40 to-transparent rounded-b-3xl"></div>
        
        <div class="relative z-10 flex flex-col items-center justify-between h-full p-6 text-white text-center">
            <!-- Logo Section - Updated to resemble the original 2A1 México logo -->
            <div class="flex flex-col items-center mb-4 mt-4">
                <div class="bg-gradient-to-br from-emerald-500 to-emerald-700 p-2 rounded-full shadow-lg">
                    <div class="flex items-end justify-center h-16 w-16 text-white font-extrabold text-5xl leading-none">
                        <!-- Simplified representation of the 2A1 logo shape -->
                        <span class="inline-block transform rotate-[-15deg] translate-y-[-2px] tracking-tight">2</span>
                        <span class="inline-block transform rotate-[15deg] translate-y-[2px] tracking-tight">A</span>
                        <span class="inline-block translate-x-[-2px] tracking-tight">1</span>
                    </div>
                </div>
                <span class="text-sm font-semibold tracking-wider text-white mt-1">MÉXICO</span>
            </div>

            <!-- Main Tagline and Bible Verse -->
            <div class="mt-auto mb-8 animate-fade-in-up flex flex-col items-center">
                <p class="text-3xl md:text-5xl font-extrabold leading-tight tracking-wide drop-shadow-lg">
                    Para mil generaciones.
                </p>
                <p class="text-xl md:text-2xl italic mt-2 drop-shadow-md max-w-lg">
                    "Se acordó para siempre de su pacto, de la palabra que mandó por mil generaciones."
                    <span class="block text-lg mt-1 font-bold">Salmo 105:8</span>
                </p>
            </div>
        </div>
    </header>

    <!-- Main Content Section -->
    <main class="container mx-auto px-4 py-8 flex-grow">
        <!-- Event Title Section (overlaps header for dynamic effect) - Now with onclick to show modal -->
        <section class="bg-white p-2 md:p-2 rounded-3xl shadow-2xl -mt-20 relative z-20 text-center border-b-8 border-emerald-600 transform hover:scale-105 transition-transform duration-300 cursor-pointer" onclick="showMessageBox()">
            <h1 class="text-4xl md:text-6xl font-extrabold text-emerald-800 mb-2 leading-tight">
                Convención <span class="block text-3xl md:text-5xl font-semibold text-emerald-600">para matrimonios</span>
            </h1>
            <p class="text-2xl md:text-4xl font-bold text-gray-600 mt-4">
                Monterrey <span class="text-emerald-500">'2025</span>
            </p>
            <p class="text-lg md:text-xl text-gray-500 mt-3">Un espacio para fortalecer y celebrar la unión familiar.</p>
        </section>

        <!-- Details Section - Grid Layout -->
        <section class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6 mt-12">
            <!-- Date & Time Card -->
            <div class="bg-white p-6 rounded-3xl shadow-lg flex flex-col items-center text-center border border-emerald-100 hover:shadow-xl transition-shadow duration-300">
                <!-- Calendar Icon (Lucide Icons - SVG) -->
                <svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-calendar-days text-emerald-600 mb-4 drop-shadow-sm"><path d="M8 2v4"/><path d="M16 2v4"/><rect width="18" height="18" x="3" y="4" rx="2"/><path d="M3 10h18"/><path d="M8 14h.01"/><path d="M12 14h.01"/><path d="M16 14h.01"/><path d="M8 18h.01"/><path d="M12 18h.01"/><path d="M16 18h.01"/></svg>
                <h3 class="text-2xl font-bold text-gray-700 mb-2">Fechas</h3>
                <!-- Google Calendar Link -->
                <a href="https://calendar.google.com/calendar/render?action=TEMPLATE&text=Convenci%C3%B3n%20para%20Matrimonios%20-%20Monterrey%202025&dates=20251121T170000/20251122T210000&details=Convenci%C3%B3n%20para%20matrimonios%20en%20Monterrey.%20Un%20espacio%20para%20fortalecer%20y%20celebrar%20la%20uni%C3%B3n%20familiar.&location=Hotel%20Safi%2C%20Centro%2C%20Monterrey%2C%20M%C3%A9xico" 
                   target="_blank" rel="noopener noreferrer"
                   class="text-xl text-emerald-600 hover:underline font-semibold">
                    21 - 22 Noviembre
                </a>
                <p class="text-lg text-gray-500 mt-2">Viernes 5pm a Sábado 9pm</p>
            </div>

            <!-- Location Card -->
            <div class="bg-white p-6 rounded-3xl shadow-lg flex flex-col items-center text-center border border-emerald-100 hover:shadow-xl transition-shadow duration-300">
                <!-- Map Pin Icon (Lucide Icons - SVG) -->
                <svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-map-pin text-emerald-600 mb-4 drop-shadow-sm"><path d="M12 19.5v-7.25"/><path d="M15 15.5H9"/><circle cx="12" cy="10" r="3"/><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7z"/></svg>
                <h3 class="text-2xl font-bold text-gray-700 mb-2">Ubicación</h3>
                <!-- Google Maps Link -->
                <a href="https://www.google.com/maps/search/?api=1&query=Hotel%20Safi%2C%20Centro%2C%20Monterrey%2C%20M%C3%A9xico" 
                   target="_blank" rel="noopener noreferrer"
                   class="text-xl text-emerald-600 hover:underline font-semibold">
                    Hotel Safi, Centro
                </a>
                <p class="text-lg text-gray-500 mt-2">Monterrey, México</p>
            </div>

            <!-- Contact Info Card -->
            <div class="bg-white p-6 rounded-3xl shadow-lg flex flex-col items-center text-center border border-emerald-100 hover:shadow-xl transition-shadow duration-300">
                <!-- Phone Icon (Lucide Icons - SVG) -->
                <svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-phone text-emerald-600 mb-4 drop-shadow-sm"><path d="M22 16.92v3a2 2 0 0 1-2.18 2.01l-4.21-1.05a2 2 0 0 0-1.65.65L6.15 20.3a20.73 20.73 0 0 1-4.82-5.94V7.6a2 2 0 0 1 2.01-2.18l1.05-4.21a2 2 0 0 0-.65-1.65L2.3 2.15a20.73 20.73 0 0 1 5.94 4.82L3.7 17.85a20.73 20.73 0 0 0 5.94-4.82l4.21-1.05a2 2 0 0 0-.65-1.65Z"/></svg>
                <h3 class="text-2xl font-bold text-gray-700 mb-2">Información</h3>
                <!-- Phone Number Link -->
                <a href="tel:+528341160669" class="text-xl text-emerald-600 hover:underline font-semibold">
                    Tel: +52 834 1160669
                </a>
                <p class="text-lg text-gray-500 mt-2">Contáctanos para detalles</p>
            </div>

            <!-- Family/Purpose Card -->
            <div class="bg-white p-6 rounded-3xl shadow-lg flex flex-col items-center justify-center text-center border border-emerald-100 hover:shadow-xl transition-shadow duration-300">
                <!-- Users Icon (Lucide Icons - SVG) -->
                <svg xmlns="http://www.w3.org/2000/svg" width="44" height="44" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-heart-handshake text-emerald-600 mb-4 drop-shadow-sm"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5 5 0 0 0 17.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5 5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z"/><path d="M12 5V2"/><path d="M10.5 5.5L9 4"/><path d="M14 7l1-2.5"/></svg>
                <h3 class="text-2xl font-bold text-gray-700 mb-2">¡Fortalece tu matrimonio!</h3>
                <p class="text-lg text-gray-500">Un legado para las próximas generaciones.</p>
            </div>
        </section>

        <!-- Call to Action Section -->
        <section class="mt-16 text-center bg-emerald-700 p-8 rounded-3xl text-white shadow-xl transform transition-transform duration-300 hover:scale-[1.02]">
            <h2 class="text-4xl md:text-5xl font-extrabold mb-4 leading-tight">
                ¡No te lo pierdas!
            </h2>
            <p class="text-xl md:text-2xl max-w-2xl mx-auto mb-8 opacity-90">
                Asegura tu lugar en esta experiencia transformadora para tu matrimonio y tu familia.
            </p>
            <a href="https://www.google.com" target="_blank" rel="noopener noreferrer"
               class="inline-block bg-white text-emerald-700 font-extrabold py-4 px-12 rounded-full shadow-lg 
                      hover:bg-emerald-100 hover:text-emerald-800 transition-all duration-300 
                      transform hover:scale-105 active:scale-95 border-2 border-emerald-700 hover:border-emerald-800
                      text-xl md:text-2xl">
                Regístrate Aquí
            </a>
            <p class="text-base text-white/80 mt-6">
                Encuentra el link de registro en nuestro sitio web oficial: 
                <a href="https://www.google.com" target="_blank" rel="noopener noreferrer" class="text-emerald-200 hover:text-emerald-50 hover:underline font-semibold">
                    enlace-de-registro.com
                </a>
            </p>
        </section>
    </main>

    <!-- Footer -->
    <footer class="bg-emerald-900 text-white py-6 mt-16 text-center rounded-t-3xl shadow-inner">
        <p class="text-sm opacity-80">&copy; 2025 2a1 México. Todos los derechos reservados.</p>
        <p class="text-xs opacity-60 mt-1">Diseño para el futuro de tu matrimonio.</p>
    </footer>

    <!-- Custom Message Box/Modal HTML -->
    <div id="messageBox" class="modal-overlay">
        <div class="modal-content">
            <button class="modal-close-button" onclick="hideMessageBox()">&times;</button>
            <h3 class="text-3xl font-extrabold text-emerald-700 mb-4">¡Bienvenidos!</h3>
            <p class="text-xl text-gray-700">
                Estamos emocionados de que te interese la Convención para Matrimonios.
                Pronto tendremos más detalles sobre el programa, oradores y actividades.
                ¡Mantente atento a nuestras actualizaciones!
            </p>
        </div>
    </div>

    <!-- JavaScript for Message Box functionality -->
    <script>
        function showMessageBox() {
            const messageBox = document.getElementById('messageBox');
            messageBox.classList.add('active');
        }

        function hideMessageBox() {
            const messageBox = document.getElementById('messageBox');
            messageBox.classList.remove('active');
        }

        // Optional: Close modal when clicking outside of it
        document.getElementById('messageBox').addEventListener('click', function(event) {
            if (event.target === this) {
                hideMessageBox();
            }
        });
    </script>

</body>
</html>