 @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');


*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
}


body{
    min-height: 100vh;
    background-color: rgb(255, 255, 255);
    
}

header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 0px 2% 0px 0px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-image: linear-gradient(79deg,#8adb67,#8adb67);
    z-index: 999;
    box-shadow: 0px 0px 10px rgba(35, 117, 224, 0.5);

}

header .logo{
    font-weight: bolder;
    font-size: 25px;
    color: rgb(15, 116, 199);
}

.companyBar{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 400px;
    height: 110px;
    
}

#companyLogo{
width: 150px;
height: 100%;
padding: 2px;
}

#companyLogo img{
   width: 100%;
   height: 100%;
   border-radius: 10%;
   
}

header .navbar ul{
    list-style: none;
    margin: 0px;
    padding: 0px;
}

header .navbar ul li{
    position: relative;
    float: left; 
}

header .navbar ul li a{
    font-size: 20px;
    padding: 15px 20px;
    color: #333;
    display: flex;
    align-items: center;
    transition: 0.5s color ease;
    position: relative;
    font-weight:400;
    font-weight: bold;
}

.navbar{
    display: flex;
    flex-direction: column;
    
}


.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  cursor: pointer;
  z-index: 1001; /* Menüden üstte kalsın */
}

.menu-toggle span {
  height: 4px;
  background: #FED44A;
  border-radius: 4px;
  transition: all 0.3s ease;
}


.material-symbols-outlined{
    margin-left: 5px;
}

header .navbar ul li a:hover{
   
    transition: 0.4s;
    color: rgba(44, 129, 204, 0.984);
  }

  header .navbar ul li a:after{
    content: "";
    position: absolute;
    background-color: rgba(3, 134, 234, 0.459);
    height: 4px;
    width: 0%;
    border-radius: 10px;
    right: 0;
    bottom: 0;
    transition: 0.4s;
}

header .navbar ul li a:hover:after{
    width:98%;
}


#hizmetmenu{

    transition: 0.3s opacity ease;
    display: none;
}

#hizmetmenu li a{
    font-size: 15px;
    font-weight: bold;

    
 }
#projemenu li a{
    font-size: 15px;
    font-weight: bold;
}

header .navbar ul li ul{

position: absolute;
top: 90px;
left: 0;
width: 230px;
background-color: rgba(220, 220, 220, 0.173);
backdrop-filter: blur(5px);
box-shadow: 0px 0px 10px rgba(35, 117, 224, 0.5);
border-radius: 10px 10px 10px 10px;
z-index: -4;

}

header .navbar ul li ul li ul{
    left: 240px;
    top: 0;
}

header .navbar ul li ul li{
    width: 100%;
   
    padding: 10px auto;
   
}

#eticaretMenu{
display: none;
}

#projemenu{
display: none;
}


.arrow {
    transition: transform 0.3s ease;
}
.open {
    transform: rotate(180deg); 
}

#menu-bar{
    display: none;
}


header label{
    font-size: 20px;
    color: #333 ;
    cursor: pointer;
    display: none;
}



/* Media Sorguları */

@media(max-width: 1025px) {
  
header{
    padding: 20px;
}
header label{
    display: initial;
}
header .navbar{
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #ffffff;
   border-top: 1px solid black;
   display: none;
}

header .navbar ul li{
    width: 100%;
    background-color: rgb(255, 255, 255);
}

header .navbar ul li ul{
   position:static;
   width: 100%;
   
}
header .navbar ul li ul li{
    background-color: rgba(232, 232, 232, 0.437);
    backdrop-filter: blur(5px);
    
 }

 header .navbar ul li ul li ul li{
    background-color: rgba(214, 214, 214, 0.886);
    backdrop-filter: blur(5px);
    
 }

 #menu-bar:checked ~ .navbar{
    display: initial ;
 }

#menuicon{
    padding-top: 10px;
    font-size: 50px;
    color: rgb(15, 116, 199);
}

.companyBar{
    height: 90px;
    width: 300px;
}


}
@media(min-width:1025px){
    .menu-toggle{
        display: none;
    }
}

@media ( max-width:1365px) and (min-width:1025px){  
    header{
        gap: 3%;   
    }
    
    .companyBar{
        width: 245px;
    }
    header .navbar ul li a{
        padding: 15px 10px;
        font-size: 1.1em;
    }

}