@import url(config.css);
@import url(base.css);
@import url(auxmarrakech.css);

nav {
  z-index: 999;
  width: 100%;
  position: fixed !important;
  top: 0;
  left: 0;
}

nav .user-field div:first-child a {
  color: var(--gray);
}

nav .user-field div:last-child a {
  background-color: var(--dark);
  color: var(--white);
}

.large-btn {
  background-color: var(--primary-color) !important;
}

.social-link:hover {
  color: var(--primary-color) !important;
  transition: 0.4s;
}

.dropdown-Container {
  display: none;
  transition: ease 4s;
}

.drop-link:hover .dropdown-Container {
  display: block !important;
  transform: translateY(13%);
}

header .hero {
  width: 100%;
  height: 75vh;
}

header .hero .text-Content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -70%);
  text-align: center;
}

section .cards-cn {
  display: grid;
  grid-template-columns: 300px 300px 300px 300px;
  justify-content: center;
  gap: 10px;
}

.dropdown-hover:hover .dropdown-menu {
  display: block;
}
.dropdown-menu {
  border-radius: 10px;
  padding: 1rem;
  min-width: 600px;
}
.menu-item {
  padding: 10px;
  border-radius: 8px;
  transition: background 0.2s;
  cursor: pointer;
}
.menu-item:hover {
  background-color: #f0f0f0;
}
.flyout-submenu {
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 10px;
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 1rem;
  display: none;
  min-width: 250px;
}
.menu-item:hover .flyout-submenu {
  display: block;
}
.menu-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}
.badge-new {
  background-color: #f90;
  color: white;
  font-size: 10px;
  padding: 3px 5px;
  border-radius: 5px;
}

/* Show dropdown menu on hover */
.nav-item.dropdown:hover > .dropdown-menu {
  display: block;
  margin-top: 0; /* override default margin */
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.custom-dropdown {
  width: 75% !important;
  z-index: 999;
  position: relative;
  display: inline-block;
  
}

.btn-info , .btn-contact {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.btn-info:hover , .btn-contact:hover {
  background-color: darken(var(--primary-color), 10%);
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
}
.property-card img {
  object-fit: cover;
  height: 200px;
}
