/* navbar.css */

/* Navbar Container for Hamburger Menu Version */
.navbar-navbar-container {
  top: 0;
  width: 100%;
  height: 1500px;
  display: flex;
  overflow: auto;
  direction: rtl;
  max-width: auto;
  max-height: auto;
  align-items: center;
  flex-direction: row-reverse;
  background-size: cover;
  justify-content: flex-start;
  background-image: url("public/asset%20-7-2025-1100h.png");
  background-position: center;
  animation: slideIn 0.5s ease-out;
}
 
@keyframes slideIn {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


/* Move Hamburger Icon to the Right - */
.hamburger {
  position: absolute;
  top: 20px;        /* Adjust spacing as needed */
  right: 20px;      /* Move to the right */
  left: auto;       /* Ensure left is not affecting positioning */
  font-size: 24px;
  cursor: pointer;
  color: #fff;     /* Ensure the icon contrasts with the background */
  background-color: #636670; /* Optional: set a background color */
  padding: 10px;   /* Optional: add padding for better visibility */
  border-radius: 4px; /* Optional: rounded corners */
  z-index: 1100;
}

/* Full-width Slide-In Navigation Menu (from right) */
.nav-menu {
  position: fixed;  /* Fixed to cover the full width */
  top: 0;
  right: -100%;     /* Initially hidden off-screen (from right) */
  width: 250px;      /* Full width */
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Dark overlay */
  padding-top: 60px;
  transition: right 0.3s ease; /* Slide in effect */
  z-index: 1050;
}

/* Align text to the left inside the menu */
.nav-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-menu ul li {
  margin: 20px 0;
  text-align: left;       /* Align text to the left */
  padding-left: 20px;     /* Space from the left edge */
}

.nav-menu ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  display: block;
  transition: color 0.3s ease;
}

.nav-menu ul li a:hover {
  color: orange;
}

/* When the menu is open, slide it in from the right */
.nav-menu.open {
  right: 0;
}


/* (Responsive media queries as needed below) */


/* Responsive adjustments for the Navbar Container & Nav Menu */
@media (max-width: 991px) {
  .navbar-navbar-container {
    max-width: var(--dl-size-size-maxwidth);
  }
}

@media (max-width: 767px) {
  .navbar-navbar-container {
    width: 100%;
    max-width: var(--dl-size-size-maxwidth);
  }
  .nav-menu {
    width: 200px; /* Slightly narrower on smaller screens */
  }
}

@media (max-width: 479px) {
  .navbar-navbar-container {
    width: 100%;
    height: 478px;
    max-width: var(--dl-size-size-maxwidth);
  }
  .navbarroot-class-name {
    width: var(--dl-size-size-maxwidth);
  }
}
