From d8875292faa141e53c22d526cb0d80aaf83960b2 Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Wed, 17 Sep 2025 13:07:03 +0000 Subject: [PATCH] Order form --- assets/css/custom.css | 78 ++++++++++++++++++++++++++++++++++++++++++- assets/js/main.js | 19 +++++++++++ index.php | 51 ++++++++++++++++++++++++++-- 3 files changed, 144 insertions(+), 4 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index 3a906bf..86fa21f 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -64,8 +64,26 @@ body { border: 1px solid #00BFFF; border-radius: 8px; overflow: hidden; - transition: transform 0.3s, box-shadow 0.3s; + transition: transform 0.8s ease-out, opacity 0.8s ease-out, box-shadow 0.3s; box-shadow: 0 0 5px #00BFFF, 0 0 10px #00BFFF, 0 0 15px #00BFFF; + opacity: 0; /* Start hidden */ +} + +.exhibit-card.hidden-left { + transform: translateX(-100px); +} + +.exhibit-card.hidden-right { + transform: translateX(100px); +} + +.exhibit-card.hidden-bottom { + transform: translateY(100px); +} + +.exhibit-card.visible { + opacity: 1; + transform: translateX(0) translateY(0); } .exhibit-card:hover { @@ -93,6 +111,11 @@ body { text-shadow: 0 0 3px #FFFFFF, 0 0 8px #00BFFF; } +section h2 { + color: #FFFFFF; + text-shadow: 0 0 8px #FFFFFF, 0 0 15px #00BFFF, 0 0 20px #00BFFF; +} + .full-width-section { height: 70vh; background-size: cover; @@ -123,3 +146,56 @@ body { background-color: rgba(0, 0, 0, 0.3); z-index: 1; } + +#tickets { + position: relative; + background: url('https://noma.org/wp-content/uploads/2019/04/Screenshot-2019-04-30-10.10.43.png') no-repeat center center/cover; +} + +#tickets::before { + content: ''; + position: absolute; + top: 0; + left: 0; + right: 0; + bottom: 0; + background-color: rgba(0, 0, 0, 0.7); + z-index: 1; +} + +#tickets .container { + position: relative; + z-index: 2; +} + +.ticket-form-container { + background-color: rgba(16, 16, 32, 0.85); + padding: 2rem; + border-radius: 8px; + border: 1px solid #00BFFF; + box-shadow: 0 0 15px #00BFFF; +} + +.ticket-form-container .form-label { + color: #FFFFFF; + text-shadow: 0 0 5px #FFFFFF, 0 0 10px #00BFFF; +} + +.ticket-form-container .form-control, +.ticket-form-container .form-select { + background-color: #000010; + color: #FFFFFF; + border: 1px solid #00BFFF; +} + +.ticket-form-container .form-control:focus, +.ticket-form-container .form-select:focus { + background-color: #000010; + color: #FFFFFF; + border-color: #FF00FF; + box-shadow: 0 0 10px #FF00FF; +} + +.ticket-form-container .form-control::-webkit-calendar-picker-indicator { + filter: invert(1); +} diff --git a/assets/js/main.js b/assets/js/main.js index e69de29..c2f707c 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -0,0 +1,19 @@ +document.addEventListener('DOMContentLoaded', () => { + const observerOptions = { + root: null, + rootMargin: '0px', + threshold: 0.1 + }; + + const observer = new IntersectionObserver((entries, observer) => { + entries.forEach(entry => { + if (entry.isIntersecting) { + entry.target.classList.add('visible'); + observer.unobserve(entry.target); + } + }); + }, observerOptions); + + const hiddenElements = document.querySelectorAll('.hidden-left, .hidden-right, .hidden-bottom'); + hiddenElements.forEach(el => observer.observe(el)); +}); diff --git a/index.php b/index.php index ce4bd47..80d186b 100644 --- a/index.php +++ b/index.php @@ -38,7 +38,7 @@

Featured Exhibits

-
+
Abstract digital sculpture with flowing lights.
Luminous Forms
@@ -47,7 +47,7 @@
-
+
Interactive holographic display of ancient artifacts.
Holo-Relics
@@ -56,7 +56,7 @@
-
+
A virtual reality experience of a surreal landscape.
VR Dreams
@@ -89,6 +89,51 @@
+
+
+

Buy Tickets

+
+
+
+
+
+ + +
+
+ + +
+
+ + +
+
+ +
+
+
+
+
+
+
+