@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* Theme colors */

:root {
  --font: "Poppins", sans-serif;
  --primary-button-color: #212528;
  --primary-button-hover-color: #444444; 
  --primary-button-text-color: #eeeeee;
  --secondary-button-color: #e6e6e6;
  --secondary-button-hover-color: #dddddd;
  --secondary-button-text-color: #303030;
  --background-color: #ffffff;
  --cards-bg-color: #f4f6f8;
  --primary-text-bg-hover-color: #dddddd;
  --border-color: #bebebe;
  --primary-text-color: #171717;
  --secondary-text-color: #3f3f3f;
  --placeholder-color: #747474;
  --success-color: #67cbf3;
  --warning-color: #ffd597;
  --warning-2-color: #ff6600;
  --input-field-color: #e7eaee;
  --input-field-focus-color: #d6d6d6;
  --img-filter: invert(0);
  --img-filter-2: invert(1);
}

.dark-theme {
  --primary-button-color: #f9f9ff;
  --primary-button-hover-color: #c2eaba; 
  --primary-button-text-color: #232323;
  --secondary-button-color: #bebebe;
  --secondary-button-hover-color: #e6e6e6;
  --secondary-button-text-color: #08101b;
  --background-color: #2c2c2c;
  --cards-bg-color: #222222;
  --primary-text-bg-hover-color: #4a5058;
  --border-color: #515152;
  --primary-text-color: #dcdcdc;
  --secondary-text-color: #d1d1d1;
  --placeholder-color: #E9ECEF;
  --success-color: #67CBF3;
  --warning-color: #FFD597;
  --warning-2-color: #ff8b3e;
  --input-field-color: #2e2e2e;
  --input-field-focus-color: #3d3d3d;
  --img-filter: invert(1);
  --img-filter-2: invert(0);
}

.custom-cursor {
  position: absolute;
  width: 80px;
  height: 80px;
  background-color: #dbdbdba2;
  backdrop-filter: blur(5px);
  border-radius: 50%;
  color: #171717;
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}

/* HTML */

html{
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body{
    background-color: var(--background-color);
    font-family: var(--font);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    user-select: none;
    margin: 0px;
    transition: all 0.4s;
    overflow-y: scroll; 
    overflow-x: hidden; 
}

::-webkit-scrollbar{
  background-color: var(--background-color);
  width: 5px;
}
::-webkit-scrollbar-thumb{
  background-color: var(--border-color);
}
::selection {
  color: var(--primary-button-text-color);
  background: var(--primary-button-color);
}

.tabcontent {
  display: none;
  padding: 6px 12px;
  animation: fadeEffect 1s;
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

.material-symbols-rounded {
  font-variation-settings:
  'FILL' 0,
  'wght' 300,
  'GRAD' 100,
  'opsz' 24;
  transition: all 0.3s;
  color: var(--secondary-text-color);
}

span.home, span.search, span.user-form, span.cart, span.back, span.products, span.menuicon{
    vertical-align: middle;
    font-size: 30px;
}

#icon-logo{
    text-align: center;
    margin-bottom: 100px;
    cursor: pointer;
}

#icon-home, #icon-search, #icon-form, #icon-cart, #menu-button{
    margin:0px 15px;
    text-align: center;
    cursor: pointer;
}


.groupnav div:hover .material-symbols-rounded {
  font-variation-settings:
  'FILL' 1,
  'wght' 600,
  'GRAD' 100,
  'opsz' 24;
  color: var(--primary-button-color);
}

/* Navbar */
#nav-rec{
  z-index: -100;
  height: 100px;
  width: 100%;
  position: fixed;
  top: 0px;
  opacity: 0;
}

#nav-rec.show{
  z-index: -100;
  background-color: var(--background-color);
  height: 100px;
  width: 100%;
  position: fixed;
  top: 0px;
  opacity: 1;
}

.groupnav p{
  display: block;
  font-size: 14px;
  margin: 0;
  color: var(--secondary-text-color);
}

.groupnav{
  display: flex;
  flex-direction: row;
  margin-right: 30px;
  animation: groupnav 1s;
  padding: 8px 10px;
  border-radius: 14px;
  transition: all 0.4s;
}
@keyframes groupnav{
  from {opacity: 0;}
  to {opacity: 1;}
}

#topnavbar{
  position: fixed;
  width: 100%;
  padding: 30px 0px 10px;
  top: 0;
  right: 0;
  z-index: 1;
}

.topnav{
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}

#back-button{
  text-align: center;
  color: var(--secondary-text-color);
  padding:0px 20px;
  cursor: pointer;
  margin-left: 30px;
}
#back-button-text{
  display: block;
}

#topnav-text{
  font-size: 20px;
  padding: 10px;
  color: var(--secondary-text-color);
}

.speech-bubble {
  display: none;
  position: fixed;
  top: 60px;
  right: 0px;
  background: #171717;
  border-radius: 10px;
  color: #eeeeee;
  width: 180px;
  margin: 50px;
  text-align: center;
}

.speech-bubble::after {
  content: '';
  position: absolute;
  top: 0;
  left: 80px;
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-bottom-color: #171717;
  border-top: 0;
  margin-left: -10px;
  margin-top: -10px;
}

span.cart {
  transition: all 0.3s ease;
}

span.cart.sb {
  color: var(--secondary-text-color);
}

#icon-cart {
  transition: all 0.4s;
}

#icon-cart.sb {
  background-color: var(--primary-text-bg-hover-color);
  border-radius: 50%;
}


.tab{
  position: relative;
  margin-top: 120px;
}

.cart-gallery {
  max-width: 100%;
  margin-bottom: 100px;
  animation: fadeEffect 1s;
}
#cart-img-div{
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 430px;
  width: 100%;
}
#cart-img-div img{
  width: 100%;
  height: auto;
  border-radius: 10px;
  cursor: pointer;
}

#cart-main-grp{
  display: flex;
  justify-content: center;
  flex-direction: row;
}

#cart-img-grp{
  max-width: 740px;
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: var(--cards-bg-color);
  padding: 10px;
  border-radius: 20px;
  margin: 5px;
}

#cart-grp-options{
  position: relative;
  display: flex;
  flex-direction: column;
}
#cart-grp-options p{
  margin: 5px;
  color: var(--primary-text-color);
}

#checkbox-div{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

#checkbox-div div{
  color: var(--primary-text-color);
  margin: 2px;
  width: 150px;
}

#q-i-n-inf{
  background-color: var(--input-field-color);
  font-family: var(--font);
  box-sizing: border-box;
  padding: 10px;
  width: 100%;
  border: none;
  transition: all 0.4s;
  outline: none;
  border-radius: 10px;
}

#cart-note{
  margin-top: 10px;
  height: 100px;
  resize: none;
  outline: none;
  border: none;
  font-family: var(--font);
  padding: 10px;
  background-color: var(--input-field-color);
  border-radius: 10px;
}

/* Style for default checkbox */
#checkbox-div input[type="checkbox"] {
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 15px;
  height: 15px;
  top: 5px;
  border: 2px solid #999; /* Change border color */
  border-radius: 50%;
  outline: none;
  cursor: pointer;
  transition: all 0.4s;
}

/* Checked state style */
#checkbox-div input[type="checkbox"]:checked {
  background-color: var(--primary-button-color);
  border: 2px solid var(--primary-button-color); /* Change background color when checked */
}

/* Hide default tick icon */
#checkbox-div input[type="checkbox"]::before {
  content: ''; /* Remove default tick icon */
}

#checkbox-div label{
  cursor: pointer;
}

.remove-button {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 130px;
  font-family: var(--font);
  font-size: 15px;
  background-color: #d4d4d4;
  border: none;
  color: #171717;
  padding: 8px 16px;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.4s;
}

.remove-button:hover {
  background-color: var(--warning-color);
}

.cart-gallery button{
display: flex;
vertical-align: middle;
}


@media screen and (max-width: 600px) {
  #cart-img-grp{
    display: flex;
    flex-direction: column;
  }
}

#search-gallery div{
  display: block !important ;
}

#search-gallery {
  display: grid;
  gap: 10px;
  max-width: 100%;
  margin-bottom: 100px;
}

#search-gallery div img {
  display: flex;
  width: 100%;
  height: auto;
  cursor: zoom-in;
  border-radius: 10px;
  animation: search-img 0.4s;
}
@keyframes search-img{
  from {opacity: 0; transform: scale(0.9);}
  to {opacity: 1; transform: scale(1);}
}


.gallery, .Collab-Collection, .Event-Collection, .Event-Collection_df{
  position: relative;
  display: grid;
  gap: 10px;
  max-width: 100%;
  float: right;
  width: calc(100% - 270px);
  animation: fadeEffect 1s;
  }
  
  .gallery img, .Collab-Collection img , .Event-Collection img, .Event-Collection_df img{
    display: flex;
    width: 100%;
    height: auto;
    cursor: pointer;
    transition: all 0.6s ease;
  }

.image-container {
  position: relative;
  overflow: hidden;
  margin: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(to right, #f6f7f8 4%, #e4e4e4 25%, #f6f7f8 36%);
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}


  /* cart button */

.image-container span{
  vertical-align: middle;
}

#add-to-cart-btn-con {
  position: absolute;
  right: 20px;
  bottom: 20px;
  padding: 8px 15px;
  width: 110px;
  color: #171717;
  background-color: #dddddd;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  vertical-align: middle;
}

span.gq{
  color: #171717;
}

  #add-to-cart-btn-con:hover{
    background-color:  #d6d6d6;
  }
  
  
    /* gallery media quirey */
  
  @media screen and (min-width: 300px) {
    .gallery , .Collab-Collection, .Event-Collection, .Event-Collection_df{
      grid-template-columns: repeat(1, 1fr);
    }
  }
  
  @media screen and (min-width: 800px) {
    .gallery , .Collab-Collection, .Event-Collection, .Event-Collection_df{
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (min-width: 1200px) {
    .gallery , .Collab-Collection, .Event-Collection, .Event-Collection_df{
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media screen and (min-width: 1600px) {
    .gallery , .Collab-Collection, .Event-Collection, .Event-Collection_df{
      grid-template-columns: repeat(4, 1fr);
    }
  }

  /* Search images and cart images media query */
  
  @media screen and (min-width: 300px) {
    .cart-gallery, #search-gallery {
      grid-template-columns: repeat(1, 1fr);
    }
  }
  
  @media screen and (min-width: 600px) {
    .cart-gallery, #search-gallery {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media screen and (min-width: 900px) {
    .cart-gallery, #search-gallery {
      grid-template-columns: repeat(3, 1fr);
    }
  }
  
  @media screen and (min-width: 1500px) {
    .cart-gallery, #search-gallery {
      grid-template-columns: repeat(4, 1fr);
    }
  }


  #green-background {
    position: absolute;
    right: 20px;
    bottom: 20px;
    width: 110px;
    padding: 8px 15px;
    background-color: #171717;
    color: #eeeeee;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
  }


span.remove-btn{
  color: #171717;
  margin-right: 4px;
}

span.add{
  color: #eeeeee;
  margin-right: 4px;
}

#cart-float-button{
  display: block;
  height: 60px;
  width: 100%;
  position: sticky;
  top: 100px;
  z-index: 10;
  padding: 10px 0px;
  margin-right: 30px;
}

#cart-float-text{
  display: block;
  color: var(--secondary-text-color);
  padding: 10px 40px 10px 10px;
}

#cart-options{
  float: right;
  display: flex;
  align-items: center;
  height: 50px;
  width: fit-content;
  background-color: var(--cards-bg-color);
  border-radius: 30px;
  padding: 2px 8px;
}

#cart-remove-button{
  font-family: var(--font);
  border: none;
  padding: 8px 16px;
  transition: all 0.4s;
  background-color: var(--cards-bg-color);
  color: var(--warning-2-color);
  cursor: pointer;
}

#getQuoteBtn{
  font-family: var(--font);
  font-weight: 500;
  padding: 10px 20px;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  color: var(--primary-button-text-color);
  background-color: var(--primary-button-color);
  transition: all 0.5s;
}

#getQuoteBtn:hover{
  background-color: var(--primary-button-hover-color);
}


/* Products Tab */
#sidebar-container-fabric, #sidebar-container-design {
  display: block; /* Always visible */
}

#header-img-cc{
  display: block;
  z-index: 10;
  height: 200px;
  width: 200px;
  margin: 20px;
  border-radius: 10px;
}


#sidebar{
  display: block;
  position: fixed;
  left: 0;
  width: 260px;
  height: 90%;
  top: 100px;
  overflow: auto;
  background-color: var(--cards-bg-color);
  list-style-type: none;
}

#sidebar ul{
  list-style-type: none;
  padding: 0px;
}

#sidebar ul li{
  width: 100%;
}

#sidebar ul li a{
  display: block;
  color: var(--secondary-text-color);
  font-size: 15px;
  cursor: pointer;
  padding: 8px 20px;
  transition: all 0.4s;
}

#sidebar ul li a:hover{
  background-color: var(--primary-text-bg-hover-color);
}

#sidebar ul li a.active {
  color: var(--primary-button-text-color);
  background-color: var(--primary-button-color);
}

#mobile-sidebar-button {
  display: none; /* Initially hidden */
}

#sidebar-close-button {
  display: none; /* Initially hidden */
}

/* Search Tab */

#search-page {
  max-width: 400px;
  margin: 0px auto 30px;
}

#search-container{
  display: flex;
  margin: 0 auto;
  max-width: 300px;
  width: 100%;
  background-color: var(--input-field-color);
  border-radius: 10px;
  overflow: hidden;
}

#searchInput{
  padding: 15px 20px;
  width: 280px;
  box-sizing: border-box;
  font-family: var(--font);
  outline: none;
  border: none;
  background-color: var(--input-field-color);
  border-bottom: 2px solid transparent;
  transition: all 0.4s;
}
#searchInput::placeholder{
  color: var(--placeholder-color);
}

#searchInput:focus{
  border-bottom: 2px solid var(--primary-button-color);
}

#suggestions{
  background-color: var(--cards-bg-color);
  color: var(--secondary-text-color);
  padding: 10px;
  border-radius: 10px;
  overflow: hidden;
  width: auto;
  height: auto;
  animation: modal-2 0.5s;
}

.suggestion {
  cursor: pointer;
  padding: 8px 10px;
  border-radius: 10px;
  transition: all 0.4s;
}

.suggestion:hover {
  background-color: var(--background-color);
}
.selected {
  background-color: var(--background-color);
}

#searchButton{
  background-color: var(--primary-button-color);
  outline: none;
  border: none;
  transition: all 0.4s;
  float: right;
}
#searchButton span{
  color: var(--primary-button-text-color);
}

#searchButton:hover{
  background-color: var(--primary-button-hover-color);
}

#text{
  text-align: center;
}

.overlay-text {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-button-color);
  background: linear-gradient(45deg, #212528, #212528, #3501d1, #212528, #212528);
  background-position: 100% 50%;
  background-size: 300% 100%;
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 14px;
  animation: overlaytext 3s linear infinite;
}

@keyframes overlaytext {
  0% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}