Spaces:
Running

undefined / index.html
matthewgrant844's picture
help me make this better...<!DOCTYPE html>
c7db869 verified
Raw History Blame Contribute Delete
11.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Blissful Hands - Professional Therapeutic Massage</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#2D5363',
secondary: '#446B80',
accent: '#8BB8C7',
light: '#E1F0F5',
},
animation: {
'fade-in': 'fadeIn 1.5s ease-in forwards',
},
keyframes: {
fadeIn: {
'0%': { opacity: '0' },
'100%': { opacity: '1' },
}
}
}
}
}
</script>
<style>
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Poppins:wght@300;400;500;600&display=swap');
html {
scroll-behavior: smooth;
}
body {
font-family: 'Poppins', sans-serif;
background-color: #FAFAFA;
}
h1, h2, h3, h4, .font-serif {
font-family: 'Playfair Display', serif;
}
.hero-gradient {
background: linear-gradient(135deg, #2D5363 0%, #446B80 100%);
}
.treatment-highlight {
background-color: rgba(139, 184, 199, 0.1);
border-left: 4px solid #8BB8C7;
}
.testimonial-card {
background-color: #E1F0F5;
}
.input-focus:focus {
box-shadow: 0 0 0 3px rgba(139, 184, 199, 0.5);
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
@keyframes slideUp {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animate-in {
animation: fadeIn 1s ease-out forwards;
}
.animate-up {
animation: slideUp 0.8s ease-out forwards;
}
.delay-100 {
animation-delay: 0.1s;
}
.delay-200 {
animation-delay: 0.2s;
}
.delay-300 {
animation-delay: 0.3s;
}
.title-fade {
opacity: 0;
animation: fadeIn 1.5s ease-in 0.5s forwards;
}
</style>
</head>
<body>
<!-- Floating Header -->
<header class="hero-gradient py-4 sticky top-0 z-50 shadow-lg">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center">
<div class="flex items-center">
<div class="bg-white/20 p-2 rounded-full mr-3">
<i data-feather="activity" class="text-white w-5 h-5"></i>
</div>
<h1 class="text-xl md:text-2xl font-bold font-serif text-white">Blissful Hands</h1>
</div>
<div class="hidden md:flex items-center space-x-6">
<a href="tel:7135940536" class="flex items-center text-white hover:text-accent transition-colors">
<i data-feather="phone" class="mr-2 w-4 h-4"></i>
<span>(713) 594-0536</span>
</a>
<button onclick="scheduleAppointment()"
class="bg-white text-primary font-bold py-2 px-6 rounded-full shadow-md transition-all hover:bg-light hover:shadow-lg hover:scale-105">
Book Now
</button>
</div>
<button class="md:hidden text-white" id="mobile-menu-button">
<i data-feather="menu" class="w-6 h-6"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div class="hidden md:hidden bg-primary py-4 px-4" id="mobile-menu">
<div class="flex flex-col space-y-4">
<a href="#services" class="text-white hover:text-accent transition-colors">Services</a>
<a href="#about" class="text-white hover:text-accent transition-colors">About</a>
<a href="#testimonials" class="text-white hover:text-accent transition-colors">Testimonials</a>
<a href="#contact" class="text-white hover:text-accent transition-colors">Contact</a>
<a href="tel:7135940536" class="flex items-center text-white hover:text-accent transition-colors">
<i data-feather="phone" class="mr-2 w-4 h-4"></i>
(713) 594-0536
</a>
<button onclick="scheduleAppointment()"
class="bg-white text-primary font-bold py-2 px-4 rounded-full shadow-md transition-all hover:bg-light hover:shadow-lg">
Book Now
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="relative h-screen overflow-hidden">
<div class="absolute inset-0 bg-gradient-to-t from-black/60 via-black/30 to-black/60 z-10"></div>
<video autoplay muted loop playsinline class="absolute inset-0 w-full h-full object-cover">
<source src="https://assets.mixkit.co/videos/preview/mixkit-hands-of-a-woman-receiving-a-massage-43535-large.mp4" type="video/mp4">
<img src="http://static.photos/wellness/1200x630/1" alt="Massage Therapy" class="w-full h-full object-cover">
</video>
<div class="relative z-20 h-full flex flex-col justify-center items-center text-center px-4">
<div class="max-w-4xl mx-auto">
<h2 class="text-4xl md:text-6xl font-serif font-bold text-white mb-6 leading-tight title-fade">
Rediscover Your <span class="text-accent">Balance</span>
</h2>
<p class="text-xl text-white/90 mb-8 animate-in">
Professional therapeutic massage designed to melt away stress, relieve tension, and restore harmony to body and mind.
</p>
<div class="flex flex-col md:flex-row justify-center gap-4">
<button onclick="scheduleAppointment()" class="bg-accent hover:bg-accent/90 text-white font-bold py-4 px-8 rounded-full transition-all transform hover:scale-105 shadow-lg animate-up delay-100">
Book Your Session
</button>
<button onclick="window.location.href='#services'" class="bg-white/20 hover:bg-white/30 text-white font-bold py-4 px-8 rounded-full transition-all transform hover:scale-105 backdrop-blur-sm animate-up delay-200">
Explore Services
</button>
</div>
</div>
<div class="absolute bottom-8 animate-bounce">
<a href="#services" class="text-white">
<i data-feather="chevron-down" class="w-8 h-8"></i>
</a>
</div>
</div>
</section>
<!-- USP Banner -->
<div class="bg-primary text-white py-6">
<div class="container mx-auto px-4">
<div class="grid grid-cols-2 md:grid-cols-4 gap-6 text-center">
<div class="flex flex-col items-center animate-up delay-100">
<div class="bg-accent/20 p-3 rounded-full mb-3">
<i data-feather="award" class="w-6 h-6 text-accent"></i>
</div>
<span class="font-medium">Licensed Professionals</span>
</div>
<div class="flex flex-col items-center animate-up delay-200">
<div class="bg-accent/20 p-3 rounded-full mb-3">
<i data-feather="heart" class="w-6 h-6 text-accent"></i>
</div>
<span class="font-medium">Holistic Approach</span>
</div>
<div class="flex flex-col items-center animate-up delay-300">
<div class="bg-accent/20 p-3 rounded-full mb-3">
<i data-feather="shield" class="w-6 h-6 text-accent"></i>
</div>
<span class="font-medium">Sanitary Protocols</span>
</div>
<div class="flex flex-col items-center animate-up">
<div class="bg-accent/20 p-3 rounded-full mb-3">
<i data-feather="clock" class="w-6 h-6 text-accent"></i>
</div>
<span class="font-medium">Flexible Hours</span>
</div>
</div>
</div>
</div>
<!-- Services Section -->
<section id="services" class="py-20 bg-white">
<div class="container mx-auto px-4">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-serif font-bold mb-4 animate-in">Our Signature Treatments</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto animate-in delay-100">
Each massage is customized to your specific needs for a truly personalized experience.
</p>
</div>
<div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Deep Tissue -->
<div class="bg-white rounded-xl overflow-hidden shadow-lg transition-all hover:shadow-xl hover:translate-y-[-5px] animate-up">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/wellness/640x360/10" alt="Deep Tissue Massage" class="w-full h-full object-cover transition-transform duration-500 hover:scale-105">
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-serif font-bold">Deep Tissue Therapy</h3>
<span class="bg-accent/10 text-accent text-xs font-bold px-3 py-1 rounded-full">Most Popular</span>
</div>
<p class="text-gray-600 mb-6">
Targets chronic muscle tension with slow, deliberate strokes and deep pressure to release patterns of tension.
</p>
<div class="treatment-highlight p-4 rounded-lg mb-6">
<h4 class="font-bold text-primary mb-2">Ideal For:</h4
</body>
</html>