@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');

:root {
    --main-color: #202020;
    --black-color: #0e0e0e;
    --white-color: #ffffff; 
    --border: 0.1rem solid rgba(130, 103, 103, 0.4);
}

*{
    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;
}

/*! base html codes */
html{
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-padding-top: 9rem;
  scroll-behavior: smooth;
}

html::-webkit-scrollbar {
    width: 0.6rem;
    background-color: #202020;
}

html::-webkit-scrollbar-track {
    background-color: #202020;
}

html::-webkit-scrollbar-thumb {
    border-radius: 3rem;
    background-color: #e8e8e8;

}

body {
    background-color: var(--main-color);
}

section {
    padding: 3.5rem 6%;
}

.btn {
    margin-top: 1rem;
    display: inline-block;
    padding: 1rem 2.75rem;
    border-radius: 30rem;
    font-size: 2rem;
    color: #000000;
    background-color: var(--white-color);
}

.btn:hover {
    opacity: 0.8;
    color: #ffffff;
}

.heading {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 2.5rem;
    margin-bottom: 3.5rem;
    border-bottom: 0.1rem solid #ffffff; 
}

.search-input {
    font-size: 1.6rem;
    color: var(--black-color);
    padding: 1rem;
    text-transform: none;
    border-radius: 3rem;
}

/*! header start */

.header .search-form {
    position: absolute;
    top: 115%;
    right: 5%;
    background-color: #ffffff;
    width: 22rem;
    height: 5rem;
    display: flex;
    align-items: center;
    border-radius: 3rem;
    box-shadow: 0px 0px 25px 2px rgb(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%;
}



.header .logo img {
    height: 6rem; 
}

.header {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 7%;
    margin: 1.5rem 5%;
    border-radius: 5rem;
    box-shadow: 0px 0px 17px -2px rgba(0, 0, 0, 0.75);
    position: sticky;
    top: 5;
    z-index: 1000;
}

.header .navbar a {
    margin: 0 1.5rem;
    font-size: 1.7rem;
    font-weight: 700;
    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: 2rem;
    margin-left: 1rem;
    background-color: transparent;
}

/*! header end */

/*! home start */
.home {
    min-height: 100vh;
    background: url(../images/giriş.png)
    no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -9.3rem;
    display: flex;
    align-items: center;
}

.home .content {
    max-width: 75rem;
}

.home .content h3 {
    font-size: 7rem;
    color: #ffffff;
}

.home .content p{
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.4;
    padding: 1rem 0;
    width: 350px;
    color: #ffffff;
}

/*! home end */

/*! menu start */
.menu .box-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(20rem, 1fr));
gap: 1.5rem;
}

.menu .box-container .box{
    padding: 3rem;
    background-color: #ffffff;
    border-radius: 3rem;
    background-color: #e6e6e6;
    min-height: 30rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

.menu .box-container .box img{
    width: 100%;
    object-fit: cover;
}

.menu .box-container .box h3 {
    font-size: 1.2rem;
    padding: 1rem 0;
}

/*! menu end */

/*! about start */
.about {
    min-height: 100vh;
    background: url(../images/hakkımızda.png)
    no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 0rem;
    display: flex;
    align-items: center;
}
/*! about end */

/*! contact start */
.contact {
    min-height: 50vh;
    background: url(../images/iletişim.png)
    no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: 0rem;
    display: flex;
    align-items: center;
}
/*! contact end */

/*! footer start */
.footer {
    background-color:#202020;
    text-align: center;
}
.footer .search {
    display: flex;
    justify-content: center;
}

.footer .search .search-input {
    width: 20rem;
}

.footer .search .btn-primary {
    background-color: var(--main-color);
    padding: 1rem 2rem;
    margin-left: 1rem;
}

.footer .share {
    padding: 2rem 0;
}

.footer .share a {
    width: 5rem;
    height: 5rem;
    line-height: 5rem;
    color: #fff;
    font-size: 2rem;
    border: var(--border);
    border-radius: 50%;
    margin: 0.3rem; 
}

.footer .share .a:hover {
    background-color: var(--main-color);
}
.footer .links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer .links a {
    background-color: var(--main-color);
    padding: 0.7rem 2rem;
    color: #fff;
    font-size: 2rem;
}

.footer .links a:hover {
    background-color: var(--black-color);
    opacity: 0.7;
}
/*! footer end */

/*! responsive start */
@media (max-width: 991px) {
    html {
        font-size: 55%;
    }

    .header{
        padding: 0rem 4rem;
    }

    .header .logo img {
        height: 5rem;
    }
}

