/* navbar */
:root{
  --background-color: rgba(0, 128, 255, 0.7);
  --text-color: #fff9f9;
  --button-color: rgb(16, 146, 16);
  --button-color-dark: rgb(42, 154, 42);
  --bg-footer: linear-gradient(to bottom, #53a8fd, #0066cc);
  --heading-font-style : 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;

}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.nav-wrapper {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background-color: rgba(0, 128, 255, 0.7);
  /* background: url('Images\banner_images\base-poster-crop.jpg'); */
}

.nav-wrapper.scrolled {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  background-color: var(--background-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  }
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&display=swap');
.nav-top {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 60px;
  b{
    font-size: 30px;
    /* font-family: "Homemade Apple", cursive; */
    font-family: var(--heading-font-style);
    color: var(--text-color);
    margin-left: -10px;
  }
}
.logo{
  margin-left: -40px;
  margin-right: 50px;
  img{
    height: 90px;
    width: 90px;
  }
}


.search-container {
  width: 500px;
  margin: 0 40px;
  position: relative;
  border-color: var(--text-color);
}

.search-input {
  width: 100%;
  padding: 10px 40px 10px 15px;
  border: 1px solid var(--text-color);
  border-radius: 5px;
  font-size: 14px;
  left: 20px;
  height: 35px;
  outline: none;
}

.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right:0px;
  top: 43%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  height: 54%;
  width: 45px;
  background-color: var(--button-color);
  border-radius: 0px 5px 5px 0px;
  svg{
    color: var(--text-color);
  }
}

/* profile and cart */
.carts {
  margin-left: 40px;
}

.carts a {
  display: flex;
  align-items: center;
  position: relative;
  text-decoration: none;
}

.carts svg {
  color: var(--text-color);
  height: 30px;
  width: 30px;
}

.carts sup > .icon-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  display: inline-block;
  height: 18px;
  width: 18px;
  background-color: var(--button-color);
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  text-align: center;
  line-height: 18px;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Slight shadow */
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

/* Hover effect applied only to the sup tag (badge) */
.carts a:hover .icon-badge {
  transform: scale(1.2); /* Slight zoom effect on the badge */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
  background-color: var(--button-color-dark); /* Optional: Change the background color on hover */
}


/* profile */
@import url('https://fonts.googleapis.com/css2?family=Homemade+Apple&family=Lobster&display=swap');
.profile {
  margin-left: 40px;
  display: flex; 
  align-items: center;
  gap: 10px;

.profile img {
  width: 40px;
  height: 40px;
  border-radius: 50%; 
}
}

.profile a {
  color: var(--text-color);
  font-size: 20px;
  /* font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif; */
  font-family: var(--heading-font-style);
  text-shadow: 2px 2px 7px rgba(0, 0, 0, 0.7); /* Enhanced shadow for visibility */
  text-decoration: none; /* Remove underline */
  transition: font-size 0.3s ease, color 0.3s ease, text-shadow 0.3s ease; }


.profile span {
  font-size: 20px;
}


/* profile end */





.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.language-select {
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
}

.sign-in-btn {
  color: #0080ff;
  background: none;
  border: none;
  cursor: pointer;
}

.post-ad-btn {
  background: #22c55e;
  color: var(--text-color);
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

.post-ad-btn:hover {
  background: #16a34a;
}

.popular-searches {
  padding: 10px 0;
  font-size: 14px;
  color: #666;
}

.popular-searches a {
  color: #0080ff;
  text-decoration: none;
  margin-left: 10px;
}

.hero-section {
  height: 40vh;
  position: relative;
  background: linear-gradient(to bottom, #53a8fd, #0066cc);
  overflow: hidden;
}

.city-background {
  position: absolute;
  /* top: 0;
  left: 0; */
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  /* padding: 0 20px; */
  text-align: center;
  padding-top: 100px;
  color: white;
}

.hero-title {
  font-size: 36px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

@media (max-width: 768px) {
  .nav-top {
      flex-direction: column;
      height: auto;
      padding: 10px 0;
  }

  .search-container {
      margin: 10px 0;
      width: 100%;
  }

  .nav-actions {
      width: 100%;
      justify-content: space-between;
  }
}


/* end nav bar  */

    
.welcomediv{
    color: #FFFFFF;
    width: 604px;
height: 218px;
top: 161px;
left: 60px;
gap: 0px;
opacity: 0px;

}
.welcomediv>h2{
    font-weight: 600;
}




/* Categories Bar */
.categories-bar {
  background-color: var(--text-color);
  margin-top: 0;
  font-size: 16px;
  position: sticky;
  top: 58px;
  z-index: 999;
  height: 40px;
  border-bottom: 0.2px solid rgb(241, 232, 232);
}



.category-item {
  cursor: pointer;
  padding: 5px 10px;
  transition: all 0.3s ease;
  background: transparent;
  color: rgb(92, 83, 83);
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.category-item:hover {
  color: var(--background-color);
}

.category-item.selected {
  color: var(--background-color);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .categories-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }


  .category-item {
    font-size: 14px;
  }
}

.categories-bar.sticky {
  position: fixed;
  top: 50px; /* Adjust based on navbar height */
  width: calc(100% - 250px); /* Ensure space for the sidebar */
  left: 250px;
  z-index: 1000;
}

/* end catagory bar */

/*    MAIN BODY     */
.container-main {
  display: flex;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  
  /* border: 1px red solid; */
}

.aside {
  flex: 0 0 230px;
  display: flex;
  flex-direction: column;
  padding: 20px;
  height: 82vh;
  border: 1px solid rgba(0, 0, 0, 0.1); 
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.1);
  border-radius: 1px;
  margin-bottom: 20px 0px 0px;
  overflow-y: scroll;
  /* margin: 10px; */
}
.aside{
  position: sticky;
  top: 100px;

}
::-webkit-scrollbar {
  display: none; 
}
.category {
  margin-bottom: 10px;
}
/* .subcategoryDiv{
  background-color: red;
  border: 0px ;
} */
.category {
  /* margin-bottom: 15px; */
  /* background-color: #fafafa; */
  /* border: 1px solid #e0e0e0; */
  /* border-radius: 6px; */
  cursor: pointer;
  transition: all 0.3s ease;
  p{
    margin-bottom: 0px;
    background-color: #e0e0e0;
    padding: 10px;

  }
}

.category:hover {
  /* background-color: #f0f0f0; */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Headers Container */
.headers {
  margin-top: 10px;
  /* padding: 10px; */
  /* background-color: #f9f9f9; */
  /* border: 1px solid #ddd; */
  border-radius: 6px;
  display: none;
}

/* Individual Subcategory Styling */
.headers div {
  margin-bottom: 10px;
  /* padding: 8px; */
  background-color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  color: blue;
  font-family: var(--heading-font-style);
  margin-left: 10px;
  padding-right: 10px;
}

.headers div:hover {
  /* background-color: #e9e9e9; */
  /* border-color: #ccc; */
  color: var(--background-color);
}

/* Text Styling */
.category, .headers div {
  font-size: 1rem;
  color: #333;
}
.category .headers div:hover {
  font-size: 17px;
}


/* ..................... */

/* ....................... */
.container-main-right {
  /* flex: 1; */
  background-color: #ffffff;
  overflow: hidden;
  overflow: auto;

}

/*    END MAIN BODY    */




/* footer div */
.footer_div{

background: linear-gradient(to top, #53a8fd, #0066cc);
padding: 50px 0;
}
.footer_div>.footer_value{
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;

}
.footer_nav>ul ,a{
  list-style-type: none;
  /* color:white; */
  text-decoration: none;
  
}
.footer_nav{
  display: flex;
}
.footer_nav>.footer_ul{
  margin: 0 !important;
}
.footer_nav>.footer_ul>li{
  padding: 10px;
}
.footer_nav>.footer_ul>li>a{
  color:white;
  /* padding: ; */
  margin-bottom: 0px;
}
.footer_nav>.footer_ul>li>h6{
  color: white;
  font-weight: 600;
}
.follow_us>h6{
  text-align: center;
  color: white;
  font-size: 16px;
  font-weight: 600;
}
.follow_us>ul{
  display: flex;
  text-align: center;
  list-style-type: none;
}
.follow_us>ul>li{
  /* padding: 10px; */
  margin: 10px;
  border-radius: 50px;
  
}
.follow_us{
  li:hover{
    background-color: var(--button-color);
  }
}