@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  background: url("../images/Arkaplan.jpeg");
  background-position: center;
  color: #333;
}

body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.6);
  z-index: -1;
}

.intro {
   position: fixed;
   z-index: 1000;
   left: 0;
   top: 0;
   width: 100%;
   height: 100vh;
   background-color: #faf0db;
   transition: 2s;
}

.logoheader {
   position: absolute;
   top: 40%;
   left: 50%;
   transform: translate(-50%, -50%);
   color: #333;
}

.logoholder {
   position: relative;
   display: inline-block;
   bottom: -20px;
   opacity: 0;
   transition: bottom 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.logoholder.active {
   bottom: 0;
   opacity: 1;
}

.logoholder.fade {
   bottom: 150px;
   opacity: 0;
}

.logo {
    padding-top: 9.5px;
}

#polataski {
  font-size: 110px;
  font-weight: 700;
  margin-bottom: 10px;
}

#explain {
  padding-left: 17%;
  padding-right: 17%;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 5;
  width: 100%;
  display: flex;
  justify-content: center;
  background: #eaeaea;
}

.navbar {
  display: flex;
  padding: 0 10px;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.navbar input#menu-toggler {
  display: none;
}

.navbar #hamburger-btn {
  cursor: pointer;
  display: none;
}

.navbar .all-links {
  display: flex;
  align-items: center;
}

.navbar .all-links li {
  position: relative;
  list-style: none;
}

.navbar .all-links li a {
  font-size: 18px;
  padding: 15px 20px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar .all-links li a:hover {
  background-color: #fdd4ae;
  color: #000;
  border-radius: 5px;
}

.navbar .logo a {
  display: flex;
  align-items: center;
  margin-left: 0;
}

header a, footer a {
  margin-left: 40px;
  text-decoration: none;
  color: #333;
  height: 100%;
  padding: 20px 0;
  display: inline-block;
}

header a:hover, footer a:hover {
  color: #333;
}

.homepage {
  height: 100vh;
  width: 100%;
  position: relative;
  background: url("koyma.jpeg");
  background-position: center 65%;
  background-size: cover;
  background-attachment: fixed;
}

.homepage::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.6);
}

.homepage .content {
  display: flex;
  height: 85%;
  z-index: 3;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.homepage .content h1 {
  font-size: 60px;
  font-weight: 700;
  margin-bottom: 10px;
}

.homepage .content .text {
  margin-bottom: 50px;
  color: #333;
  font-size: 20px;
  text-align: center;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
}

.content a {
  color: #333;
  display: block;
  text-transform: uppercase;
  font-size: 18px;
  margin: 0 10px;
  padding: 10px 30px;
  border-radius: 5px;
  background: #fff;
  border: 2px solid #ccc;
  transition: 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}

.content a:hover {
  color: #333;
  background: #f0f0f0;
}

section {
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 80px 0 0;
  padding-top: 130px;
}

section h2 {
  font-size: 2rem;
}

section > p {
  text-align: center;
}

section .cards {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin-top: 50px;
  padding: 0 10px;
  justify-content: space-between;
}

section.about {
  margin: 0 auto;
  max-width: 1200px;
}

.about .company-info {
  margin-top: 30px;
}

.about h3 {
  margin: 30px 0 10px;
}

.about .team {
  text-align: left;
  width: 100%;
}

.about .team ul {
  padding-left: 20px;
}

section .cards .card {
  background: #f5f5dc;
  padding: 20px;
  list-style: none;
  border-radius: 8px;
  margin-bottom: 30px;
  width: calc(100% / 3 - 30px);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
  color:#333;
  border: 2px solid #c2c1c1;
}

.cards .card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border: 2px solid #dda900;
  background: #fff8dc;
}

.services h2 {
  background: #eaeaea;
  padding: 20px;
  border-radius: 15px;
}

.services .card img {
  width: 350px;
  height: 250px;
  margin-bottom: 20px;
  border-radius: 10%;
  object-fit: cover;
}

.cards .card p {
  padding: 0 15px;
  margin-top: 5px;
}

.about .row {
  padding: 0 10px;
}

.contact {
  background: #eaeaea;
  width: 80%;         /* Genişliği %80 olarak ayarladık, ihtiyacınıza göre değiştirebilirsiniz */
  max-width: 800px;   /* Maksimum genişlik */
  margin: 0 auto;     /* Yatayda ortalamak için auto margin kullanılır */
  padding: 20px;      /* İçerik etrafında boşluk bırakmak için padding */
  box-sizing: border-box; /* Padding ve border'ların genişliği etkilememesi için */
}

.contact .row {
  margin: 60px 0 90px;
  display: flex;
  max-width: 1200px;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

.contact .row .col {
  padding: 0 10px;
  width: calc(100% / 2 - 50px);
}

.contact .col p {
  margin-bottom: 10px;
}

.contact .col p i {
  color: #7a7a7a;
  margin-right: 10px;
}

.contact form input {
  height: 45px;
  margin-bottom: 20px;
  padding: 10px;
  width: 100%;
  font-size: 16px;
  outline: none;
  border: 1px solid #ccc;
}

.contact form textarea {
  padding: 10px;
  width: 100%;
  font-size: 16px;
  height: 150px;
  outline: none;
  resize: vertical;
  border: 1px solid #ccc;
}

.contact form button {
  margin-top: 10px;
  padding: 10px 20px;
  font-size: 17px;
  color: #333;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  background: #eaeaea;
  transition: 0.2s ease;
}

.contact form button:hover {
  background: #dcdcdc;
}

#contact-row {
  background-color: #ffefd1;
  color:#000;
}

#forform {
  color:black;
}

footer {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #ddd;
  padding: 20px 0;
}

footer div {
  padding: 0 10px;
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: space-between;
}

footer span {
  color: #555;
}

footer a {
  padding: 0;
}

.images {
  max-width: 100%;
  height: auto;
  cursor: pointer; /* Tıklanabilir imleç */
}

  .modal {
    display: none; /* Başlangıçta gizli */
    position: fixed;
    z-index: 1000; /* Diğer elementlerin üstünde */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Arkaplan opaklığı */
    overflow: auto;
  }

  .modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 70%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .close {
    position: absolute;
    top: 15px;
    right: 15px;
    color: #ffffff;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
  }

@media screen and (max-width: 860px) {
  .navbar .all-links {
    position: fixed;
    left: -100%;
    width: 300px;
    display: block;
    height: 100vh;
    top: 75px;
    background: #eaeaea;
    transition: left 0.3s ease;
  }

  .navbar #menu-toggler:checked~.all-links {
    left: 0;
  }

  .navbar .all-links li {
    font-size: 18px;
  }

  .navbar #hamburger-btn {
    display: block;
  }

  section > p {
    text-align: center;
  }

  section .cards .card {
    width: calc(100% / 2 - 15px);
    margin-bottom: 30px;
  }

  .homepage .content h1 {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
  }

  .homepage .content .text {
    font-size: 17px;
  }

  .content a {
    font-size: 17px;
    padding: 9px 20px;
  }

  .contact .row {
    flex-direction: column;
  }

  .contact .row .col {
    width: 100%;
  }

  .contact .row .col:last-child {
    margin-top: 40px;
  }

  footer a {
    height: 0;
  }
}

@media screen and (max-width: 560px) {
  section .cards .card {
    width: 100%;
    margin-bottom: 30px;
  }
}