/* 
 Template Name: MertLife Yapı - v1
 Author: Gizem GÖK
*/

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --lighter-blue: #caf0f8;
  --light-blue: #90e0ef;
  --blue: #00b4d8;
  --dark-blue: #0077b6;
  --darker-blue: #072930;
  --primary-color: #00c7c7;
  --dark-gray: #2c393f;
  --light-gray: #ededed;
  --orange: #ff9e20;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/

body {
  font-family: "Roboto", sans-serif;
  color: #080808;
}

::selection {
  background-color: var(--orange);
  color: white;
}

:focus {
  outline: none;
}

.hidden {
  display: none !important;
}

.seperator {
  border: 0.5px solid rgba(221, 221, 221, 0.5);
  margin: 20px 0px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.font-heading {
  font-family: "Roboto", sans-serif;
  font-weight: bold;
}

a {
  text-decoration: none;
}
a:hover {
  color: var(--orange) !important;
}

/*--------------------------------------------------------------
# Sections
--------------------------------------------------------------*/
.hidden {
  display: none;
}
.section {
  padding: 5rem 0rem 0rem 0rem;
}

.alert-message {
  color: var(--orange) !important;
  background-color: white !important;
  border-color: 1px solid var(--orange);
}

.section-title {
  margin-bottom: 2rem;
}

.heading-border {
  width: 200px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 3px solid var(--dark-blue);
}

.page-title-image {
  position: relative;
  height: 300px;
  width: 100%;
}
.page-title-image .title-text {
  z-index: 2;
  color: var(--darker-blue);
  padding-bottom: 10px;
  border-bottom: 3px solid var(--orange);
}
.page-title-image .overlay-title {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("../img/dotted-background.jpg");
}
.page-title-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.corporate-section img {
  height: 250px;
  border-top-left-radius: 20px;
  border-bottom-right-radius: 20px;
  border-right: 5px solid var(--dark-blue);
  border-bottom: 5px solid var(--dark-blue);
  object-fit: cover;
}
.about-us-text {
  text-align: justify;
}
.corporate-section .corporate-icon {
  border: none;
  border-radius: 0px;
  width: 32px;
  height: 32px;
}

.policy-section p {
  text-align: justify;
}

.policy-section i {
  margin-right: 5px;
  font-size: 32px;
  color: var(--dark-blue);
}

/* Contact Form */

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/

.custom-navbar .nav-item .nav-link {
  color: var(--darker-blue);
  font-weight: 500;
}
.custom-navbar .nav-item .nav-link:hover {
  color: var(--orange);
}

.custom-navbar .nav-item .active {
  color: var(--orange) !important;
  border-bottom: 2px solid var(--orange);
}

@media (min-width: 999.98px) {
  #header .navbar {
    max-height: 10vh;
  }
  #header .navbar .logo {
    height: 10vh;
  }
}

.main-carousel .carousel-item {
  height: 90vh;
  border-radius: 20px;
}

/* Heading Section */

#heading {
  background-color: var(--lighter-blue);
}

#heading .heading-text {
  font-size: 18px;
  color: var(--dark-gray);
}
#heading .image-container {
  margin-top: 5%;
}

#heading .image-container img {
  width: 70%;
  border-left: 5px solid var(--dark-blue);
  border-top: 5px solid var(--dark-blue);
}

/*--------------------------------------------------------------
# Project Container
--------------------------------------------------------------*/

.projects-container {
  display: flex;
  flex-wrap: wrap;
}
.projects-container .image-container {
  cursor: pointer;
  position: relative;
  width: 24%;
  height: 300px;
  margin: 5px;
}
.owl-carousel .image-container {
  width: 100%;
  height: 300px;
}
.owl-carousel .image-container img,
.projects-container .image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.overlay {
  cursor: pointer;
  color: white !important;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: 0.5s ease;
  background-color: #072930be;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
}
.overlay .project-name {
  color: white !important;
}

.owl-carousel .image-container:hover .overlay,
.projects-container .image-container:hover .overlay {
  opacity: 1;
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/

.custom-footer {
  background-color: #00999e;
  border: none;
}

.custom-footer .social-links {
  border-radius: 50%;
  height: 50px;
  width: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-footer .footer-menu-link,
.custom-footer .footer-menu-link a {
  color: white;
}

.custom-footer .menu-link-title {
  width: 200px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
}

.contact-parallax,
.corporate-parallax {
  height: 350px;
  color: white;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.contact-parallax {
  background-image: linear-gradient(
      360deg,
      #000000 8.33%,
      rgba(0, 0, 0, 0.4) 42.71%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../img/header2.jpg");
}

.corporate-parallax {
  background-image: linear-gradient(
      360deg,
      #000000 8.33%,
      rgba(0, 0, 0, 0.4) 42.71%,
      rgba(0, 0, 0, 0.7) 100%
    ),
    url("../img/header1.jpg");
}

/*--------------------------------------------------------------
# CONTACT FORM PAGE
--------------------------------------------------------------*/

.contact-form textarea {
  height: 75px;
  margin-bottom: 0;
}

.form-height {
  height: 300px;
}
.form-texts {
  text-align: right !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end !important;
  align-items: flex-end !important;
}
.contact-title-border {
  width: 80px;
  margin: 5px 0px;
  border: 1px solid var(--blue);
}
.form-title-text {
  color: var(--dark-blue);
}
.form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--dark-gray) !important;
  height: 40px !important;
  font-size: 18px;
  font-weight: 300;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px !important;
}
.form-control:focus {
  color: #212529;
  border-bottom: 2px solid var(--dark-blue) !important;
  box-shadow: none !important;
}
.form-control-textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  box-shadow: none;
  background: transparent;
  border: none;
  width: 100%;
  padding: 10px;
  border-bottom: 2px solid var(--dark-blue) !important;
  font-size: 18px;
  font-weight: 300;
  -webkit-border-radius: 0px;
  -moz-border-radius: 0px;
  -ms-border-radius: 0px;
  border-radius: 0px !important;
}
.form-control::placeholder,
.form-control-textarea::placeholder {
  font-weight: 400;
  opacity: 0.5;
}
.btn-contact {
  background-color: var(--dark-blue);
  border: 2px solid var(--dark-blue);
  border-radius: 99px;
  color: white;
  font-weight: 500;
  padding: 10px 20px;
}
.btn-contact:hover {
  color: var(--dark-blue);
  background-color: white;
  border: 2px solid var(--dark-blue);
}

/*--------------------------------------------------------------
# FULL PAGE Project
--------------------------------------------------------------*/

.scroll-image {
  position: relative;
}
.image-item {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}
.project-detail-sidebar {
  font-family: "Roboto", sans-serif;
  position: fixed;
  background-color: white;
  height: 100%;
  right: 0;
  top: 0;
  width: 40%;
  border-bottom-left-radius: 30px !important;
  box-shadow: 4px 4px 4px 0 rgba(0, 0, 0, 0.04);
}
.project-detail-back {
  position: fixed;
  top: 10px;
  left: 15px;
  border-radius: 50%;
  height: 50px;
  width: 50px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
}
.project-detail-sidebar-close-button {
  padding-top: 10px;
  padding-left: 25px;
  font-size: 34px;
  color: var(--dark-blue);
  cursor: pointer;
}
.project-sidebar-title {
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-size: 1.5rem;
  color: var(--dark-blue);
  padding-bottom: 10px;
}
.project-sidebar-label {
  color: var(--dark-blue);
  margin: 0px 5px;
}
.project-sidebar-desc {
  max-height: 320px;
  overflow-y: auto;
}
.open-project-detail-button {
  transform: rotateZ(-90deg);
  position: fixed;
  right: -50px;
  padding: 10px;
  height: 75px;
  width: 150px;
  top: 45%;
  background-color: white;
  border: none;
}

/* --------------- RESPONSIVE --------------------- */

@media (max-width: 767.98px) {
  .projects-container {
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .form-texts {
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .project-detail-sidebar {
    width: 100%;
    border-radius: 0px !important;
  }
  .page-title-image {
    position: relative;
    height: 200px;
    width: 100%;
  }
}

@media (max-width: 1199.98px) {
  .custom-navbar .logo {
    width: 64px;
  }
  .projects-container .image-container {
    width: 300px;
  }
  .custom-footer .menu-link-title {
    width: 100%;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  }
  .main-carousel .carousel-item {
    height: 300px;
  }
  .main-carousel .carousel-item img {
    height: 100%;
    object-fit: cover;
  }
}

/* ******************* ANIMATIONS ******************* */

.animated {
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}
@-webkit-keyframes fadeInRight {
  0% {
    opacity: 0;
    -webkit-transform: translateX(30px);
  }
  100% {
    opacity: 1;
    -webkit-transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(30px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fadeInRight {
  -webkit-animation-name: fadeInRight;
  animation-name: fadeInRight;
}
