.navbar {
  position: fixed;
  top: -80px;
  left: 0;
  right: 0;
  width: 100%;                      
  background: #efe7db0a;
  backdrop-filter: blur(8px);
  z-index: 100;
  transition: top 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
  animation: slideDown 0.5s forwards;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;                     
  max-width: 90%;              
  margin: 0 auto;                  
  padding: 1rem 0;                 
}


.navbar.scrolled {
  top: 0;
  background: #ffffffe7;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.navbar.scrolled .navbar-container {
  padding: 0.8rem 0;               
}

@keyframes slideDown {
  0% {
    top: -80px;
  }
  100% {
    top: 0;     
  }
}



.navbar .logo,
.navbar .nav-links li a {
  transition: color 0.3s ease, transform 0.3s ease;
}


.navbar.scrolled .logo,
.navbar.scrolled .nav-links li a {
  color: #000000 !important;
}
.navbar.scrolled .nav-links li a:hover {
  color: #1d1d1c86 !important;
  transform: scale(1.1); 
}


.navbar.scrolled  .nav-toggle span {
  display: block;
  height: 3px;
  background: #0a0a0a;
  border-radius: 2px;
}

.navbar.scrolled  .nav-toggle i {
  font-size: 2rem;
  color: #080808;
  transition: color 0.3s ease;
}



.navbar.scrolled .btn {
  background: #efe7db;
  color: #3f3f3a;
  padding: 0.55rem 1.3rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  margin-top: 0;        
  align-self: center;    
}







.logo {
  font-weight: 700;
  font-size: 1.5rem;
  color: #3f3f3a;
  text-decoration: none;
  letter-spacing: 1px;
  user-select: none;
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 2REM;
}

.nav-links li a {
  color: #3f3f3a;
  text-decoration: none;
  font-weight: 600;
  font-size:1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #cfc6b9;
}



.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 9999;
margin-top: -20PX;
  position: relative; 
  margin-left: auto; 
}

.nav-toggle span {
  display: block;
  height: 3px;
  background: #3f3f3a;
  border-radius: 2px;
}


.nav-toggle i {
  font-size: 2rem;
  color: #3f3f3a;
  transition: color 0.3s ease;
}

.nav-toggle i.fa-times {
  display: none;
}

.nav-links.open ~ .nav-toggle i.fa-bars {
  display: none;
}

.nav-links.open ~ .nav-toggle i.fa-times {
  display: block;
}




        .btn-primary {
            background: #631919;
             color: white;
            padding: 0.8rem 1.8rem;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s ease;
             box-shadow: 0 2px 20px rgba(139, 21, 56, 0.1);
        }

        .btn-primary:hover {
            background: #6D1229;
            transform: translateY(-2px);
      box-shadow:  0 8px 30px rgba(139, 21, 56, 0.15);
        }




@media (max-width: 1200px) {


  .navbar {
    padding: 1rem 5%;
  }

  .logo {
    font-size: 1.4rem;
  }
  .nav-links li a {
    font-size: 0.95rem;
  }

 
}



@media (max-width: 1060px) {


  .navbar {
    padding: 0.8rem 4%;
  }


  .logo {
    font-size: 1.3rem;
  }
  .nav-links li a {
    font-size: 0.9rem;
  }




}



@media (max-width: 800px) {
  .nav-links {
    position: fixed;
    top: 20px;
    right: 0;
    height: 100vh;
    width: 100vw;
    background: #ffffffe7;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    border-radius: 0;
    z-index: 9999;
      gap: 10PX;
    overflow-y: auto;
    margin: 0 auto;
  }


  
      
  .nav-links.open,
  .navbar.scrolled .nav-links.open {
    transform: translateX(0);
  }

  .nav-links li {
    margin-bottom: 1.5rem;
    list-style: none;
    
  }

  .nav-links li a {
    color: #242322;
    font-size: 1.4rem;
      padding: 1rem 0; 
    font-weight: 600;

    text-decoration: none;
    transition: color 0.3s ease;
  }
  .nav-links li a:hover {
    color: #1f1e1cbd;
  }

  .navbar.scrolled .nav-links {
    background: #ebebe8;
  }

  .navbar.scrolled .nav-links li a {
    color: #e7dbd0;
  }
  .navbar.scrolled .nav-links li a:hover {
    color: #e7dbd0b6;
  }




      .btn-primary {
                display: none;
            }

            .nav-toggle {
                display: block;
            }
}
