/*  
Property by JadiPDF/SafarWeb/Safar Corporation
(C) 2025.09 SafarWeb/Safar Corporation, Fathur Maeza
Do not copying this styles, this styles and/or of all its contents is
copyrighted, and protected by law. 

CSS Header SafarWeb
*/

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: #202124;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    z-index: 1000;
  }
  
  .menu-wrapper {
    position: relative;
  }
  
  .menu-btn {
    cursor: pointer;
    background-image: url('assets/safarcorp_branding.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    width: 36px;
    height: 36px;
    border-radius:50%;
    border: #494949 solid 1px;
    -moz-border-radius:50%;
    -webkit-border-radius:50%;
    transition: 0.2s ease-in-out;
    animation: bounce .2s ease-in-out infinite alternate;
    animation-delay: 1s;
    animation-iteration-count: 2.30;
    filter: blur(0px);
    float : right;
    
  }
  @keyframes bounce {
    to { transform: scale(1.26, 1.15);
      filter: blur(0.35px);
  }
    
  }

  .menu-btn:hover {
  transform: scale(1.25);
  }
  .menu-btn:active {
    animation: bounce .3s ease-in-out infinite alternate;
    transform: scale(1.25);
    filter: blur(0.2px);
    }
  
  .menu-dropdown {
    display: none;
    position: absolute;
    top: 110%; 
    right: 0;
    width: 300px;
    max-height: 400px;        
    overflow-y: auto;          
    background: #2c2c2c;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.4);
    z-index: 2000;
  }
  
  .menu-dropdown::-webkit-scrollbar {
    width: 6px;
  }
  .menu-dropdown::-webkit-scrollbar-thumb {
    background: #555;
    border-radius: 6px;
  }
  .menu-dropdown::-webkit-scrollbar-thumb:hover {
    background: #777;
  }
  
  .grid-menu {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 14px;
    transition: background 0.2s;
    padding: 10px;
    border-radius: 10px;
  }
  
  .grid-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 5px;
  }
  
  .grid-item:hover {
    background: #3c4043;
  }
  
  .menu-dropdown.show {
    display: block;
  }
  
