Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"/> | |
| <title>Book Your Slot | Astronova</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Playfair+Display&family=Lato&display=swap" rel="stylesheet"> | |
| <style> | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| font-family: 'Lato', sans-serif; | |
| } | |
| body { | |
| background-color: #f4f4fa; | |
| color: #2C3E50; | |
| } | |
| header { | |
| background-color: #2C3E50; | |
| color: white; | |
| padding: 10px 30px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: space-between; | |
| } | |
| .logo-container { | |
| display: flex; | |
| align-items: center; | |
| gap: 15px; | |
| } | |
| .logo { | |
| height: 80px; /* Zoom in logo size */ | |
| width: auto; | |
| } | |
| header h1 { | |
| font-family: 'Playfair Display', serif; | |
| font-size: 2rem; | |
| } | |
| nav { | |
| display: flex; | |
| justify-content: center; | |
| gap: 30px; | |
| margin-top: 10px; | |
| } | |
| nav a { | |
| color: white; | |
| text-decoration: none; | |
| font-weight: bold; | |
| } | |
| .hero { | |
| background: linear-gradient(to right, #d6d6f5, #ffffff); | |
| text-align: center; | |
| padding: 60px 20px; | |
| } | |
| .hero h2 { | |
| font-size: 2.5rem; | |
| color: #2C3E50; | |
| font-family: 'Playfair Display', serif; | |
| } | |
| .hero p { | |
| margin: 20px 0; | |
| font-size: 1.2rem; | |
| } | |
| .booking-container { | |
| max-width: 600px; | |
| margin: 60px auto; | |
| padding: 40px; | |
| background-color: #fff; | |
| border-radius: 15px; | |
| box-shadow: 0 0 20px rgba(0, 0, 0, 0.08); | |
| } | |
| .booking-container h2 { | |
| text-align: center; | |
| margin-bottom: 30px; | |
| color: #2C3E50; | |
| } | |
| .booking-form label { | |
| display: block; | |
| margin-bottom: 8px; | |
| font-weight: 500; | |
| color: #2C3E50; | |
| } | |
| .booking-form input, | |
| .booking-form textarea { | |
| width: 100%; | |
| padding: 12px 15px; | |
| margin-bottom: 20px; | |
| border: 1px solid #ccc; | |
| border-radius: 8px; | |
| font-size: 15px; | |
| transition: border 0.3s ease; | |
| } | |
| .booking-form input:focus, | |
| .booking-form textarea:focus { | |
| border-color: #5e72e4; | |
| outline: none; | |
| } | |
| .booking-form textarea { | |
| resize: vertical; | |
| min-height: 100px; | |
| } | |
| .booking-form button { | |
| width: 100%; | |
| background-color: #F1C40F; | |
| color: #2C3E50; | |
| border: none; | |
| padding: 14px; | |
| font-size: 16px; | |
| font-weight: bold; | |
| border-radius: 8px; | |
| cursor: pointer; | |
| transition: background-color 0.3s ease; | |
| } | |
| .booking-form button:hover { | |
| background-color: #d4ac0d; | |
| } | |
| footer { | |
| background-color: #2C3E50; | |
| color: white; | |
| padding: 20px; | |
| text-align: center; | |
| font-size: 0.9rem; | |
| margin-top: 60px; | |
| } | |
| @media (max-width: 600px) { | |
| nav { | |
| flex-direction: column; | |
| gap: 15px; | |
| } | |
| .booking-container { | |
| margin: 40px 20px; | |
| padding: 30px 20px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Header --> | |
| <header> | |
| <div class="logo-container"> | |
| <img src="logo.png" alt="Astronova Logo" class="logo"> | |
| <h1>Astronova</h1> | |
| </div> | |
| <nav> | |
| <li><a href="index3.html">Home</a></li> | |
| <a href="about3.html">About</a> | |
| <a href="services3.html">Our Services</a> | |
| <a href="booking3.html">Contact</a> | |
| </nav> | |
| </header> | |
| <!-- Hero Section --> | |
| <section class="hero"> | |
| <h2>Book Your Slot</h2> | |
| <p>Share your details and let us help you find the answers you seek.</p> | |
| </section> | |
| <!-- Booking Form --> | |
| <div class="booking-container"> | |
| <h2>Enter Your Details</h2> | |
| <form action="https://formspree.io/f/xdkdjaaw" method="POST" class="booking-form"> | |
| <label for="name">Full Name</label> | |
| <input type="text" id="name" name="name" placeholder="Your full name" required /> | |
| <label for="dob">Date of Birth</label> | |
| <input type="date" id="dob" name="dob" required /> | |
| <label for="phone">Phone Number</label> | |
| <input type="tel" id="phone" name="phone" placeholder="e.g., +91 9876543210" required /> | |
| <label for="issue">Describe Your Problem</label> | |
| <textarea id="issue" name="issue" placeholder="Briefly describe your concern" required></textarea> | |
| <button type="submit">Book Now</button> | |
| </form> | |
| </div> | |
| <!-- Footer --> | |
| <footer> | |
| © 2025 Astronova. All rights reserved. | |
| </footer> | |
| </body> | |
| </html> | |