.navbar {
  background: linear-gradient(to right, #874f47 0%, #874F47 43%, #BA9682 63%, #B17368 76%, #BA9682 90%, #B17368 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 10px 0;
  /* Increased padding for more height */
  width: 100vw;
  z-index: 999;
  position: fixed;
  min-height: 70px;
  /* Set a minimum height for the navbar */
  display: flex;
  align-items: center;
  /* Center all items vertically */
}

.containerr {
  width: 100%;
  display: flex;
  justify-content: end;
  align-items: center;
  position: relative;
  padding-right: 100px;
  height: 100%;
}

.logo {
  position: absolute;
  top: 10px;
  left: 100px;
  z-index: 50;
}

.logo-image {
  width: 112px;
  border-radius: 8px;
}

/* Responsive Styles */
@media (max-width: 768px) {

  /* Tablet and smaller screens */
  .containerr {
    padding-right: 50px;
    /* Reduce padding for smaller screens */
  }

  .logo {
    top: 15px;
    left: 100px;
    /* Adjust position for smaller screens */
  }

  .logo-image {
    width: 90px;
    /* Slightly smaller logo for smaller screens */
  }
}

@media (max-width: 480px) {

  /* Mobile screens */
  .containerr {
    /* Stack elements vertically if needed */
    justify-content: space-between;
    padding: 5px 20px;
    /* Minimal padding for mobile */
  }

  .logo {
    position: relative;
    /* Allow the logo to flow naturally in the layout */
    top: 0;
    left: 0;
    margin-bottom: 10px;
    /* Add spacing between elements */
  }

  .logo-image {
    width: 50px;
    /* Smaller logo for mobile */
  }
}

.nav-links {
  margin-top: 0;
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-link {
  /* color: #fff; */
  text-decoration: none;
  font-size: 16px;
  transition: transform 0.3s ease, text-decoration 0.3s ease;
}

.nav-link:hover {
  color: white;
  transform: scale(1.2);
  /* Zoom effect */
  text-decoration: underline;
  /* Add underline */
  text-decoration-color: white;
  /* Ensures the underline is white */
  text-decoration-thickness: 2px;
  /* Optional: Adjust underline thickness */
}

.nav-link::after {
  background-color: black;
  height: 10px;
  width: 30px;
}

.dropdown {
  position: relative;
}

.dropdown-1 {
  position: relative;
}

.dropdown-2 {
  position: relative;
}

.dropdown-btn {
  background: none;
  border: none;
  /* color: #fff; */
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 16px;
}

.dropdown-menu {
  z-index: 10;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #B17368;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu-1 {
  z-index: 10;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #B17368;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-menu-2 {
  z-index: 10;
  position: absolute;
  top: 100%;
  background-color: #B17368;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.dropdown-nested {
  position: relative;
}

.dropdown-nested .dropdown-menu-1 {
  left: 100%;
  top: 0;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
}

.dropdown-1:hover .dropdown-menu-1 {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  .dropdown-2:hover .dropdown-menu-2 {
    opacity: 1;
    visibility: visible;
  }

  .dropdown-menu-2 {
    left: 150px;
  }
}

.dropdown-item {
  color: #fff;
  padding: 10px 10px;
  width: 150px;
  text-decoration: none;
  display: block;
}

.dropdown-item:hover {
  background-color: #9f736b;
  color: black;
}

.basket-icon .icon {
  width: 24px;
  height: 24px;
  color: #fff;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 51;
}

.hamburger .bar {
  width: 20px;
  height: 3px;
  background-color: #fff;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #9e6258;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    gap: 15px;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
    z-index: 10;
  }

  .hamburger {
    display: flex;
  }
}

.basket-icon {
  display: flex;
  border-radius: 10px;
  gap: 8px;
  text-decoration: none;
}

.basket-icon-1 {
  display: flex;
  border-radius: 10px;
  gap: 8px;
  text-decoration: none;

}

.basket-icon-1 .shop-now-text {
  font-size: 14px;
  color: white;
  font-weight: bold;
  pointer-events: none;
}

.basket-icon:hover {
  background: linear-gradient(45deg, #211412 0%, #87524A 100%);
  transition: background 0.3s ease, padding 0.3s ease;
}

.basket-icon .shop-now-text {
  font-size: 14px;
  color: white;
  font-weight: bold;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.basket-icon:hover .shop-now-text {
  opacity: 1;
}

.basket-icon i {
  font-size: 25px;
  transition: opacity 0.3s ease;
}

.basket-icon:hover i {
  opacity: 1;
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: black;
  padding: 20px;
  border-radius: 8px;
  max-width: 500px;
  text-align: center;
  position: relative;
}

.modal-content h2 {
  margin-bottom: 15px;
}

.modal-content label {
  display: block;
  margin: 10px 0 5px;
}

.modal-content input {
  width: 100%;
  padding: 8px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.submit-button {
  background-color: #9e6258;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.submit-button:hover {
  background-color: #884835;
}

.close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  cursor: pointer;
}

/* Hidden by default */
.hidden {
  display: none;
}

/* Add these CSS rules to your existing stylesheet */

/* Base navbar styles */
.navbar {
  transition: background 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 5px 0;
  width: 100vw;
  z-index: 999;
  position: fixed;
}

/* Scrolled state - maintain current gradient */
.navbar.scrolled {
  background: linear-gradient(to right, #874f47 0%, #874F47 43%, #BA9682 63%, #B17368 76%, #BA9682 90%, #B17368 100%);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Transparent state when at top */
.navbar.transparent {
  background: transparent;
  box-shadow: none;
}

/* Nav links and dropdown buttons - white text when transparent */
.navbar.transparent .nav-links .nav-link,
.navbar.transparent .nav-links .dropdown-btn {
  color: #ffffff;
}

/* Regular state - ensure text is visible against gradient */
.navbar.scrolled .nav-links .nav-link,
.navbar.scrolled .nav-links .dropdown-btn {
  color: #ffffff;
}

/* Keep existing hover effects */
.nav-link:hover {
  color: white;
  transform: scale(1.2);
  text-decoration: underline;
  text-decoration-color: white;
  text-decoration-thickness: 2px;
}

/* Preserve dropdown menu background colors */
.dropdown-menu {
  background-color: #B17368;
}

/* Ensure text is white in nav-links for both states */
.nav-links .nav-link,
.nav-links .dropdown-btn {
  color: #ffffff;
  text-decoration: none;
}

/* For mobile view - keep original styling */
@media (max-width: 768px) {

  .navbar.transparent,
  .navbar.scrolled {
    background: linear-gradient(to right, #874f47 0%, #874F47 43%, #BA9682 63%, #B17368 76%, #BA9682 90%, #B17368 100%);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
}

.navbar {
  z-index: 1000;
  /* Higher than the banner section */
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
}


/* Active menu item when navbar is transparent (not scrolled) */
.navbar.transparent .nav-link.active,
.navbar.transparent .dropdown-btn.active {
  color: #874f47;
  /* Theme color - using one from your gradient */
  position: relative;
}

/* Active menu item when navbar is scrolled */
.navbar.scrolled .nav-link.active,
.navbar.scrolled .dropdown-btn.active {
  color: #000000;
  /* Black color */
  position: relative;
}

/* Underline for active items in both states */
.nav-link.active::after,
.dropdown-btn.active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  /* Uses the current text color */
}

/* Make sure the banner slides extend full height and start from the top */
.slide {
  height: 100vh;
  width: 100%;
  background-size: cover;
  background-position: center;
}



.main-title,
.sub-title,
.description {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  /* Add subtle text shadow */
  color: #ffffff;
  /* Ensure text is white */
}


/* Scroll Progress Bar Styling */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  /* Thin bar */
  background-color: #BA9682;
  /* Using a color from your website's palette */
  width: 0%;
  /* Initial width */
  z-index: 2000;
  /* Above everything, including navbar */
  transition: width 0.1s ease;
  /* Smooth transition but responsive */
}

/* Optional: Add a subtle shadow for better visibility */
#scroll-progress-bar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 2px rgba(0, 0, 0, 0.2);
}


/* Mobile drawer active styles */
.mobile-drawer .nav-link.active {
  color: #000000;
  /* Black when active in mobile drawer */
  font-weight: bold;
  position: relative;
}

.mobile-drawer .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  /* White underline */
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  height: 100vh;
  background: linear-gradient(to right, #874f47 0%, #b17368 50%, #ba9682 100%);
  transition: left 0.3s ease-in-out;
  z-index: 1000;
  overflow-y: auto;
  box-shadow: 4px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile-drawer.open {
  left: 0;
}

.drawer-content {
  padding: 20px;
  position: relative;
}

.drawer-content .nav-link {
  color: white;
  display: block;
  padding: 10px 0;
  text-decoration: none;
  font-size: 16px;
}

.drawer-content .dropdown {
  position: relative;
}

.drawer-content .dropdown-btn {
  color: white;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 10px 0;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-content .dropdown-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: white;
}

.drawer-content .dropdown-menu {
  display: none;
  padding-left: 20px;
}

.drawer-content .dropdown-menu.open {
  display: block;
}

.drawer-content .dropdown-item {
  color: white;
  display: block;
  padding: 8px 0;
  text-decoration: none;
}

.drawer-content .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Mobile Drawer Styles - Update for active underline and remove zoom */
.drawer-content .dropdown-btn.active::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: auto;
  /* Adjust to text width */
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
  /* Smooth transition for underline */
}

.drawer-content .dropdown-btn {
  position: relative;
  display: inline-block;
  /* Ensure underline only covers text */
}

.drawer-content .dropdown-btn.active {
  transform: none;
  /* Remove zoom effect */
}

/* Close Button Styles */
.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
}

/* Hamburger Icon Styles */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 51;
  padding: 5px;
}

.hamburger .bar {
  width: 20px;
  height: 2px;
  /* Smaller height */
  background-color: white;
  border-radius: 2px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    /* Hide the old mobile menu */
  }
}

.nav-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  /* Adjust the space between the two elements */
  margin-left: auto;
  /* Push to the right side */
}

.navbar {
  padding-top: 3rem;
}

.top-ribbon {
  background-color: #000000;
  padding: 8px 0;
  font-size: 14px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1100;
}

.top-ribbon .containerr {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.ribbon-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.contact-info,
.account-links {
  display: flex;
  gap: 20px;
}

.contact-info {
  margin-left: 0;
  /* Ensure it aligns to the left */
}

.ribbon-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ribbon-link:hover {
  color: #e0e0e0;
}

/* Add padding to body to prevent overlap */
body {
  padding-top: 36px;
  /* Adjust based on ribbon height */
}

@media (max-width: 768px) {
  .top-ribbon {
    display: none;
  }

  body {
    padding-top: 0;
    /* Reset body padding when ribbon is hidden */
  }

  .navbar {
    padding-top: 0;
  }

}