/* KEYFRAMES */

@keyframes moveInLeft {
  0% {
    opacity: 0;
    transform: translateX(-150px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}

@keyframes moveInRight {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }

  100% {
    opacity: 1;
    transform: translate(0);
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.8;
  }
}

@keyframes topToBottom {
  0% {
    opacity: 0;
    transform: translateY(-100px);
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes logo {
  0% {
    transform: scaleX(-1);
  }

  100% {
    transform: scaleX(1);
  }
}

.logo-kf {
  animation-name: logo;
  animation-duration: 1.5s;
  backface-visibility: visible;
  animation-timing-function: ease;
  animation-iteration-count: 1;
}

.fade-in {
  animation-name: fadeIn;
  animation-duration: 4s;
  backface-visibility: visible;
  animation-timing-function: ease;
}

.ml-kf {
  animation-name: moveInLeft;
  animation-duration: 0.8s;
  backface-visibility: visible;
  animation-timing-function: ease-out;
}

.mr-kf {
  animation-name: moveInRight;
  animation-duration: 0.8s;
  backface-visibility: visible;
  animation-timing-function: ease-out;
}

.top-to-btm {
  animation-name: topToBottom;
  animation-duration: 0.7s;
  animation-timing-function: ease-out;
  backface-visibility: hidden;
}

.header {
  position: relative;
}
.main-nav-wrapper {
  position: fixed;
  width: 100%;
  background-color: #888;
  z-index: 99;
  transition: all 0.6s ease;
}

.main-nav {
  position: absolute;
  margin-top: 1.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.4rem;

  padding: 0.8rem 0;
  z-index: 999;
  top: 0;
  right: 0;
  left: 0;
}

.on-scroll .main-nav-wrapper {
  padding: 4rem;
  background-color: rgba(68, 68, 68, 0.95);
}

.logo {
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  border: 1px solid wh, thistle;
}

.logo img {
  max-width: 9rem;
}

.main-logo {
  position: absolute;
}

.main-logo,
.alt-logo {
  transition: all 0.6s ease;
}

.white-links .main-logo {
  opacity: 0;
  visibility: 0;
  pointer-events: none;
}
.white-links .alt-logo {
  opacity: 1;
  visibility: 1;
  pointer-events: auto;
}
.dark-links .main-logo {
  opacity: 1;
  visibility: 1;
  pointer-events: auto;
}

.dark-links .alt-logo {
  opacity: 0;
  visibility: 0;
  pointer-events: none;
}

.on-scroll .main-logo {
  opacity: 0;
  visibility: 0;
  pointer-events: none;
}

.on-scroll .alt-logo {
  opacity: 1;
  visibility: 1;
  pointer-events: auto;
}

.nav-list {
  display: flex;
  /* justify-content: space-between; */
  align-items: center;
}

.nav-list li:not(:last-child) {
  margin-right: 1.2rem;
}

.nav-links:link,
.nav-links:visited {
  font-size: 1.6rem;
  font-weight: 600;
  transition: all 0.4s ease;
}

.nav-links:hover,
.nav-links:active {
  color: #bdd673 !important;
}

.active-link .nav-links {
  color: #a0c537 !important;
}

.white-links .nav-links:link,
.white-links .nav-links:visited {
  color: #fff;
}
.dark-links .nav-links:link,
.dark-links .nav-links:visited {
  color: #444;
}

.on-scroll .nav-links:link,
.on-scroll .nav-links:visited {
  color: #fff;
}

.fl-cont {
  display: flex;
  justify-content: center;
  align-items: center;

  z-index: 9999;
}

.mobile {
  display: none;
}

.fl {
  transition: all 0.2s ease;
}

.fl:hover {
  /* transform: scale(1.04); */
  border-bottom: 2px solid #bdd673;
}

.fl-cont a:not(:last-child) {
  margin-right: 0.8rem;
}

.fl-cont img {
  width: 25px;
  opacity: 0.2;
  border-radius: 3px;
}
.fl-cont .active-lang img {
  opacity: 1;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.1);
}

/* Hamburger***** */

.menu-btn {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;

  width: 40px;
  height: 40px;
  cursor: pointer;
  transition: all 0.4s ease;
  display: none;
}

.open-menu {
  position: absolute;
  display: block;
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.4s ease;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.2);
}

.open-menu::before,
.open-menu::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 3px;
  background-color: #fff;
  border-radius: 5px;
  transition: all 0.4s ease;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.05);
}
.open-menu::after {
  transform: translateY(-10px);
}
.open-menu::before {
  transform: translateY(10px);
}

.dark-links .open-menu,
.dark-links .open-menu::after,
.dark-links .open-menu::before {
  background-color: #444;
}
.nav-open .open-menu,
.nav-open .open-menu::after,
.nav-open .open-menu::before {
  background-color: #fff;
}

.on-scroll .open-menu,
.on-scroll .open-menu::after,
.on-scroll .open-menu::before {
  background-color: #fff;
}

.nav-open .open-menu {
  background-color: rgba(68, 68, 68, 0);
}

.nav-open .open-menu::after {
  transform: rotate(45deg);
}
.nav-open .open-menu::before {
  transform: rotate(-45deg);
}

/* SECTION HERO */

.send-cv-img img {
  cursor: pointer;
  position: fixed;
  z-index: 5555;
  top: 20%;
  transform: translate(-50%);
  max-width: 10rem;
  transition: all 0.4s ease-out;
  opacity: 0.8;
}

.send-cv-img:hover img {
  transform: translate(0);
  opacity: 1;
}

/* Swiper */

.swiper-wrapper {
  height: 100vh;
  width: 100vw;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;

  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.swiper {
  margin-left: auto;
  margin-right: auto;
}

.swiper-button-next,
.swiper-button-prev {
  transition: all 0.5s ease;
  border-radius: 10%;
  padding: 2.4rem;
  top: 95%;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  color: #809e2c;
  font-size: 1.8rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: #d0e29b;
  background-color: rgba(17, 21, 6, 0.8);
}

.slide-overlay-black {
  width: 100%;
  height: 100vh;
  background-color: #000;
  position: absolute;
  opacity: 0.6;
  z-index: 99;
}
.slide-overlay-white {
  width: 100%;
  height: 100vh;
  background-color: #fff;
  position: absolute;
  opacity: 0.6;
  z-index: 99;
}

/* HERO SLIDER CONTENT */
.hero-slide {
  width: 100%;
  position: absolute;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  padding: 2.4rem;
  /* background-color: rgba(68, 68, 68, 0.2); */
  border-radius: 5px;
}

.hero-title {
  color: #a0c537;
  font-size: 6.2rem;
  font-weight: 400;
  margin-bottom: 2.4rem;
  align-self: start;
  font-style: italic;
}

.hero-text {
  text-align: start;
  line-height: 1.6;
  color: #fff;
  font-size: 2rem;
  margin-bottom: 4.8rem;
  font-weight: 600;
}

.t-1,
.t-2 {
  width: 80%;
}

.dark {
  color: #444;
}

.list {
  margin-bottom: 0;
}

.hero-list li:not(:last-child) {
  margin-bottom: 1.2rem;
}
.hero-list li:last-child {
  margin-bottom: 4.8rem;
}

.hero-color {
  color: #a0c537;
}

.hero-btn:link,
.hero-btn:visited {
  color: #fff;
  /* background-color: #a0c537; */
  background-color: #809e2c;
  font-weight: 600;
  padding: 1.2rem 2.4rem;
  border-radius: 3px;
  transition: all 0.4s ease;
}

.hero-btn:hover,
.hero-btn:active {
  background-color: #607621;
  font-weight: 600;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.3);
}

/* ABOUT SECTION */

.section-about {
  padding-top: 12.8rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-container {
  height: 75rem;
  /* background-color: rgba(159, 197, 55, 0.5); */
  box-shadow: inset -1px -1px 44px -4px rgba(0, 0, 0, 0.75);
  margin-right: 2.4rem;
  width: 65%;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
}

.about-img {
  display: block;
  max-width: 19rem;
  padding: 2.4rem;
}

.primary-title {
  font-size: 3rem;
  font-weight: 600;
}

.secondary-title {
  font-size: 2.4rem;
  font-weight: 600;
}

.section-text {
  font-size: 1.6rem;
  line-height: 1.5;
  /* margin-bottom: 1.2rem; */
  max-width: 90%;
}

.text-wrapper:not(:last-child) {
  margin-bottom: 4.8rem;
}

/* OUR DIFFERENCE */
.our-difference {
  background-color: rgba(241, 241, 241, 0.4);
  padding: 12.8rem 0 8rem 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sub-title {
  font-size: 2rem;
  color: #666;
  font-weight: 600;
}

.our-difference-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 8rem;
  justify-items: end;
}

.our-differecence-col {
  display: flex;
}

.icon {
  font-size: 1.8rem;
  color: #a0c537;
  margin: 1.6rem 3.2rem 0 3.2rem;
}

.tertiary-title {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.tertiary-sub-title {
  font-size: 1.6rem;
}

/* OUR EXPERTISE */
.our-expertise {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 12.8rem;
}
.our-expertise-container {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  justify-items: center;
  align-items: center;
  column-gap: 4.8rem;
}
.our-expertise-cart {
  transition: all 0.4s ease;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border-radius: 3px;
  width: 100%;
}
.our-expertise-cart:hover,
.our-expertise-cart:active {
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.5);
}

.our-expertise-cart img {
  display: block;
  width: 100%;
}

.cart-text-container {
  width: 100%;
  height: 14rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.8rem;
  gap: 1rem;
  box-shadow: inset 1px 1px 15px 1px rgba(0, 0, 0, 0.02);
}

.cart-text {
  display: flex;
  font-size: 1.4rem;
  font-weight: 700;
  color: #444;
  text-align: center;
  line-height: 1.5;
}

.cart-text-element {
  text-align: center;
  position: relative;
  padding: 0.5rem 0.6rem;
  border-right: 1px solid rgba(159, 197, 55, 0.5);
  border-left: 1px solid rgba(159, 197, 55, 0.5);
  border-radius: 25px;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.02);
}

.cart-text-element:not(:last-child) {
  margin-right: 0.4rem;
}

/* REFERENCES */
.section-references {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-top: 12.8rem;
}
/* Thumbs */
.ref-row {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  padding: 1.8rem;
  justify-items: center;
  column-gap: 1.2rem;
  row-gap: 1.2rem;
  transition: all 0.4s ease;
}

.ref-hidden .ref-row {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* The Modal (background) */

.modal {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: fixed;
  z-index: 1;

  left: 0;
  top: 0;
  width: 100%;
  height: 0;
  /* overflow: auto; */ /* En son bu özeeliği değiştirdim. Herhangibir bug'da ilk buraya bak! */
  background-color: #111;
  transition: all 0.5s ease;

  /*  display: flex;
  justify-content: center; */
}

.modal-active .modal {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  padding-top: 10%;
  width: 100%;
  height: 100%;
}

/* Modal Content */
.modal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  max-width: 39rem;
}

.mySlides img {
  max-width: 39rem;
}

/* The Close Button */
.close {
  color: white;
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 35px;
  font-weight: bold;
  transition: all 0.4s ease;
}

.close:hover,
.close:focus {
  color: #a0c537;
  text-decoration: none;
  cursor: pointer;
}

/* Hide the slides by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  background-color: rgba(159, 197, 55, 0.1);
  top: 50%;
  width: auto;
  padding: 16px;
  margin-top: -50px;
  color: white;
  font-weight: bold;
  font-size: 20px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
  -webkit-user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: -35%;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: -35%;
}

.prev:hover,
.next:hover {
  background-color: #a0c537;
  border-radius: 3px;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #fff;
  font-size: 2.4rem;
  padding: 0.2rem;
  position: absolute;
  bottom: -15%;
  right: 50%;
  transform: translate(50%);
  font-weight: 600;
}

.total-number {
  color: #bbb;
}
.ref-name {
  text-align: center;
  width: 100%;
  font-size: 2.4rem;
  font-weight: 700;
  position: absolute;
  top: -15%;
  right: 50%;
  transform: translate(50%);
  color: #fff;
}

/* Caption text */
.caption-container {
  text-align: center;
  background-color: black;
  padding: 2px 16px;
  color: white;
}

img.demo {
  opacity: 0.6;
}

.active,
.demo:hover {
  opacity: 1;
}

img.hover-shadow {
  transition: 0.3s;
  width: 100%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
  /* border: 1px solid black; */
}

.hover-shadow:hover {
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}
.column {
  /* margin-right: 12px; */
  position: relative;
  cursor: pointer;
  border-radius: 3px;
}

.col-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  opacity: 0;
  display: flex;
  justify-content: center;
  transition: all 0.4s ease;
  z-index: 11;
  border-radius: 3px;
}
.col-overlay p {
  transition: all 0.4s ease;
  font-size: 1.6rem;
  padding: 1.2rem;
  color: #fff;
}
.column:hover .col-overlay {
  opacity: 1;
  transform: scale(1.08);
}

.column:hover .hover-shadow {
  transform: scale(1.08);
}
/* CONTACT SECTION */
.section-contact {
  position: relative;
  padding-top: 8rem;
}
.contact-box {
  width: 75%;
  height: 30rem;
  position: absolute;
  top: 30%;
  left: 12%;

  display: grid;
  grid-template-columns: 3fr 3fr 2fr;
  background-color: rgba(68, 68, 68, 0.98);
  justify-items: center;
  align-items: flex-start;
  padding: 3.2rem;
  border-radius: 3px;
  box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.5);
}
.social-media-container {
  margin-top: 2.4rem;
  display: flex;
}
.link-soc {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  transition: all 0.3s ease;
  border: 1px solid #fff;
  border-radius: 3px;
  width: 3.5rem;
  height: 3.5rem;
  cursor: pointer;
}

.link-soc:not(:last-of-type) {
  margin-right: 1.2rem;
}
.icon-soc {
  cursor: pointer;
  font-size: 1.6rem;
  color: #fff;
}

.link-soc:hover,
.link-soc:active {
  background-color: #a0c537;
  border-color: #a0c537;
}

.right-col,
.adress {
  display: flex;
  flex-direction: column;
}

.contact-title {
  color: #a0c537;
  font-size: 3.2rem;
  margin-bottom: 1.8rem;
}

.left-col .contact-text {
  width: 90%;
}

.contact-text {
  color: #fff;
  line-height: 1.5;
  font-size: 1.6rem;
  width: 100%;
  margin-bottom: 0.8rem;
}
.contact-logo {
  display: block;
  max-width: 15rem;
  padding: 1.2rem;
  background-color: rgba(255, 255, 255, 0.9);
  box-shadow: 1px 1px 15px 1px rgba(159, 197, 55, 0.4);
  border-radius: 3px;
}

/* SEND CV */

.section-send-cv {
  background-color: #444;
  width: 100%;
}
.send-cv-container {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 12.8rem 0 9.6rem 0;
}

.send-cv-title {
  color: #fff;
  font-size: 3rem;
  font-weight: 600;
}
.send-cv-secondary-title {
  color: #a0c537;
  font-size: 1.8rem;
  font-weight: 400;
}

.send-cv-form {
  display: grid;
  grid-template-areas:
    "a a b b c c"
    "d d d e e e"
    "f f f f f f";

  justify-items: start;
  align-items: center;
  row-gap: 3.2rem;
}

.input-container {
  display: flex;
  flex-direction: column;
}

.input-container label {
  font-size: 1.6rem;
  color: #fff;
  margin-bottom: 1.2rem;
}

.input-container input {
  width: 100%;
  font-size: 1.6rem;
  padding: 1.2rem;
  border: none;
  border-radius: 3px;

  outline-color: #a0c537;
}

.full-name {
  grid-area: a;
  margin-right: 3.2rem;
}
.email {
  grid-area: b;
  margin-right: 3.2rem;
}
.phone {
  grid-area: c;
  margin-right: 0;
  justify-self: end;
}

.profession {
  grid-area: d;
  justify-self: stretch;
  margin-right: 3.2rem;
}

.add {
  grid-area: e;
  justify-self: stretch;
  align-self: flex-end;
  /* height: 3rem; */
}
#file {
  background-color: #fff;
}

.btn-send {
  cursor: pointer;
  color: #fff;
  font-weight: 600;
  justify-self: center;
  background: none;
  font-size: 1.8rem;
  padding: 1.2rem 9.6rem;
  grid-area: f;
  background-color: #809e2c;
  border-radius: 3px;
  transition: all 0.3s ease;
  margin-top: 4.8rem;
}

.btn-send:hover,
.btn-send:active {
  background-color: #607621;
}

.popup-msg {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateY(50%);
  z-index: 7777;
  background-image: linear-gradient(to right top, #ecf3d7, #fff);
  /*   background-color: #fff; */
  width: 50%;
  height: 30rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 4.2rem;
  border-radius: 3px;
  transition: all 0.5s ease;
}

.show-popup .popup-msg {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  width: 50%;
}
.popup-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.5s ease;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.show-popup .popup-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  top: 0;
  bottom: 0;
  z-index: 6666;
  width: 100vw;
  height: 100vh;
  position: fixed;
  background-color: rgba(0, 0, 0, 0.8);
}

.name-popup {
  text-transform: capitalize;
  font-weight: 600;
}
.popup-img {
  max-width: 10rem;
}

.close-popup-btn {
  position: absolute;
  top: 5%;
  right: 5%;

  font-size: 3.4rem;
  cursor: pointer;
  background: none;
  color: #303b10;

  transition: all 0.4s ease;
}
.close-popup-btn:hover {
  color: #a0c537;
}

/************* FOOTER **********/
.footer {
  /* background-color: rgba(241, 241, 241, 0.5); */
  background-image: linear-gradient(
    to right top,
    rgba(236, 243, 215, 0.747),
    #fff
  );
  padding: 4.8rem;
}

.footer-text {
  text-align: center;
  font-size: 1.4rem;
  color: #444;
  font-weight: 600;
}
