Spaces:
Running
Running
добавь пайтон код
Browse files- README.md +8 -5
- components/footer.js +190 -0
- components/header.js +148 -0
- components/testimonials.js +240 -0
- index.html +392 -19
- script.js +42 -0
- style.css +81 -18
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: WellnessWave 🌊
|
| 3 |
+
colorFrom: green
|
| 4 |
+
colorTo: green
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
components/footer.js
ADDED
|
@@ -0,0 +1,190 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomFooter extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.footer {
|
| 11 |
+
background-color: #1f2937;
|
| 12 |
+
color: #d1d5db;
|
| 13 |
+
padding: 4rem 0 2rem;
|
| 14 |
+
border-top: 1px solid #374151;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.footer-container {
|
| 18 |
+
max-width: 1200px;
|
| 19 |
+
margin: 0 auto;
|
| 20 |
+
padding: 0 1rem;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
.footer-grid {
|
| 24 |
+
display: grid;
|
| 25 |
+
grid-template-columns: repeat(1, 1fr);
|
| 26 |
+
gap: 2rem;
|
| 27 |
+
margin-bottom: 3rem;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
@media (min-width: 768px) {
|
| 31 |
+
.footer-grid {
|
| 32 |
+
grid-template-columns: repeat(4, 1fr);
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.footer-col h3 {
|
| 37 |
+
color: #0d9488;
|
| 38 |
+
margin-bottom: 1.5rem;
|
| 39 |
+
font-size: 1.25rem;
|
| 40 |
+
font-weight: 600;
|
| 41 |
+
}
|
| 42 |
+
|
| 43 |
+
.footer-links {
|
| 44 |
+
list-style: none;
|
| 45 |
+
padding: 0;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.footer-links li {
|
| 49 |
+
margin-bottom: 0.75rem;
|
| 50 |
+
}
|
| 51 |
+
|
| 52 |
+
.footer-links a {
|
| 53 |
+
color: #9ca3af;
|
| 54 |
+
text-decoration: none;
|
| 55 |
+
transition: color 0.3s ease;
|
| 56 |
+
}
|
| 57 |
+
|
| 58 |
+
.footer-links a:hover {
|
| 59 |
+
color: #0d9488;
|
| 60 |
+
}
|
| 61 |
+
|
| 62 |
+
.social-links {
|
| 63 |
+
display: flex;
|
| 64 |
+
gap: 1rem;
|
| 65 |
+
margin-top: 1rem;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.social-link {
|
| 69 |
+
display: flex;
|
| 70 |
+
align-items: center;
|
| 71 |
+
justify-content: center;
|
| 72 |
+
width: 2.5rem;
|
| 73 |
+
height: 2.5rem;
|
| 74 |
+
border-radius: 50%;
|
| 75 |
+
background-color: #374151;
|
| 76 |
+
color: #d1d5db;
|
| 77 |
+
transition: all 0.3s ease;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.social-link:hover {
|
| 81 |
+
background-color: #0d9488;
|
| 82 |
+
transform: translateY(-3px);
|
| 83 |
+
}
|
| 84 |
+
|
| 85 |
+
.copyright {
|
| 86 |
+
text-align: center;
|
| 87 |
+
padding-top: 2rem;
|
| 88 |
+
border-top: 1px solid #374151;
|
| 89 |
+
color: #9ca3af;
|
| 90 |
+
font-size: 0.875rem;
|
| 91 |
+
}
|
| 92 |
+
|
| 93 |
+
.newsletter-form {
|
| 94 |
+
display: flex;
|
| 95 |
+
margin-top: 1rem;
|
| 96 |
+
}
|
| 97 |
+
|
| 98 |
+
.newsletter-form input {
|
| 99 |
+
flex: 1;
|
| 100 |
+
padding: 0.5rem 1rem;
|
| 101 |
+
border: 1px solid #4b5563;
|
| 102 |
+
border-radius: 4px 0 0 4px;
|
| 103 |
+
background-color: #111827;
|
| 104 |
+
color: #f3f4f6;
|
| 105 |
+
}
|
| 106 |
+
|
| 107 |
+
.newsletter-form button {
|
| 108 |
+
background-color: #0d9488;
|
| 109 |
+
color: white;
|
| 110 |
+
border: none;
|
| 111 |
+
padding: 0 1rem;
|
| 112 |
+
border-radius: 0 4px 4px 0;
|
| 113 |
+
cursor: pointer;
|
| 114 |
+
transition: background-color 0.3s ease;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.newsletter-form button:hover {
|
| 118 |
+
background-color: #0f766e;
|
| 119 |
+
}
|
| 120 |
+
</style>
|
| 121 |
+
|
| 122 |
+
<footer class="footer">
|
| 123 |
+
<div class="footer-container">
|
| 124 |
+
<div class="footer-grid">
|
| 125 |
+
<div class="footer-col">
|
| 126 |
+
<h3>WellnessWave</h3>
|
| 127 |
+
<p>Your journey to holistic health and wellness starts here. Personalized plans, expert guidance, and community support.</p>
|
| 128 |
+
<div class="social-links">
|
| 129 |
+
<a href="#" class="social-link">
|
| 130 |
+
<i data-feather="facebook" class="w-4 h-4"></i>
|
| 131 |
+
</a>
|
| 132 |
+
<a href="#" class="social-link">
|
| 133 |
+
<i data-feather="instagram" class="w-4 h-4"></i>
|
| 134 |
+
</a>
|
| 135 |
+
<a href="#" class="social-link">
|
| 136 |
+
<i data-feather="twitter" class="w-4 h-4"></i>
|
| 137 |
+
</a>
|
| 138 |
+
<a href="#" class="social-link">
|
| 139 |
+
<i data-feather="youtube" class="w-4 h-4"></i>
|
| 140 |
+
</a>
|
| 141 |
+
</div>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
<div class="footer-col">
|
| 145 |
+
<h3>Services</h3>
|
| 146 |
+
<ul class="footer-links">
|
| 147 |
+
<li><a href="#">Nutrition Plans</a></li>
|
| 148 |
+
<li><a href="#">Fitness Programs</a></li>
|
| 149 |
+
<li><a href="#">Mental Wellness</a></li>
|
| 150 |
+
<li><a href="#">Health Coaching</a></li>
|
| 151 |
+
<li><a href="#">Corporate Wellness</a></li>
|
| 152 |
+
</ul>
|
| 153 |
+
</div>
|
| 154 |
+
|
| 155 |
+
<div class="footer-col">
|
| 156 |
+
<h3>Resources</h3>
|
| 157 |
+
<ul class="footer-links">
|
| 158 |
+
<li><a href="#">Blog</a></li>
|
| 159 |
+
<li><a href="#">Success Stories</a></li>
|
| 160 |
+
<li><a href="#">Wellness Tips</a></li>
|
| 161 |
+
<li><a href="#">Nutrition Guides</a></li>
|
| 162 |
+
<li><a href="#">Workout Plans</a></li>
|
| 163 |
+
</ul>
|
| 164 |
+
</div>
|
| 165 |
+
|
| 166 |
+
<div class="footer-col">
|
| 167 |
+
<h3>Newsletter</h3>
|
| 168 |
+
<p>Subscribe to get health tips and wellness inspiration</p>
|
| 169 |
+
<form class="newsletter-form">
|
| 170 |
+
<input type="email" placeholder="Your email" required>
|
| 171 |
+
<button type="submit">
|
| 172 |
+
<i data-feather="send" class="w-4 h-4"></i>
|
| 173 |
+
</button>
|
| 174 |
+
</form>
|
| 175 |
+
</div>
|
| 176 |
+
</div>
|
| 177 |
+
|
| 178 |
+
<div class="copyright">
|
| 179 |
+
<p>© 2023 WellnessWave. All rights reserved. Designed with <i data-feather="heart" class="w-4 h-4 text-red-500 inline"></i> for your health.</p>
|
| 180 |
+
</div>
|
| 181 |
+
</div>
|
| 182 |
+
</footer>
|
| 183 |
+
`;
|
| 184 |
+
|
| 185 |
+
// Initialize Feather icons
|
| 186 |
+
feather.replace();
|
| 187 |
+
}
|
| 188 |
+
}
|
| 189 |
+
|
| 190 |
+
customElements.define('custom-footer', CustomFooter);
|
components/header.js
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomHeader extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.header {
|
| 11 |
+
background-color: rgba(17, 24, 39, 0.9);
|
| 12 |
+
backdrop-filter: blur(10px);
|
| 13 |
+
position: fixed;
|
| 14 |
+
width: 100%;
|
| 15 |
+
z-index: 1000;
|
| 16 |
+
border-bottom: 1px solid rgba(55, 65, 81, 0.5);
|
| 17 |
+
}
|
| 18 |
+
|
| 19 |
+
.nav-container {
|
| 20 |
+
max-width: 1200px;
|
| 21 |
+
margin: 0 auto;
|
| 22 |
+
padding: 0 1rem;
|
| 23 |
+
}
|
| 24 |
+
|
| 25 |
+
.nav-content {
|
| 26 |
+
display: flex;
|
| 27 |
+
justify-content: space-between;
|
| 28 |
+
align-items: center;
|
| 29 |
+
padding: 1rem 0;
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.logo {
|
| 33 |
+
font-family: 'Playfair Display', serif;
|
| 34 |
+
font-size: 1.5rem;
|
| 35 |
+
font-weight: 700;
|
| 36 |
+
color: #0d9488;
|
| 37 |
+
text-decoration: none;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.nav-links {
|
| 41 |
+
display: flex;
|
| 42 |
+
list-style: none;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.nav-links li {
|
| 46 |
+
margin-left: 2rem;
|
| 47 |
+
}
|
| 48 |
+
|
| 49 |
+
.nav-links a {
|
| 50 |
+
color: #d1d5db;
|
| 51 |
+
text-decoration: none;
|
| 52 |
+
font-weight: 500;
|
| 53 |
+
transition: color 0.3s ease;
|
| 54 |
+
}
|
| 55 |
+
|
| 56 |
+
.nav-links a:hover {
|
| 57 |
+
color: #0d9488;
|
| 58 |
+
}
|
| 59 |
+
|
| 60 |
+
.mobile-menu-btn {
|
| 61 |
+
display: none;
|
| 62 |
+
background: none;
|
| 63 |
+
border: none;
|
| 64 |
+
color: #d1d5db;
|
| 65 |
+
cursor: pointer;
|
| 66 |
+
}
|
| 67 |
+
|
| 68 |
+
.cta-button {
|
| 69 |
+
background-color: #0d9488;
|
| 70 |
+
color: white;
|
| 71 |
+
border: none;
|
| 72 |
+
padding: 0.5rem 1.5rem;
|
| 73 |
+
border-radius: 9999px;
|
| 74 |
+
font-weight: 500;
|
| 75 |
+
transition: background-color 0.3s ease;
|
| 76 |
+
}
|
| 77 |
+
|
| 78 |
+
.cta-button:hover {
|
| 79 |
+
background-color: #0f766e;
|
| 80 |
+
}
|
| 81 |
+
|
| 82 |
+
@media (max-width: 768px) {
|
| 83 |
+
.nav-links {
|
| 84 |
+
display: none;
|
| 85 |
+
position: absolute;
|
| 86 |
+
top: 100%;
|
| 87 |
+
left: 0;
|
| 88 |
+
right: 0;
|
| 89 |
+
background-color: rgba(17, 24, 39, 0.95);
|
| 90 |
+
flex-direction: column;
|
| 91 |
+
padding: 1rem;
|
| 92 |
+
border-top: 1px solid #374151;
|
| 93 |
+
}
|
| 94 |
+
|
| 95 |
+
.nav-links.active {
|
| 96 |
+
display: flex;
|
| 97 |
+
}
|
| 98 |
+
|
| 99 |
+
.nav-links li {
|
| 100 |
+
margin: 0.5rem 0;
|
| 101 |
+
}
|
| 102 |
+
|
| 103 |
+
.mobile-menu-btn {
|
| 104 |
+
display: block;
|
| 105 |
+
}
|
| 106 |
+
}
|
| 107 |
+
</style>
|
| 108 |
+
|
| 109 |
+
<header class="header">
|
| 110 |
+
<div class="nav-container">
|
| 111 |
+
<div class="nav-content">
|
| 112 |
+
<a href="#" class="logo">WellnessWave</a>
|
| 113 |
+
|
| 114 |
+
<button class="mobile-menu-btn" id="menu-toggle">
|
| 115 |
+
<i data-feather="menu" class="w-6 h-6"></i>
|
| 116 |
+
</button>
|
| 117 |
+
|
| 118 |
+
<ul class="nav-links" id="nav-links">
|
| 119 |
+
<li><a href="#">Home</a></li>
|
| 120 |
+
<li><a href="#services">Services</a></li>
|
| 121 |
+
<li><a href="#">About</a></li>
|
| 122 |
+
<li><a href="#">Blog</a></li>
|
| 123 |
+
<li><a href="#booking">Contact</a></li>
|
| 124 |
+
<li><button class="cta-button">Book Consultation</button></li>
|
| 125 |
+
</ul>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</header>
|
| 129 |
+
`;
|
| 130 |
+
|
| 131 |
+
// Mobile menu toggle
|
| 132 |
+
const menuToggle = this.shadowRoot.getElementById('menu-toggle');
|
| 133 |
+
const navLinks = this.shadowRoot.getElementById('nav-links');
|
| 134 |
+
|
| 135 |
+
menuToggle.addEventListener('click', () => {
|
| 136 |
+
navLinks.classList.toggle('active');
|
| 137 |
+
const menuIcon = menuToggle.querySelector('i');
|
| 138 |
+
if (navLinks.classList.contains('active')) {
|
| 139 |
+
menuIcon.setAttribute('data-feather', 'x');
|
| 140 |
+
} else {
|
| 141 |
+
menuIcon.setAttribute('data-feather', 'menu');
|
| 142 |
+
}
|
| 143 |
+
feather.replace();
|
| 144 |
+
});
|
| 145 |
+
}
|
| 146 |
+
}
|
| 147 |
+
|
| 148 |
+
customElements.define('custom-header', CustomHeader);
|
components/testimonials.js
ADDED
|
@@ -0,0 +1,240 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
class CustomTestimonials extends HTMLElement {
|
| 2 |
+
connectedCallback() {
|
| 3 |
+
this.attachShadow({ mode: 'open' });
|
| 4 |
+
this.shadowRoot.innerHTML = `
|
| 5 |
+
<style>
|
| 6 |
+
:host {
|
| 7 |
+
display: block;
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
+
.testimonial-slider {
|
| 11 |
+
position: relative;
|
| 12 |
+
max-width: 800px;
|
| 13 |
+
margin: 0 auto;
|
| 14 |
+
overflow: hidden;
|
| 15 |
+
}
|
| 16 |
+
|
| 17 |
+
.testimonial-container {
|
| 18 |
+
display: flex;
|
| 19 |
+
transition: transform 0.5s ease-in-out;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.testimonial-slide {
|
| 23 |
+
min-width: 100%;
|
| 24 |
+
padding: 2rem;
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
.testimonial-card {
|
| 28 |
+
background-color: #374151;
|
| 29 |
+
border-radius: 1rem;
|
| 30 |
+
padding: 2rem;
|
| 31 |
+
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.25);
|
| 32 |
+
}
|
| 33 |
+
|
| 34 |
+
.testimonial-content {
|
| 35 |
+
font-style: italic;
|
| 36 |
+
margin-bottom: 1.5rem;
|
| 37 |
+
line-height: 1.6;
|
| 38 |
+
}
|
| 39 |
+
|
| 40 |
+
.testimonial-author {
|
| 41 |
+
display: flex;
|
| 42 |
+
align-items: center;
|
| 43 |
+
}
|
| 44 |
+
|
| 45 |
+
.author-avatar {
|
| 46 |
+
width: 3rem;
|
| 47 |
+
height: 3rem;
|
| 48 |
+
border-radius: 50%;
|
| 49 |
+
margin-right: 1rem;
|
| 50 |
+
background-color: #4b5563;
|
| 51 |
+
overflow: hidden;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
.author-info h4 {
|
| 55 |
+
font-weight: 600;
|
| 56 |
+
margin-bottom: 0.25rem;
|
| 57 |
+
}
|
| 58 |
+
|
| 59 |
+
.author-info p {
|
| 60 |
+
color: #9ca3af;
|
| 61 |
+
font-size: 0.875rem;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.slider-controls {
|
| 65 |
+
display: flex;
|
| 66 |
+
justify-content: center;
|
| 67 |
+
margin-top: 2rem;
|
| 68 |
+
}
|
| 69 |
+
|
| 70 |
+
.slider-dot {
|
| 71 |
+
width: 0.75rem;
|
| 72 |
+
height: 0.75rem;
|
| 73 |
+
border-radius: 50%;
|
| 74 |
+
background-color: #4b5563;
|
| 75 |
+
margin: 0 0.5rem;
|
| 76 |
+
cursor: pointer;
|
| 77 |
+
transition: background-color 0.3s ease;
|
| 78 |
+
}
|
| 79 |
+
|
| 80 |
+
.slider-dot.active {
|
| 81 |
+
background-color: #0d9488;
|
| 82 |
+
}
|
| 83 |
+
|
| 84 |
+
.slider-nav {
|
| 85 |
+
position: absolute;
|
| 86 |
+
top: 50%;
|
| 87 |
+
transform: translateY(-50%);
|
| 88 |
+
background: rgba(17, 24, 39, 0.7);
|
| 89 |
+
border: none;
|
| 90 |
+
width: 2.5rem;
|
| 91 |
+
height: 2.5rem;
|
| 92 |
+
border-radius: 50%;
|
| 93 |
+
display: flex;
|
| 94 |
+
align-items: center;
|
| 95 |
+
justify-content: center;
|
| 96 |
+
cursor: pointer;
|
| 97 |
+
transition: background 0.3s ease;
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
.slider-nav:hover {
|
| 101 |
+
background: rgba(13, 148, 136, 0.8);
|
| 102 |
+
}
|
| 103 |
+
|
| 104 |
+
.prev {
|
| 105 |
+
left: 1rem;
|
| 106 |
+
}
|
| 107 |
+
|
| 108 |
+
.next {
|
| 109 |
+
right: 1rem;
|
| 110 |
+
}
|
| 111 |
+
|
| 112 |
+
@media (max-width: 768px) {
|
| 113 |
+
.testimonial-slide {
|
| 114 |
+
padding: 1rem;
|
| 115 |
+
}
|
| 116 |
+
|
| 117 |
+
.testimonial-card {
|
| 118 |
+
padding: 1.5rem;
|
| 119 |
+
}
|
| 120 |
+
}
|
| 121 |
+
</style>
|
| 122 |
+
|
| 123 |
+
<div class="testimonial-slider">
|
| 124 |
+
<div class="testimonial-container" id="testimonial-container">
|
| 125 |
+
<!-- Testimonial 1 -->
|
| 126 |
+
<div class="testimonial-slide">
|
| 127 |
+
<div class="testimonial-card">
|
| 128 |
+
<p class="testimonial-content">"The personalized nutrition plan transformed my relationship with food. I've lost 30 pounds and have more energy than I've had in years. The team at WellnessWave truly cares about your success."</p>
|
| 129 |
+
<div class="testimonial-author">
|
| 130 |
+
<div class="author-avatar">
|
| 131 |
+
<img src="http://static.photos/people/320x240/7" alt="Jennifer K." class="w-full h-full object-cover">
|
| 132 |
+
</div>
|
| 133 |
+
<div class="author-info">
|
| 134 |
+
<h4>Jennifer K.</h4>
|
| 135 |
+
<p>Lost 30 lbs in 6 months</p>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
</div>
|
| 139 |
+
</div>
|
| 140 |
+
|
| 141 |
+
<!-- Testimonial 2 -->
|
| 142 |
+
<div class="testimonial-slide">
|
| 143 |
+
<div class="testimonial-card">
|
| 144 |
+
<p class="testimonial-content">"As a busy professional, I struggled to maintain a healthy lifestyle. The fitness program designed for my schedule helped me build strength and reduce stress. I'm now in the best shape of my life!"</p>
|
| 145 |
+
<div class="testimonial-author">
|
| 146 |
+
<div class="author-avatar">
|
| 147 |
+
<img src="http://static.photos/people/320x240/8" alt="Michael T." class="w-full h-full object-cover">
|
| 148 |
+
</div>
|
| 149 |
+
<div class="author-info">
|
| 150 |
+
<h4>Michael T.</h4>
|
| 151 |
+
<p>Corporate Executive</p>
|
| 152 |
+
</div>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
</div>
|
| 156 |
+
|
| 157 |
+
<!-- Testimonial 3 -->
|
| 158 |
+
<div class="testimonial-slide">
|
| 159 |
+
<div class="testimonial-card">
|
| 160 |
+
<p class="testimonial-content">"The mental wellness coaching helped me develop tools to manage anxiety and improve my sleep. The mindfulness techniques are now part of my daily routine. I feel more balanced and in control."</p>
|
| 161 |
+
<div class="testimonial-author">
|
| 162 |
+
<div class="author-avatar">
|
| 163 |
+
<img src="http://static.photos/people/320x240/9" alt="Sophia L." class="w-full h-full object-cover">
|
| 164 |
+
</div>
|
| 165 |
+
<div class="author-info">
|
| 166 |
+
<h4>Sophia L.</h4>
|
| 167 |
+
<p>Teacher</p>
|
| 168 |
+
</div>
|
| 169 |
+
</div>
|
| 170 |
+
</div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
|
| 174 |
+
<button class="slider-nav prev" id="prev-btn">
|
| 175 |
+
<i data-feather="chevron-left" class="text-white w-5 h-5"></i>
|
| 176 |
+
</button>
|
| 177 |
+
<button class="slider-nav next" id="next-btn">
|
| 178 |
+
<i data-feather="chevron-right" class="text-white w-5 h-5"></i>
|
| 179 |
+
</button>
|
| 180 |
+
|
| 181 |
+
<div class="slider-controls">
|
| 182 |
+
<div class="slider-dot active" data-index="0"></div>
|
| 183 |
+
<div class="slider-dot" data-index="1"></div>
|
| 184 |
+
<div class="slider-dot" data-index="2"></div>
|
| 185 |
+
</div>
|
| 186 |
+
</div>
|
| 187 |
+
`;
|
| 188 |
+
|
| 189 |
+
// Slider functionality
|
| 190 |
+
const container = this.shadowRoot.getElementById('testimonial-container');
|
| 191 |
+
const dots = this.shadowRoot.querySelectorAll('.slider-dot');
|
| 192 |
+
const prevBtn = this.shadowRoot.getElementById('prev-btn');
|
| 193 |
+
const nextBtn = this.shadowRoot.getElementById('next-btn');
|
| 194 |
+
|
| 195 |
+
let currentIndex = 0;
|
| 196 |
+
const totalSlides = dots.length;
|
| 197 |
+
|
| 198 |
+
const updateSlider = () => {
|
| 199 |
+
container.style.transform = `translateX(-${currentIndex * 100}%)`;
|
| 200 |
+
|
| 201 |
+
// Update dots
|
| 202 |
+
dots.forEach((dot, index) => {
|
| 203 |
+
if (index === currentIndex) {
|
| 204 |
+
dot.classList.add('active');
|
| 205 |
+
} else {
|
| 206 |
+
dot.classList.remove('active');
|
| 207 |
+
}
|
| 208 |
+
});
|
| 209 |
+
};
|
| 210 |
+
|
| 211 |
+
const nextSlide = () => {
|
| 212 |
+
currentIndex = (currentIndex + 1) % totalSlides;
|
| 213 |
+
updateSlider();
|
| 214 |
+
};
|
| 215 |
+
|
| 216 |
+
const prevSlide = () => {
|
| 217 |
+
currentIndex = (currentIndex - 1 + totalSlides) % totalSlides;
|
| 218 |
+
updateSlider();
|
| 219 |
+
};
|
| 220 |
+
|
| 221 |
+
// Event listeners
|
| 222 |
+
nextBtn.addEventListener('click', nextSlide);
|
| 223 |
+
prevBtn.addEventListener('click', prevSlide);
|
| 224 |
+
|
| 225 |
+
dots.forEach(dot => {
|
| 226 |
+
dot.addEventListener('click', () => {
|
| 227 |
+
currentIndex = parseInt(dot.getAttribute('data-index'));
|
| 228 |
+
updateSlider();
|
| 229 |
+
});
|
| 230 |
+
});
|
| 231 |
+
|
| 232 |
+
// Auto-advance slider
|
| 233 |
+
setInterval(nextSlide, 5000);
|
| 234 |
+
|
| 235 |
+
// Initialize Feather icons
|
| 236 |
+
feather.replace();
|
| 237 |
+
}
|
| 238 |
+
}
|
| 239 |
+
|
| 240 |
+
customElements.define('custom-testimonials', CustomTestimonials);
|
index.html
CHANGED
|
@@ -1,19 +1,392 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>WellnessWave - Your Health Journey Starts Here</title>
|
| 7 |
+
<link rel="stylesheet" href="style.css">
|
| 8 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap" rel="stylesheet">
|
| 11 |
+
</head>
|
| 12 |
+
<body class="bg-gray-900 text-gray-100 font-sans">
|
| 13 |
+
<!-- Header Component -->
|
| 14 |
+
<custom-header></custom-header>
|
| 15 |
+
|
| 16 |
+
<!-- Hero Section -->
|
| 17 |
+
<section class="relative py-20 md:py-32 overflow-hidden">
|
| 18 |
+
<div class="absolute inset-0 bg-gradient-to-r from-teal-900/20 to-indigo-900/20 z-0"></div>
|
| 19 |
+
<div class="container mx-auto px-4 relative z-10">
|
| 20 |
+
<div class="max-w-3xl mx-auto text-center">
|
| 21 |
+
<h1 class="text-4xl md:text-6xl font-playfair font-bold mb-6">
|
| 22 |
+
Transform Your <span class="text-teal-400">Wellness</span> Journey
|
| 23 |
+
</h1>
|
| 24 |
+
<p class="text-xl text-gray-300 mb-10 max-w-2xl mx-auto">
|
| 25 |
+
Personalized health plans, expert guidance, and community support to help you achieve your wellness goals.
|
| 26 |
+
</p>
|
| 27 |
+
<div class="flex flex-col sm:flex-row justify-center gap-4">
|
| 28 |
+
<a href="#services" class="bg-teal-500 hover:bg-teal-600 text-white font-medium py-3 px-8 rounded-full transition duration-300 transform hover:scale-105">
|
| 29 |
+
Explore Services
|
| 30 |
+
</a>
|
| 31 |
+
<a href="#booking" class="bg-transparent border-2 border-teal-500 text-teal-400 hover:bg-teal-500 hover:text-white font-medium py-3 px-8 rounded-full transition duration-300">
|
| 32 |
+
Book Free Consultation
|
| 33 |
+
</a>
|
| 34 |
+
</div>
|
| 35 |
+
</div>
|
| 36 |
+
</div>
|
| 37 |
+
</section>
|
| 38 |
+
|
| 39 |
+
<!-- Services Section -->
|
| 40 |
+
<section id="services" class="py-20 bg-gray-800">
|
| 41 |
+
<div class="container mx-auto px-4">
|
| 42 |
+
<div class="text-center mb-16">
|
| 43 |
+
<h2 class="text-3xl md:text-4xl font-playfair font-bold mb-4">Our Wellness Services</h2>
|
| 44 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Comprehensive health solutions tailored to your unique needs</p>
|
| 45 |
+
</div>
|
| 46 |
+
|
| 47 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-10">
|
| 48 |
+
<div class="bg-gray-700 rounded-xl p-8 hover:bg-gray-600 transition duration-300 transform hover:-translate-y-2">
|
| 49 |
+
<div class="w-16 h-16 rounded-full bg-teal-500/10 flex items-center justify-center mb-6">
|
| 50 |
+
<i data-feather="heart" class="text-teal-400 w-8 h-8"></i>
|
| 51 |
+
</div>
|
| 52 |
+
<h3 class="text-2xl font-semibold mb-3">Personalized Nutrition Plans</h3>
|
| 53 |
+
<p class="text-gray-300 mb-4">Custom meal plans designed by certified nutritionists to fuel your body optimally.</p>
|
| 54 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 55 |
+
Learn more
|
| 56 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 57 |
+
</a>
|
| 58 |
+
</div>
|
| 59 |
+
|
| 60 |
+
<div class="bg-gray-700 rounded-xl p-8 hover:bg-gray-600 transition duration-300 transform hover:-translate-y-2">
|
| 61 |
+
<div class="w-16 h-16 rounded-full bg-indigo-500/10 flex items-center justify-center mb-6">
|
| 62 |
+
<i data-feather="activity" class="text-indigo-400 w-8 h-8"></i>
|
| 63 |
+
</div>
|
| 64 |
+
<h3 class="text-2xl font-semibold mb-3">Fitness Training Programs</h3>
|
| 65 |
+
<p class="text-gray-300 mb-4">Personalized workout routines that adapt to your fitness level and goals.</p>
|
| 66 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 67 |
+
Learn more
|
| 68 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 69 |
+
</a>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<div class="bg-gray-700 rounded-xl p-8 hover:bg-gray-600 transition duration-300 transform hover:-translate-y-2">
|
| 73 |
+
<div class="w-16 h-16 rounded-full bg-purple-500/10 flex items-center justify-center mb-6">
|
| 74 |
+
<i data-feather="moon" class="text-purple-400 w-8 h-8"></i>
|
| 75 |
+
</div>
|
| 76 |
+
<h3 class="text-2xl font-semibold mb-3">Mental Wellness Support</h3>
|
| 77 |
+
<p class="text-gray-300 mb-4">Mindfulness techniques and stress management strategies for holistic well-being.</p>
|
| 78 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 79 |
+
Learn more
|
| 80 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 81 |
+
</a>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</section>
|
| 86 |
+
|
| 87 |
+
<!-- Team Section -->
|
| 88 |
+
<section class="py-20">
|
| 89 |
+
<div class="container mx-auto px-4">
|
| 90 |
+
<div class="text-center mb-16">
|
| 91 |
+
<h2 class="text-3xl md:text-4xl font-playfair font-bold mb-4">Meet Our Wellness Experts</h2>
|
| 92 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Certified professionals dedicated to your health journey</p>
|
| 93 |
+
</div>
|
| 94 |
+
|
| 95 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
|
| 96 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 97 |
+
<div class="h-64 bg-gray-700 relative">
|
| 98 |
+
<img src="http://static.photos/people/320x240/1" alt="Dr. Sarah Johnson" class="w-full h-full object-cover">
|
| 99 |
+
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
|
| 100 |
+
<h3 class="text-xl font-semibold">Dr. Sarah Johnson</h3>
|
| 101 |
+
<p class="text-teal-400">Nutritionist</p>
|
| 102 |
+
</div>
|
| 103 |
+
</div>
|
| 104 |
+
<div class="p-6">
|
| 105 |
+
<p class="text-gray-300 mb-4">10+ years experience in holistic nutrition and dietary planning.</p>
|
| 106 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 107 |
+
View Profile
|
| 108 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 109 |
+
</a>
|
| 110 |
+
</div>
|
| 111 |
+
</div>
|
| 112 |
+
|
| 113 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 114 |
+
<div class="h-64 bg-gray-700 relative">
|
| 115 |
+
<img src="http://static.photos/people/320x240/2" alt="Mike Rodriguez" class="w-full h-full object-cover">
|
| 116 |
+
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
|
| 117 |
+
<h3 class="text-xl font-semibold">Mike Rodriguez</h3>
|
| 118 |
+
<p class="text-teal-400">Fitness Trainer</p>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
<div class="p-6">
|
| 122 |
+
<p class="text-gray-300 mb-4">Specialized in strength training and functional fitness programs.</p>
|
| 123 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 124 |
+
View Profile
|
| 125 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 126 |
+
</a>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 131 |
+
<div class="h-64 bg-gray-700 relative">
|
| 132 |
+
<img src="http://static.photos/people/320x240/3" alt="Emma Chen" class="w-full h-full object-cover">
|
| 133 |
+
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
|
| 134 |
+
<h3 class="text-xl font-semibold">Emma Chen</h3>
|
| 135 |
+
<p class="text-teal-400">Wellness Coach</p>
|
| 136 |
+
</div>
|
| 137 |
+
</div>
|
| 138 |
+
<div class="p-6">
|
| 139 |
+
<p class="text-gray-300 mb-4">Mindfulness expert helping clients achieve mental balance.</p>
|
| 140 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 141 |
+
View Profile
|
| 142 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 143 |
+
</a>
|
| 144 |
+
</div>
|
| 145 |
+
</div>
|
| 146 |
+
|
| 147 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 148 |
+
<div class="h-64 bg-gray-700 relative">
|
| 149 |
+
<img src="http://static.photos/people/320x240/4" alt="Dr. James Wilson" class="w-full h-full object-cover">
|
| 150 |
+
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4">
|
| 151 |
+
<h3 class="text-xl font-semibold">Dr. James Wilson</h3>
|
| 152 |
+
<p class="text-teal-400">Health Consultant</p>
|
| 153 |
+
</div>
|
| 154 |
+
</div>
|
| 155 |
+
<div class="p-6">
|
| 156 |
+
<p class="text-gray-300 mb-4">Integrative health specialist with focus on preventive care.</p>
|
| 157 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 158 |
+
View Profile
|
| 159 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 160 |
+
</a>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</section>
|
| 166 |
+
|
| 167 |
+
<!-- Success Stories -->
|
| 168 |
+
<section class="py-20 bg-gray-800">
|
| 169 |
+
<div class="container mx-auto px-4">
|
| 170 |
+
<div class="text-center mb-16">
|
| 171 |
+
<h2 class="text-3xl md:text-4xl font-playfair font-bold mb-4">Success Stories</h2>
|
| 172 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Real transformations from our wellness community</p>
|
| 173 |
+
</div>
|
| 174 |
+
|
| 175 |
+
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12">
|
| 176 |
+
<div class="bg-gray-700 rounded-xl overflow-hidden">
|
| 177 |
+
<div class="md:flex">
|
| 178 |
+
<div class="md:w-1/2">
|
| 179 |
+
<div class="h-64 md:h-full bg-gray-600">
|
| 180 |
+
<img src="http://static.photos/people/320x240/5" alt="Before" class="w-full h-full object-cover">
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
<div class="md:w-1/2 p-8">
|
| 184 |
+
<div class="flex items-center mb-4">
|
| 185 |
+
<span class="bg-red-500 text-white text-xs font-bold px-2 py-1 rounded">BEFORE</span>
|
| 186 |
+
</div>
|
| 187 |
+
<h3 class="text-xl font-semibold mb-3">Sarah's Journey to Vitality</h3>
|
| 188 |
+
<p class="text-gray-300 mb-4">Struggling with energy and weight issues for years.</p>
|
| 189 |
+
<ul class="text-gray-400 space-y-2">
|
| 190 |
+
<li class="flex items-center">
|
| 191 |
+
<i data-feather="minus" class="w-4 h-4 mr-2 text-red-400"></i>
|
| 192 |
+
45 lbs overweight
|
| 193 |
+
</li>
|
| 194 |
+
<li class="flex items-center">
|
| 195 |
+
<i data-feather="minus" class="w-4 h-4 mr-2 text-red-400"></i>
|
| 196 |
+
Chronic fatigue
|
| 197 |
+
</li>
|
| 198 |
+
<li class="flex items-center">
|
| 199 |
+
<i data-feather="minus" class="w-4 h-4 mr-2 text-red-400"></i>
|
| 200 |
+
Poor sleep quality
|
| 201 |
+
</li>
|
| 202 |
+
</ul>
|
| 203 |
+
</div>
|
| 204 |
+
</div>
|
| 205 |
+
</div>
|
| 206 |
+
|
| 207 |
+
<div class="bg-gray-700 rounded-xl overflow-hidden">
|
| 208 |
+
<div class="md:flex">
|
| 209 |
+
<div class="md:w-1/2">
|
| 210 |
+
<div class="h-64 md:h-full bg-gray-600">
|
| 211 |
+
<img src="http://static.photos/people/320x240/6" alt="After" class="w-full h-full object-cover">
|
| 212 |
+
</div>
|
| 213 |
+
</div>
|
| 214 |
+
<div class="md:w-1/2 p-8">
|
| 215 |
+
<div class="flex items-center mb-4">
|
| 216 |
+
<span class="bg-green-500 text-white text-xs font-bold px-2 py-1 rounded">AFTER</span>
|
| 217 |
+
</div>
|
| 218 |
+
<h3 class="text-xl font-semibold mb-3">Sarah's Transformation</h3>
|
| 219 |
+
<p class="text-gray-300 mb-4">Now thriving with renewed energy and confidence.</p>
|
| 220 |
+
<ul class="text-gray-400 space-y-2">
|
| 221 |
+
<li class="flex items-center">
|
| 222 |
+
<i data-feather="plus" class="w-4 h-4 mr-2 text-green-400"></i>
|
| 223 |
+
Lost 45 lbs in 8 months
|
| 224 |
+
</li>
|
| 225 |
+
<li class="flex items-center">
|
| 226 |
+
<i data-feather="plus" class="w-4 h-4 mr-2 text-green-400"></i>
|
| 227 |
+
95% energy improvement
|
| 228 |
+
</li>
|
| 229 |
+
<li class="flex items-center">
|
| 230 |
+
<i data-feather="plus" class="w-4 h-4 mr-2 text-green-400"></i>
|
| 231 |
+
Sleeps 7-8 hours nightly
|
| 232 |
+
</li>
|
| 233 |
+
</ul>
|
| 234 |
+
</div>
|
| 235 |
+
</div>
|
| 236 |
+
</div>
|
| 237 |
+
</div>
|
| 238 |
+
</div>
|
| 239 |
+
</section>
|
| 240 |
+
|
| 241 |
+
<!-- Blog Section -->
|
| 242 |
+
<section class="py-20">
|
| 243 |
+
<div class="container mx-auto px-4">
|
| 244 |
+
<div class="text-center mb-16">
|
| 245 |
+
<h2 class="text-3xl md:text-4xl font-playfair font-bold mb-4">Health & Wellness Blog</h2>
|
| 246 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Latest insights and tips for your wellness journey</p>
|
| 247 |
+
</div>
|
| 248 |
+
|
| 249 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
| 250 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 251 |
+
<div class="h-48 bg-gray-700">
|
| 252 |
+
<img src="http://static.photos/food/320x240/1" alt="Healthy Eating" class="w-full h-full object-cover">
|
| 253 |
+
</div>
|
| 254 |
+
<div class="p-6">
|
| 255 |
+
<span class="text-teal-400 text-sm font-medium">Nutrition</span>
|
| 256 |
+
<h3 class="text-xl font-semibold my-3">10 Superfoods to Boost Your Immune System</h3>
|
| 257 |
+
<p class="text-gray-400 mb-4">Discover powerful foods that naturally strengthen your body's defenses.</p>
|
| 258 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 259 |
+
Read Article
|
| 260 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 261 |
+
</a>
|
| 262 |
+
</div>
|
| 263 |
+
</div>
|
| 264 |
+
|
| 265 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 266 |
+
<div class="h-48 bg-gray-700">
|
| 267 |
+
<img src="http://static.photos/fitness/320x240/2" alt="Exercise" class="w-full h-full object-cover">
|
| 268 |
+
</div>
|
| 269 |
+
<div class="p-6">
|
| 270 |
+
<span class="text-indigo-400 text-sm font-medium">Fitness</span>
|
| 271 |
+
<h3 class="text-xl font-semibold my-3">The Science Behind HIIT Training</h3>
|
| 272 |
+
<p class="text-gray-400 mb-4">How high-intensity interval training maximizes fat burning and fitness gains.</p>
|
| 273 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 274 |
+
Read Article
|
| 275 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 276 |
+
</a>
|
| 277 |
+
</div>
|
| 278 |
+
</div>
|
| 279 |
+
|
| 280 |
+
<div class="bg-gray-800 rounded-xl overflow-hidden">
|
| 281 |
+
<div class="h-48 bg-gray-700">
|
| 282 |
+
<img src="http://static.photos/wellness/320x240/3" alt="Mental Health" class="w-full h-full object-cover">
|
| 283 |
+
</div>
|
| 284 |
+
<div class="p-6">
|
| 285 |
+
<span class="text-purple-400 text-sm font-medium">Mental Health</span>
|
| 286 |
+
<h3 class="text-xl font-semibold my-3">Mindfulness Practices for Daily Stress Relief</h3>
|
| 287 |
+
<p class="text-gray-400 mb-4">Simple techniques to incorporate mindfulness into your busy schedule.</p>
|
| 288 |
+
<a href="#" class="text-teal-400 hover:text-teal-300 font-medium flex items-center">
|
| 289 |
+
Read Article
|
| 290 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 291 |
+
</a>
|
| 292 |
+
</div>
|
| 293 |
+
</div>
|
| 294 |
+
</div>
|
| 295 |
+
|
| 296 |
+
<div class="text-center mt-12">
|
| 297 |
+
<a href="#" class="inline-flex items-center text-teal-400 hover:text-teal-300 font-medium">
|
| 298 |
+
View All Articles
|
| 299 |
+
<i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
|
| 300 |
+
</a>
|
| 301 |
+
</div>
|
| 302 |
+
</div>
|
| 303 |
+
</section>
|
| 304 |
+
|
| 305 |
+
<!-- Testimonials -->
|
| 306 |
+
<section class="py-20 bg-gray-800">
|
| 307 |
+
<div class="container mx-auto px-4">
|
| 308 |
+
<div class="text-center mb-16">
|
| 309 |
+
<h2 class="text-3xl md:text-4xl font-playfair font-bold mb-4">What Our Clients Say</h2>
|
| 310 |
+
<p class="text-gray-400 max-w-2xl mx-auto">Hear from those who've transformed their lives with us</p>
|
| 311 |
+
</div>
|
| 312 |
+
|
| 313 |
+
<custom-testimonials></custom-testimonials>
|
| 314 |
+
</div>
|
| 315 |
+
</section>
|
| 316 |
+
|
| 317 |
+
<!-- Booking Section -->
|
| 318 |
+
<section id="booking" class="py-20">
|
| 319 |
+
<div class="container mx-auto px-4">
|
| 320 |
+
<div class="max-w-4xl mx-auto bg-gray-800 rounded-2xl overflow-hidden">
|
| 321 |
+
<div class="md:flex">
|
| 322 |
+
<div class="md:w-2/5 bg-gradient-to-br from-teal-600 to-indigo-700 p-10 flex flex-col justify-center">
|
| 323 |
+
<h2 class="text-3xl font-playfair font-bold mb-4">Free Consultation</h2>
|
| 324 |
+
<p class="mb-6">Book your complimentary 30-minute session with our wellness experts.</p>
|
| 325 |
+
<ul class="space-y-3">
|
| 326 |
+
<li class="flex items-center">
|
| 327 |
+
<i data-feather="check-circle" class="w-5 h-5 mr-3 text-teal-300"></i>
|
| 328 |
+
Personalized health assessment
|
| 329 |
+
</li>
|
| 330 |
+
<li class="flex items-center">
|
| 331 |
+
<i data-feather="check-circle" class="w-5 h-5 mr-3 text-teal-300"></i>
|
| 332 |
+
Goal setting session
|
| 333 |
+
</li>
|
| 334 |
+
<li class="flex items-center">
|
| 335 |
+
<i data-feather="check-circle" class="w-5 h-5 mr-3 text-teal-300"></i>
|
| 336 |
+
Custom wellness roadmap
|
| 337 |
+
</li>
|
| 338 |
+
</ul>
|
| 339 |
+
</div>
|
| 340 |
+
<div class="md:w-3/5 p-10">
|
| 341 |
+
<form id="consultation-form" class="space-y-6">
|
| 342 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 343 |
+
<div>
|
| 344 |
+
<label class="block text-gray-300 mb-2">First Name</label>
|
| 345 |
+
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" required>
|
| 346 |
+
</div>
|
| 347 |
+
<div>
|
| 348 |
+
<label class="block text-gray-300 mb-2">Last Name</label>
|
| 349 |
+
<input type="text" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" required>
|
| 350 |
+
</div>
|
| 351 |
+
</div>
|
| 352 |
+
<div>
|
| 353 |
+
<label class="block text-gray-300 mb-2">Email</label>
|
| 354 |
+
<input type="email" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" required>
|
| 355 |
+
</div>
|
| 356 |
+
<div>
|
| 357 |
+
<label class="block text-gray-300 mb-2">Phone</label>
|
| 358 |
+
<input type="tel" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" required>
|
| 359 |
+
</div>
|
| 360 |
+
<div>
|
| 361 |
+
<label class="block text-gray-300 mb-2">Preferred Date & Time</label>
|
| 362 |
+
<input type="datetime-local" class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" required>
|
| 363 |
+
</div>
|
| 364 |
+
<div>
|
| 365 |
+
<label class="block text-gray-300 mb-2">What are your wellness goals?</label>
|
| 366 |
+
<textarea class="w-full bg-gray-700 border border-gray-600 rounded-lg px-4 py-3 focus:outline-none focus:ring-2 focus:ring-teal-500" rows="3"></textarea>
|
| 367 |
+
</div>
|
| 368 |
+
<button type="submit" class="w-full bg-teal-500 hover:bg-teal-600 text-white font-medium py-3 px-6 rounded-lg transition duration-300">
|
| 369 |
+
Book Free Consultation
|
| 370 |
+
</button>
|
| 371 |
+
</form>
|
| 372 |
+
</div>
|
| 373 |
+
</div>
|
| 374 |
+
</div>
|
| 375 |
+
</div>
|
| 376 |
+
</section>
|
| 377 |
+
|
| 378 |
+
<!-- Footer Component -->
|
| 379 |
+
<custom-footer></custom-footer>
|
| 380 |
+
|
| 381 |
+
<!-- Scripts -->
|
| 382 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 383 |
+
<script src="components/header.js"></script>
|
| 384 |
+
<script src="components/testimonials.js"></script>
|
| 385 |
+
<script src="components/footer.js"></script>
|
| 386 |
+
<script src="script.js"></script>
|
| 387 |
+
<script>
|
| 388 |
+
feather.replace();
|
| 389 |
+
</script>
|
| 390 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 391 |
+
</body>
|
| 392 |
+
</html>
|
script.js
ADDED
|
@@ -0,0 +1,42 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// Testimonial slider functionality
|
| 2 |
+
document.addEventListener('DOMContentLoaded', function() {
|
| 3 |
+
// Form submission handling
|
| 4 |
+
const form = document.getElementById('consultation-form');
|
| 5 |
+
if (form) {
|
| 6 |
+
form.addEventListener('submit', function(e) {
|
| 7 |
+
e.preventDefault();
|
| 8 |
+
// In a real application, you would send this data to a server
|
| 9 |
+
alert('Thank you for booking your free consultation! We will contact you shortly to confirm your appointment.');
|
| 10 |
+
form.reset();
|
| 11 |
+
});
|
| 12 |
+
}
|
| 13 |
+
|
| 14 |
+
// Smooth scrolling for anchor links
|
| 15 |
+
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
|
| 16 |
+
anchor.addEventListener('click', function (e) {
|
| 17 |
+
e.preventDefault();
|
| 18 |
+
document.querySelector(this.getAttribute('href')).scrollIntoView({
|
| 19 |
+
behavior: 'smooth'
|
| 20 |
+
});
|
| 21 |
+
});
|
| 22 |
+
});
|
| 23 |
+
|
| 24 |
+
// Animation on scroll
|
| 25 |
+
const observerOptions = {
|
| 26 |
+
root: null,
|
| 27 |
+
rootMargin: '0px',
|
| 28 |
+
threshold: 0.1
|
| 29 |
+
};
|
| 30 |
+
|
| 31 |
+
const observer = new IntersectionObserver((entries) => {
|
| 32 |
+
entries.forEach(entry => {
|
| 33 |
+
if (entry.isIntersecting) {
|
| 34 |
+
entry.target.classList.add('animate-fade-in');
|
| 35 |
+
}
|
| 36 |
+
});
|
| 37 |
+
}, observerOptions);
|
| 38 |
+
|
| 39 |
+
document.querySelectorAll('section > div').forEach(section => {
|
| 40 |
+
observer.observe(section);
|
| 41 |
+
});
|
| 42 |
+
});
|
style.css
CHANGED
|
@@ -1,28 +1,91 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
}
|
| 5 |
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
|
|
|
| 9 |
}
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
}
|
| 17 |
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
padding: 16px;
|
| 22 |
-
border: 1px solid lightgray;
|
| 23 |
-
border-radius: 16px;
|
| 24 |
}
|
| 25 |
|
| 26 |
-
|
| 27 |
-
|
| 28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
@tailwind base;
|
| 2 |
+
@tailwind components;
|
| 3 |
+
@tailwind utilities;
|
| 4 |
+
|
| 5 |
+
:root {
|
| 6 |
+
--primary-color: #0d9488; /* teal-500 */
|
| 7 |
+
--secondary-color: #6366f1; /* indigo-500 */
|
| 8 |
+
}
|
| 9 |
+
|
| 10 |
body {
|
| 11 |
+
font-family: 'Poppins', sans-serif;
|
| 12 |
+
background-color: #111827; /* gray-900 */
|
| 13 |
+
color: #f3f4f6; /* gray-100 */
|
| 14 |
+
}
|
| 15 |
+
|
| 16 |
+
.font-playfair {
|
| 17 |
+
font-family: 'Playfair Display', serif;
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
/* Custom animations */
|
| 21 |
+
@keyframes fadeIn {
|
| 22 |
+
from {
|
| 23 |
+
opacity: 0;
|
| 24 |
+
transform: translateY(20px);
|
| 25 |
+
}
|
| 26 |
+
to {
|
| 27 |
+
opacity: 1;
|
| 28 |
+
transform: translateY(0);
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.animate-fade-in {
|
| 33 |
+
animation: fadeIn 0.8s ease-out;
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
/* Testimonial slider custom styles */
|
| 37 |
+
.testimonial-slider {
|
| 38 |
+
position: relative;
|
| 39 |
+
overflow: hidden;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.testimonial-slide {
|
| 43 |
+
transition: transform 0.5s ease-in-out;
|
| 44 |
+
}
|
| 45 |
+
|
| 46 |
+
/* Form styling */
|
| 47 |
+
#consultation-form input,
|
| 48 |
+
#consultation-form textarea {
|
| 49 |
+
transition: all 0.3s ease;
|
| 50 |
}
|
| 51 |
|
| 52 |
+
#consultation-form input:focus,
|
| 53 |
+
#consultation-form textarea:focus {
|
| 54 |
+
border-color: var(--primary-color);
|
| 55 |
+
box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.3);
|
| 56 |
}
|
| 57 |
|
| 58 |
+
/* Responsive adjustments */
|
| 59 |
+
@media (max-width: 768px) {
|
| 60 |
+
.hero-content {
|
| 61 |
+
padding-top: 2rem;
|
| 62 |
+
}
|
| 63 |
+
|
| 64 |
+
.booking-section {
|
| 65 |
+
padding: 1.5rem;
|
| 66 |
+
}
|
| 67 |
}
|
| 68 |
|
| 69 |
+
/* Custom scrollbar */
|
| 70 |
+
::-webkit-scrollbar {
|
| 71 |
+
width: 8px;
|
|
|
|
|
|
|
|
|
|
| 72 |
}
|
| 73 |
|
| 74 |
+
::-webkit-scrollbar-track {
|
| 75 |
+
background: #1f2937;
|
| 76 |
}
|
| 77 |
+
|
| 78 |
+
::-webkit-scrollbar-thumb {
|
| 79 |
+
background: var(--primary-color);
|
| 80 |
+
border-radius: 4px;
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
::-webkit-scrollbar-thumb:hover {
|
| 84 |
+
background: #0f766e;
|
| 85 |
+
}
|
| 86 |
+
|
| 87 |
+
/* Feather icons sizing */
|
| 88 |
+
.feather {
|
| 89 |
+
width: 1em;
|
| 90 |
+
height: 1em;
|
| 91 |
+
}
|