@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root{
    --main-color: #f1f5f8;
    --black-color: #0e0e0e;
    --border: 0.1rem solid #fffaf0;
}

/*! base html codes */
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 9rem;
    scroll-behavior: smooth; 
}

html::-webkit-scrollbar{
    width: 0.8rem;
    background-color: #fff;
}

html::-webkit-scrollbar-track {
    background-color: transparent;
}

html::-webkit-scrollbar-thumb {
    border-radius: 3rem;
    background-color: var(--black-color);
}

body{
    background-color: var(--main-color);
}

section{
    padding: 3.5rem 7%;
}

a{
    color: var(--black-color);
    text-decoration: none;
}


.btn{
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: #0e0e0e;
    background-color: #87bdd8;
    cursor: pointer;
}
.btn1{
    margin-top: 1rem;
    display: inline-block;
    padding: 2rem 3.75rem;
    border-radius: 30rem;
    font-size: 1.7rem;
    color: #0e0e0e;
    background-color: #99c0d4;
    cursor: pointer;
}
.btn1:hover {
    opacity: 0.8;
}     

.btn:hover {
    opacity: 0.8;
}

*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
    border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: 0.2s ease;
}

.heading{
    color: #352a28;
    text-transform: uppercase;
    font-size: 4rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid #fff;
}
/*! header start */

.header .search-form {
    position: absolute;
    top: 115%;
    right: 6%;
    background-color: #fff;
    width: 50rem;
    height: 5rem;
    display: flex;
    align-items: center;
    border-radius: 3rem;
    box-shadow: 0px 0px 25px 2px rgba(0 0 0 / 75%);
    transform: scaleY(0);
}

.header .search-form.active {
    transform: scaleY(1);
}

.header .search-form i {
    cursor: pointer;
    font-size: 2.2rem;
    margin-right: 1.5rem;
    color: var(--black-color);
}

.header .search-form input {
    width: 100%;
    text-align: center;
}

.header .logo img {
    height: 10rem;
}
.header{
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    margin: 2rem 7%;
    border-radius: 30rem;
    box-shadow: 0px 0px 17px -2px rgba(0,0,0, 0.75);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header .navbar a{
    margin: 0 1rem;
    font-size: 1.8rem;
    color: var(--black-color);
    border-bottom: 0.1rem solid transparent;
}

.header .navbar .active,
.header .navbar a:hover{
    border-color: var(--main-color);
    padding-bottom: 0.5rem;
}

.header .buttons button{
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: 2rem;
    background-color: transparent;
}

#menu-btn {
    display: none;
}

/*! header end */

/*! home start */
.Anasayfa{
  min-height: 100vh;
  background: url(../images/ANASAYFA.JPG) no-repeat;
  background-size: cover;
  background-position: center;
  margin-top: -14.5rem;
  display: flex;
  align-items: center;
}

.Anasayfa .content{
    max-width: 60rem;
}

.Anasayfa .content h3{
    font-size: 6rem;
    color: #003458;
}

.Anasayfa .content p{
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.8;
    padding: 1rem 0;
    color: #003458;
}
/*! home end */

/*! project start */
    .Projeler .heading{
        text-align: left;
    }

    .Projeler .box-container{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 3rem;
    }  

    .Projeler .box-container .box{
        padding: 3rem;
        background-color: #fff;
        border-radius: 3rem;
        min-height: 60rem;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    
    .Projeler .box-container .box img{
        width: 100%;
        object-fit: cover;
    }

    .Projeler .box-container .box .Projelerimiz-category{
        font-size: 1.2rem;
        text-transform: lowercase;
    }

    .Projeler .box-container .box h3{
        font-size: 3rem;
        padding: 1rem 0;
    }

    .Projeler1 .heading{
        text-align: left;
    }


    .Projeler1 .box-container1{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .Projeler1 .box-container1 .box1{
        display: flex;
        flex-direction: column;
        padding: 4rem;
        background-color: #fff;
        border-radius: 3rem;
        justify-content: space-between;
        box-sizing: border-box;
        width: 1180px;
    }

    .gallery img{
        width: 100%; 
        height: 100%;
        object-fit: cover;
        margin: 0 auto;
    }

    .gallery {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .Projeler1 .box-container1 .box1 .head1{
        font-size: 2rem;  
        color: #000000;
        padding: 1rem 0;
    }

    .Projeler1 .box-container1 .box1 p{
        font-size: 1.5rem;
        color: #000000;
        padding: 1rem 0;
    }


/*! project end */

/*! faaliyet start */
    .faaliyet .box-container{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(30rem, 1fr));
        gap: 2rem;
    }
    .faaliyet .box-container .box{
         background-color: #fff;
         border-radius: 3rem;
         min-height: 60rem;
         display: flex;
         flex-direction: column;
         justify-content: space-between;
         padding: 3rem;
         align-items: flex-start;
    }
    .faaliyet .box-container .box img{
        width: 100%;
        object-fit: cover;
    }
    .faaliyet .box-container .box .faaliyetlerimiz-category{
        font-size: 1.2rem;
        text-transform: lowercase;
    }
    .faaliyet .box-container .box h3{
        font-size: 3rem;
        padding: 1rem 0;
    }
/*! faaliyet end */

/*! Hakkımızda start */

.hakkımızda .row {
    display: flex;
    flex-wrap: wrap;
    column-gap: 2rem;
}

.hakkımızda .row .image {
flex: 1 1 45rem;
}

.hakkımızda .row .img {
    width: 100%;
}


.hakkımızda .row .content {
    flex: 1 1 45rem;
}

.hakkımızda .row .content h3{
    font-size: 3rem;
    color: #034f84;
}

.hakkımızda .row .content p{
    font-size: 1.6rem;
    color: #0e0e0e;
    padding: 1rem 0 ;
    line-height: 1.8;
}

/*! Hakkımızda end */

/*! footer start */
.footer {
    background-color: #fffaf0;
    text-align: center;
}
.footer .share {
    padding: 2rem 0;
}
.footer .share a {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: #87bdd8;
    font-size: 4rem;
    border: var(--border);
    border-radius: 50%;
    margin: 0.3rem;
}
.footer .share a:hover {
    background-color: #cfe9f6;
}

.footer .credit{
    font-size: 1.3rem;
    color: #87bdd8;
    font-weight: 300;
    padding-top: 1.5rem;
}

.footer .credit span {
    color: #000000;
}

/*! footer end */


/*! responsive start */
     @media (max-width: 991px) {
        html {
            font-size: 55%;
        }

        .header {
            padding: 1.5rem 2rem;
        }

        .header .logo img {
            height: 7rem;
        }

        .section {
            padding: 2rem;
        }
          
        .products .box-container .box .box-head .btn {
            font-size: 3.4rem;
        }
    }

    @media (max-width: 768px){
        .header #menu-btn {
            display: inline-block;
        }
        
        .header .navbar {
            position: absolute;
            top: 95%;
            background-color: #fff;
            height: calc(100vh - 9rem);
            width: 30rem;
            box-shadow: 0px 20px 14px 0px rgb(0 0 0 / 75%);
            right: -100%;
        }

        .header .navbar .active {
            right: 3rem; 
        }

        .header .navbar a {
            color: var(--black-color);
            display: block;
            margin: 1.5rem;
            padding: 0.5rem;
            font-size: 2rem;
        }
    }

    @media (max-width: 576px) {
        html {
            font-size: 50%;
        }
    }
/*! responsive end */