diff --git a/assets/css/custom.css b/assets/css/custom.css index 4794715..b7960cf 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -3,12 +3,16 @@ display: none; } + + /* Hide scrollbar for IE, Edge and Firefox */ .hide-scrollbar { -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } + + /* Custom duration for aos animation script */ body[data-aos-duration='3500'] [data-aos], [data-aos][data-aos][data-aos-duration='3500'] { @@ -27,6 +31,8 @@ body[data-aos-duration='5000'] [data-aos], transition-duration: 5000ms; } + + /* Custom delay for aos animation script */ body[data-aos-delay='3500'] [data-aos], [data-aos][data-aos][data-aos-delay='3500'] { @@ -44,3 +50,28 @@ body[data-aos-delay='5000'] [data-aos], [data-aos][data-aos][data-aos-delay='5000'] { transition-delay: 5000ms; } + + + +/* Custom scrollbar styles */ +/* For WebKit browsers (Chrome, Safari) */ +::-webkit-scrollbar { + width: 12px; /* Width of the scrollbar */ +} + +::-webkit-scrollbar-track { + background: #4D2B0020; /* Background of the scrollbar track */ +} + +::-webkit-scrollbar-thumb { + background: #4D2B0080; /* Color of the scrollbar thumb */ + border-radius: 0px; /* Rounded corners for the thumb */ +} + +::-webkit-scrollbar-thumb:hover { + background: #4D2B0090; /* Color of the thumb on hover */ +} + +/* For Firefox */ +scrollbar-width: thin; /* Makes the scrollbar thinner */ +scrollbar-color: #888 #f1f1f1; /* thumb color and track color */ diff --git a/assets/js/dropdown.js b/assets/js/dropdown.js new file mode 100644 index 0000000..3824120 --- /dev/null +++ b/assets/js/dropdown.js @@ -0,0 +1,16 @@ +const dropdownButtons = document.querySelectorAll('.dropdown-button'); + + dropdownButtons.forEach(button => { + button.addEventListener('click', (event) => { + const menu = button.nextElementSibling; + menu.classList.toggle('hidden'); + event.stopPropagation(); // Prevent the click event from bubbling up + }); + }); + + window.addEventListener('click', () => { + const dropdowns = document.querySelectorAll('.dropdown-menu'); + dropdowns.forEach(dropdown => { + dropdown.classList.add('hidden'); + }); + }); diff --git a/assets/js/popups.js b/assets/js/popups.js new file mode 100644 index 0000000..b984d36 --- /dev/null +++ b/assets/js/popups.js @@ -0,0 +1,51 @@ +document.addEventListener('DOMContentLoaded', function() { + // Function to close all popups + function closeAllPopups() { + const popups = document.querySelectorAll('[popupID]'); + popups.forEach(popup => { + popup.classList.remove('flex'); + popup.classList.add('hidden'); + }); + document.body.classList.remove('overflow-hidden'); // Remove overflow-hidden class from body + } + + // Function to open the popup + function openPopup(popupID) { + closeAllPopups(); // Close all other popups first + const popup = document.querySelector(`[popupID="${popupID}"]`); + if (popup) { + popup.classList.remove('hidden'); + popup.classList.add('flex'); + document.body.classList.add('overflow-hidden'); // Add overflow-hidden class to body + } + } + + // Function to close the popup + function closePopup(popupID) { + const popup = document.querySelector(`[popupID="${popupID}"]`); + if (popup) { + popup.classList.remove('flex'); + popup.classList.add('hidden'); + document.body.classList.remove('overflow-hidden'); // Remove overflow-hidden class from body + } + } + + // Event listener for buttons with popupAction + document.querySelectorAll('[popupAction]').forEach(button => { + button.addEventListener('click', function() { + const action = this.getAttribute('popupAction'); + const match = action.match(/(open|close)(.+)/); // Match open/close and the rest of the string + + if (match) { + const actionType = match[1]; // 'open' or 'close' + const popupBaseID = match[2]; // The part after 'open' or 'close' + + if (actionType === 'open') { + openPopup(popupBaseID); + } else if (actionType === 'close') { + closePopup(popupBaseID); + } + } + }); + }); +}); diff --git a/index.html b/index.html index 37ad5eb..5161b6d 100644 --- a/index.html +++ b/index.html @@ -26,19 +26,17 @@ <div class="w-full flex flex-row gap-[25px] justify-between p-[10px] flex-wrap"> <div class="max-w-[200px] min-w-[200px]"> <!-- <img src="./assets/images/logo.png" class=""></img> --> - <a href="/" class="font-bold text-2xl transition-all ease duration-[0.3s] hover:text-linkMain">Cellar Social</a> + <a href="index.html" class="font-bold text-2xl transition-all ease duration-[0.3s] hover:text-linkMain">Cellar Social</a> </div> <div class="grow-[1] flex flex-row gap-[50px] justify-end"> <div class="flex flex-row grow-[1] gap-[10px] text-base font-bold justify-end items-center max-lg:hidden"> + <div class="flex flex-row h-full justify-center items-center gap-[10px] cursor-pointer relative"> + <a href="search.html" class="px-[6px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2"> + <i class="bx bx-search"></i> + </a> + </div> <div class="flex flex-row gap-[10px] cursor-pointer relative"> - <button class="bg-bgMain text-bgMain2 px-[15] py-[3px]">Login</button> - <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-black/10"></span> - </div> - <div class="flex flex-row gap-[10px]"> - <!-- put user here --> - </div> - <div class="flex flex-row gap-[10px]"> - <!-- put cart here --> + <button class="px-[15] py-[3px] transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">Login</button> </div> </div> <div class="lg:hidden"> @@ -53,7 +51,7 @@ <div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative"> <div class="flex flex-row grow-[1] gap-[50px] justify-end items-center py-[10px] max-lg:hidden"> <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> - <p class="px-[10px]">Wine</p> + <p class="px-[10px]">Events</p> <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> <div class="h-[2px] w-full bg-bgMain"></div> </div> @@ -65,25 +63,25 @@ </div> </a> <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> - <p class="px-[10px]">Spirits</p> + <p class="px-[10px]">Coffe</p> <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> <div class="h-[2px] w-full bg-bgMain"></div> </div> </a> <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> - <p class=px-[10px]"">Coffee</p> + <p class=px-[10px]"">Spirits & Liqueurs</p> <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> <div class="h-[2px] w-full bg-bgMain"></div> </div> </a> <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> - <p class="px-[10px]">Misc</p> + <p class="px-[10px]">Wine</p> <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> <div class="h-[2px] w-full bg-bgMain"></div> </div> </a> <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> - <p class="px-[10px]">Events</p> + <p class="px-[10px]">Promotions</p> <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> <div class="h-[2px] w-full bg-bgMain"></div> </div> @@ -96,10 +94,10 @@ <!-- main navbar end --> <!-- main middle start --> - <div class="w-full flex flex-col grow-[1]"> + <div class="w-full flex flex-col grow-[1] pt-[100px]"> <!-- hero start --> - <div class="w-full flex flex-col gap-[25px] justify-center items-center relative h-[100vh] relative overflow-hidden border-b-[1px] border-bgMain2/15"> + <div class="w-full flex flex-col gap-[25px] justify-center items-center relative h-[calc(100vh-100px)] relative overflow-hidden border-b-[1px] border-bgMain2/15"> <!-- <img src="./assets/images/bghero.jpg" class="w-full h-full absolute inset-[0] object-cover opacity-[0.25]"></img> --> <div class="w-full h-full z-[-1] opacity-[0.2] absolute bg-gradient-to-t from-bgMain to-transparent"> <video src="https://video.nostr.build/bb4d7552229a1a31411936acad24e5be9cb5e86afa8c0ac213e5782005ef09fb.mp4" autoplay muted loop class="w-full h-full object-cover"></video> @@ -107,10 +105,15 @@ </div> <div class="w-full flex flex-col grow-[1] justify-end items-center"> <div class="max-w-[1400px] w-full grow-[1] flex flex-col justify-center items-center px-[10px] relative"> - <div class="w-full flex flex-col gap-[25px] grow-[1] justify-center items-center pt-[15vh]"> - <h1 data-aos="fade-down" data-aos-duration="2000" class="text-6xl font-[900] text-center">Your Drink, Your Thoughts, Your Freedom</h1> - <p data-aos="fade-down" data-aos-duration="1500" data-aos-delay="1500" class="text-2xl text-center px-[100px]">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> - <p class=""></p> + <div class="w-full flex flex-col gap-[35px] grow-[1] justify-center items-center pt-[15vh]"> + <h1 data-aos="fade-down" data-aos-duration="1500" class="text-6xl font-[900] text-center">Everyone's a Critic</h1> + <p data-aos="fade-down" data-aos-duration="2000" data-aos-delay="1000" class="text-2xl text-center px-[100px]">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> + <div data-aos="fade-down" data-aos-duration="2000" data-aos-delay="2000" class="w-full flex flex-row justify-center items-center"> + <a href="#searchSec" class="w-full max-w-[400px] px-[20px] py-[8px] font-bold bg-bgMain2 text-bgMain text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest"> + Search for a drink + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </a> + </div> </div> <div class="w-full h-[50vh] flex flex-row gap-[10px] mb-[10px] overflow-hidden max-lg:overflow-x-auto hide-scrollbar"> <a href="#" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="2500" class="min-w-[300px] grow-[1] h-full flex flex-col justify-end items-center relative overflow-hidden group"> @@ -289,7 +292,7 @@ <!-- listings end --> <!-- search start --> - <div class="w-full flex flex-col justify-center items-center bg-black/15 min-h-[60vh] relative"> + <div id="searchSec" class="w-full flex flex-col justify-center items-center bg-black/15 min-h-[60vh] relative"> <div class="max-w-[1400px] w-full grow-[1] flex flex-col justify-center items-center px-[10px]"> <div class="w-full flex flex-row gap-[50px]"> <div class="w-full flex flex-col gap-[25px]"> @@ -299,7 +302,7 @@ <div class="w-full flex flex-row"> <input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15"></input> </div> - <buttons class="flex flex-col justify-center items-center bg-bgMain2 text-white p-[10px] cursor-pointer relative group"><i class="bx bx-search "></i><span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span></buttons> + <buttons class="flex flex-col justify-center items-center bg-bgMain2 text-bgMain p-[10px] cursor-pointer relative group"><i class="bx bx-search "></i><span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span></buttons> </div> <!-- Idea here is if the user selects a product, then the box of selections for type appears, and once a type is select then style box of selections appear, and so on --> <div class="w-full flex flex-row gap-[25px] flex-wrap"> @@ -531,6 +534,7 @@ <!-- SCRIPTS START--> <script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.js"></script> + <script src="./assets/js/dropdown.js"></script> <script>AOS.init();</script> <!-- SCRIPTS END--> @@ -540,14 +544,5 @@ <div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative"></div> </div> --> - - <!-- - Dev design notes: - Main background color: #FFFDD0 - Overlaying elements color (cards, nav, footer, for example): #4D2B00 - Text color: #800020 - Link color: #FFD700 - Button color: #800080 - --> </body> </html> diff --git a/search.html b/search.html new file mode 100644 index 0000000..627c865 --- /dev/null +++ b/search.html @@ -0,0 +1,398 @@ +<html class="bg-bgMain min-h-screen flex flex-col scroll-smooth font-archivo"> + <head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no"> + <title>Cellar Social</title> + <link rel="icon" sizes="52x52" href="./assets/images/icon.png"> + <link rel="icon" sizes="52x52" href="./assets/images/icon.png"> + <link rel="icon" sizes="52x52" href="./assets/images/icon.png"> + <link rel="icon" sizes="52x52" href="./assets/images/icon.png"> + <link rel="icon" sizes="52x52" href="./assets/images/icon.png"> + <link rel="preconnect" href="https://fonts.bunny.net"> + <link href="https://fonts.bunny.net/css?family=playfair-display:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" /> + <link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'> + <script src="https://cdn.tailwindcss.com"></script> + <link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet"> + <script src="tailwind-config.js" defer></script> + <link rel="stylesheet" href="./assets/css/custom.css"> + <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" /> + </head> + + <body style="font-family: 'Playfair Display';" class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-textMain"> + <!-- main navbar start --> + <div class="w-full flex flex-col justify-start items-center bg-bgMain2 text-textMain2 absolute top-[0] z-[5]"> + <div class="w-full flex flex-col justify-center items-center relative"> + <div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative"> + <div class="w-full flex flex-row gap-[25px] justify-between p-[10px] flex-wrap"> + <div class="max-w-[200px] min-w-[200px]"> + <!-- <img src="./assets/images/logo.png" class=""></img> --> + <a href="index.html" class="font-bold text-2xl transition-all ease duration-[0.3s] hover:text-linkMain">Cellar Social</a> + </div> + <div class="grow-[1] flex flex-row gap-[50px] justify-end"> + <div class="flex flex-row grow-[1] gap-[10px] text-base font-bold justify-end items-center max-lg:hidden"> + <div class="flex flex-row h-full justify-center items-center gap-[10px] cursor-pointer relative"> + <a href="search.html" class="px-[6px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2"> + <i class="bx bx-search"></i> + </a> + </div> + <div class="relative inline-block"> + <div class="dropdown-button flex flex-row items-center cursor-pointer min-w-[50px] max-w-[200px] relative group"> + <img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-[30px] h-[30px] object-cover bg-black/50"></img> + <p class="overflow-hidden whitespace-nowrap text-ellipsis px-[15] py-[3px] transition-all ease duration-[0.3s] group-hover:bg-bgMain group-hover:text-bgMain2">Username</p> + </div> + <div class="dropdown-menu absolute right-0 mt-2 bg-bgMain p-[5px] flex flex-col gap-[5px] w-full text-bgMain2 text-sm z-[1] shadow-lg hidden"> + <a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Profile</a> + <a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Settings</a> + <a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Logout</a> + </div> + </div> + </div> + <div class="lg:hidden"> + <button class="flex flex-col justify-center items-center"> + <i class="bx bx-menu text-3xl"></i> + </button> + </div> + </div> + </div> + </div> + <div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10"> + <div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative"> + <div class="flex flex-row grow-[1] gap-[50px] justify-end items-center py-[10px] max-lg:hidden"> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class="px-[10px]">Events</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class="px-[10px]">Sake</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class="px-[10px]">Coffe</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class=px-[10px]"">Spirits & Liqueurs</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class="px-[10px]">Wine</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + <a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group"> + <p class="px-[10px]">Promotions</p> + <div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]"> + <div class="h-[2px] w-full bg-bgMain"></div> + </div> + </a> + </div> + </div> + </div> + </div> + </div> + <!-- main navbar end --> + + <!-- main middle start --> + <div class="w-full flex flex-col grow-[1] pt-[100px]"> + + <!-- listings start --> + <div class="w-full flex flex-col justify-center items-center"> + <div class="max-w-[1400px] w-full grow-[1] flex flex-col justify-center items-center px-[10px] relative"> + <div class="w-full flex flex-col gap-[50px] py-[100px] items-center"> + <!-- listings list start --> + <div class="w-full flex flex-col gap-[10px]"> + <div class="flex flex-row gap-[10px] items-center justify-between"> + <p class="font-bold text-xl">Searching: <span class="font-normal">exampleText</p> + <div class="w-full max-w-[500px] flex flex-row"> + <div class="w-full flex flex-row"> + <input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15"></input> + </div> + <buttons class="flex flex-col justify-center items-center bg-bgMain2 text-bgMain p-[10px] cursor-pointer relative group"><i class="bx bx-search "></i><span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span></buttons> + </div> + </div> + <div class="relative flex flex-col items-start"> + <p class="font-bold text-base bg-bgMain px-[10px] py-[3px] mb-[-15px] ml-[15px] z-[1]">Filters</p> + <div class="w-full flex flex-row gap-[10px] flex-wrap p-[15px] border-[3px] border-bgMain2"> + <button popupAction="openFilterSearch" class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Product: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Wine</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Type: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">White</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Style: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Table</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Characteristic: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Textural / Light Aromatic</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Country: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Armenia</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Region: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">East-Europe</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Sub-Region: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">...</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Village: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">...</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Vineyard: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">...</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Producer: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">...</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative"> + <p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Label: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">...</span></p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + </div> + </div> + </div> + <div class="w-full grid grid-cols-4 gap-[5px] max-lg:grid-cols-3 max-md:grid-cols-2 max-xs:grid-cols-1"> + <!-- listing item start --> + <div class="w-full flex flex-col gap-[5px]"> + <div class="w-full flex flex-col gap-[5px]"> + <div class="flex flex-col grow-[1] relative overflow-hidden aspect-square bg-bgMain2 group"> + <img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img> + <div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm"> + <div class="grow-[1] flex flex-col gap-[25px]"> + <p class="text-xl font-bold">Product Title</p> + <div class="line-clamp-3"> + <p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> + </div> + </div> + <div class="w-full border-t-[2px] border-bgMain pt-[15px] text-base font-bold flex flex-row gap-[10px] flex-wrap"> + <p class="px-[10px] py-[5px] grow-[1] bg-bgMain text-bgMain2">Type: Wine</p> + <p class="px-[10px] py-[5px] grow-[1] bg-bgMain text-bgMain2">Style: Amber</p> + </div> + </div> + </div> + <a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest"> + Product Title + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </a> + </div> + </div> + <div class="w-full flex flex-col gap-[5px]"> + <div class="w-full flex flex-col gap-[5px]"> + <div class="flex flex-col grow-[1] relative overflow-hidden aspect-square bg-bgMain2 group"> + <img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img> + <div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm"> + <div class="grow-[1] flex flex-col gap-[25px]"> + <p class="text-xl font-bold">Product Title</p> + <div class="line-clamp-3"> + <p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p> + </div> + </div> + <div class="w-full border-t-[2px] border-bgMain pt-[15px] text-base font-bold flex flex-row gap-[10px] flex-wrap"> + <p class="px-[10px] py-[5px] grow-[1] bg-bgMain text-bgMain2">Type: Wine</p> + <p class="px-[10px] py-[5px] grow-[1] bg-bgMain text-bgMain2">Style: Amber</p> + </div> + </div> + </div> + <a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest"> + Product Title + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </a> + </div> + </div> + <!-- listing item end --> + </div> + <!-- listings list start --> + + <!-- Pagination start --> + <div class="w-full flex flex-col justify-center items-center"> + <div class="max-w-[300px] flex flex-row gap-[15px] justify-center items-center"> + <button class="h-full flex flex-col justify-center items-center px-[8px] transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain"> + <i class="bx bxs-chevron-left text-3xl"></i> + </button> + <div class="grow-[1] flex flex-row gap-[10px] overflow-auto hide-scrollbar"> + <button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center bg-bgMain2 text-bgMain relative"> + <p class="">1</p> + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </button> + <button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center relative transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain"> + <p class="">2</p> + </button> + <button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center relative transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain"> + <p class="">3</p> + </button> + </div> + <button class="h-full flex flex-col justify-center items-center px-[8px] transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain"> + <i class="bx bxs-chevron-right text-3xl"></i> + </button> + </div> + </div> + <!-- Pagination end --> + + </div> + </div> + </div> + <!-- listings end --> + + </div> + <!-- main middle end --> + + <!-- main footer start --> + <div class="w-full flex flex-col justify-center items-center bg-bgMain2 text-textMain2"> + <div class="w-full flex flex-col justify-center items-center"> + <div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative"> + <div class="w-full py-[50px] flex flex-row gap-[50px] flex-wrap"> + <div class="flex flex-col gap-[15px] justify-start items-start"> + <p class="">Drinks</p> + <div class="flex flex-row gap-[15px] justify-start items-start flex-wrap"> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Wine</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Wine</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Sake</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Sake</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Spirits</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Spirits</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Coffee</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Coffee</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Misc</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Misc</p></div> + </a> + </div> + </div> + <div class="flex flex-col gap-[15px] justify-start items-start"> + <p class="">Pages</p> + <div class="flex flex-row gap-[15px] justify-start items-start flex-wrap"> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Events</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Events</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">About</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">About</p></div> + </a> + </div> + </div> + <div class="flex flex-col gap-[15px] justify-start items-start"> + <p class="">Legal</p> + <div class="flex flex-row gap-[15px] justify-start items-start flex-wrap"> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Terms of Service</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Terms of Service</p></div> + </a> + <a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group"> + <div class="py-[5px]"><p class="px-[15px]">Privacy Policy</p></div> + <div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Privacy Policy</p></div> + </a> + </div> + </div> + </div> + </div> + </div> + <div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10"> + <div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative"> + <div class="w-full p-[15px] flex flex-col justify-center items-center"> + <p class="">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p> + </div> + </div> + </div> + </div> + <!-- main footer end --> + + <!-- popups start --> + <div popupID="FilterSearch" class="fixed inset-[0] z-[90] bg-black/25 backdrop-blur-sm hidden flex-col justify-start items-center py-[25px] overflow-auto"> + <div class="max-w-[1400px] w-full flex flex-col justify-start items-center px-[10px] relative"> + <div class="w-full flex flex-col justify-start items-center"> + <div class="w-full max-w-[500px] justify-start items-center"> + <div class="w-full bg-bgMain p-[15px] shadow-lg gap-[5px]"> + <div class="flex flex-row justify-between items-center gap-[10px] pb-[5px] border-b-[1px] border-b-bgMain2/25"> + <p class="font-bold text-lg">Product Filter</p> + <button popupAction="closeFilterSearch" class="transition-all ease duration-[0.3s] py-[3px] px-[8px] hover:bg-bgMain2 hover:text-bgMain"> + <i class="bx bx-x text-xl"></i> + </button> + </div> + <div class="w-full flex flex-col pt-[10px]"> + <!-- popup x start --> + <div class="w-full flex flex-col gap-[15px]"> + <div class="w-full max-w-[500px] flex flex-row"> + <div class="w-full flex flex-row"> + <input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15"> + </div> + </div> + <div class="w-full flex flex-row gap-[10px] flex-wrap overflow-auto max-h-[500px]"> + <div class="relative bg-black/5 group"> + <input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer"> + <div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Wine</label></div> + </div> + <div class="relative bg-black/5 group"> + <input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer"> + <div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Sake</label></div> + </div> + <div class="relative bg-black/5 group"> + <input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer"> + <div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Spirit</label></div> + </div> + <div class="relative bg-black/5 group"> + <input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer"> + <div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Coffee</label></div> + </div> + <div class="relative bg-black/5 group"> + <input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer"> + <div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Misc</label></div> + </div> + </div> + <div class="w-full flex flex-row pt-[10px] border-t-[1px] border-bgMain2/25"> + <buttons class="w-full flex flex-col justify-center items-center bg-bgMain2 text-bgMain text-base font-bold whitespace-nowrap px-[10px] py-[10px] cursor-pointer relative group"> + Set Filter + <span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span> + </buttons> + </div> + </div> + <!-- popup x end --> + </div> + </div> + </div> + </div> + </div> + </div> + <!-- popups end --> + + <!-- SCRIPTS START--> + <script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.js"></script> + <script src="./assets/js/dropdown.js"></script> + <script src="./assets/js/popups.js"></script> + <script>AOS.init();</script> + <!-- SCRIPTS END--> + + <!-- + reusables: sec and container + <div class="w-full flex flex-col gap-[25px] py-[50px] items-center"> + <div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative"></div> + </div> + --> + </body> +</html>