/* reset css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Helvetica;
  color: #fff;
}

html,
body {
  height: 100%;
  width: 100vw;
  overflow-x: hidden;
}

:root {
  --eerie-black: #1a1e24;
}

@font-face {
  font-family: "Helvetica";
  src: url(/fonts/Helvetica.otf);
}

a {
  text-decoration: none;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
  position: relative;

  &:hover {
    color: #b1b0b0;
  }

  &:hover::after {
    transform: scaleX(1);
  }
}

header {
  z-index: 999;
  position: absolute;
  width: 100%;
  display: flex;
}

.cumslide {
  left: 20px;
}

@media screen and (max-width: 1024px) {
  .cumslide {
    left: 0px;
  }
}

.slide {
  z-index: -1;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.prev-btn {
  z-index: 999;
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  outline: none;
  margin-left: 100px;
}

.next-btn {
  z-index: 999;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background-color: transparent;
  border: none;
  outline: none;
  margin-left: 100px;
}

/* .slider-controls .next-svg {
  transform: rotate(180deg);
} */

.slider-controls button {
  outline: none;
  border: none;
  background: transparent;
  padding: 10px 10px;
  border: none;
  cursor: pointer;
}

.top {
  /* background-image: url("/img/slide/top-bg-1.jpg"); */
  background-repeat: no-repeat;
  background-position: bottom 30px;
  width: 100%;
  height: 970px;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  position: relative;
  transition: background-image 1s ease-in-out;
}

.logo {
  padding: 40px 100px 40px 100px;
  width: 340px;
  height: 220px;
  position: relative;
  background-color: #1a1e24;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.logo-wrapper {
  position: absolute;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.logo-img {
  width: 300px;
}

.logo-text {
  width: 200px;
}

.top .menu {
  flex: 1;
  justify-content: space-between;
  margin-top: 80px;
  margin-left: 100px;
  margin-right: 100px;
  display: flex;
  height: fit-content;
}

.top .menu a {
  opacity: 80%;
}

.top .left-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 970px;
  width: 100px;
  background-color: var(--eerie-black);
}

.top .left-bar .icons {
  position: absolute;
  bottom: 10px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* grid area mid 1 */
.mid-1 {
  z-index: 99;
  margin-top: -30px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background-color: var(--eerie-black);
}

.mid-1 .galeri p {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  font-size: 23px;
  font-weight: 600;
}
.mid-1 .galeri p img {
  width: 30px;
}

.mid-1 .title {
  font-size: 26px;
  color: #fff;
  opacity: 80%;
}

.mid-1 .item {
  padding: 60px 20px;
  border-right: 2px solid #ffffff50;
}

.mid-1 .lifex img,
.mid-1 .proje-hakkinda img,
.mid-1 .iletisim img {
  margin-top: 10px;
  width: 100%;
  opacity: 50%;
}

.mid-2 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 800px;
}

.mid-2 .item {
  background-size: cover;
  background-position: center center;
  position: relative;
}

.mid-2 span {
  position: absolute;
  bottom: 0px;
  left: 20px;
  font-weight: 700;
  font-size: 23px;
  transform: rotate(-90deg);
  transform-origin: 0 0;
}

.mid-3 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: var(--eerie-black);
}

.mid-3 .item-1 {
  padding: 60px 20px;
  border-right: 2px solid #ffffff50;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.mid-3 .item-1 p {
  font-size: 23px;
  font-weight: 600;
}

.mid-3 .item-2 {
  padding: 60px 20px;
  border-right: 2px solid #ffffff50;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 20px;
}

.mid-3 .item-2 p {
  margin-top: -10px;
  font-size: 12px;
}

.mid-3 img {
  width: 100%;
  opacity: 30%;
}

.contact {
  display: flex;
  padding: 60px;
}

.contact .form {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .form span {
  border-left: 4px solid #0d68b2;
  padding-left: 5px;
  color: black;
  font-weight: 600;
  font-size: 28px;
}

.contact .form input,
textarea {
  width: 400px;
  height: 40px;
  outline: none;
  border: none;
  border-bottom: 1px solid black;
  color: black;
  font-size: 13px;
}

.contact .form textarea {
  resize: none;
  height: 80px;
}

.contact .form button {
  padding: 10px 20px;
  border: none;
  background-color: #8dc63f;
  color: #000;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 10px;
  max-width: 100px;
}

.contact .map {
  flex: 1;
  margin-left: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#formErrorMessage {
  background-color: rgb(238, 133, 133);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 20px;
  display: none;
}

#formSuccessMessage {
  background-color: rgb(133, 238, 150);
  border-radius: 4px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 20px;
  display: none;
}

@media screen and (max-width: 1400px) {
  .top {
    height: 550px;
  }
  .logo {
    padding: 40px 40px 20px 40px;
  }
  .logo-img {
    width: 100px;
  }
  .logo-text {
    width: 100px;
  }
  .left-bar {
    display: none;
  }
  .mid-1 {
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
  .mid-1 .item {
    padding-bottom: 0;
    border-right: 2px solid #ffffff50;
  }
  .mid-1 .lifex img,
  .mid-1 .proje-hakkinda img,
  .mid-1 .iletisim img {
    margin-top: 10px;
    width: 100%;
    height: 300px;
  }

  .mid-2 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media screen and (max-width: 800px) {
  .prev-btn {
    margin-left: 0;
  }

  .top {
    height: 450px;
  }
  .logo {
    padding: 40px 40px 10px 40px;
  }
  .logo-img {
    width: 90px;
  }
  .logo-text {
    width: 90px;
  }
  .left-bar {
    display: none;
  }
  .top .menu {
    display: none;
  }
  .mid-1 {
    padding-bottom: 20px;
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mid-1 .item {
    padding-bottom: 0;
    border-right: 2px solid #ffffff50;
  }
  .mid-1 .lifex img,
  .mid-1 .proje-hakkinda img,
  .mid-1 .iletisim img {
    margin-top: 10px;
    width: 100%;
    height: 300px;
  }
  .mid-1 .hakkimizda-p {
    display: none;
  }

  .mid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mid-3 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mid-3 .item-2 {
    padding-top: 0;
  }
  .mid-3 .item-3 {
    display: none;
  }

  .contact {
    flex-direction: column;
    padding: 30px;
  }

  .contact .form input,
  textarea {
    width: 100%;
  }

  .contact .map {
    margin-left: 0px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 600px) {
  .top {
    height: 250px;
  }
  .logo {
    padding: 10px 30px 10px 30px;
    gap: 10px;
    width: 75px;
    height: 55px;
  }
  .logo-img {
    width: 60px;
  }
  .logo-text {
    width: 60px;
  }
  .left-bar {
    display: none;
  }
  .top .menu {
    display: none;
  }
  .mid-1 {
    margin-top: 0px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mid-1 .item {
    padding-bottom: 0;
    border-right: 2px solid #ffffff50;
  }
  .mid-1 .lifex img,
  .mid-1 .proje-hakkinda img,
  .mid-1 .iletisim img {
    margin-top: 10px;
    width: 100%;
    height: 300px;
  }

  .mid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .mid-3 {
    display: grid;
    grid-template-columns: 1fr;
  }

  .mid-3 .item-2 {
    padding-top: 0;
  }
  .mid-3 .item-3 {
    display: none;
  }

  .contact {
    flex-direction: column;
    padding: 30px;
  }

  .contact .form input,
  textarea {
    width: 100%;
  }
  .contact .form #checkbox {
    width: 20px;
    height: 20px;
  }

  .contact .map {
    margin-left: 0px;
    margin-top: 30px;
  }
}

@media screen and (max-width: 400px) {
  .top {
    height: 200px;
  }
}
