* {
    box-sizing: border-box;
}

body {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    text-align: center;
}

#menu {
    height: 100px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  #menu a img {
    height: 80px; /* Adjust the height as needed */
  }
  
#menu nav a {
  text-decoration: none;
  margin-right: 25px;
  color: #003666;
  font-weight: bold; /* Add this line */
  transition: border-bottom 0.3s ease-in-out;
}

#menu nav a {
    text-decoration: none;
    margin-right: 25px;
    color: navy;
    transition: border-bottom 0.3s ease-in-out;
}

#menu nav a:hover {
    border-bottom: 3px solid navy;
}

#anasayfa {
    background-color: gray;
    height: 600px;
    background-image: url("../images/home.png");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

#black {
    height: 100%;
    width: 100%;
    background-color: black;
    opacity: 0.3;
    position: absolute;
}

h2 {
    font-size: 35px;
    color: navy;
    text-shadow: 0px 1px 1px black;
    font-weight: 600;
    margin-top: 20px;
}

#hakkimizda, #ucretsiz-projelerim, #ucretli-hizmetlerim, #musteri-yorumlari, #iletisim {
    background-color: #f8f9fa;
    padding: 50px;
}



#hakkimizda p {
    font-size: 18px;
    line-height: 1.6;
    color: #003666;
    margin-top: 20px; /* Increase margin top */
    margin-bottom: 20px; /* Increase margin bottom */
}
.card {
    display: inline-block;
    vertical-align: top;
    width: calc(33.33% - 40px); /* Adjusted width calculation */
    margin: 20px;
    padding: 20px;
    border: 2px solid navy;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.2s;
    box-sizing: border-box;
}

.card:hover {
    transform: scale(1.05);
}
#ucretsiz-projelerim {
    background-color: #f8f9fa;
    padding: 50px;
}

.projects-carousel {
    display: flex;
    justify-content: center;
    gap: 20px; /* Adjust gap between projects */
    flex-wrap: wrap; /* Allow projects to wrap onto the next line */
}

.project {
    width: 300px; /* Fixed width for each project */
    border: 2px solid navy;
    padding: 20px;
    margin: 10px;
    border-radius: 10px;
    background-color: #ffffff; /* White background */
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.project:hover {
    transform: scale(1.05);
}

.project h3 {
    font-size: 25px;
    color: navy;
    margin-bottom: 10px;
}

.project p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.project .btn {
    display: inline-block;
    background-color: navy;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.project .btn:hover {
    background-color: #001f3f;
}

  

.review {
    border: 2px solid navy;
    padding: 20px;
    margin: 10px auto;
    border-radius: 10px;
    background-color: #f8f9fa;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    width: 500px; 
    height: 160px;
}
  
  .review:hover {
    transform: scale(1.05);
  }



.project.center {
    text-align: center;
  }
  

.owl-carousel .owl-item {
    display: flex;
    justify-content: center;
}

.owl-prev, .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: navy;
    color: #fff;
    border-radius: 50%;
    padding: 10px;
    cursor: pointer;
}

.owl-prev {
    left: -25px;
}

.owl-next {
    right: -25px;
}

/* .card {
    display: inline-block;
    vertical-align: top;
    width: 300px;
    padding: 20px;
    margin: 20px;
    border: 2px solid navy;
    border-radius: 10px;
    text-align: left;
    transition: transform 0.2s;
}

.card:hover {
    transform: scale(1.05);
}

.card h3 {
    font-size: 25px;
    color: navy;
}

.card .baslikcard {
    font-size: 18px;
    color: navy;
    margin-bottom: 15px;
}

.card ul {
    list-style: none;
    padding: 0;
    text-align: left;
    margin-bottom: 15px;
}

.card ul li {
    margin-bottom: 5px; 
}*/

.project .btn {
    display: inline-block;
    background-color: navy;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.project .btn:hover {
    background-color: #001f3f;
}

.card .btn {
    display: inline-block;
    background-color: navy;
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease-in-out;
}

.card .btn:hover {
    background-color: #001f3f;
}

#iletisim {
    background-color: #f1f1f1;
    padding: 40px 0;
    text-align: center;
}

#iletisim .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-content {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.contact-content h2 {
    margin-top: 0;
}

.contact-content img {
    width: 80%;
    max-width: 600px;
    height: auto;
    margin-top: 20px;
    border-radius: 10px;
}

#footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

#footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media only screen and (max-width: 768px) {
    #menu {
        flex-direction: column;
        height: auto;
        align-items: center;
    }

    #menu nav {
        margin-top: 20px;
        line-height: 40px;
    }

    #menu nav a {
        margin: 0 10px;
    }

    #anasayfa {
        height: auto;
        min-height: 300px;
    }

    .card {
        width: 100%;
        margin: 10px 0;
    }
}
