Spaces:
Runtime error
Runtime error
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>{{ service.name }} | DentalArt</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| body { | |
| background-color: #000; | |
| color: #fff; | |
| overflow-x: hidden; | |
| } | |
| .parallax-bg { | |
| background-attachment: fixed; | |
| background-position: center; | |
| background-repeat: no-repeat; | |
| background-size: cover; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .glow-effect { | |
| position: absolute; | |
| width: 200px; | |
| height: 200px; | |
| border-radius: 50%; | |
| filter: blur(60px); | |
| opacity: 0.3; | |
| z-index: 0; | |
| } | |
| .glow-teal { | |
| background: #38b2ac; | |
| } | |
| .glow-blue { | |
| background: #3b82f6; | |
| } | |
| .glow-purple { | |
| background: #8b5cf6; | |
| } | |
| .treatment-hero { | |
| background: linear-gradient(135deg, rgba(30, 41, 59, 0.9) 0%, rgba(15, 23, 42, 0.95) 100%); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| } | |
| .process-step { | |
| position: relative; | |
| background: rgba(30, 41, 59, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .process-step:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3); | |
| border-color: rgba(59, 130, 246, 0.5); | |
| } | |
| .process-step::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 4px; | |
| height: 0; | |
| background: linear-gradient(to bottom, #38b2ac, #3b82f6); | |
| transition: height 0.6s ease; | |
| } | |
| .process-step:hover::before { | |
| height: 100%; | |
| } | |
| .comparison-slider { | |
| position: relative; | |
| width: 100%; | |
| overflow: hidden; | |
| border-radius: 12px; | |
| box-shadow: 0 15px 30px rgba(0,0,0,0.5); | |
| } | |
| .comparison-before, .comparison-after { | |
| position: absolute; | |
| top: 0; | |
| width: 100%; | |
| height: 100%; | |
| overflow: hidden; | |
| } | |
| .comparison-before { | |
| width: 50%; | |
| } | |
| .comparison-slider img { | |
| width: 100%; | |
| height: 100%; | |
| object-fit: cover; | |
| pointer-events: none; | |
| } | |
| .comparison-slider-handle { | |
| position: absolute; | |
| left: 50%; | |
| top: 0; | |
| bottom: 0; | |
| width: 4px; | |
| background: white; | |
| transform: translateX(-50%); | |
| cursor: ew-resize; | |
| z-index: 10; | |
| } | |
| .comparison-slider-handle::after { | |
| content: ''; | |
| position: absolute; | |
| width: 40px; | |
| height: 40px; | |
| border-radius: 50%; | |
| background: white; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| box-shadow: 0 0 15px rgba(0,0,0,0.5); | |
| } | |
| .comparison-slider-handle::before { | |
| content: '\f337'; | |
| font-family: 'Font Awesome 6 Free'; | |
| font-weight: 900; | |
| position: absolute; | |
| top: 50%; | |
| left: 50%; | |
| transform: translate(-50%, -50%); | |
| color: #3b82f6; | |
| font-size: 14px; | |
| } | |
| .faq-item { | |
| background: rgba(30, 41, 59, 0.7); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255,255,255,0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .faq-item:hover { | |
| border-color: rgba(59, 130, 246, 0.5); | |
| } | |
| .faq-question { | |
| cursor: pointer; | |
| transition: color 0.3s ease; | |
| } | |
| .faq-question:hover { | |
| color: #38b2ac; | |
| } | |
| .faq-answer { | |
| max-height: 0; | |
| overflow: hidden; | |
| transition: max-height 0.5s ease, padding 0.3s ease; | |
| } | |
| .faq-item.active .faq-answer { | |
| max-height: 500px; | |
| padding-top: 15px; | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| width: 0; | |
| height: 2px; | |
| bottom: -2px; | |
| left: 0; | |
| background: #38b2ac; | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| @media (max-width: 768px) { | |
| .parallax-bg { | |
| background-attachment: scroll; | |
| } | |
| .treatment-hero { | |
| padding-top: 120px; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Floating Glow Effects --> | |
| <div class="glow-effect glow-teal" style="top: 10%; left: 10%;"></div> | |
| <div class="glow-effect glow-blue" style="top: 60%; right: 5%;"></div> | |
| <div class="glow-effect glow-purple" style="bottom: 10%; left: 20%;"></div> | |
| <!-- Header --> | |
| <header class="py-6 px-4 fixed w-full z-50 bg-black bg-opacity-80 backdrop-filter backdrop-blur-sm"> | |
| <div class="container mx-auto flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-tooth text-3xl text-teal-400 mr-3"></i> | |
| <h1 class="text-2xl font-bold bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">DentalArt</h1> | |
| </div> | |
| <button id="menu-toggle" class="md:hidden text-white"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| <nav id="main-nav" class="hidden md:flex space-x-8"> | |
| <a href="#" class="nav-link text-white">Home</a> | |
| <a href="#" class="nav-link text-white">Gallery</a> | |
| <a href="#" class="nav-link text-white text-teal-400 font-semibold">Treatments</a> | |
| <a href="#" class="nav-link text-white">Contact</a> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- Mobile Menu --> | |
| <div id="mobile-menu" class="fixed inset-0 bg-black bg-opacity-90 z-40 hidden flex-col items-center justify-center space-y-8"> | |
| <button id="close-menu" class="absolute top-6 right-6 text-white text-2xl"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <a href="#" class="text-white text-2xl">Home</a> | |
| <a href="#" class="text-white text-2xl">Gallery</a> | |
| <a href="#" class="text-white text-2xl text-teal-400 font-semibold">Treatments</a> | |
| <a href="#" class="text-white text-2xl">Contact</a> | |
| </div> | |
| <!-- Treatment Hero Section --> | |
| <section class="treatment-hero min-h-[60vh] flex items-center pt-20 relative overflow-hidden"> | |
| <div class="container mx-auto px-4 py-16 relative z-10"> | |
| <div class="flex flex-col lg:flex-row items-center"> | |
| <div class="lg:w-1/2 mb-12 lg:mb-0 lg:pr-12"> | |
| <span class="inline-block bg-gradient-to-r from-teal-500 to-blue-600 text-white px-4 py-2 rounded-full text-sm font-semibold mb-4">Most Popular</span> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-6 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">{{ service.name }}</h1> | |
| <p class="text-xl text-gray-300 mb-8">{{ service.description }}</p> | |
| <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> | |
| <button class="bg-gradient-to-r from-teal-500 to-blue-600 text-white px-8 py-3 rounded-full font-semibold hover:opacity-90 transition shadow-lg">Book Consultation</button> | |
| <button class="border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-black transition">View Before/After</button> | |
| </div> | |
| </div> | |
| <div class="lg:w-1/2"> | |
| <div class="comparison-slider" style="height: 400px;"> | |
| <div class="comparison-after"> | |
| <img src="{{ service.after_image }}" alt="After {{ service.name }}"> | |
| </div> | |
| <div class="comparison-before"> | |
| <img src="{{ service.before_image }}" alt="Before {{ service.name }}"> | |
| </div> | |
| <div class="comparison-slider-handle"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="absolute inset-0 bg-gradient-to-b from-black via-transparent to-black opacity-70 z-0"></div> | |
| </section> | |
| <!-- Treatment Benefits --> | |
| <section class="py-20 px-4 relative"> | |
| <div class="container mx-auto"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">Why Choose {{ service.name }}?</h2> | |
| <p class="text-gray-400 max-w-2xl mx-auto">The ultimate cosmetic solution for a flawless smile transformation</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-teal-500 transition"> | |
| <div class="w-14 h-14 bg-teal-900 bg-opacity-50 rounded-full flex items-center justify-center text-teal-400 text-2xl mb-6"> | |
| <i class="fas fa-gem"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Natural Appearance</h3> | |
| <p class="text-gray-400">Porcelain mimics the light-reflecting properties of natural teeth, creating a beautifully authentic smile.</p> | |
| </div> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-blue-500 transition"> | |
| <div class="w-14 h-14 bg-blue-900 bg-opacity-50 rounded-full flex items-center justify-center text-blue-400 text-2xl mb-6"> | |
| <i class="fas fa-clock"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Long-Lasting</h3> | |
| <p class="text-gray-400">With proper care, veneers can last 10-15 years, making them a durable investment in your smile.</p> | |
| </div> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-purple-500 transition"> | |
| <div class="w-14 h-14 bg-purple-900 bg-opacity-50 rounded-full flex items-center justify-center text-purple-400 text-2xl mb-6"> | |
| <i class="fas fa-teeth"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Stain Resistant</h3> | |
| <p class="text-gray-400">Porcelain is highly resistant to stains from coffee, tea, and smoking, maintaining your bright smile.</p> | |
| </div> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-teal-500 transition"> | |
| <div class="w-14 h-14 bg-teal-900 bg-opacity-50 rounded-full flex items-center justify-center text-teal-400 text-2xl mb-6"> | |
| <i class="fas fa-user-shield"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Minimally Invasive</h3> | |
| <p class="text-gray-400">Requires minimal tooth reduction compared to crowns, preserving more of your natural tooth structure.</p> | |
| </div> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-blue-500 transition"> | |
| <div class="w-14 h-14 bg-blue-900 bg-opacity-50 rounded-full flex items-center justify-center text-blue-400 text-2xl mb-6"> | |
| <i class="fas fa-customize"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Customizable</h3> | |
| <p class="text-gray-400">Each veneer is custom-shaped and tinted to match your desired shade and facial features.</p> | |
| </div> | |
| <div class="bg-gray-900 bg-opacity-70 p-8 rounded-xl backdrop-filter backdrop-blur-sm border border-gray-800 hover:border-purple-500 transition"> | |
| <div class="w-14 h-14 bg-purple-900 bg-opacity-50 rounded-full flex items-center justify-center text-purple-400 text-2xl mb-6"> | |
| <i class="fas fa-heart"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-3">Instant Results</h3> | |
| <p class="text-gray-400">Complete your smile makeover in just 2-3 visits with dramatic, immediate results.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Treatment Process --> | |
| <section class="py-20 px-4 relative bg-gradient-to-b from-gray-900 to-black"> | |
| <div class="container mx-auto"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">The {{ service.name }} Process</h2> | |
| <p class="text-gray-400 max-w-2xl mx-auto">Our streamlined 4-step process ensures exceptional results</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <div class="process-step p-8 rounded-xl"> | |
| <div class="text-4xl font-bold text-teal-400 mb-4">01</div> | |
| <h3 class="text-xl font-bold mb-3">Consultation & Design</h3> | |
| <p class="text-gray-400">We'll assess your smile, discuss goals, and create a digital preview of your new smile.</p> | |
| </div> | |
| <div class="process-step p-8 rounded-xl"> | |
| <div class="text-4xl font-bold text-blue-400 mb-4">02</div> | |
| <h3 class="text-xl font-bold mb-3">Tooth Preparation</h3> | |
| <p class="text-gray-400">Minimal enamel removal (0.3-0.5mm) and impressions taken for custom veneers.</p> | |
| </div> | |
| <div class="process-step p-8 rounded-xl"> | |
| <div class="text-4xl font-bold text-purple-400 mb-4">03</div> | |
| <h3 class="text-xl font-bold mb-3">Temporary Veneers</h3> | |
| <p class="text-gray-400">Wear temporary veneers while your permanent ones are crafted in our dental lab.</p> | |
| </div> | |
| <div class="process-step p-8 rounded-xl"> | |
| <div class="text-4xl font-bold text-teal-400 mb-4">04</div> | |
| <h3 class="text-xl font-bold mb-3">Final Fitting</h3> | |
| <p class="text-gray-400">Permanent veneers are bonded to your teeth, completing your transformation.</p> | |
| </div> | |
| </div> | |
| <div class="mt-16 text-center"> | |
| <div class="inline-block p-1 rounded-full bg-gradient-to-r from-teal-500 to-blue-600"> | |
| <div class="bg-gray-900 rounded-full px-8 py-3"> | |
| <span class="text-white font-semibold">Treatment Time: </span> | |
| <span class="text-teal-400">{{ service.duration }}</span> | |
| <span class="text-gray-500 mx-2">|</span> | |
| <span class="text-white font-semibold">Visits Required: </span> | |
| <span class="text-blue-400">{{ service.visits_required }}</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Before/After Gallery --> | |
| <section class="py-20 px-4 relative overflow-hidden"> | |
| <div class="container mx-auto"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">{{ service.name }} Transformations</h2> | |
| <p class="text-gray-400 max-w-2xl mx-auto">See the dramatic difference {{ service.name | lower }} can make</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <div class="group relative overflow-hidden rounded-xl h-80"> | |
| <img src="{{ service.before_image }}" alt="Before {{ service.name }}" class="absolute inset-0 w-full h-full object-cover transition-opacity duration-500 group-hover:opacity-0"> | |
| <img src="{{ service.after_image }}" alt="After {{ service.name }}" class="absolute inset-0 w-full h-full object-cover"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6"> | |
| <div class="flex justify-between items-end"> | |
| <div> | |
| <h3 class="font-bold text-white">Case #V-1245</h3> | |
| <p class="text-sm text-gray-300">8 {{ service.name }}</p> | |
| </div> | |
| <span class="text-xs bg-teal-500 text-white px-2 py-1 rounded-full">+90% Improvement</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="group relative overflow-hidden rounded-xl h-80"> | |
| <img src="{{ service.before_image }}" alt="Before {{ service.name }}" class="absolute inset-0 w-full h-full object-cover transition-opacity duration-500 group-hover:opacity-0"> | |
| <img src="{{ service.after_image }}" alt="After {{ service.name }}" class="absolute inset-0 w-full h-full object-cover"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6"> | |
| <div class="flex justify-between items-end"> | |
| <div> | |
| <h3 class="font-bold text-white">Case #V-1892</h3> | |
| <p class="text-sm text-gray-300">6 {{ service.name }}</p> | |
| </div> | |
| <span class="text-xs bg-blue-500 text-white px-2 py-1 rounded-full">+85% Improvement</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="group relative overflow-hidden rounded-xl h-80"> | |
| <img src="{{ service.before_image }}" alt="Before {{ service.name }}" class="absolute inset-0 w-full h-full object-cover transition-opacity duration-500 group-hover:opacity-0"> | |
| <img src="{{ service.after_image }}" alt="After {{ service.name }}" class="absolute inset-0 w-full h-full object-cover"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6"> | |
| <div class="flex justify-between items-end"> | |
| <div> | |
| <h3 class="font-bold text-white">Case #V-1567</h3> | |
| <p class="text-sm text-gray-300">10 {{ service.name }}</p> | |
| </div> | |
| <span class="text-xs bg-purple-500 text-white px-2 py-1 rounded-full">+95% Improvement</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-16"> | |
| <button class="border-2 border-white px-8 py-3 rounded-full font-semibold hover:bg-white hover:text-black transition">View All {{ service.name }} Cases</button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- FAQ Section --> | |
| <section class="py-20 px-4 relative bg-gray-900"> | |
| <div class="container mx-auto"> | |
| <div class="text-center mb-16"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-4 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">{{ service.name }} FAQs</h2> | |
| <p class="text-gray-400 max-w-2xl mx-auto">Answers to common questions about {{ service.name | lower }}</p> | |
| </div> | |
| <div class="max-w-3xl mx-auto space-y-4"> | |
| <div class="faq-item p-6 rounded-xl"> | |
| <div class="faq-question flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">How long do {{ service.name | lower }} last?</h3> | |
| <i class="fas fa-chevron-down text-teal-400 transition-transform"></i> | |
| </div> | |
| <div class="faq-answer"> | |
| <p class="text-gray-400">With proper care and maintenance, {{ service.name | lower }} typically last between 10-15 years. Their longevity depends on factors like oral hygiene, regular dental check-ups, and avoiding habits like teeth grinding or nail biting. We provide a 5-year guarantee on our {{ service.name | lower }}.</p> | |
| </div> | |
| </div> | |
| <div class="faq-item p-6 rounded-xl"> | |
| <div class="faq-question flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">Is the {{ service.name | lower }} procedure painful?</h3> | |
| <i class="fas fa-chevron-down text-blue-400 transition-transform"></i> | |
| </div> | |
| <div class="faq-answer"> | |
| <p class="text-gray-400">Most patients report minimal discomfort during the {{ service.name | lower }} procedure. We use local anesthesia to ensure you're completely comfortable during tooth preparation. Some sensitivity to hot and cold may occur temporarily after the procedure, but this typically subsides within a few days.</p> | |
| </div> | |
| </div> | |
| <div class="faq-item p-6 rounded-xl"> | |
| <div class="faq-question flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">Can {{ service.name | lower }} be removed or reversed?</h3> | |
| <i class="fas fa-chevron-down text-purple-400 transition-transform"></i> | |
| </div> | |
| <div class="faq-answer"> | |
| <p class="text-gray-400">{{ service.name }} are considered permanent because they require removal of a small amount of tooth enamel. While they can technically be removed, your teeth would then require another restoration like new {{ service.name | lower }} or crowns. We always recommend considering {{ service.name | lower }} as a long-term commitment to your smile.</p> | |
| </div> | |
| </div> | |
| <div class="faq-item p-6 rounded-xl"> | |
| <div class="faq-question flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">How do I care for my {{ service.name | lower }}?</h3> | |
| <i class="fas fa-chevron-down text-teal-400 transition-transform"></i> | |
| </div> | |
| <div class="faq-answer"> | |
| <p class="text-gray-400">Care for {{ service.name | lower }} just like your natural teeth: brush twice daily with a non-abrasive toothpaste, floss regularly, and visit your dentist for check-ups. Avoid chewing on hard objects (ice, pens, etc.) and consider wearing a nightguard if you grind your teeth. While {{ service.name | lower }} are stain-resistant, it's still good to limit consumption of staining foods and drinks.</p> | |
| </div> | |
| </div> | |
| <div class="faq-item p-6 rounded-xl"> | |
| <div class="faq-question flex justify-between items-center"> | |
| <h3 class="text-lg font-semibold">Are {{ service.name | lower }} right for everyone?</h3> | |
| <i class="fas fa-chevron-down text-blue-400 transition-transform"></i> | |
| </div> | |
| <div class="faq-answer"> | |
| <p class="text-gray-400">{{ service.name }} are an excellent option for many people wanting to improve their smile, but not everyone is an ideal candidate. They work best for patients with generally healthy teeth and gums. Those with significant tooth decay, gum disease, or insufficient tooth enamel may need other treatments first. During your consultation, we'll determine if {{ service.name | lower }} are right for you.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- CTA Section --> | |
| <section class="py-20 px-4 relative overflow-hidden"> | |
| <div class="glow-effect glow-teal" style="top: 50%; left: 50%; transform: translate(-50%, -50%); width: 300px; height: 300px;"></div> | |
| <div class="container mx-auto text-center relative z-10"> | |
| <h2 class="text-3xl md:text-4xl font-bold mb-6 bg-gradient-to-r from-teal-400 to-blue-500 bg-clip-text text-transparent">Ready for Your Dream Smile?</h2> | |
| <p class="text-xl mb-8 max-w-2xl mx-auto text-gray-300">Schedule a {{ service.name | lower }} consultation today and get a personalized smile preview</p> | |
| <button class="bg-gradient-to-r from-teal-500 to-blue-600 text-white px-8 py-4 rounded-full font-semibold text-lg hover:opacity-90 transition shadow-lg">Book Your {{ service.name }} Consultation</button> | |
| <p class="mt-4 text-gray-400 text-sm">or call us at <a href="tel:+15551234567" class="text-teal-400 hover:underline">(555) 123-4567</a></p> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-gray-900 text-white py-12 px-4"> | |
| <div class="container mx-auto"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center mb-4"> | |
| <i class="fas fa-tooth text-2xl text-teal-400 mr-3"></i> | |
| <h3 class="text-xl font-bold">DentalArt</h3> | |
| </div> | |
| <p class="text-gray-400">Specializing in cosmetic dentistry and smile makeovers with cutting-edge technology.</p> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-teal-400 transition">Home</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-teal-400 transition">Gallery</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-teal-400 transition">Treatments</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-teal-400 transition">About Us</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Contact</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"><i class="fas fa-map-marker-alt mr-2 text-teal-400"></i> 123 Dental Ave, Smile City</li> | |
| <li class="flex items-center"><i class="fas fa-phone mr-2 text-teal-400"></i> (555) 123-4567</li> | |
| <li class="flex items-center"><i class="fas fa-envelope mr-2 text-teal-400"></i> info@dentalart.com</li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="text-lg font-semibold mb-4">Follow Us</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-teal-500 transition"> | |
| <i class="fab fa-facebook-f"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-blue-500 transition"> | |
| <i class="fab fa-instagram"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-purple-500 transition"> | |
| <i class="fab fa-tiktok"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 bg-gray-800 rounded-full flex items-center justify-center hover:bg-red-500 transition"> | |
| <i class="fab fa-youtube"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-500"> | |
| <p>© 2023 DentalArt. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| document.getElementById('menu-toggle').addEventListener('click', function() { | |
| document.getElementById('mobile-menu').classList.remove('hidden'); | |
| document.getElementById('mobile-menu').classList.add('flex'); | |
| }); | |
| document.getElementById('close-menu').addEventListener('click', function() { | |
| document.getElementById('mobile-menu').classList.add('hidden'); | |
| document.getElementById('mobile-menu').classList.remove('flex'); | |
| }); | |
| // Comparison slider functionality | |
| const slider = document.querySelector('.comparison-slider'); | |
| const before = document.querySelector('.comparison-before'); | |
| const handle = document.querySelector('.comparison-slider-handle'); | |
| let isDragging = false; | |
| handle.addEventListener('mousedown', function(e) { | |
| isDragging = true; | |
| document.addEventListener('mousemove', moveHandler); | |
| document.addEventListener('mouseup', stopDrag); | |
| }); | |
| handle.addEventListener('touchstart', function(e) { | |
| isDragging = true; | |
| document.addEventListener('touchmove', moveHandler); | |
| document.addEventListener('touchend', stopDrag); | |
| }); | |
| function moveHandler(e) { | |
| if (!isDragging) return; | |
| let x; | |
| if (e.type === 'mousemove') { | |
| x = e.pageX - slider.getBoundingClientRect().left; | |
| } else { | |
| x = e.touches[0].pageX - slider.getBoundingClientRect().left; | |
| } | |
| const sliderWidth = slider.offsetWidth; | |
| let percentage = (x / sliderWidth) * 100; | |
| // Limit between 10% and 90% | |
| percentage = Math.max(10, Math.min(90, percentage)); | |
| before.style.width = percentage + '%'; | |
| handle.style.left = percentage + '%'; | |
| } | |
| function stopDrag() { | |
| isDragging = false; | |
| document.removeEventListener('mousemove', moveHandler); | |
| document.removeEventListener('touchmove', moveHandler); | |
| } | |
| // FAQ accordion functionality | |
| const faqItems = document.querySelectorAll('.faq-item'); | |
| faqItems.forEach(item => { | |
| const question = item.querySelector('.faq-question'); | |
| const answer = item.querySelector('.faq-answer'); | |
| const icon = item.querySelector('.fa-chevron-down'); | |
| question.addEventListener('click', function() { | |
| // Close all other items | |
| faqItems.forEach(otherItem => { | |
| if (otherItem !== item) { | |
| otherItem.classList.remove('active'); | |
| otherItem.querySelector('.fa-chevron-down').classList.remove('rotate-180'); | |
| } | |
| }); | |
| // Toggle current item | |
| item.classList.toggle('active'); | |
| icon.classList.toggle('rotate-180'); | |
| }); | |
| }); | |
| // Parallax effect | |
| window.addEventListener('scroll', function() { | |
| const parallaxSections = document.querySelectorAll('.parallax-bg'); | |
| const scrollPosition = window.pageYOffset; | |
| parallaxSections.forEach(section => { | |
| if (window.innerWidth > 768) { // Only apply parallax on desktop | |
| section.style.backgroundPositionY = (scrollPosition * 0.5) + 'px'; | |
| } | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |