Spaces:
Running

gallev2 / index.html
greatisiw92's picture
Add 2 files
d5c4589 verified
Raw History Blame Contribute Delete
51.9 kB
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Galle | Premium Dog Accessories</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"> <link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500&display=swap" rel="stylesheet"> <style> body { font-family: 'Montserrat', sans-serif; color: #333; } h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; } @keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0px); } } @keyframes pulse { 0% { transform: scale(1); } 50% { transform: scale(1.05); } 100% { transform: scale(1); } } .float-animation { animation: float 6s ease-in-out infinite; } .pulse-animation { animation: pulse 3s ease infinite; } .hover-scale { transition: transform 0.3s ease; } .hover-scale:hover { transform: scale(1.05); } .text-gradient { background: linear-gradient(45deg, #000, #555); -webkit-background-clip: text; background-clip: text; color: transparent; } /* 3D Card Effect */ .card-3d { transition: all 0.3s ease; transform-style: preserve-3d; perspective: 1000px; } .card-3d:hover { transform: translateY(-10px) rotateX(5deg) rotateY(5deg); box-shadow: 0 20px 40px rgba(0,0,0,0.2); } /* Sidebar styles */ .sidebar { position: fixed; top: 0; width: 80%; max-width: 320px; height: 100vh; background: white; box-shadow: 2px 0 10px rgba(0,0,0,0.1); z-index: 1000; transition: transform 0.3s ease; overflow-y: auto; } .sidebar-left { left: 0; transform: translateX(-100%); } .sidebar-right { right: 0; transform: translateX(100%); } .sidebar.active { transform: translateX(0); } .sidebar-overlay { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,0.5); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; } .sidebar-overlay.active { opacity: 1; pointer-events: all; } /* Product grid responsiveness */ .product-grid { grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); } /* Search bar */ .search-container { position: relative; } .search-results { position: absolute; top: 100%; left: 0; right: 0; background: white; box-shadow: 0 10px 15px rgba(0,0,0,0.1); z-index: 50; max-height: 300px; overflow-y: auto; display: none; } .search-results.active { display: block; } /* Hide scrollbar when menu is open */ body.menu-open { overflow: hidden; } /* Luxury border */ .luxury-border { position: relative; } .luxury-border:after { content: ''; position: absolute; bottom: -10px; left: 0; width: 100%; height: 1px; background: linear-gradient(90deg, transparent, #000, transparent); } /* Tag styles */ .product-tag { display: inline-block; padding: 2px 8px; font-size: 0.7rem; border-radius: 999px; background: #f3f3f3; margin-right: 4px; margin-bottom: 4px; } /* Dropdown styles */ .dropdown { position: relative; display: inline-block; } .dropdown-content { display: none; position: absolute; background-color: white; min-width: 200px; box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1); z-index: 100; border-radius: 8px; padding: 8px 0; } .dropdown:hover .dropdown-content { display: block; } .dropdown-item { padding: 10px 16px; display: block; color: #333; text-decoration: none; transition: background-color 0.3s; } .dropdown-item:hover { background-color: #f8f8f8; } /* Mobile dropdown trigger */ .mobile-dropdown-trigger { position: relative; } .mobile-dropdown-content { display: none; padding-left: 16px; margin-top: 8px; } .mobile-dropdown-content.active { display: block; } .mobile-dropdown-arrow { transition: transform 0.3s; } .mobile-dropdown-arrow.active { transform: rotate(180deg); } </style> </head> <body class="bg-gray-50"> <!-- Sidebar Overlay --> <div class="sidebar-overlay" id="sidebarOverlay"></div> <!-- Mobile Menu Sidebar --> <div class="sidebar sidebar-left" id="mobileMenu"> <div class="p-6"> <div class="flex justify-between items-center mb-8"> <div class="flex items-center space-x-2"> <i class="fas fa-paw text-3xl"></i> <span class="text-2xl font-bold tracking-wider">GALLE</span> </div> <button class="text-gray-500 text-2xl" id="closeMobileMenu"> <i class="fas fa-times"></i> </button> </div> <nav class="space-y-4"> <div class="mobile-dropdown-trigger"> <button class="w-full flex justify-between items-center py-3 px-4 bg-gray-100 rounded-lg font-medium" id="mobileShopDropdown"> <span>Shop</span> <i class="fas fa-chevron-down mobile-dropdown-arrow text-sm"></i> </button> <div class="mobile-dropdown-content" id="mobileShopContent"> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Collars</a> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Leashes</a> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Clothing</a> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Beds</a> </div> </div> <div class="mobile-dropdown-trigger"> <button class="w-full flex justify-between items-center py-3 px-4 hover:bg-gray-100 rounded-lg font-medium" id="mobileCollectionsDropdown"> <span>Collections</span> <i class="fas fa-chevron-down mobile-dropdown-arrow text-sm"></i> </button> <div class="mobile-dropdown-content" id="mobileCollectionsContent"> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">New Arrivals</a> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Best Sellers</a> <a href="#" class="block py-2 px-4 hover:bg-gray-100 rounded-lg">Seasonal</a> </div> </div> <a href="#" class="block py-3 px-4 hover:bg-gray-100 rounded-lg font-medium">About</a> <a href="#" class="block py-3 px-4 hover:bg-gray-100 rounded-lg font-medium">Blog</a> <a href="#" class="block py-3 px-4 hover:bg-gray-100 rounded-lg font-medium">Contact</a> </nav> </div> </div> <!-- Cart Sidebar --> <div class="sidebar sidebar-right" id="cartSidebar"> <div class="p-6"> <div class="flex justify-between items-center mb-8"> <h2 class="text-xl font-bold">Your Cart</h2> <button class="text-gray-500 text-2xl" id="closeCart"> <i class="fas fa-times"></i> </button> </div> <div class="space-y-4" id="cartItems"> <!-- Cart items will be added here dynamically --> <div class="text-center py-8 text-gray-500" id="emptyCartMessage"> <i class="fas fa-shopping-cart text-4xl mb-4 opacity-30"></i> <p>Your cart is empty</p> </div> </div> <div class="mt-8 pt-6 border-t border-gray-200 hidden" id="cartSummary"> <div class="flex justify-between mb-4"> <span class="font-medium">Subtotal:</span> <span class="font-bold" id="cartSubtotal">$0.00</span> </div> <div class="flex justify-between mb-6"> <span class="font-medium">Shipping:</span> <span class="font-bold">Free</span> </div> <button class="w-full bg-black text-white py-3 rounded-lg font-bold hover:bg-gray-800 transition-all"> Checkout </button> <a href="#" class="block text-center mt-4 text-gray-700 font-medium hover:text-black"> Continue Shopping </a> </div> </div> </div> <!-- Navigation --> <nav class="bg-white text-black shadow-sm sticky top-0 z-50"> <div class="container mx-auto px-4 sm:px-6 py-4"> <div class="flex items-center justify-between"> <div class="flex items-center space-x-2"> <i class="fas fa-paw text-3xl"></i> <span class="text-2xl font-bold tracking-wider">GALLE</span> </div> <div class="hidden md:flex space-x-8"> <div class="dropdown"> <button class="hover:underline transition flex items-center"> Shop <i class="fas fa-chevron-down ml-1 text-xs"></i> </button> <div class="dropdown-content"> <a href="#" class="dropdown-item">Collars</a> <a href="#" class="dropdown-item">Leashes</a> <a href="#" class="dropdown-item">Clothing</a> <a href="#" class="dropdown-item">Beds</a> <a href="#" class="dropdown-item">Toys</a> </div> </div> <div class="dropdown"> <button class="hover:underline transition flex items-center"> Collections <i class="fas fa-chevron-down ml-1 text-xs"></i> </button> <div class="dropdown-content"> <a href="#" class="dropdown-item">New Arrivals</a> <a href="#" class="dropdown-item">Best Sellers</a> <a href="#" class="dropdown-item">Seasonal</a> <a href="#" class="dropdown-item">Limited Edition</a> </div> </div> <a href="#" class="hover:underline transition">About</a> <a href="#" class="hover:underline transition">Blog</a> </div> <div class="flex items-center space-x-4"> <div class="search-container relative hidden sm:block"> <input type="text" placeholder="Search..." class="border-b border-gray-300 px-2 py-1 focus:outline-none focus:border-black" id="searchInput"> <div class="search-results" id="searchResults"></div> </div> <div class="relative"> <i class="fas fa-shopping-cart text-xl cursor-pointer hover:text-gray-600 transition" id="cartButton"></i> <span class="absolute -top-2 -right-2 bg-gray-800 text-white text-xs font-bold rounded-full w-5 h-5 flex items-center justify-center hidden" id="cartCount">0</span> </div> <button class="md:hidden" id="mobileMenuButton"> <i class="fas fa-bars text-xl"></i> </button> </div> </div> <div class="mt-4 sm:hidden"> <div class="search-container relative"> <input type="text" placeholder="Search..." class="w-full border-b border-gray-300 px-2 py-1 focus:outline-none focus:border-black" id="mobileSearchInput"> <div class="search-results" id="mobileSearchResults"></div> </div> </div> </div> </nav> <!-- Hero Section --> <section class="bg-white py-12 md:py-20 relative overflow-hidden"> <div class="absolute inset-0 bg-gradient-to-r from-white via-gray-100 to-white opacity-50"></div> <div class="container mx-auto px-4 sm:px-6 flex flex-col md:flex-row items-center relative z-10"> <div class="md:w-1/2 mb-10 md:mb-0"> <h1 class="text-4xl sm:text-5xl md:text-6xl font-bold mb-6 luxury-border">Premium <span class="italic">Dog</span> Accessories</h1> <p class="text-lg sm:text-xl mb-8 max-w-lg">Discover our handcrafted collection designed for your furry friend's comfort and style.</p> <div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"> <button class="bg-black text-white px-6 sm:px-8 py-3 rounded-full font-bold hover:bg-gray-800 transition hover-scale"> Shop Now </button> <button class="border-2 border-black px-6 sm:px-8 py-3 rounded-full font-bold hover:bg-black hover:text-white transition hover-scale"> Explore </button> </div> </div> <div class="md:w-1/2 flex justify-center"> <img src="https://images.unsplash.com/photo-1586671267731-da2cf3ceeb80?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Happy dog with accessories" class="rounded-3xl shadow-2xl float-animation w-full max-w-md object-cover"> </div> </div> </section> <!-- Featured Categories --> <section class="py-12 md:py-16 bg-gray-50"> <div class="container mx-auto px-4 sm:px-6"> <h2 class="text-2xl sm:text-3xl font-bold text-center mb-8 sm:mb-12 luxury-border pb-4">Shop By Category</h2> <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6"> <div class="bg-white p-6 sm:p-8 rounded-3xl text-center hover-scale cursor-pointer transition card-3d"> <div class="bg-gray-100 rounded-full p-4 w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6"> <i class="fas fa-tshirt text-2xl sm:text-3xl"></i> </div> <h3 class="text-lg sm:text-xl font-bold mb-2 sm:mb-3">Clothing</h3> <p class="text-sm sm:text-base text-gray-600">Stylish outfits for every season</p> </div> <div class="bg-white p-6 sm:p-8 rounded-3xl text-center hover-scale cursor-pointer transition card-3d"> <div class="bg-gray-100 rounded-full p-4 w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6"> <i class="fas fa-bone text-2xl sm:text-3xl"></i> </div> <h3 class="text-lg sm:text-xl font-bold mb-2 sm:mb-3">Toys</h3> <p class="text-sm sm:text-base text-gray-600">Fun and durable playtime essentials</p> </div> <div class="bg-white p-6 sm:p-8 rounded-3xl text-center hover-scale cursor-pointer transition card-3d"> <div class="bg-gray-100 rounded-full p-4 w-16 h-16 sm:w-20 sm:h-20 flex items-center justify-center mx-auto mb-4 sm:mb-6"> <i class="fas fa-bed text-2xl sm:text-3xl"></i> </div> <h3 class="text-lg sm:text-xl font-bold mb-2 sm:mb-3">Beds</h3> <p class="text-sm sm:text-base text-gray-600">Cozy spots for perfect naps</p> </div> </div> </div> </section> <!-- Featured Products --> <section class="py-12 md:py-16 bg-white"> <div class="container mx-auto px-4 sm:px-6"> <h2 class="text-2xl sm:text-3xl font-bold text-center mb-8 sm:mb-12 luxury-border pb-4">Featured Products</h2> <div class="product-grid grid gap-6"> <!-- Product 1 --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition card-3d"> <div class="relative overflow-hidden h-48 sm:h-64"> <img src="https://images.unsplash.com/photo-1594149929911-78975a43d4f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Dog collar" class="w-full h-full object-cover transition duration-500 hover:scale-110"> <div class="absolute top-4 right-4 bg-black text-white px-3 py-1 rounded-full text-xs font-bold"> NEW </div> <div class="absolute bottom-4 left-4"> <span class="product-tag">Collar</span> <span class="product-tag">Waterproof</span> <span class="product-tag">Adjustable</span> </div> </div> <div class="p-4 sm:p-6"> <div class="flex items-center mb-2"> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star-half-alt"></i> </div> <span class="text-gray-500 text-sm ml-2">(48)</span> </div> <h3 class="text-lg font-bold mb-2">Rainbow Collar</h3> <p class="text-gray-600 mb-4 text-sm sm:text-base">Adjustable, waterproof collar with vibrant colors</p> <div class="flex justify-between items-center"> <span class="font-bold text-lg">$24.99</span> <button class="bg-black text-white px-3 sm:px-4 py-1 sm:py-2 rounded-full hover:bg-gray-800 transition add-to-cart" data-name="Rainbow Collar" data-price="24.99" data-image="https://images.unsplash.com/photo-1594149929911-78975a43d4f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"> <i class="fas fa-shopping-cart"></i> </button> </div> </div> </div> <!-- Product 2 --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition card-3d"> <div class="relative overflow-hidden h-48 sm:h-64"> <img src="https://images.unsplash.com/photo-1591769225440-811ad7d6eab2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Dog hoodie" class="w-full h-full object-cover transition duration-500 hover:scale-110"> <div class="absolute bottom-4 left-4"> <span class="product-tag">Clothing</span> <span class="product-tag">Fleece</span> <span class="product-tag">Winter</span> </div> </div> <div class="p-4 sm:p-6"> <div class="flex items-center mb-2"> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> </div> <span class="text-gray-500 text-sm ml-2">(112)</span> </div> <h3 class="text-lg font-bold mb-2">Cozy Hoodie</h3> <p class="text-gray-600 mb-4 text-sm sm:text-base">Soft fleece hoodie with paw print design</p> <div class="flex justify-between items-center"> <span class="font-bold text-lg">$32.99</span> <button class="bg-black text-white px-3 sm:px-4 py-1 sm:py-2 rounded-full hover:bg-gray-800 transition add-to-cart" data-name="Cozy Hoodie" data-price="32.99" data-image="https://images.unsplash.com/photo-1591769225440-811ad7d6eab2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"> <i class="fas fa-shopping-cart"></i> </button> </div> </div> </div> <!-- Product 3 --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition card-3d"> <div class="relative overflow-hidden h-48 sm:h-64"> <img src="https://images.unsplash.com/photo-1591946614722-2a5c8193e378?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Dog leash" class="w-full h-full object-cover transition duration-500 hover:scale-110"> <div class="absolute top-4 right-4 bg-black text-white px-3 py-1 rounded-full text-xs font-bold"> SALE </div> <div class="absolute bottom-4 left-4"> <span class="product-tag">Leash</span> <span class="product-tag">Reflective</span> <span class="product-tag">Durable</span> </div> </div> <div class="p-4 sm:p-6"> <div class="flex items-center mb-2"> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="far fa-star"></i> </div> <span class="text-gray-500 text-sm ml-2">(76)</span> </div> <h3 class="text-lg font-bold mb-2">Reflective Leash</h3> <p class="text-gray-600 mb-4 text-sm sm:text-base">6ft durable leash with night visibility</p> <div class="flex justify-between items-center"> <div> <span class="font-bold text-lg">$18.99</span> <span class="text-sm text-gray-500 line-through ml-2">$24.99</span> </div> <button class="bg-black text-white px-3 sm:px-4 py-1 sm:py-2 rounded-full hover:bg-gray-800 transition add-to-cart" data-name="Reflective Leash" data-price="18.99" data-image="https://images.unsplash.com/photo-1591946614722-2a5c8193e378?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"> <i class="fas fa-shopping-cart"></i> </button> </div> </div> </div> <!-- Product 4 --> <div class="bg-white rounded-2xl overflow-hidden shadow-lg hover:shadow-xl transition card-3d"> <div class="relative overflow-hidden h-48 sm:h-64"> <img src="https://images.unsplash.com/photo-1588943211346-0908a1fb0b01?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80" alt="Dog bowl" class="w-full h-full object-cover transition duration-500 hover:scale-110"> <div class="absolute bottom-4 left-4"> <span class="product-tag">Bowl</span> <span class="product-tag">Ceramic</span> <span class="product-tag">Non-slip</span> </div> </div> <div class="p-4 sm:p-6"> <div class="flex items-center mb-2"> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> <i class="fas fa-star"></i> </div> <span class="text-gray-500 text-sm ml-2">(203)</span> </div> <h3 class="text-lg font-bold mb-2">Ceramic Food Bowl</h3> <p class="text-gray-600 mb-4 text-sm sm:text-base">Non-slip, easy to clean ceramic bowl</p> <div class="flex justify-between items-center"> <span class="font-bold text-lg">$19.99</span> <button class="bg-black text-white px-3 sm:px-4 py-1 sm:py-2 rounded-full hover:bg-gray-800 transition add-to-cart" data-name="Ceramic Food Bowl" data-price="19.99" data-image="https://images.unsplash.com/photo-1588943211346-0908a1fb0b01?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80"> <i class="fas fa-shopping-cart"></i> </button> </div> </div> </div> </div> <div class="text-center mt-8 sm:mt-12"> <button class="border-2 border-black px-6 sm:px-8 py-2 sm:py-3 rounded-full font-bold hover:bg-black hover:text-white transition hover-scale"> View All Products </button> </div> </div> </section> <!-- Testimonials --> <section class="py-12 md:py-16 bg-gray-50"> <div class="container mx-auto px-4 sm:px-6"> <h2 class="text-2xl sm:text-3xl font-bold text-center mb-8 sm:mb-12 luxury-border pb-4">Happy Paws, Happy Owners</h2> <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> <div class="bg-white p-6 rounded-3xl hover-scale transition card-3d"> <div class="flex items-center mb-4 sm:mb-6"> <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Customer" class="w-10 h-10 sm:w-12 sm:h-12 rounded-full object-cover"> <div class="ml-3 sm:ml-4"> <h4 class="font-bold text-sm sm:text-base">Sarah J.</h4> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> </div> </div> </div> <p class="text-gray-600 italic text-sm sm:text-base">"The rainbow collar is absolutely stunning! My dog Max gets compliments everywhere we go. The quality is excellent and it's held up through many adventures."</p> </div> <div class="bg-white p-6 rounded-3xl hover-scale transition card-3d"> <div class="flex items-center mb-4 sm:mb-6"> <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Customer" class="w-10 h-10 sm:w-12 sm:h-12 rounded-full object-cover"> <div class="ml-3 sm:ml-4"> <h4 class="font-bold text-sm sm:text-base">Michael T.</h4> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star-half-alt text-sm"></i> </div> </div> </div> <p class="text-gray-600 italic text-sm sm:text-base">"I bought the ceramic bowl set and couldn't be happier. They're sturdy, easy to clean, and my dog loves them. The design is so cute too!"</p> </div> <div class="bg-white p-6 rounded-3xl hover-scale transition card-3d"> <div class="flex items-center mb-4 sm:mb-6"> <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Customer" class="w-10 h-10 sm:w-12 sm:h-12 rounded-full object-cover"> <div class="ml-3 sm:ml-4"> <h4 class="font-bold text-sm sm:text-base">Emily R.</h4> <div class="flex space-x-1 text-yellow-400"> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> <i class="fas fa-star text-sm"></i> </div> </div> </div> <p class="text-gray-600 italic text-sm sm:text-base">"The reflective leash has been a game changer for our evening walks. It's durable and gives me peace of mind knowing cars can see us at night."</p> </div> </div> </div> </section> <!-- Newsletter --> <section class="py-12 md:py-16 bg-white border-t border-gray-200"> <div class="container mx-auto px-4 sm:px-6 text-center"> <h2 class="text-2xl sm:text-3xl font-bold mb-4 sm:mb-6 luxury-border pb-4">Join the Galle Pack</h2> <p class="text-lg sm:text-xl mb-6 sm:mb-8 max-w-2xl mx-auto">Subscribe to our newsletter for exclusive offers, new product alerts, and dog care tips!</p> <div class="max-w-md mx-auto flex flex-col sm:flex-row"> <input type="email" placeholder="Your email address" class="flex-grow px-4 sm:px-6 py-3 sm:py-4 rounded-full sm:rounded-r-none focus:outline-none border border-gray-300 mb-2 sm:mb-0"> <button class="bg-black text-white px-6 sm:px-8 py-3 sm:py-4 rounded-full sm:rounded-l-none font-bold hover:bg-gray-800 transition hover-scale"> Subscribe </button> </div> <p class="text-sm text-gray-500 mt-4">We respect your privacy. Unsubscribe at any time.</p> </div> </section> <!-- Footer --> <footer class="bg-black text-white py-8 sm:py-12"> <div class="container mx-auto px-4 sm:px-6"> <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6 sm:gap-8"> <div> <div class="flex items-center space-x-2 mb-4"> <i class="fas fa-paw text-xl sm:text-2xl"></i> <span class="text-xl sm:text-2xl font-bold tracking-wider">GALLE</span> </div> <p class="text-gray-400 mb-4 text-sm sm:text-base">Premium accessories for your furry friends.</p> <div class="flex space-x-4"> <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-facebook-f"></i></a> <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-instagram"></i></a> <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a> <a href="#" class="text-gray-400 hover:text-white transition"><i class="fab fa-pinterest"></i></a> </div> </div> <div> <h3 class="text-lg font-bold mb-3 sm:mb-4">Shop</h3> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">New Arrivals</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Best Sellers</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Sale Items</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Gift Cards</a></li> </ul> </div> <div> <h3 class="text-lg font-bold mb-3 sm:mb-4">Help</h3> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">FAQs</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Shipping</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Returns</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Contact Us</a></li> </ul> </div> <div> <h3 class="text-lg font-bold mb-3 sm:mb-4">About</h3> <ul class="space-y-2"> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Our Story</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Blog</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Careers</a></li> <li><a href="#" class="text-gray-400 hover:text-white transition text-sm sm:text-base">Privacy Policy</a></li> </ul> </div> </div> <div class="border-t border-gray-800 mt-8 sm:mt-12 pt-6 sm:pt-8 text-center text-gray-400 text-sm sm:text-base"> <p>&copy; 2023 Galle. All rights reserved.</p> </div> </div> </footer> <!-- Floating Action Button --> <div class="fixed bottom-6 right-6 z-40"> <button class="bg-black text-white w-12 h-12 sm:w-14 sm:h-14 rounded-full flex items-center justify-center shadow-lg hover:bg-gray-800 transition hover-scale pulse-animation" id="floatingCartButton"> <i class="fas fa-shopping-cart text-lg sm:text-xl"></i> <span class="absolute -top-1 -right-1 bg-white text-black text-xs font-bold rounded-full w-5 h-5 flex items-center justify-center hidden" id="floatingCartCount">0</span> </button> </div> <script> // Product data for search functionality const products = [ { name: "Rainbow Collar", price: 24.99, image: "https://images.unsplash.com/photo-1594149929911-78975a43d4f5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80", tags: ["Collar", "Waterproof", "Adjustable"], description: "Adjustable, waterproof collar with vibrant colors" }, { name: "Cozy Hoodie", price: 32.99, image: "https://images.unsplash.com/photo-1591769225440-811ad7d6eab2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80", tags: ["Clothing", "Fleece", "Winter"], description: "Soft fleece hoodie with paw print design" }, { name: "Reflective Leash", price: 18.99, image: "https://images.unsplash.com/photo-1591946614722-2a5c8193e378?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80", tags: ["Leash", "Reflective", "Durable"], description: "6ft durable leash with night visibility" }, { name: "Ceramic Food Bowl", price: 19.99, image: "https://images.unsplash.com/photo-1588943211346-0908a1fb0b01?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80", tags: ["Bowl", "Ceramic", "Non-slip"], description: "Non-slip, easy to clean ceramic bowl" } ]; // Mobile menu functionality const mobileMenuButton = document.getElementById('mobileMenuButton'); const closeMobileMenu = document.getElementById('closeMobileMenu'); const mobileMenu = document.getElementById('mobileMenu'); const sidebarOverlay = document.getElementById('sidebarOverlay'); mobileMenuButton.addEventListener('click', () => { mobileMenu.classList.add('active'); sidebarOverlay.classList.add('active'); document.body.classList.add('menu-open'); }); closeMobileMenu.addEventListener('click', () => { mobileMenu.classList.remove('active'); sidebarOverlay.classList.remove('active'); document.body.classList.remove('menu-open'); }); sidebarOverlay.addEventListener('click', () => { mobileMenu.classList.remove('active'); document.getElementById('cartSidebar').classList.remove('active'); sidebarOverlay.classList.remove('active'); document.body.classList.remove('menu-open'); }); // Mobile dropdown functionality const mobileShopDropdown = document.getElementById('mobileShopDropdown'); const mobileShopContent = document.getElementById('mobileShopContent'); const mobileCollectionsDropdown = document.getElementById('mobileCollectionsDropdown'); const mobileCollectionsContent = document.getElementById('mobileCollectionsContent'); mobileShopDropdown.addEventListener('click', () => { mobileShopContent.classList.toggle('active'); mobileShopDropdown.querySelector('.mobile-dropdown-arrow').classList.toggle('active'); }); mobileCollectionsDropdown.addEventListener('click', () => { mobileCollectionsContent.classList.toggle('active'); mobileCollectionsDropdown.querySelector('.mobile-dropdown-arrow').classList.toggle('active'); }); // Cart functionality const cartButton = document.getElementById('cartButton'); const floatingCartButton = document.getElementById('floatingCartButton'); const closeCart = document.getElementById('closeCart'); const cartSidebar = document.getElementById('cartSidebar'); const cartItems = document.getElementById('cartItems'); const emptyCartMessage = document.getElementById('emptyCartMessage'); const cartSummary = document.getElementById('cartSummary'); const cartSubtotal = document.getElementById('cartSubtotal'); const cartCount = document.getElementById('cartCount'); const floatingCartCount = document.getElementById('floatingCartCount'); let cart = []; // Open cart function openCart() { cartSidebar.classList.add('active'); sidebarOverlay.classList.add('active'); document.body.classList.add('menu-open'); } cartButton.addEventListener('click', openCart); floatingCartButton.addEventListener('click', openCart); // Close cart closeCart.addEventListener('click', () => { cartSidebar.classList.remove('active'); sidebarOverlay.classList.remove('active'); document.body.classList.remove('menu-open'); }); // Add to cart functionality document.querySelectorAll('.add-to-cart').forEach(button => { button.addEventListener('click', function() { const product = { name: this.getAttribute('data-name'), price: parseFloat(this.getAttribute('data-price')), image: this.getAttribute('data-image') }; cart.push(product); updateCart(); openCart(); // Add pulse animation to cart button cartCount.classList.remove('hidden'); floatingCartCount.classList.remove('hidden'); cartButton.classList.add('animate-pulse'); floatingCartButton.classList.add('animate-pulse'); setTimeout(() => { cartButton.classList.remove('animate-pulse'); floatingCartButton.classList.remove('animate-pulse'); }, 1000); }); }); // Update cart display function updateCart() { // Update cart count cartCount.textContent = cart.length; floatingCartCount.textContent = cart.length; if (cart.length === 0) { emptyCartMessage.classList.remove('hidden'); cartSummary.classList.add('hidden'); cartItems.innerHTML = ''; cartItems.appendChild(emptyCartMessage); } else { emptyCartMessage.classList.add('hidden'); cartSummary.classList.remove('hidden'); // Calculate subtotal const subtotal = cart.reduce((sum, item) => sum + item.price, 0); cartSubtotal.textContent = `$${subtotal.toFixed(2)}`; // Update cart items cartItems.innerHTML = ''; cart.forEach((item, index) => { const cartItem = document.createElement('div'); cartItem.className = 'flex items-center p-4 bg-gray-100 rounded-lg'; cartItem.innerHTML = ` <img src="${item.image}" alt="${item.name}" class="w-16 h-16 object-cover rounded-lg"> <div class="ml-4 flex-grow"> <h4 class="font-bold">${item.name}</h4> <p class="font-bold">$${item.price.toFixed(2)}</p> </div> <button class="text-gray-500 hover:text-red-500 remove-item" data-index="${index}"> <i class="fas fa-times"></i> </button> `; cartItems.appendChild(cartItem); }); // Add event listeners to remove buttons document.querySelectorAll('.remove-item').forEach(button => { button.addEventListener('click', function() { const index = parseInt(this.getAttribute('data-index')); cart.splice(index, 1); updateCart(); }); }); } } // Initialize cart updateCart(); // Search functionality const searchInput = document.getElementById('searchInput'); const mobileSearchInput = document.getElementById('mobileSearchInput'); const searchResults = document.getElementById('searchResults'); const mobileSearchResults = document.getElementById('mobileSearchResults'); function performSearch(query) { if (query.length < 2) { return []; } const lowerQuery = query.toLowerCase(); return products.filter(product => product.name.toLowerCase().includes(lowerQuery) || product.description.toLowerCase().includes(lowerQuery) || product.tags.some(tag => tag.toLowerCase().includes(lowerQuery)) ); } function displaySearchResults(results, container) { container.innerHTML = ''; if (results.length === 0) { const noResults = document.createElement('div'); noResults.className = 'p-4 text-gray-500'; noResults.textContent = 'No products found'; container.appendChild(noResults); return; } results.forEach(product => { const resultItem = document.createElement('a'); resultItem.href = '#'; resultItem.className = 'flex items-center p-4 hover:bg-gray-100 transition'; resultItem.innerHTML = ` <img src="${product.image}" alt="${product.name}" class="w-12 h-12 object-cover rounded"> <div class="ml-3"> <h4 class="font-medium">${product.name}</h4> <p class="text-sm text-gray-600">$${product.price.toFixed(2)}</p> </div> `; container.appendChild(resultItem); resultItem.addEventListener('click', (e) => { e.preventDefault(); container.style.display = 'none'; // Scroll to product (in a real app, you would navigate to the product page) alert(`You clicked on ${product.name}. In a real app, this would take you to the product page.`); }); }); } searchInput.addEventListener('input', () => { const results = performSearch(searchInput.value); displaySearchResults(results, searchResults); searchResults.classList.toggle('active', results.length > 0); }); mobileSearchInput.addEventListener('input', () => { const results = performSearch(mobileSearchInput.value); displaySearchResults(results, mobileSearchResults); mobileSearchResults.classList.toggle('active', results.length > 0); }); // Close search results when clicking outside document.addEventListener('click', (e) => { if (!searchInput.contains(e.target) && !searchResults.contains(e.target)) { searchResults.style.display = 'none'; } if (!mobileSearchInput.contains(e.target) && !mobileSearchResults.contains(e.target)) { mobileSearchResults.style.display = 'none'; } }); // Smooth scrolling for anchor links document.querySelectorAll('a[href^="#"]').forEach(anchor => { anchor.addEventListener('click', function (e) { e.preventDefault(); const targetId = this.getAttribute('href'); if (targetId === '#') return; const targetElement = document.querySelector(targetId); if (targetElement) { targetElement.scrollIntoView({ behavior: 'smooth' }); } }); }); </script> <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=greatisiw92/gallev2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> </html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Galle | Premium Dog Accessories</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">
<link href="https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;500&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Montserrat', sans-serif;
color: #333;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display', serif;
}
@keyframes float {
0% { transform: translateY(0px); }
50% { transform: translateY(-20px); }
100% { transform: translateY(0px); }
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.float-animation {
animation: float 6s ease-in-out infinite;
}
.pulse-animation {
animation: pulse 3s ease infinite;
}
.hover-scale {
transition: transform 0.3s ease;
}
.hover-scale:hover {
transform: scale(1.05);
}
.text-gradient {
background: linear-gradient(45deg, #000, #555);
-webkit-background-clip: text;
background-clip: text;
color: transparent;
}
/* 3D Card Effect */
.card-3d {
transition: all 0.3s ease;
transform-style: preserve-3d;
perspective: 1000px;
}
.card-3d:hover {
transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
/* Sidebar styles */
.sidebar {
position: fixed;
top: 0;
width: 80%;
max-width: 320px;
height: 100vh;
background: white;
box-shadow: 2px 0 10px rgba(0,0,0,0.1);
z-index: 1000;
transition: transform 0.3s ease;
overflow-y: auto;
}
.sidebar-left {
left: 0;
transform: translateX(-100%);
}
.sidebar-right {
right: 0;
transform: translateX(100%);
}
.sidebar.active {
transform: translateX(0);
}
.sidebar-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;