
/*Header Section css */
.announcement-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2.5rem;
  line-height: 2.5rem;
  background-color: #000;
  color: #fff;
  font-weight: 600;
  text-align: center;
  z-index: 100;
   overflow-x: hidden;
  max-width: 100%;
}

/* Header Design END */
.dark-header {
  position: relative; /* creates stacking context */
  z-index: 1;         /* less than announcement-bar */
  padding-top: 2.5rem;
  height: 11rem;
  overflow: hidden;
    background: url('/image/bg-img1.jpg') no-repeat center center;
    background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: visible; /* Allow dropdown to show */
}

/* Make swiper fill entire hero section */
.dark-header .swiper {
  width: 100%;
  height: 100%; /* fills .dark-header */
  position: relative;
  z-index: 1;
}

/* Swiper wrapper fills swiper */
.dark-header .swiper-wrapper {
  height: 100%;
}

/* Each slide fills the container */
.dark-header .swiper-slide {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center; /* center content horizontally */
  align-items: center;     /* center content vertically */
  position: relative;
}


.swiper-slide {
  display: flex;            /* Enable flexbox */
  justify-content: center;  /* Horizontally center */
  align-items: center;      /* Vertically center */
  position: relative;       /* Ensure relative positioning for other elements */
}



/* NAVIGATION BAR ON TOP */
.navbar {
 position: absolute;
  top: 2.5rem;
  left: 0;
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  /* ? Full transparency + glass effect */
  background: transparent; /* FULL transparency */
	backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .header-button{
	color: var(--davidoff-primary-white, #fffdfa);
    /* color: #c59949;  */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: .84px;
    text-transform: uppercase;
    background-color: rgba(255, 255, 255, 0.05); /* Slight light overlay on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    border-radius: 4px;
    padding: 6px 12px; /* Add padding to emphasize the hover zone */
    transition: all 0.3s ease-in-out;
}

.navbar .login-header-button{
	color: var(--davidoff-primary-white, #fffdfa);
    /* color: #c59949;  */
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 18px;
    letter-spacing: .84px;
    text-transform: uppercase;
    background-color: #28a745; /* Slight light overlay on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    border-radius: 4px;
    padding: 6px 12px; /* Add padding to emphasize the hover zone */
    transition: all 0.3s ease-in-out;
}

/* Shared Hover Effect for All Header Buttons */
.header-button:hover,
.header-button:focus {
    color: #ffffff; /* Gold hover color */
    background-color: #0F0F0FF2; /* Slight light overlay on dark bg */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle white border */
    border-radius: 4px;
    padding: 6px 12px; /* Add padding to emphasize the hover zone */
    transition: all 0.3s ease-in-out;
}

/* Active / Clicked State */
.header-button:active {
    background-color: rgba(255, 255, 255, 0.15);
    color: #e0c170;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transform: scale(0.98); /* Slight button press effect */
}

.nav-left,
.nav-right {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;  /* Vertically center all li elements */
    list-style: none;     /* Remove default list styling */
}

.nav-left li
.nav-right li {
    display: flex;
    align-items: center;  /* Ensure content inside <li> is vertically aligned */
}

.nav-left li a,
.nav-right li a {
  text-decoration: none;
  color: #f5f5f5;
  font-weight: 500;
  transition: color 0.3s;
}

.nav-left li a:hover,
.nav-right li a:hover {
  color: #d4af37;
}

.navbar .logo {
  width: 200px;
  height: 100px;
  overflow: hidden;
  display: flex;
  justify-content: center;  /* Center the logo inside the navbar */
}
.navbar .logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-left {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-start; /* Align the nav-left items to the left */
  position: absolute;
  left: 2rem; /* Add space from the left edge */
}

.nav-right {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end; /* Align the nav-right items to the right */
  position: absolute;
  right: 2rem; /* Add space from the right edge */
}

/* Shop Section*/
.shop-dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.shop-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* directly below the li */
    left: 50%;
    transform: translateX(-20%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 140px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    text-align: left;
}

.shop-dropdown-menu li {
    list-style: none;
  position: relative;
}

.shop-dropdown-menu a,
.accessories-submenu a,
.brand-submenu a {
  display: flex;
  align-items: center; /* vertical alignment */
  padding: 8px 16px;
  text-decoration: none;
  color: #333 !important;
  background: none;
  text-align: left;
}

.shop-dropdown-menu a:hover {
    background-color: #f0f0f0;
}

.accessories-submenu,
.brand-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: none;
  position: absolute;
  top: 0; /* align with the top of the parent li */
  left: calc(100% - 4px);
  background-color: #fff;
  border: 1px solid #ccc;
  min-width: 160px;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  border-radius: 5px;
}

.accessories-submenu li,
.brand-submenu li {
  padding: 8px 16px; /* adjust if needed */
  margin: 0;
}

.accessories-submenu li a,
.brand-submenu li a {
  display: block;
  text-decoration: none;
  color: #333;
  padding: 0;
}

.accessories-submenu li:hover,
.brand-submenu li:hover {
  background-color: #f5f5f5;
}

.has-submenu {
  padding: 0;
  margin: 0;
}

.has-submenu > a {
  padding: 8px 16px; /* adjust as needed */
  margin: 0;
}

.accessories-submenu li,
.brand-submenu li {
  margin: 0;
  padding: 8px 16px;
}

.has-submenu:hover .accessories-submenu {
  display: block;
}

.has-submenu:hover .brand-submenu {
  display: block;
}

.scrollable-brands {
    max-height: 265px; /* Adjust height as needed */
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px; /* prevent scrollbar overlapping content */
    width: 220px; /* ⬅️ Increase width here */
}

/* Optional: Better scrollbar style (Webkit) */
.scrollable-brands::-webkit-scrollbar {
    width: 6px;
}

.scrollable-brands::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.scrollable-brands::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.scrollable-brands::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.menu-icon {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  object-fit: contain;
}
/* Shop Section*/

/* search Section*/
.nav-search {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.search-container {
  position: relative;
}

.search-icon-img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;         /* Adjust as needed */
  height: 32px;        /* Keep it proportional */
  pointer-events: none;
  opacity: 0.7;
  object-fit: contain; /* Keeps the image scaled properly */
}

.search-input {
  width: 100%; padding: 8px 40px 8px 35px; border: 1px solid #ccc; border-radius: 20px;
}

.search-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #999;
  font-size: 16px;
}

.suggestion-item {
    padding: 8px 12px;
    cursor: pointer;
}
.suggestion-item:hover {
    background-color: #f0f0f0;
}

/* search Section*/

/* More Section*/
.more-dropdown {
    position: relative;
    display: inline-block;
    text-align: center;
}

.more-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%; /* directly below the li */
    left: 10%;
    transform: translateX(-20%);
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 140px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    text-align: left;
}

.more-dropdown-menu li {
    list-style: none;
}

.more-dropdown-menu a {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-decoration: none;
  white-space: nowrap; /* prevents line break */
    color: #333 !important;
    background: none;
    text-align: left;
}

.more-dropdown-menu a:hover {
    background-color: #f0f0f0;
}
/* More Section*/


/* Profile Section*/
.profile-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    /* left: -100%; */
    background: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    min-width: 140px;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    text-align: left;
}

.profile-dropdown .dropdown-menu li {
    list-style: none;
}

.profile-dropdown .dropdown-menu a,
.profile-dropdown .dropdown-menu button {
    display: block;
    width: 100%;
    padding: 8px 16px;
    text-decoration: none;
    color: #333;
    background: none;
    text-align: left;
}

.profile-dropdown .dropdown-menu a:hover,
.profile-dropdown .dropdown-menu button:hover {
    background-color: #f0f0f0;
}
/* Profile Section*/

/* Hide hamburger by default */
.hamburger {
  display: none;
  font-size: 28px;
  color: white;
  cursor: pointer;
  z-index: 9999;
}

/* mobile menu by default */
.mobile-menu {
  display: none;
  position: absolute; /* or use fixed for full-screen overlay */
  top: 0px; /* adjust based on header height */
  left: 0;
  width: 50%;
  min-width: 400px;
  background-color: white;
  z-index: 999;
  padding: 1rem 2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-height: 90vh; /* Ensures it doesn't exceed screen height */
    overflow-y: auto;  /* Enables vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling for iOS */
}

.mobile-menu-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #ccc;
    position: relative;
}

.mobile-menu-close {
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu-search-icon {
    cursor: pointer;
}

.mobile-menu.show {
  display: block; /* Show when .show class is added */
}

.mobile-search-container {
  position: relative; 
  width: 100%; 
  margin-top:20px;
}

.mobile-menu ul {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu.show > ul {
  display: block;
}

.mobile-menu ul.nav-left,
.mobile-menu ul.nav-right {
  display: none; /* ensure ul is block */
}

.mobile-menu ul.nav-left li,
.mobile-menu ul.nav-right li {
  margin: 10px 0; /* spacing between items */
}

.mobile-menu ul li a.header-button {
  display: block; /* make the <a> full width */
  padding: 10px 15px;
  text-decoration: none;
  color: #8d8585; /* example */
  text-align: left;
}

.mobile-menu a img {
  vertical-align: middle;
}

.mobile-menu a[href] {
 color: #333; /* default */
}


/* HERO CONTENT */
.hero-content {
   position: relative;
  z-index: 10;
  color: white;
  max-width: 700px;
  padding: 2rem;
  text-align: center;       /* Center text inside */
  margin: 0 auto;           /* Center block horizontally if needed */
  display: flex;
  flex-direction: column;
  justify-content: center;  /* Center content vertically inside hero-content */
  align-items: center;      /* Center content horizontally inside */
  height: 100%;             /* Ensure it takes up full height of swiper-slide */
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 2rem;
}

.cta-button {
  background-color: #c59949;
  color: #0f0f0f;
  padding: 1rem 2rem;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: background 0.3s;
}

.cta-button:hover {
  background-color: #b78e2c;
}

/* ARROWS */
.nav-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0, 0, 0, 0.5);
  color: #c59949;
  border: none;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  z-index: 2;
}

.nav-button:hover {
  background: rgba(0, 0, 0, 0.8);
}

.nav-button.left {
  left: 20px;
}

.nav-button.right {
  right: 20px;
}

/* FADE IN */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s forwards;
  animation-delay: 0.5s;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media screen and (max-width: 1024px) {
  .navbar {
    padding: 1rem;
  }

  .nav-left,
  .nav-right {
    display: none;
  }

  .hamburger {
    display: block;
    position: absolute;
    top: 2rem;
    left: 10px;       /* distance from the left */
    font-size: 30px;  /* size of the hamburger icon */
    cursor: pointer;  /* pointer cursor on hover */
    z-index: 1000;    /* makes sure it’s on top of other elements */
  }
  .mobile-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .mobile-menu li {
    position: relative;
  }

  .mobile-menu ul li {
    margin: 0.5rem 0;
  }

  .mobile-menu ul li a {
    color: #fff;
    text-align: center;
    padding: 0.5rem;
    display: block;
  }

.mobile-menu .accessories-mobile-submenu {
  display: none;
  padding-left: 55px;
}

  
  .mobile-menu .accessories-mobile-submenu.open {
    display: block;
  }

.mobile-menu .has-submenu.open > .accessories-mobile-submenu {
  display: block;
}

.accessories-mobile-submenu-toggle {
  float: right;
  transition: transform 0.3s ease;
}

.has-submenu.open .accessories-mobile-submenu-toggle {
  transform: rotate(90deg);
}



}
/* Header Design END */