Chai Suta Baar Landing Page
Preview
Edit
Download
Run
Download Options
HTML File
Download as .html file
CSS File
Download as .css file
JavaScript File
Download as .js file
Combined HTML
All code in one HTML file
Project ZIP
All files in a ZIP archive
Cancel
HTML
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Chai Suta Baar - Futuristic Tea Experience</title> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> </head> <body> <!-- Header --> <header id="header"> <div class="logo"> <!-- <img src="https://via.placeholder.com/50x50" alt="Chai Suta Baar Logo"> --> <h1>Chai <span>Suta</span> Baar</h1> </div> <ul class="nav-links"> <li><a href="#home">Home</a></li> <li><a href="#about">About</a></li> <li><a href="#menu">Menu</a></li> <li><a href="#testimonials">Testimonials</a></li> <li><a href="#gallery">Gallery</a></li> <li><a href="#team">Team</a></li> <li><a href="#contact">Contact</a></li> </ul> <div class="hamburger"> <div></div> <div></div> <div></div> </div> </header> <!-- Hero Section --> <section class="hero" id="home"> <div class="hero-content"> <h1>Experience The <span>Authentic</span> Taste of India</h1> <p>Chai Suta Baar brings you the finest selection of teas and snacks, crafted with traditional recipes and served with modern elegance.</p> <div class="hero-btns"> <a href="#menu" class="btn">Explore Menu</a> <a href="#contact" class="btn btn-outline">Book a Table</a> </div> </div> </section> <!-- About Section --> <section class="about" id="about"> <div class="section-title"> <h2>Our <span>Story</span></h2> <p>Discover the journey of Chai Suta Baar and our passion for authentic Indian tea culture</p> </div> <div class="about-content"> <div class="about-text"> <h3>Brewing Tradition Since 2010</h3> <p>Founded in the heart of Mumbai, Chai Suta Baar began as a small tea stall with a big dream - to bring the authentic taste of Indian chai to the world. Our founder, Rajesh Sharma, grew up watching his grandmother brew the perfect cup of tea using secret family recipes.</p> <p>Today, we've grown into a beloved chain with locations across India, but we've never lost sight of our roots. Every cup we serve is a tribute to the traditional methods that make Indian tea truly special.</p> <a href="#" class="btn">Learn More</a> </div> <div class="about-image"> <img src="https://images.unsplash.com/photo-1568219656418-15c329312bf1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Chai Suta Baar Interior"> </div> </div> </section> <!-- Menu Section --> <section class="menu" id="menu"> <div class="section-title"> <h2>Our <span>Menu</span></h2> <p>Explore our carefully curated selection of teas and snacks</p> </div> <div class="menu-grid"> <div class="menu-item"> <img src="https://images.unsplash.com/photo-1564890369478-c89ca6d9cde9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Masala Chai"> <div class="menu-item-content"> <h3>Classic Masala Chai</h3> <p>Our signature blend of Assam tea with ginger, cardamom, cinnamon, and other secret spices.</p> <div class="price"> <span>₹50</span> <a href="#" class="btn">Order Now</a> </div> </div> </div> <div class="menu-item"> <img src="https://images.unsplash.com/photo-1597318181409-cf64d0b5d8a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Kulhad Chai"> <div class="menu-item-content"> <h3>Kulhad Chai</h3> <p>Traditional tea served in earthen cups that enhance the flavor and aroma of our special blend.</p> <div class="price"> <span>₹60</span> <a href="#" class="btn">Order Now</a> </div> </div> </div> <div class="menu-item"> <img src="https://images.unsplash.com/photo-1601050690597-df0568f70950?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Samosa"> <div class="menu-item-content"> <h3>Special Samosa</h3> <p>Crispy pastry filled with spiced potatoes and peas, served with mint and tamarind chutney.</p> <div class="price"> <span>₹80</span> <a href="#" class="btn">Order Now</a> </div> </div> </div> <div class="menu-item"> <img src="https://images.unsplash.com/photo-1601050690123-7245d7b5a625?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Pakora"> <div class="menu-item-content"> <h3>Mixed Pakora</h3> <p>Seasonal vegetables dipped in spiced chickpea batter and deep-fried to perfection.</p> <div class="price"> <span>₹90</span> <a href="#" class="btn">Order Now</a> </div> </div> </div> </div> </section> <!-- Testimonials Section --> <section class="testimonials" id="testimonials"> <div class="section-title"> <h2>What <span>People Say</span></h2> <p>Hear from our satisfied customers about their Chai Suta Baar experience</p> </div> <div class="testimonial-slider"> <div class="testimonial-slide active"> <p>"The masala chai at Chai Suta Baar is simply the best I've ever had. The perfect balance of spices and tea leaves takes me back to my childhood in Delhi. I come here every weekend without fail!"</p> <div class="client-info"> <img src="https://randomuser.me/api/portraits/women/45.jpg" alt="Priya Sharma"> <div class="client-details"> <h4>Priya Sharma</h4> <p>Regular Customer</p> </div> </div> </div> <div class="testimonial-slide"> <p>"As a tea connoisseur, I'm very particular about my chai. Chai Suta Baar consistently delivers exceptional quality. Their kulhad chai is my absolute favorite - the earthen cup adds such a unique flavor."</p> <div class="client-info"> <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Rahul Kapoor"> <div class="client-details"> <h4>Rahul Kapoor</h4> <p>Tea Blogger</p> </div> </div> </div> <div class="testimonial-slide"> <p>"The ambiance combined with the authentic taste of their chai makes Chai Suta Baar my go-to place for business meetings. The samosas are to die for! Highly recommended for anyone who appreciates real Indian tea culture."</p> <div class="client-info"> <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Neha Patel"> <div class="client-details"> <h4>Neha Patel</h4> <p>Business Owner</p> </div> </div> </div> <div class="slider-nav"> <div class="slider-dot active" data-slide="0"></div> <div class="slider-dot" data-slide="1"></div> <div class="slider-dot" data-slide="2"></div> </div> </div> </section> <!-- Gallery Section --> <section class="gallery" id="gallery"> <div class="section-title"> <h2>Our <span>Gallery</span></h2> <p>A visual journey through the Chai Suta Baar experience</p> </div> <div class="gallery-grid"> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1600334129128-685c5582fd35?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Tea Preparation"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1515823064-d6e0b0460a71?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Tea Cups"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1568219656418-15c329312bf1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Cafe Interior"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1601050690597-df0568f70950?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Samosa"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1564890369478-c89ca6d9cde9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Masala Chai"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> <div class="gallery-item"> <img src="https://images.unsplash.com/photo-1597318181409-cf64d0b5d8a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Kulhad Chai"> <div class="gallery-overlay"> <i class="fas fa-search-plus"></i> </div> </div> </div> </section> <!-- Team Section --> <section class="team" id="team"> <div class="section-title"> <h2>Meet Our <span>Team</span></h2> <p>The passionate people behind your perfect cup of chai</p> </div> <div class="team-grid"> <div class="team-member"> <img src="https://randomuser.me/api/portraits/men/45.jpg" alt="Rajesh Sharma"> <div class="team-member-info"> <h3>Rajesh Sharma</h3> <p>Founder & Master Brewer</p> <div class="social-links"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> </div> </div> </div> <div class="team-member"> <img src="https://randomuser.me/api/portraits/women/32.jpg" alt="Priya Patel"> <div class="team-member-info"> <h3>Priya Patel</h3> <p>Head Chef</p> <div class="social-links"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> </div> </div> </div> <div class="team-member"> <img src="https://randomuser.me/api/portraits/men/68.jpg" alt="Vikram Singh"> <div class="team-member-info"> <h3>Vikram Singh</h3> <p>Operations Manager</p> <div class="social-links"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> </div> </div> </div> <div class="team-member"> <img src="https://randomuser.me/api/portraits/women/55.jpg" alt="Ananya Gupta"> <div class="team-member-info"> <h3>Ananya Gupta</h3> <p>Customer Experience</p> <div class="social-links"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> </div> </div> </div> </div> </section> <!-- Contact Section --> <section class="contact" id="contact"> <div class="section-title"> <h2>Get In <span>Touch</span></h2> <p>We'd love to hear from you! Visit us or send us a message</p> </div> <div class="contact-container"> <div class="contact-info"> <h3>Contact Information</h3> <p>Have questions or want to book a special event? Reach out to us through any of these channels.</p> <div class="info-item"> <i class="fas fa-map-marker-alt"></i> <div class="info-text"> <h4>Location</h4> <p>123 Tea Street, Mumbai, Maharashtra 400001</p> </div> </div> <div class="info-item"> <i class="fas fa-phone-alt"></i> <div class="info-text"> <h4>Phone</h4> <p>+91 98765 43210</p> </div> </div> <div class="info-item"> <i class="fas fa-envelope"></i> <div class="info-text"> <h4>Email</h4> <p>info@chaisutabaar.com</p> </div> </div> <div class="info-item"> <i class="fas fa-clock"></i> <div class="info-text"> <h4>Opening Hours</h4> <p>Monday - Sunday: 7:00 AM - 11:00 PM</p> </div> </div> </div> <div class="contact-form"> <form> <div class="form-group"> <label for="name">Your Name</label> <input type="text" id="name" placeholder="Enter your name" required> </div> <div class="form-group"> <label for="email">Your Email</label> <input type="email" id="email" placeholder="Enter your email" required> </div> <div class="form-group"> <label for="subject">Subject</label> <input type="text" id="subject" placeholder="Enter subject"> </div> <div class="form-group"> <label for="message">Your Message</label> <textarea id="message" placeholder="Enter your message"></textarea> </div> <button type="submit" class="btn">Send Message</button> </form> </div> </div> </section> <!-- Footer --> <footer> <div class="footer-container"> <div class="footer-col"> <h3>Chai Suta Baar</h3> <p>Bringing the authentic taste of Indian tea culture to your neighborhood since 2010.</p> <div class="footer-social"> <a href="#"><i class="fab fa-facebook-f"></i></a> <a href="#"><i class="fab fa-twitter"></i></a> <a href="#"><i class="fab fa-instagram"></i></a> <a href="#"><i class="fab fa-youtube"></i></a> </div> </div> <div class="footer-col"> <h3>Quick Links</h3> <ul class="footer-links"> <li><a href="#home">Home</a></li> <li><a href="#about">About Us</a></li> <li><a href="#menu">Menu</a></li> <li><a href="#gallery">Gallery</a></li> <li><a href="#contact">Contact</a></li> </ul> </div> <div class="footer-col"> <h3>Menu Categories</h3> <ul class="footer-links"> <li><a href="#">Teas</a></li> <li><a href="#">Snacks</a></li> <li><a href="#">Breakfast</a></li> <li><a href="#">Desserts</a></li> <li><a href="#">Specialties</a></li> </ul> </div> <div class="footer-col"> <h3>Newsletter</h3> <p>Subscribe to our newsletter for the latest updates and offers.</p> <form> <div class="form-group"> <input type="email" placeholder="Your Email" required> </div> <button type="submit" class="btn">Subscribe</button> </form> </div> </div> <div class="copyright"> <p>© 2023 Chai Suta Baar. All Rights Reserved.</p> </div> </footer> </body> </html>
CSS
:root { --primary: #FFD700; --primary-dark: #FFC000; --primary-light: #FFF200; --secondary: #111; --text: #333; --light: #fff; --dark: #000; } * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } body { background-color: #f9f9f9; color: var(--text); overflow-x: hidden; } /* Header Styles */ header { position: fixed; top: 0; left: 0; width: 100%; padding: 20px 5%; display: flex; justify-content: space-between; align-items: center; z-index: 1000; background-color: rgba(255, 255, 255, 0.9); box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1); transition: all 0.5s ease; } header.scrolled { padding: 15px 5%; background-color: rgba(255, 215, 0, 0.95); } .logo { display: flex; align-items: center; } .logo img { height: 50px; margin-right: 10px; animation: pulse 2s infinite; } .logo h1 { font-size: 1.8rem; font-weight: 700; color: var(--secondary); background: linear-gradient(to right, var(--primary), var(--primary-dark)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } .nav-links { display: flex; list-style: none; } .nav-links li { margin: 0 15px; } .nav-links a { text-decoration: none; color: var(--secondary); font-weight: 600; font-size: 1.1rem; transition: all 0.3s ease; position: relative; } .nav-links a:after { content: ''; position: absolute; bottom: -5px; left: 0; width: 0; height: 2px; background-color: var(--primary-dark); transition: width 0.3s ease; } .nav-links a:hover:after { width: 100%; } .hamburger { display: none; cursor: pointer; } .hamburger div { width: 25px; height: 3px; background-color: var(--secondary); margin: 5px; transition: all 0.3s ease; } /* Hero Section */ .hero { height: 100vh; display: flex; align-items: center; padding: 0 5%; background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1514432324607-a09d9b4aefdd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2048&q=80') no-repeat center center/cover; color: var(--light); position: relative; overflow: hidden; } .hero-content { max-width: 600px; z-index: 10; transform: translateY(50px); opacity: 0; animation: fadeUp 1s forwards 0.5s; } .hero-content h1 { font-size: 3.5rem; margin-bottom: 20px; line-height: 1.2; } .hero-content h1 span { color: var(--primary); } .hero-content p { font-size: 1.2rem; margin-bottom: 30px; line-height: 1.6; } .btn { display: inline-block; padding: 12px 30px; background-color: var(--primary); color: var(--secondary); text-decoration: none; font-weight: 600; border-radius: 50px; transition: all 0.3s ease; border: 2px solid var(--primary); } .btn:hover { background-color: transparent; color: var(--primary); } .btn-outline { background-color: transparent; color: var(--primary); margin-left: 15px; } .btn-outline:hover { background-color: var(--primary); color: var(--secondary); } /* About Section */ .about { padding: 100px 5%; background-color: var(--light); } .section-title { text-align: center; margin-bottom: 60px; position: relative; } .section-title h2 { font-size: 2.5rem; color: var(--secondary); margin-bottom: 15px; } .section-title h2 span { color: var(--primary); } .section-title p { max-width: 700px; margin: 0 auto; font-size: 1.1rem; color: var(--text); } .about-content { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .about-text { flex: 1; min-width: 300px; padding-right: 50px; transform: translateX(-50px); opacity: 0; transition: all 1s ease; } .about-text.animated { transform: translateX(0); opacity: 1; } .about-text h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--secondary); } .about-text p { margin-bottom: 20px; line-height: 1.6; font-size: 1.1rem; } .about-image { flex: 1; min-width: 300px; position: relative; transform: translateX(50px); opacity: 0; transition: all 1s ease; } .about-image.animated { transform: translateX(0); opacity: 1; } .about-image img { width: 100%; border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); } /* Menu Section */ .menu { padding: 100px 5%; background-color: #f5f5f5; } .menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 50px; } .menu-item { background-color: var(--light); border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; transform: translateY(50px); opacity: 0; } .menu-item.animated { transform: translateY(0); opacity: 1; } .menu-item:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } .menu-item img { width: 100%; height: 250px; object-fit: cover; } .menu-item-content { padding: 20px; } .menu-item-content h3 { font-size: 1.5rem; margin-bottom: 10px; color: var(--secondary); } .menu-item-content p { margin-bottom: 15px; color: var(--text); line-height: 1.6; } .price { display: flex; justify-content: space-between; align-items: center; } .price span { font-size: 1.3rem; font-weight: 700; color: var(--primary-dark); } /* Testimonials */ .testimonials { padding: 100px 5%; background-color: var(--light); } .testimonial-slider { max-width: 1000px; margin: 50px auto 0; position: relative; overflow: hidden; } .testimonial-slide { background-color: #f9f9f9; padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); text-align: center; display: none; animation: fadeIn 1s ease; } .testimonial-slide.active { display: block; } .testimonial-slide p { font-size: 1.2rem; line-height: 1.6; margin-bottom: 30px; color: var(--text); font-style: italic; } .client-info { display: flex; align-items: center; justify-content: center; } .client-info img { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; margin-right: 20px; border: 3px solid var(--primary); } .client-details h4 { font-size: 1.3rem; margin-bottom: 5px; color: var(--secondary); } .client-details p { font-size: 1rem; color: var(--primary-dark); margin-bottom: 0; font-style: normal; } .slider-nav { display: flex; justify-content: center; margin-top: 30px; } .slider-dot { width: 12px; height: 12px; background-color: #ddd; border-radius: 50%; margin: 0 5px; cursor: pointer; transition: all 0.3s ease; } .slider-dot.active { background-color: var(--primary-dark); transform: scale(1.2); } /* Gallery */ .gallery { padding: 100px 5%; background-color: #f5f5f5; } .gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-top: 50px; } .gallery-item { position: relative; overflow: hidden; border-radius: 10px; height: 250px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); transform: scale(0.9); opacity: 0; transition: all 0.5s ease; } .gallery-item.animated { transform: scale(1); opacity: 1; } .gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: all 0.5s ease; } .gallery-item:hover img { transform: scale(1.1); } .gallery-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255, 215, 0, 0.8); display: flex; align-items: center; justify-content: center; opacity: 0; transition: all 0.3s ease; } .gallery-item:hover .gallery-overlay { opacity: 1; } .gallery-overlay i { color: var(--secondary); font-size: 2rem; } /* Team Section */ .team { padding: 100px 5%; background-color: var(--light); } .team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; margin-top: 50px; } .team-member { background-color: #f9f9f9; border-radius: 10px; overflow: hidden; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); text-align: center; transition: all 0.3s ease; transform: translateY(50px); opacity: 0; } .team-member.animated { transform: translateY(0); opacity: 1; } .team-member:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } .team-member img { width: 100%; height: 300px; object-fit: cover; } .team-member-info { padding: 20px; } .team-member-info h3 { font-size: 1.5rem; margin-bottom: 5px; color: var(--secondary); } .team-member-info p { color: var(--primary-dark); margin-bottom: 15px; } .social-links { display: flex; justify-content: center; gap: 15px; } .social-links a { display: flex; align-items: center; justify-content: center; width: 35px; height: 35px; background-color: var(--primary); color: var(--secondary); border-radius: 50%; transition: all 0.3s ease; } .social-links a:hover { background-color: var(--secondary); color: var(--primary); } /* Contact Section */ .contact { padding: 100px 5%; background-color: #f5f5f5; } .contact-container { display: flex; flex-wrap: wrap; gap: 50px; margin-top: 50px; } .contact-info { flex: 1; min-width: 300px; } .contact-info h3 { font-size: 1.8rem; margin-bottom: 20px; color: var(--secondary); } .contact-info p { margin-bottom: 30px; line-height: 1.6; } .info-item { display: flex; align-items: flex-start; margin-bottom: 20px; } .info-item i { font-size: 1.2rem; color: var(--primary-dark); margin-right: 15px; margin-top: 5px; } .info-text h4 { font-size: 1.2rem; margin-bottom: 5px; color: var(--secondary); } .info-text p { margin-bottom: 0; color: var(--text); } .contact-form { flex: 1; min-width: 300px; background-color: var(--light); padding: 40px; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1); } .form-group { margin-bottom: 20px; } .form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--secondary); } .form-group input, .form-group textarea { width: 100%; padding: 12px 15px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; transition: all 0.3s ease; } .form-group input:focus, .form-group textarea:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2); } .form-group textarea { min-height: 150px; resize: vertical; } /* Footer */ footer { background-color: var(--secondary); color: var(--light); padding: 70px 5% 30px; } .footer-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 50px; } .footer-col h3 { font-size: 1.5rem; margin-bottom: 20px; color: var(--primary); } .footer-col p { margin-bottom: 20px; line-height: 1.6; } .footer-links { list-style: none; } .footer-links li { margin-bottom: 10px; } .footer-links a { color: #ccc; text-decoration: none; transition: all 0.3s ease; } .footer-links a:hover { color: var(--primary); padding-left: 5px; } .footer-social { display: flex; gap: 15px; } .footer-social a { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; background-color: rgba(255, 255, 255, 0.1); color: var(--light); border-radius: 50%; transition: all 0.3s ease; } .footer-social a:hover { background-color: var(--primary); color: var(--secondary); } .copyright { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); } .copyright p { margin-bottom: 0; } /* Animations */ @keyframes fadeUp { from { transform: translateY(50px); opacity: 0; } to { transform: translateY(0); opacity: 1; } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Responsive Styles */ @media (max-width: 992px) { .hero-content h1 { font-size: 3rem; } .about-content { flex-direction: column; } .about-text { padding-right: 0; margin-bottom: 50px; } } @media (max-width: 768px) { .nav-links { position: absolute; top: 80px; right: -100%; width: 250px; height: calc(100vh - 80px); background-color: var(--light); flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 40px; transition: all 0.5s ease; } .nav-links.active { right: 0; } .nav-links li { margin: 15px 0; } .hamburger { display: block; } .hamburger.active div:nth-child(1) { transform: rotate(-45deg) translate(-5px, 6px); } .hamburger.active div:nth-child(2) { opacity: 0; } .hamburger.active div:nth-child(3) { transform: rotate(45deg) translate(-5px, -6px); } .hero-content h1 { font-size: 2.5rem; } .hero-content p { font-size: 1rem; } .btn { padding: 10px 20px; } .section-title h2 { font-size: 2rem; } } @media (max-width: 576px) { .hero-content { text-align: center; } .hero-btns { display: flex; flex-direction: column; gap: 15px; } .btn-outline { margin-left: 0; } .section-title h2 { font-size: 1.8rem; } }
JavaScript
// Mobile Navigation const hamburger = document.querySelector('.hamburger'); const navLinks = document.querySelector('.nav-links'); const links = document.querySelectorAll('.nav-links li'); hamburger.addEventListener('click', () => { navLinks.classList.toggle('active'); hamburger.classList.toggle('active'); // Animate Links links.forEach((link, index) => { if (link.style.animation) { link.style.animation = ''; } else { link.style.animation = `navLinkFade 0.5s ease forwards ${index / 7 + 0.3}s`; } }); }); // Close mobile menu when clicking on a link links.forEach(link => { link.addEventListener('click', () => { navLinks.classList.remove('active'); hamburger.classList.remove('active'); links.forEach(item => { item.style.animation = ''; }); }); }); // Sticky Header window.addEventListener('scroll', () => { const header = document.getElementById('header'); header.classList.toggle('scrolled', window.scrollY > 50); }); // Testimonial Slider const dots = document.querySelectorAll('.slider-dot'); const slides = document.querySelectorAll('.testimonial-slide'); let currentSlide = 0; function showSlide(index) { slides.forEach(slide => slide.classList.remove('active')); dots.forEach(dot => dot.classList.remove('active')); slides[index].classList.add('active'); dots[index].classList.add('active'); currentSlide = index; } dots.forEach(dot => { dot.addEventListener('click', () => { const slideIndex = parseInt(dot.getAttribute('data-slide')); showSlide(slideIndex); }); }); // Auto slide change setInterval(() => { currentSlide = (currentSlide + 1) % slides.length; showSlide(currentSlide); }, 5000); // Scroll Animation function animateOnScroll() { const elements = document.querySelectorAll('.about-text, .about-image, .menu-item, .gallery-item, .team-member'); elements.forEach(element => { const elementPosition = element.getBoundingClientRect().top; const screenPosition = window.innerHeight / 1.3; if (elementPosition < screenPosition) { element.classList.add('animated'); } }); } window.addEventListener('scroll', animateOnScroll); window.addEventListener('load', animateOnScroll); // Smooth Scrolling for Anchor Links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function(e) { e.preventDefault(); const targetId = this.getAttribute('href'); const targetElement = document.querySelector(targetId); if (targetElement) { window.scrollTo({ top: targetElement.offsetTop - 80, behavior: 'smooth' }); } }); });
Output Preview
Desktop
Mobile
Fullscreen