@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@700&display=swap');

body {
  font-family: 'Roboto', sans-serif;
}

/* header */

.header {
  position: fixed;
  right: 0;
  width: 100%;
  z-index: 3;
}

.header-display {
  display: none;
}

.header ul {
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: hidden;
}

.header li a {
  border-radius: 40px;
  color: #DC1541;
  display: block;
  font-size: 14px;
  font-weight: 700;
  padding: 20px 20px;
  text-decoration: none;
}

.header li a:hover,
.header .menu-btn:hover {
  background-color: #DC1541;
  color: #fff;
}

.header li a.active {
  background-color: #ECECEC;
  color: #DC1541;
}

.logo-kb {
  /* background: url("../img/logo-kartal-belediyesi.png") no-repeat 0 0; */
  display: inline-block;
  height: 104px;
  position: fixed;
  width: 107px;
  /* z-index: 2; */
}

/* menu */

.header .menu {
  clear: both;
  max-height: 0;
  transition: max-height .2s ease-out;
}

/* menu icon */

.header .menu-icon {
  cursor: pointer;
  float: right;
  padding: 28px 20px;
  position: relative;
  user-select: none;
  z-index: 2;
}

.header .menu-icon .navicon {
  background: #333;
  display: block;
  height: 2px;
  position: relative;
  transition: background .2s ease-out;
  width: 18px;
}

.header .menu-icon .navicon:before,
.header .menu-icon .navicon:after {
  background: #333;
  content: '';
  display: block;
  height: 100%;
  position: absolute;
  transition: all .2s ease-out;
  width: 100%;
}

.header .menu-icon .navicon:before {
  top: 5px;
}

.header .menu-icon .navicon:after {
  top: -5px;
}

/* menu btn */

.header .menu-btn {
  display: none;
}

.header .menu-btn:checked~.menu {
  background-color: #fff;
  max-height: 350px;
  padding-top: 10px;
  padding-bottom: 100px;
  position: relative;
  top: -60px;
}

.header .menu-btn:checked~.menu-icon .navicon {
  background: transparent;
}

.header .menu-btn:checked~.menu-icon .navicon:before {
  transform: rotate(-45deg);
}

.header .menu-btn:checked~.menu-icon .navicon:after {
  transform: rotate(45deg);
}

.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:before,
.header .menu-btn:checked~.menu-icon:not(.steps) .navicon:after {
  top: 0;
}

.baskan {
  background: url("../img/baskan.png") no-repeat 0 0;
  background-size: contain;
  display: inline-block;
  height: -webkit-fill-available;
  position: fixed;
  width: 28%;
  height: 50%;
  z-index: 2;
}

.page-projects .baskan {
  width: 20%;
}

.projects-container {
  margin: 0 60px 60px 450px;
  position: relative;
  top: 125px;
  z-index: 2;
  background-color: white;
}

.tab-menu {
  border-radius: 30px;
  list-style: none;
  margin: 0 auto;
  overflow: hidden;
  padding: 0;
  text-align: center;
  width: fit-content;
}

.tab-menu li {
  float: left;
}

.tab-menu li a {
  background-color: #FF5B7F;
  color: #fff;
  display: inline-block;
  padding: 10px 30px;
  text-decoration: none;
}

.tab-menu li a.active {
  background-color: #D1133D;
}

.tab-menu li a:hover {
  background-color: #08305d;
}


.container-project-list {
  display: flex;
  flex-flow: column wrap;
  align-content: space-between;
  /* Your container needs a fixed height, and it 
   * needs to be taller than your tallest column. */
  height: 1960px;

  /* Optional */
  border-radius: 3px;
  padding: 20px 20px 20px 20px;
  margin: 40px auto;
  counter-reset: items;
}

.small-height {
  height: 600px;
}

.container-project-list div {
  transform: translate(0px, 0px);
  transition: transform 0.3s;
}

.container-project-list div:hover {
  transform: translate(0px, -5px) !important;
  transition: transform 0.3s !important;
}

.item {
  width: 22%;
  /* Optional */
  position: relative;
  border-radius: 20px;
  box-shadow: 0 0 20px 0px rgb(51 51 51 / 50%);
  color: #fff;
  box-sizing: border-box;
  margin: 10px;
}

.project-image {
  height: 100%;
}

/* Re-order items into 3 rows */
.item:nth-of-type(4n+1) {
  order: 1;
}

.item:nth-of-type(4n+2) {
  order: 2;
}

.item:nth-of-type(4n+3) {
  order: 3;
}

.item:nth-of-type(4n) {
  order: 4;
}

/* Force new columns */
.break {
  flex-basis: 100%;
  width: 0;
  margin: 0;
  content: "";
  padding: 0;
}

.page-project-detail {
  background: url("../img/bg-shape.png") no-repeat top left;
  background-attachment: fixed;
}

.section-container {
  height: -webkit-fill-available;
  position: absolute;
  left: 0;
  right: 0;
  margin: 180px auto 0 auto;
  width: 80%;
}

.general-container {
  height: -webkit-fill-available;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 80px 60px 550px;
  top: 200px;
}

.bg-container {
  height: inherit;
  position: relative;
}

.container-bg-one,
.container-bg-two,
.container-bg-three {
  border-radius: 20px;
  box-shadow: 0 0 20px 0px rgb(51 51 51 / 8%);
  height: inherit;
  position: absolute;
  width: 100%;
}

.container-bg-one {
  background-color: rgb(255 255 255 / 40%);
  transform: rotateY(0deg) rotate(170deg);
  /* needs Y at 0 deg to behave properly*/
}

.container-bg-two {
  background-color: rgb(255 255 255 / 60%);
  transform: rotateY(0deg) rotate(175deg);
  /* needs Y at 0 deg to behave properly*/
}

.container-bg-three {
  background: url("../img/logo-kartal-belediyesi-light.png") no-repeat 30px 30px rgb(255 255 255 / 100%);
  background-size: 40%;
  display: table;
  transform: rotateY(0deg) rotate(0deg);
  /* needs Y at 0 deg to behave properly*/
}

.page-project-detail .left-side {
  display: table-cell;
  padding: 40px;
  vertical-align: top;
}

.page-project-detail .motto {
  color: #434242;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.page-project-detail h1 {
  color: #DC1541;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
}

.page-project-detail p {
  margin-top: 30px;
}

.page-project-detail .ar-ctas {
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.page-project-detail .ar-ctas li {
  display: inline-block;
}

.page-project-detail .ar-ctas a {
  background-color: #525252;
  border-radius: 20px;
  color: #fff;
  display: inline-block;
  padding: 5px 25px;
  text-align: center;
  text-decoration: none;
}

.page-project-detail .ar-ctas a.active {
  background-color: #DC1541;
}

.page-project-detail .ar-ctas a:hover {
  background-color: #333;
}

.page-project-detail .right-side {
  display: table-cell;
}

.page-project-detail .slide-big {
  background: url("../img/slide-big.png") no-repeat 0 0;
  height: 511px;
  position: relative;
  width: 909px;
}

.badge {
  position: absolute;
  bottom: 30px;
  left: 25px;
}

.gallery {
  width: 640px;
  /* margin: -50px auto 0 auto; */
  margin: 0 auto;
  padding: 5px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, .1);
}

.gallery>div {
  position: relative;
  float: left;
  padding: 5px;
}

.gallery>div>img {
  width: 200px;
  transition: .1s transform;
  transform: translateZ(0);
  /* hack */
}

.gallery>div:hover {
  z-index: 1;
}

.gallery>div:hover>img {
  transform: scale(1.2, 1.2);
  transition: .3s transform;
}

.cf:before,
.cf:after {
  display: table;
  content: "";
  line-height: 0;
}

.cf:after {
  clear: both;
}


/* social */

.social {
  list-style: none;
  margin: 0;
  padding: 0;
  /* position: absolute; */
  position: fixed;
  right: 20px;
  top: 50%;
  height: 50%;
}

.social li {
  margin-bottom: 10px;
}

.social li a {
  border-radius: 50%;
  color: #fff;
  display: inline-block;
  height: 32px;
  text-align: center;
  padding-top: 8px;
  width: 32px;
}

.social li a.youtube {
  background-color: #F00100;
}

.social li a.instagram {
  background-color: #C21B6B;
}

.social li a.facebook {
  background-color: #3A5C9E;
}

.social li a.twitter {
  background-color: #1A96E0;
}

.social li a:hover {
  background-color: #333;
}

/* bottom bar*/
.bottom-bar {
  position: fixed;
  bottom: 40px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  z-index: 3;
}

.bottom-logo {
  position: fixed;
  bottom: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.bottom-bar div {
  width: 100%;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 0 20px 0px rgb(51 51 51 / 50%);
  color: #fff;
  box-sizing: border-box;
  margin: 10px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transform: translate(0px, 0px);
  transition: transform 0.3s;
}

.bottom-bar div a {
  text-decoration: none;
  color: #fff;
}

.bottom-bar div:hover {
  transform: translate(0px, -5px) !important;
  transition: transform 0.3s !important;

}

.mobile-hide {
  display: block;
}

/* .bottom-bar div a:hover {
  text-decoration: underline;
} */

.bg-1 {
  background-color: #4d579e;
}

.bg-2 {
  background-color: #de4645;
}

.bg-3 {
  background-color: #ff7300;
}

.bg-4 {
  background-color: #119597;
}

.bg-5 {
  background-color: #9b3cce;
}

.bg-6 {
  background-color: #00bdff;
}

.bg-7 {
  background-color: #dddedf;
}

.bg-8 {
  background-color: #dc1541;
}

/* footer */

.footer {
  position: fixed;
  bottom: 20px;
  color: #999;
  font-size: 12px;
  right: 60px;
}

/* Main banner*/
.main-banner-container {
  padding-top: 10%;
  width: 65%;
  margin-left: 30%;
  height: 80vh;
}

.main-banner-inner {
  box-shadow: 0px 0px 30px 0px rgb(51 51 51 / 51%);
  border-radius: 15px;
  display: flex;
  flex-direction: row;
  height: 100%;
}

.main-banner-image {
  width: 55%;
}

.main-banner-image img {
  height: 100%;
  border-top-left-radius: 15px;
  border-bottom-left-radius: 15px;
}

.main-banner-info {
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.main-banner-text {
  display: block;
}

.banner-actions {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.banner-actions div {
  width: 100%;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 0 20px 0px rgb(51 51 51 / 50%);
  color: #fff;
  box-sizing: border-box;
  margin: 10px;
  min-height: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  transform: translate(0px, 0px);
  transition: transform 0.3s;
}

.banner-actions div a {
  text-decoration: none;
  color: #fff;
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  align-items: center;
}

.banner-actions div:hover {
  transform: translate(0px, -5px) !important;
  transition: transform 0.3s !important;
}

.center-tab-menu {
  display: block;
}

.top-tab-menu {
  display: none;
}


/* Tab structure start*/
/* .tabs_wrap {
  padding: 20px;
} */

.tabs_wrap ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding-inline-start: 0px;
}

.tabs_wrap ul li {
  width: 135px;
  text-align: center;
  list-style: none;
  background: #ff5b7f;
  border-right: 1px solid #d1133d;
  color: white;
  padding: 8px 15px;
  cursor: pointer;
  -webkit-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  transition: all 0.2s ease;
}

.tabs_wrap ul li:first-child {
  border-top-left-radius: 25px;
  border-bottom-left-radius: 25px;
}

.tabs_wrap ul li:last-child {
  border-right: 0px;
  border-top-right-radius: 25px;
  border-bottom-right-radius: 25px;
}

.tabs_wrap ul li:hover,
.tabs_wrap ul li.active {
  background: #d1133d;
  color: #fff;
}

/* Tab structure end*/

/* Baskandan start*/
.text-content {
  display: table-cell;
  padding: 40px;
  vertical-align: top;
}

.text-content .about-text {
  margin-top: 40px;
  text-align: justify;
}

.text-content .about-text p {
  padding-top: 0px;
  padding-bottom: 25px;
}

.text-content .text-header {
  text-align: end;
}

.text-content .text-header p {
  color: #434242;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
}

.text-content .text-header h1 {
  color: #DC1541;
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 42px;
  font-weight: 900;
}

/* Baskandan end*/

/*Contact start*/

.address-container {
  display: flex;
  flex-direction: inherit;
  justify-content: space-evenly;
  padding: 20px;
}

.address-container .form_grid {
  background-color: #fff;
  border-radius: 16px;
  border: 1px solid #ebebeb;
  padding: 30px;
  min-height: 500px;
}

.address-container .contact_localtion {
  background-color: #fff;
  border: 1px solid #ebebeb;
  border-radius: 16px;
  padding: 30px;
  position: relative;
  min-height: 500px;
}

.address-container .col-lg-7 {
  padding-left: 12px;
  padding-right: 12px;
  flex: 0 0 auto;
  width: 66.66666667%;
}

.address-container .col-lg-5 {
  flex: 0 0 auto;
  width: 33.33333333%;
  padding-left: 12px;
  padding-right: 12px;
}

.form_grid .h4,
.form_grid h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.form_grid p {
  font-size: 14px;
  line-height: 1.714;
  margin-bottom: 30px;
}

.col-md-6 {
  flex: 0 0 auto;
  width: 50%;
  padding-left: 12px;
  padding-right: 12px;
}

.col-sm-12 {
  flex: 0 0 auto;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}

.row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1*var(--bs-gutter-y));
  margin-right: calc(-.5*var(--bs-gutter-x));
  margin-left: calc(-.5*var(--bs-gutter-x));
}

.form_grid .contact_form input,
.form_grid .contact_form textarea.form-control {
  border: 1px solid #ebebeb;
  border-radius: 8px;
  background-color: #fff;
  color: #484848;
  font-size: 14px;
  line-height: 1.2;
  width: 100%;
}

.form_grid .contact_form input {
  height: 50px;
  margin-bottom: 20px;
  padding-left: 20px;
}

.form-control:active,
.form-control:focus {
  box-shadow: none;
  outline: none;
}

.form_grid .contact_form textarea.form-control {
  margin-bottom: 25px;
  padding: 20px;
}

.form_grid .contact_form button {
  border-radius: 8px;
  background-color: #DC1541;
  -o-box-shadow: 0 1px 4px 0 rgba(255, 90, 95, .3);
  box-shadow: 0 1px 4px 0 rgba(255, 90, 95, .3);
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  height: 50px;
  width: 200px;
  cursor: pointer;
  border: 2px solid #DC1541;
  transition: all .3s ease;
}

.btn:first-child:hover,
:not(.btn-check)+.btn:hover {
  color: #DC1541;
  background-color: inherit;
  border-color: #DC1541;
}

.contact_localtion .h4,
.contact_localtion h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.contact_localtion p {
  font-size: 14px;
  line-height: 1.714;
  margin-bottom: 20px;
}

.contact_localtion .content_list .h5,
.contact_localtion .content_list h5 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0;
}

.contact_localtion .content_list p {
  margin-bottom: 30px;
}

.contact_form_social_area {
  margin-bottom: 0;
  position: relative;
}

ol,
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.list-inline-item:not(:last-child) {
  margin-right: 0.5rem;
}

.contact_form_social_area li {
  background-color: #f7f7f7;
  border-radius: 8px;
  height: 42px;
  line-height: 42px;
  text-align: center;
  width: 42px;
  transition: .3s;
}

.list-inline-item {
  display: inline-block;
}

.map-row {
  padding: 12px;
  margin-bottom: 50px;
}

/*Contact end*/

/* Desktops and laptops ----------- */
@media only screen and (min-width: 1224px) {
  .header {
    margin: 0 190px;
  }

  .logo-kb {
    margin: 20px;
    right: 40px;
  }

  .header .menu {
    padding-top: 50px;
  }

  .projects-container {
    z-index: 3;
  }

}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  .header {
    top: 0;
  }

  .logo-kb {
    display: none;
  }

  .baskan {
    width: 60%;
    height: 30%;
  }

  .header-display {
    display: block;
  }

  .header li a {
    width: 85%;
  }

  .footer {
    padding: 0px;
    /* position: unset; */
    text-align: center;
    bottom: 5px;
  }

  .page-projects .baskan {
    width: 40%;
  }

  .page-project-detail .logo-kb,
  .page-projects .logo-kb {
    position: fixed;
    top: 10px;
    /* left: 0; */
    right: 50px;
    margin: 0 auto;
    display: none;
  }

  .page-project-detail .logo-kb img,
  .page-projects .logo-kb img {
    width: 80%;
  }

  .social {
    bottom: 40px;
    height: fit-content;
    position: unset;
    right: 0;
    text-align: center;
    top: auto;
    width: 100%;
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .social li {
    display: inline-block;
    margin: 0 10px;
  }

  .projects-container {
    margin: 0 0 100px 0;
    top: 140px;
  }

  .tab-menu li {
    height: 34px;
  }

  .tab-menu li a {
    padding: 6px 30px;
    font-size: 15px;
  }

  .container-project-list {
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 0;
    padding-top: 40px;
  }

  .small-height {
    height: auto;
  }

  .item {
    display: inline-block;
    height: auto !important;
    margin: 10px 5px 0 5px;
    width: 46%;
  }

  .page-project-detail {
    background-size: 70%;
  }

  .container-bg-one,
  .container-bg-two {
    display: none;
  }

  .container-bg-three {
    height: auto;
    padding-bottom: 20px;
    position: unset;
    margin-bottom: 100px;
  }

  .container-bg-three,
  .page-project-detail .left-side,
  .page-project-detail .right-side,
  .page-project-detail .ar-ctas li,
  .page-project-detail .ar-ctas a {
    display: block;
  }

  .section-container {
    height: auto;
    margin: 100px auto 100px auto;
    position: unset;
    width: 90%;
  }

  .general-container {
    height: auto;
    margin: 0px auto 100px auto;
    width: 90%;
    top: 225px;
    z-index: 4;
  }

  .page-project-detail .left-side {
    padding: 30px;
  }

  .page-project-detail h1 {
    font-size: 32px;
  }

  .page-project-detail .ar-ctas li {
    margin-bottom: 20px;
  }

  .page-project-detail .ar-ctas a {
    border-radius: 30px;
    padding: 7px 25px;
  }

  .page-project-detail .slide-big {
    background-size: contain !important;
    height: 220px;
    width: auto;
  }

  .badge {
    bottom: 10px;
    left: 5px;
    width: 64px;
  }

  .gallery {
    box-shadow: none;
    /* margin: 0 auto; */
    text-align: center;
    width: 100%;
  }

  .gallery>div {
    display: inline-block;
    float: none;
  }

  .gallery>div>img {
    width: 100px;
  }

  .baskan {
    z-index: 1;
  }


  .bottom-logo {
    bottom: 130px;
  }

  .bottom-bar {
    /* position: unset; */
    display: block;
    flex-direction: row;
    justify-content: center;
    z-index: 3;
    bottom: 90px;
  }

  .bottom-bar div {
    display: inline-flex;
    margin: 5px 5px 0 5px;
    width: 46%;
    min-height: 32px;
  }

  .bottom-bar div a {
    font-size: 14px;
  }

  .mobile-hide {
    display: none !important;
  }

  .main-banner-container {
    padding-top: 60%;
    width: 90%;
    margin-left: 5%;
    height: 72vh;
  }

  .main-banner-inner {
    flex-direction: column;
  }

  .main-banner-image {
    width: 100%;
  }

  .main-banner-image img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-left-radius: 0px;
  }

  .main-banner-info {
    width: 100%;
  }

  .main-banner-text {
    display: none;
  }

  .banner-actions {
    padding-top: 10px;
  }

  .center-tab-menu {
    display: none !important;
  }

  .top-tab-menu {
    display: block !important;
  }

  /*Tabs structure start*/
  .tabs_wrap ul li {
    padding: 6px 15px;

  }

  /*Tabs structure end*/

  /* Baskandan start*/
  .text-content {
    padding: 20px;
  }

  .text-content .about-text {
    margin-top: 20px;
  }

  .text-content .text-header {
    text-align: start;
  }

  .text-content .text-header p {
    font-size: 20px;
  }

  .text-content .text-header h1 {
    font-size: 36px;
  }

  .text-content .about-text p {
    padding-bottom: 15px;
  }

  /* Baskandan end*/


  /*Contact start*/
  .address-container {
    flex-direction: column;
    padding: 10px;
  }

  .address-container .form_grid {
    padding: 20px;
  }

  .address-container .col-lg-7 {
    width: 100%;
    margin-top: 10px;
  }

  .col-md-6 {
    flex: 0 0 auto;
    width: 100%;
  }

  .address-container .col-lg-5 {
    width: 100%;
    margin-top: 20px;
  }

  .form_grid .contact_form button {
    width: 100%;
  }

  .address-container .contact_localtion {
    padding: 20px;
    min-height: auto;
  }

  .map-row {
    margin-bottom: 0px;
  }

  /*Contact end*/
}


/* 48em = 768px */

@media (min-width: 48em) {
  .header li {
    float: left;
  }

  .header li a {
    padding: 10px 30px;
  }

  .header .menu {
    clear: none;
    float: right;
    max-height: none;
  }

  .header .menu-icon {
    display: none;
  }
}