Spaces:
Running
Running
File size: 36,080 Bytes
e839739 9a4e3f2 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 | <!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Escalade | Premium Clothing</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#f09410',
secondary: '#bc430d',
light: '#feeaf0',
muted: '#f0d0c7',
dark: '#111111',
},
fontFamily: {
sans: ['Inter', 'sans-serif'],
heading: ['Bebas Neue', 'sans-serif'],
},
animation: {
'pulse-slow': 'pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite',
'bounce-slow': 'bounce 2s infinite',
}
}
}
}
</script>
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;500;600;700&display=swap">
<style>
html {
scroll-behavior: smooth;
}
.hero-video {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -1;
}
.nav-scroll {
background-color: rgba(17, 17, 17, 0.95);
box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
backdrop-filter: blur(8px);
}
.product-card:hover .product-image {
transform: scale(1.05);
}
.quick-view-btn {
opacity: 0;
transform: translateY(10px);
transition: all 0.3s ease;
}
.product-card:hover .quick-view-btn {
opacity: 1;
transform: translateY(0);
}
.marquee {
animation: marquee 30s linear infinite;
}
@keyframes marquee {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
.glow {
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from { box-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }
to { box-shadow: 0 0 20px rgba(212, 175, 55, 0.8); }
}
.dark-mode {
background-color: #111;
color: #fff;
}
.dark-mode .bg-white {
background-color: #111 !important;
color: #fff !important;
}
.dark-mode .text-dark {
color: #fff !important;
}
.dark-mode .bg-gray-100 {
background-color: #222 !important;
}
</style>
</head>
<body class="font-sans bg-white text-dark">
<!-- Navigation -->
<nav id="navbar" class="fixed w-full z-50 transition-all duration-300 py-4">
<div class="container mx-auto px-6 flex justify-between items-center">
<a href="#" class="text-3xl font-heading text-primary">ESCALADE</a>
<div class="hidden md:flex space-x-8">
<a href="#" class="text-dark hover:text-primary transition">Home</a>
<a href="shop.html" class="text-dark hover:text-primary transition">Shop</a>
<a href="new-arrivals.html" class="text-dark hover:text-primary transition">New Arrivals</a>
<a href="collections.html" class="text-dark hover:text-primary transition">Collections</a>
<a href="about.html" class="text-dark hover:text-primary transition">About</a>
<a href="contact.html" class="text-dark hover:text-primary transition">Contact</a>
</div>
<div class="flex items-center space-x-4">
<button id="theme-toggle" class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="moon" class="text-dark"></i>
</button>
<a href="login.html" class="p-2 rounded-full hover:bg-gray-100">
<i data-feather="user" class="text-dark"></i>
</a>
<a href="cart.html" class="p-2 rounded-full hover:bg-gray-100 relative">
<i data-feather="shopping-bag" class="text-dark"></i>
<span class="absolute -top-1 -right-1 bg-primary text-white text-xs rounded-full h-5 w-5 flex items-center justify-center">0</span>
</a>
<button id="mobile-menu-button" class="md:hidden p-2">
<i data-feather="menu" class="text-dark"></i>
</button>
</div>
</div>
</nav>
<!-- Mobile Menu -->
<div id="mobile-menu" class="fixed inset-0 bg-black bg-opacity-90 z-40 hidden">
<div class="container mx-auto px-6 py-20">
<div class="flex flex-col space-y-6 text-white text-2xl">
<a href="#" class="hover:text-gold transition">Home</a>
<a href="shop.html" class="hover:text-gold transition">Shop</a>
<a href="new-arrivals.html" class="hover:text-gold transition">New Arrivals</a>
<a href="collections.html" class="hover:text-gold transition">Collections</a>
<a href="about.html" class="hover:text-gold transition">About</a>
<a href="contact.html" class="hover:text-gold transition">Contact</a>
<div class="pt-6">
<a href="login.html" class="inline-flex items-center hover:text-gold transition">
<i data-feather="user" class="mr-2"></i> Login
</a>
</div>
</div>
</div>
</div>
<!-- Hero Section -->
<section class="relative h-screen flex items-center justify-center overflow-hidden">
<video autoplay muted loop class="hero-video">
<source src="http://static.photos/fashion/1920x1080/1" type="video/mp4">
</video>
<div class="absolute inset-0 bg-black bg-opacity-40"></div>
<div class="container mx-auto px-6 z-10 text-center" data-aos="zoom-in" data-aos-duration="1000">
<h1 class="text-6xl md:text-8xl font-heading text-white mb-6">ELEVATE YOUR STYLE</h1>
<p class="text-xl md:text-2xl text-white mb-10 max-w-2xl mx-auto">Discover the essence of luxury with our premium collection</p>
<a href="shop.html" class="inline-block bg-primary text-white px-8 py-4 font-medium hover:bg-opacity-90 transition-all transform hover:scale-105">
SHOP NOW
</a>
</div>
<a href="#featured" class="absolute bottom-10 left-1/2 transform -translate-x-1/2 animate-bounce-slow">
<i data-feather="chevron-down" class="text-white h-10 w-10"></i>
</a>
</section>
<!-- Featured Categories -->
<section id="featured" class="py-20 bg-gray-100">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-heading mb-12 text-center" data-aos="fade-up">FEATURED CATEGORIES</h2>
<div class="relative overflow-hidden py-8">
<div class="marquee flex space-x-8">
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-right">
<img src="http://static.photos/fashion/640x360/10" alt="Men" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Men</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-right" data-aos-delay="100">
<img src="http://static.photos/fashion/640x360/11" alt="Women" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Women</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-right" data-aos-delay="200">
<img src="http://static.photos/fashion/640x360/12" alt="Unisex" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Unisex</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-right" data-aos-delay="300">
<img src="http://static.photos/fashion/640x360/13" alt="Accessories" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Accessories</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden">
<img src="http://static.photos/fashion/640x360/14" alt="Men" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Men</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden">
<img src="http://static.photos/fashion/640x360/15" alt="Women" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Women</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden">
<img src="http://static.photos/fashion/640x360/16" alt="Unisex" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Unisex</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
<div class="flex-shrink-0 w-64 h-80 bg-white rounded-lg shadow-md overflow-hidden">
<img src="http://static.photos/fashion/640x360/17" alt="Accessories" class="w-full h-56 object-cover">
<div class="p-4">
<h3 class="font-medium text-lg">Accessories</h3>
<a href="#" class="text-gold text-sm hover:underline">Shop Now</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- New Arrivals -->
<section class="py-20">
<div class="container mx-auto px-6">
<div class="flex justify-between items-center mb-12">
<h2 class="text-4xl font-heading" data-aos="fade-right">NEW ARRIVALS</h2>
<a href="new-arrivals.html" class="text-gold hover:underline" data-aos="fade-left">View All</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Product 1 -->
<div class="product-card group" data-aos="fade-up">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/20" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-primary text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Premium Leather Jacket</h3>
<p class="text-primary">$299.99</p>
</div>
</div>
<!-- Product 2 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="100">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/21" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Cashmere Sweater</h3>
<p class="text-gold">$179.99</p>
</div>
</div>
<!-- Product 3 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="200">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/22" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Silk Blouse</h3>
<p class="text-gold">$129.99</p>
</div>
</div>
<!-- Product 4 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="300">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/23" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Tailored Wool Pants</h3>
<p class="text-gold">$159.99</p>
</div>
</div>
</div>
</div>
</section>
<!-- Sale Banner -->
<section class="py-16 bg-dark text-white">
<div class="container mx-auto px-6 text-center">
<div class="inline-block px-8 py-4 bg-primary rounded-full glow mb-6" data-aos="zoom-in">
<span class="font-heading text-2xl">LIMITED TIME OFFER</span>
</div>
<h2 class="text-4xl md:text-5xl font-heading mb-6" data-aos="fade-up">UP TO 40% OFF SELECT ITEMS</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">Elevate your wardrobe with our premium collection at exclusive prices</p>
<a href="shop.html" class="inline-block bg-light text-dark px-8 py-3 font-medium hover:bg-opacity-90 transition-all transform hover:scale-105" data-aos="fade-up" data-aos-delay="200">
SHOP THE SALE
</a>
</div>
</section>
<!-- Best Sellers -->
<section class="py-20 bg-gray-100">
<div class="container mx-auto px-6">
<div class="flex justify-between items-center mb-12">
<h2 class="text-4xl font-heading" data-aos="fade-right">BEST SELLERS</h2>
<a href="shop.html" class="text-gold hover:underline" data-aos="fade-left">View All</a>
</div>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-8">
<!-- Product 1 -->
<div class="product-card group" data-aos="fade-up">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/30" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Classic Trench Coat</h3>
<p class="text-gold">$249.99</p>
</div>
</div>
<!-- Product 2 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="100">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/31" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Cashmere Scarf</h3>
<p class="text-gold">$89.99</p>
</div>
</div>
<!-- Product 3 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="200">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/32" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Leather Gloves</h3>
<p class="text-gold">$69.99</p>
</div>
</div>
<!-- Product 4 -->
<div class="product-card group" data-aos="fade-up" data-aos-delay="300">
<div class="relative overflow-hidden rounded-lg mb-4">
<img src="http://static.photos/fashion/640x360/33" alt="Product" class="w-full h-80 object-cover product-image transition duration-500">
<div class="absolute inset-0 bg-black bg-opacity-0 group-hover:bg-opacity-20 transition duration-500"></div>
<button class="quick-view-btn absolute bottom-4 left-1/2 transform -translate-x-1/2 bg-gold text-white px-4 py-2 rounded">
Quick View
</button>
</div>
<div>
<h3 class="font-medium">Wool Fedora</h3>
<p class="text-gold">$119.99</p>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-20 relative overflow-hidden">
<div class="absolute inset-0 bg-cover bg-center opacity-10" style="background-image: url('http://static.photos/fashion/1920x1080/40');"></div>
<div class="container mx-auto px-6 relative">
<div class="max-w-3xl mx-auto text-center" data-aos="fade-up">
<h2 class="text-4xl font-heading mb-6">JOIN OUR COMMUNITY</h2>
<p class="text-xl mb-8">Subscribe to our newsletter and receive 10% off your first order, plus exclusive access to new collections and special events.</p>
<form class="flex flex-col sm:flex-row gap-4 max-w-lg mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 border border-gray-300 rounded focus:outline-none focus:ring-2 focus:ring-gold">
<button type="submit" class="bg-gold text-white px-6 py-3 rounded hover:bg-opacity-90 transition">SUBSCRIBE</button>
</form>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-dark text-white py-16">
<div class="container mx-auto px-6">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<h3 class="text-2xl font-heading text-gold mb-6">ESCALADE</h3>
<p class="mb-6">Elevating your style with premium quality and timeless designs since 2015.</p>
<div class="flex space-x-4">
<a href="#" class="text-white hover:text-gold transition"><i data-feather="instagram"></i></a>
<a href="#" class="text-white hover:text-gold transition"><i data-feather="facebook"></i></a>
<a href="#" class="text-white hover:text-gold transition"><i data-feather="twitter"></i></a>
<a href="#" class="text-white hover:text-gold transition"><i data-feather="pinterest"></i></a>
</div>
</div>
<div>
<h4 class="font-medium text-lg mb-6">SHOP</h4>
<ul class="space-y-3">
<li><a href="#" class="hover:text-gold transition">Men</a></li>
<li><a href="#" class="hover:text-gold transition">Women</a></li>
<li><a href="#" class="hover:text-gold transition">Unisex</a></li>
<li><a href="#" class="hover:text-gold transition">Accessories</a></li>
<li><a href="#" class="hover:text-gold transition">New Arrivals</a></li>
</ul>
</div>
<div>
<h4 class="font-medium text-lg mb-6">ABOUT</h4>
<ul class="space-y-3">
<li><a href="#" class="hover:text-gold transition">Our Story</a></li>
<li><a href="#" class="hover:text-gold transition">Sustainability</a></li>
<li><a href="#" class="hover:text-gold transition">Careers</a></li>
<li><a href="#" class="hover:text-gold transition">Press</a></li>
<li><a href="#" class="hover:text-gold transition">Blog</a></li>
</ul>
</div>
<div>
<h4 class="font-medium text-lg mb-6">HELP</h4>
<ul class="space-y-3">
<li><a href="#" class="hover:text-gold transition">Contact Us</a></li>
<li><a href="#" class="hover:text-gold transition">FAQs</a></li>
<li><a href="#" class="hover:text-gold transition">Shipping</a></li>
<li><a href="#" class="hover:text-gold transition">Returns</a></li>
<li><a href="#" class="hover:text-gold transition">Size Guide</a></li>
</ul>
</div>
</div>
<div class="border-t border-gray-700 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p>© 2023 Escalade. All rights reserved.</p>
<div class="flex space-x-6 mt-4 md:mt-0">
<a href="#" class="hover:text-gold transition">Privacy Policy</a>
<a href="#" class="hover:text-gold transition">Terms of Service</a>
<a href="#" class="hover:text-gold transition">Cookie Policy</a>
</div>
</div>
</div>
</footer>
<!-- Floating Cart -->
<div class="fixed bottom-8 right-8 z-50">
<button id="cart-button" class="bg-primary text-white p-4 rounded-full shadow-lg hover:bg-opacity-90 transition transform hover:scale-110">
<i data-feather="shopping-bag"></i>
<span class="absolute -top-1 -right-1 bg-white text-primary text-xs rounded-full h-6 w-6 flex items-center justify-center">0</span>
</button>
</div>
<!-- Cart Sidebar -->
<div id="cart-sidebar" class="fixed top-0 right-0 h-full w-full md:w-96 bg-white shadow-lg transform translate-x-full transition-transform duration-300 z-40 overflow-y-auto">
<div class="p-6">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-medium">YOUR CART (0)</h3>
<button id="close-cart" class="text-gray-500 hover:text-dark">
<i data-feather="x"></i>
</button>
</div>
<div class="py-12 text-center">
<i data-feather="shopping-bag" class="w-12 h-12 mx-auto text-gray-300 mb-4"></i>
<p class="text-gray-500 mb-6">Your cart is empty</p>
<a href="shop.html" class="inline-block bg-primary text-white px-6 py-3 rounded hover:bg-opacity-90 transition">CONTINUE SHOPPING</a>
</div>
</div>
</div>
<!-- Quick View Modal -->
<div id="quick-view-modal" class="fixed inset-0 bg-black bg-opacity-50 z-50 hidden">
<div class="relative w-full h-full flex items-center justify-center p-4">
<div class="bg-white rounded-lg max-w-4xl w-full max-h-screen overflow-y-auto">
<button id="close-quick-view" class="absolute top-4 right-4 text-gray-500 hover:text-dark z-50">
<i data-feather="x"></i>
</button>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 p-8">
<div class="relative">
<img src="http://static.photos/fashion/640x360/50" alt="Product" class="w-full rounded-lg">
<div class="grid grid-cols-4 gap-2 mt-4">
<img src="http://static.photos/fashion/200x200/51" alt="Thumbnail" class="rounded cursor-pointer border border-gray-200">
<img src="http://static.photos/fashion/200x200/52" alt="Thumbnail" class="rounded cursor-pointer border border-gray-200">
<img src="http://static.photos/fashion/200x200/53" alt="Thumbnail" class="rounded cursor-pointer border border-gray-200">
<img src="http://static.photos/fashion/200x200/54" alt="Thumbnail" class="rounded cursor-pointer border border-gray-200">
</div>
</div>
<div>
<h2 class="text-2xl font-medium mb-2">Premium Leather Jacket</h2>
<p class="text-gold text-xl mb-4">$299.99</p>
<div class="mb-6">
<p class="text-gray-600">Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div class="mb-6">
<h3 class="font-medium mb-2">COLOR</h3>
<div class="flex space-x-2">
<button class="w-8 h-8 rounded-full bg-black border-2 border-gray-300 focus:border-gold"></button>
<button class="w-8 h-8 rounded-full bg-gray-600 border-2 border-gray-300 focus:border-gold"></button>
<button class="w-8 h-8 rounded-full bg-brown-500 border-2 border-gray-300 focus:border-gold"></button>
</div>
</div>
<div class="mb-6">
<h3 class="font-medium mb-2">SIZE</h3>
<div class="grid grid-cols-4 gap-2">
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">XS</button>
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">S</button>
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">M</button>
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">L</button>
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">XL</button>
<button class="py-2 border border-gray-300 hover:border-dark focus:border-gold">XXL</button>
</div>
</div>
<div class="flex items-center mb-6">
<div class="flex items-center border border-gray-300 rounded">
<button class="px-3 py-2">-</button>
<span class="px-4">1</span>
<button class="px-3 py-2">+</button>
</div>
<button class="ml-4 bg-primary text-white px-6 py-2 rounded hover:bg-opacity-90 transition">ADD TO CART</button>
</div>
<div class="border-t border-gray-200 pt-4">
<div class="flex items-center text-sm text-gray-500 mb-2">
<i data-feather="truck" class="w-4 h-4 mr-2"></i>
<span>Free shipping on orders over $100</span>
</div>
<div class="flex items-center text-sm text-gray-500">
<i data-feather="refresh-cw" class="w-4 h-4 mr-2"></i>
<span>Free returns within 30 days</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script>
// Initialize AOS
AOS.init({
duration: 800,
easing: 'ease-in-out',
once: true
});
// Initialize Feather Icons
feather.replace();
// Mobile Menu Toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', (e) => {
e.stopPropagation();
mobileMenu.classList.toggle('hidden');
});
// Close mobile menu when clicking outside or on a link
document.addEventListener('click', (e) => {
if (!mobileMenu.contains(e.target) && e.target !== mobileMenuButton) {
mobileMenu.classList.add('hidden');
}
});
// Close menu when clicking on a link
mobileMenu.querySelectorAll('a').forEach(link => {
link.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
});
});
// Cart Toggle
const cartButton = document.getElementById('cart-button');
const cartSidebar = document.getElementById('cart-sidebar');
const closeCart = document.getElementById('close-cart');
cartButton.addEventListener('click', () => {
cartSidebar.classList.remove('translate-x-full');
});
closeCart.addEventListener('click', () => {
cartSidebar.classList.add('translate-x-full');
});
// Quick View Toggle
const quickViewButtons = document.querySelectorAll('.quick-view-btn');
const quickViewModal = document.getElementById('quick-view-modal');
const closeQuickView = document.getElementById('close-quick-view');
quickViewButtons.forEach(button => {
button.addEventListener('click', () => {
quickViewModal.classList.remove('hidden');
});
});
closeQuickView.addEventListener('click', () => {
quickViewModal.classList.add('hidden');
});
// Close modals when clicking outside
document.addEventListener('click', (e) => {
if (e.target === quickViewModal) {
quickViewModal.classList.add('hidden');
}
if (e.target === cartSidebar) {
cartSidebar.classList.add('translate-x-full');
}
});
// Navbar scroll effect
const navbar = document.getElementById('navbar');
window.addEventListener('scroll', () => {
if (window.scrollY > 100) {
navbar.classList.add('nav-scroll');
navbar.classList.add('py-2');
navbar.classList.remove('py-4');
} else {
navbar.classList.remove('nav-scroll');
navbar.classList.remove('py-2');
navbar.classList.add('py-4');
}
});
// Dark/Light mode toggle
const themeToggle = document.getElementById('theme-toggle');
const body = document.body;
themeToggle.addEventListener('click', () => {
body.classList.toggle('dark-mode');
const icon = themeToggle.querySelector('i');
if (body.classList.contains('dark-mode')) {
feather.replace();
icon.setAttribute('data-feather', 'sun');
} else {
feather.replace();
icon.setAttribute('data-feather', 'moon');
}
feather.replace();
});
// Marquee animation
const marquee = document.querySelector('.marquee');
const marqueeContent = marquee.innerHTML;
marquee.innerHTML = marqueeContent + marqueeContent;
</script>
</body>
</html>
|