@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");



* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

    outline: none;

    border: none;

    text-decoration: none;

    text-transform: none; /*text-transform: capitalize;*/

    font-family: "Poppins", sans-serif;

  }

  html {

      font-size: 62.5%;

      overflow-x: hidden;

      /* scroll-padding-top: 9rem; */

      scroll-behavior: smooth;

    }

    :root{

      --main-color: #35beeb; /*#007A33;*/

      --second-color: #355889; /*#005A23;*/

      --third-color: #B3B3B3;

      --text-black: #333333;

      --text-white: #F2F2F2;

    }



    



    .header{

        position: fixed;

        top: 0;

        left: 0;

        width: 100%;

        padding: 2rem 10%;

        display: flex;

        justify-content: space-between;

        align-items: center;

        z-index: 100;

    }





    .header::before{

        content: '';

        position: absolute;

        top: 0;

        left: 0;

        width: 100%;

        height: 100%;

        z-index: -1;

    }



    .header::after{

        content: '';

        position: absolute;

        top: 0;

        left: -100%;

        width: 100%;

        height: 100%;

        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);

        transition: .5s;

    }



    .header:hover::after{

        left: 100%;

    }



    .header .logo img{

        height: 7rem;

        width: 27rem;

    }



    .header .navbar a{

        font-size: 1.6rem;

        color: var(--text-white);

        font-weight: 500;

        margin-left: 4rem;

        border-bottom: 0.2rem solid transparent;

        transition: 0.3s ease;

    }



    .header .navbar a:hover{

        border-color: var(--fourth-color);

        padding-bottom: 0.5rem;

        

    }



    .header .icons{

        font-size: 4rem;

        color: var(--text-white);

        cursor: pointer;

        display: none;

        position: absolute;

        right: 5%;

    }



    #check{

        display: none;

    }



    .footer{

        background-color: #222222;

        display: flex;

        align-items: center;

        justify-content: space-around;

        padding: 2rem 2rem;

        text-align: start;

        margin-top: 5rem;

    }



    .footer .foot{

        display: flex;

        flex-direction: column;

        gap: 2rem;

    }



    .footer span{

        font-size: 1.6rem;

        color: #fff;

    }



    .footer .foot a{

        font-size: 1.5rem;

        color: #c0bfbf;

        text-transform: none;

    }



    .footer .foot a:hover{

        color: #fff;

        transition: 0.5s;

    }



    .footer .foot .contact{

        display: flex;

        flex-direction: column;

        gap: 3rem;

    }



    .footer .foot .contact .con{

        display: flex;

        gap: 2rem;

    }



    .footer .foot .con i{

        font-size: 2.5rem;

        color: var(--main-color);

    }



    .footer .foot .img img{

        height: 7rem; /*10rem;*/
        width: 27rem; /*10rem;*/

    }





    .footer .foot .pageLinks{

        display: flex;

        flex-direction: column;

        gap: 0.5rem;



    }



    .footer2{

        text-align: center;

        background-color: #1e1e1e;

        color: #fff;

        padding: 1rem 0;

        font-size: 1.2rem;

    }



    .pageInfo{

        display: flex;

        align-items: center;

        justify-content: center;

        padding: 10rem 0;

        gap: 1rem;

        background-color: #ddd;

        padding-left:20px; /* ruyet*/

    }

    

    .pageInfo a{

        font-size: 2rem;

        color: var(--main-color);

        font-weight: 600;

    }

    

    .pageInfo span{

        font-size: 2rem;

        color: var(--second-color);

        font-weight: 500;

    }



    .dropdown {

    position: relative;

    display: inline-block;

}



.dropdown-content {

    position: absolute;

    top: 100%;

    display: none;

    flex-direction: column;

    border-radius: 5px;

    overflow: hidden;

    margin-top: 0.5rem;

    text-align: center;

    padding: 1rem 4.5rem;

}



.header .navbar .dropdown-content a {

    font-size: 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    display: block;
    margin: 0;
    width:400px;
    min-width: 380px;
    max-width: 600px;
    /*transform: translateX(-52%);*/
    z-index: 999;

    background-color: cadetblue;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.18);

    /* 👇 TEK ve DOĞRU padding  */
    padding: 10px 24px;
        

    transition: background 0.3s ease;

   

}



.header .navbar .dropdown-content a:hover{

    border-color: var(--fourth-color);

}



/* Hover ile Dropdown Açma */

.dropdown:hover .dropdown-content {

    display: flex;

}





.scrolled {

    background-color: rgba(0, 0, 0, 0.3); /* Kırmızı arka plan */

    backdrop-filter: blur(10px);

}



.scrolled .dropdown-content {

    background-color: rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(10px);

    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);

}


/**************************************/
/* Normal ekran için dropdown düzenlemeleri */
.dropdown-content {
    position: absolute;
    top: 100%;
    display: none;
    flex-direction: column;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 0.5rem;
    text-align: center;
    padding: 0.5rem 0; /* Padding'i azalttım */
    background-color: rgba(0, 0, 0, 0.7); /* Daha şeffaf arkaplan */
    backdrop-filter: blur(5px); /* Blur'u azalttım */
    -webkit-backdrop-filter: blur(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15); /* Gölgeyi azalttım */
    z-index: 999;
    min-width: 200px; /* Daha dar bir genişlik */
}

.header .navbar .dropdown-content a {
    font-size: 1.5rem;
    color: var(--text-white);
    text-decoration: none;
    display: block;
    margin: 0;
    width: 100%;
    min-width: 200px;
    max-width: 250px; /* Maksimum genişliği sınırladım */
    padding: 10px 20px; /* Padding'i azalttım */
    background-color: transparent; /* Arkaplanı şeffaf yaptım */
    border-radius: 0; /* Köşe yuvarlamayı kaldırdım */
    box-shadow: none; /* Gölgeyi kaldırdım */
    transition: background 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Ayırıcı çizgi */

    /* ... diğer özellikler ... */
    width: 400px;
    min-width: 380px;
    max-width: 600px;
    /* ... */
}

.header .navbar .dropdown-content a:last-child {
    border-bottom: none; /* Son öğenin çizgisini kaldır */
}

.header .navbar .dropdown-content a:hover {
    background-color: rgba(53, 190, 235, 0.2); /* Hover rengi daha şeffaf */
    border-color: transparent;
    padding-bottom: 1rem;
}

/* Scrolled durumu için */
.scrolled .dropdown-content {
    background-color: rgba(0, 0, 0, 0.8); /* Daha koyu ama yine şeffaf */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scrolled .header .navbar .dropdown-content a {
    background-color: transparent;
}
/**************************************/


    @media (max-width: 1024px){

        .header{

            padding: 1rem 5%;

        }



        .header a{

            margin-left: 0rem;

            font-size: 1.4rem;

        }

    }



    @media (max-width: 800px){



        .header{

        background-color: rgba(0, 0, 0, 0.5);

        backdrop-filter: blur(25px);

        }

       .header .icons{

        display: inline-flex;

       }



       .header .logo img{

        height: 5rem;

        width: 27rem;

       }



       #check:checked~.icons #menu-icon{

        display: none;

       }



       .header .icons #close-icon{

        display: none;

       }



       #check:checked~.icons #close-icon{

        display: inline-flex;

       }



        .navbar{

        position: absolute;

        top: 100%;

        left: 0;

        width: 100%;

        height: 0;

        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, 0.1);

        transition: 0.4s ease;

        overflow: hidden;

       }



       #check:checked~.navbar{

        height: 100vh;

        background-color: rgba(34, 34, 34, 0.97);

       }



       .header .navbar a{

        display: block;

        font-size: 1.6rem;

        margin: 2rem 0;

        text-align: center;

        transform: translateX(150px);

        opacity: 0;

        transition: 0.5s ease;

       }



       #check:checked~.navbar a{

        transform: translateX(0);

        transition-delay: calc(.15s * var(--i));

        opacity: 1;

       }

       



       .dropdown-content {

        position: static;

        display: none;

        width: 100%;

        box-shadow: none;

    }



    .dropdown:hover .dropdown-content {

        display: flex;

    }

    

    .footer{

        flex-direction: column;

        gap: 8rem;

    }



    .footer span{

        text-align: center;

    }



    .footer .foot .pageLinks{

        margin-top: 3rem;

        gap: 2rem;

    }



  .dropdown{

    width: 100%;

    margin: -2rem 0;

  }
  /**/

   .lang-container {
        right: 55px;
        gap: 8px;
    }
    
    .header .icons {
        right: 15px;
        font-size: 3.5rem;
    }
    
    .header .logo img {
        max-width: 150px;
        height: 3.5rem;
    }

    /**/

    /**/
    /* Mevcut dropdown stillerinizi bulun ve şu şekilde değiştirin: */
    .header .navbar .dropdown-content a {
        width: 90% !important;
        min-width: 90% !important;
        max-width: 90% !important;
        margin: 0.5rem auto;
        transform: translateX(0) !important;
        background-color: rgba(0, 0, 0, 0.3) !important;
        padding: 12px 20px !important;
    }
    
    .dropdown-content {
        position: static !important;
        width: 100% !important;
        transform: none !important;
        padding: 0 !important;
        margin: 0 auto !important;
        text-align: center;
    }
    
    /* Dropdown container'ı */
    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    /**/

}

@media (max-width: 480px){
    .lang-container {
        right: 55px;
        gap: 8px;
    }
    
    .header .icons {
        right: 15px;
        font-size: 3.5rem;
    }
    
    .header .logo img {
        max-width: 150px;
        height: 3.5rem;
    }
}