{"id":526,"date":"2025-11-30T09:28:37","date_gmt":"2025-11-30T09:28:37","guid":{"rendered":"http:\/\/localhost\/enfield\/?page_id=526"},"modified":"2025-11-30T09:28:37","modified_gmt":"2025-11-30T09:28:37","slug":"general-booking","status":"publish","type":"page","link":"https:\/\/edbd-server.com\/enfieldv2\/general-booking\/","title":{"rendered":"General Booking"},"content":{"rendered":"\n<link rel=\"stylesheet\" href=\"https:\/\/cdn.jsdelivr.net\/npm\/flatpickr\/dist\/flatpickr.min.css\">\n<script src=\"https:\/\/cdn.jsdelivr.net\/npm\/flatpickr\"><\/script>\n\n<style>\n\/* Main Calendar *\/\n.flatpickr-calendar {\n    background: #111827 !important;\n    border: 1px solid #374151 !important;\n    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8) !important;\n    font-family: inherit !important;\n}\n\n\/* All Days \u2013 Text Color White & Bold *\/\n.flatpickr-day {\n    color: #e5e7eb !important;\n    font-weight: 600 !important;\n}\n\n\/* Today *\/\n.flatpickr-day.today {\n    border-color: #fb923c !important;\n    color: #fb923c !important;\n    font-weight: 700 !important;\n}\n\n\/* Selected Date \u2013 Red Circle *\/\n.flatpickr-day.selected,\n.flatpickr-day.selected:hover,\n.flatpickr-day.startRange,\n.flatpickr-day.endRange {\n    background: #ef4444 !important;\n    border-color: #ef4444 !important;\n    color: white !important;\n    font-weight: 700 !important;\n}\n\n\/* Hover Effect *\/\n.flatpickr-day:hover {\n    background: rgba(251, 146, 60, 0.25) !important;\n    color: white !important;\n}\n\n\/* Weekdays (Sun Mon Tue...) *\/\n.flatpickr-weekdays span {\n    color: #9ca3af !important;\n    font-weight: 600 !important;\n}\n\n\/* Month & Year Title *\/\n.flatpickr-current-month,\n.flatpickr-current-month .flatpickr-monthDropdown-months {\n    color: white !important;\n    font-weight: 700 !important;\n}\n\n\/* Arrows *\/\n.flatpickr-prev-month svg,\n.flatpickr-next-month svg {\n    fill: #fb923c !important;\n}\n\n\/* Disabled Dates *\/\n.flatpickr-day.disabled,\n.flatpickr-day.disabled:hover {\n    color: #4b5563 !important;\n    background: transparent !important;\n}\n<\/style>\n\n<div class=\"fixed inset-0 bg-cover bg-center bg-fixed -z-10\"\n    style=\"background-image: url('https:\/\/edbd-server.com\/enfieldv2\/wp-content\/themes\/iconstarter\/images\/servicei.png');\"><\/div>\n<div class=\"relative min-h-screen flex items-center justify-center px-6 py-12\">\n    <div class=\"absolute inset-0 bg-black\/90\"><\/div>\n\n    <div class=\"relative z-10 w-full max-w-4xl\">\n        <div class=\"bg-gray-900\/95 backdrop-blur-sm rounded-3xl shadow-2xl border border-gray-800 p-6 md:p-16\">\n\n            <h2 class=\"text-primary text-center text-sm md:text-xl font-semibold mb-10\">\n                General Service Enquiry \u2013 Booking Form\n            <\/h2>\n\n            <form method=\"post\" class=\"space-y-8\">\n                <div class=\"grid md:grid-cols-2 gap-8\">\n                    <div>\n                        <label class=\"block text-white mb-2\">Name <span class=\"text-red-500\">*<\/span><\/label>\n                        <input type=\"text\" name=\"customer_name\" required placeholder=\"Mr \/ Mrs\"\n                            class=\"w-full px-5 py-4 bg-gray-800\/70 border border-gray-700 rounded-xl focus:border-primary focus:outline-none text-white\">\n                    <\/div>\n                    <div>\n                        <label class=\"block text-white mb-2\">Phone <span class=\"text-red-500\">*<\/span><\/label>\n                        <input type=\"tel\" name=\"customer_phone\" required placeholder=\"Enter your number\"\n                            class=\"w-full px-5 py-4 bg-gray-800\/70 border border-gray-700 rounded-xl focus:border-orange-500 focus:outline-none text-white\">\n                    <\/div>\n                    <div>\n                        <label class=\"block text-white mb-2\">Bike Model<\/label>\n                        <select name=\"bike_model\"\n                            class=\"w-full px-5 py-5 bg-gray-800\/70 border border-gray-700 rounded-xl focus:border-orange-500 text-white\">\n                            <option>Select<\/option>\n                            <option>Royal Enfield Classic 350<\/option>\n                            <option>Royal Enfield Himalayan<\/option>\n                            <option>Royal Enfield Meteor<\/option>\n                            <option>Other<\/option>\n                        <\/select>\n                    <\/div>\n                    <div>\n                        <label class=\"block text-white mb-2\">Booking Date <span class=\"text-red-500\">*<\/span><\/label>\n                        <input type=\"text\" name=\"booking_date\" required placeholder=\"Pick a date\"\n                            class=\"w-full px-5 py-4 bg-gray-800\/70 border border-gray-700 rounded-xl focus:border-orange-500 text-white flatpickr-input\">\n                    <\/div>\n                    <div class=\"md:col-span-2\">\n                        <label class=\"block text-sm font-medium mb-2 text-white\">Description<\/label>\n                        <textarea name=\"description\" rows=\"4\" placeholder=\"Describe your problem...\"\n                            class=\"w-full px-5 py-4 bg-gray-800\/70 border border-gray-700 rounded-xl focus:border-orange-500 text-white\"><\/textarea>\n                    <\/div>\n                <\/div>\n\n                <div class=\"flex items-center justify-center gap-3\">\n                    <input type=\"checkbox\" id=\"terms\" name=\"terms\" required class=\"w-5 h-5\">\n                    <label for=\"terms\" class=\"text-gray-400 text-sm\">I accepted the terms and condition provided via\n                        enfield\n                        lifestyle.<\/label>\n                <\/div>\n\n                <input type=\"hidden\" name=\"service_id\" value=\"0\">\n                <input type=\"hidden\" name=\"service_name\" value=\"General Service Enquiry\">\n                <input type=\"hidden\" id=\"booking_nonce\" name=\"booking_nonce\" value=\"8241785c93\" \/><input type=\"hidden\" name=\"_wp_http_referer\" value=\"\/enfieldv2\/wp-json\/wp\/v2\/pages\/526\" \/>\n                <div class=\"text-center mt-10\">\n                    <button type=\"submit\" name=\"submit_booking\"\n                        class=\"bg-red-600 hover:bg-red-700 text-white font-bold text-xl px-16 py-4 rounded-md shadow-xl transition transform hover:scale-105\">\n                        Submit\n                    <\/button>\n                <\/div>\n            <\/form>\n        <\/div>\n    <\/div>\n<\/div>\n\n<script>\ndocument.addEventListener(\"DOMContentLoaded\", function() {\n    flatpickr(\".flatpickr-input\", {\n        dateFormat: \"d M Y\",\n        minDate: \"today\",\n        maxDate: new Date().fp_incr(90),\n        theme: \"dark\",\n        inline: false,\n        allowInput: true,\n        clickOpens: true,\n\n    });\n});\n<\/script>\n\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-526","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/pages\/526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/comments?post=526"}],"version-history":[{"count":1,"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/pages\/526\/revisions"}],"predecessor-version":[{"id":527,"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/pages\/526\/revisions\/527"}],"wp:attachment":[{"href":"https:\/\/edbd-server.com\/enfieldv2\/wp-json\/wp\/v2\/media?parent=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}