/* BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-opacity: 0.2;
}

html {
  scroll-behavior: smooth;
}

body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
  margin: 0;
}

h1 {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 36px;
  color: #1c1c28;
  margin-bottom: 30px;
}

p {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #1c1c28c5;
}

a {
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: 18px;
  all: unset;
  cursor: pointer;
  transition: opacity 0.2s ease-out;
}

a:hover {
  opacity: 0.7;
  text-shadow: 0 0 10px #a78b748f;
  transition: opacity 0.2s ease-out;
}

h2 {
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 22px;
  color: #1c1c28;
  margin-bottom: 15px;
}
li {
  list-style: none;
}
input {
  all: unset;
  height: 30px;
  border: 1px solid #1c1c2831;
  background-color: white;
  padding: 8px 15px;
  color: #1c1c28;
  border-radius: 28px;
  font-family: 'Manrope', sans-serif;
  font-weight: 200;
  font-size: 16px;
}

input:active,
input:focus {
  box-shadow: 0 0 10px #5a52448c;
}

textarea {
  all: unset;
  height: 120px;
  border: 1px solid #1c1c2831;
  background-color: white;
  padding: 15px 15px;
  border-radius: 28px;
  color: #1c1c28;
  font-family: 'Manrope', sans-serif;
  font-weight: 300;
  font-size: 16px;
}

textarea:active,
textarea:focus {
  box-shadow: 0 0 10px #5a52448c;
}

/* HEADER */
.header_content {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  height: 120px;
  transition: height 0.2s, line-height 0.2s;
}

.logo_container {
  margin: auto 0;
}

#burger {
  display: none;
}
.mobile_dialog_button {
  display: none;
}

button {
  all: unset;
}

button:hover {
  opacity: 0.7;
  transition: opacity 0.2s ease-out;
}

header {
  z-index: 1;
  width: 100%;
  position: fixed;
  backdrop-filter: blur(5px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(
    to right,
    transparent,
    #7b9cb3ad,
    #7b9cb3ad,
    #7b9cb3ad,
    transparent
  );
}

.menu_list {
  display: flex;
  flex-direction: row;
  gap: 15px;
  list-style: none;
  margin: auto;
}

.menu_item {
  text-transform: lowercase;
  margin: auto;
  color: white;
}

.contact {
  padding: 10px 23px;
  background-color: #a05056;
  border-radius: 50px;
}

.menu_wrapper {
  display: flex;
}

/*ABOUT*/

.highlited_text {
  font-size: 22px;
  color: #1c1c28;
  font-weight: 400;
}

.achmts {
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
}
.ach_number {
  display: flex;
  align-items: baseline;
  font-size: 36px;
  margin-bottom: 30px;
  font-weight: 300;
}

/* SECTION */

section {
  padding: 80px 0;
  max-width: 100%;
  margin: auto;
  scroll-margin-top: 95px;
}

.content_wrapper {
  max-width: 900px;
  margin: auto;
}

/*MAIN SECTION*/
.main_section {
  overflow: hidden;
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
}

.slogan {
  display: flex;
  margin: auto;
  font-family: 'Manrope', sans-serif;
  font-weight: 900;
  font-size: 150px;
  color: #ffffff;
  text-transform: uppercase;
  text-shadow: 0 0 10px #a78b748f;
}

.slogan_wrapper {
}

.sub_slogan {
  font-family: 'Manrope', sans-serif;
  font-weight: 100;
  font-size: 24px;
  color: #ffffff;
  text-align: end;
  width: 100%;
  text-shadow: 0 0 10px #a78b74;
}

.sub_slogan_box {
  text-align: end;
  font-size: 48px;
  position: absolute;
}

.slogan_box {
  margin: auto;
  will-change: transform;
  top: 120px;
}

.main_bg {
  padding: 0;
  background-repeat: no-repeat;
  background-image: url(./assets/maingb.jpg);
  background-size: cover;
}

/*SERVICES*/
.services_wrapper {
  gap: 15px;
  display: flex;
  flex-direction: column;
}

.gradient_bg {
  background: linear-gradient(
    140deg,
    rgba(69, 117, 147, calc(var(--bg-opacity) * 0)),
    rgba(69, 117, 147, calc(var(--bg-opacity) * 0.4)),
    rgba(153, 125, 84, calc(var(--bg-opacity) * 0.4)),
    rgba(153, 125, 84, calc(var(--bg-opacity) * 0))
  );
}

.first_row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.sv1 {
  border-right: 1px solid #ffffff;
}

.sv4 {
  border-left: 1px solid white;
  border-right: 1px solid white;
}

.service_box {
  padding: 20px 20px;
}

.line {
  border-bottom: 1px solid #ffffff;
}
.second_row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.border_bottom {
  border-bottom: 1px solid white;
}

/* PORTFOLIO*/

.project_card {
  width: 30%;
}

.external_link {
  margin-left: 30px;
  font-weight: 300;
  font-family: 'Manrope', sans-serif;
  color: #1c1c28c5;
  font-size: 18px;
}

.gray_line {
  border: 1px solid #1c1c2831;
}

.project_card:hover {
  scale: 1.01;
}

.project_image > img {
  width: 100%;
}
.project_info {
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.project_info > p {
  margin-left: 30px;
  font-weight: 400;
  margin: auto;
}

.project_tag_box {
  margin: 0px 30px 15px;
  display: flex;
  flex-wrap: wrap;
  font-weight: 100;
  font-size: 12px;
  color: #1c1c28c5;
}

.featured_project_list {
  display: flex;
  justify-content: space-between;
}

.project_card {
  font-size: 2rem;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

.project_card::after,
.project_card::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, #1c1c2831, #a78b74);
  bottom: -5px;
  left: 0;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease-out;
}

.project_card::before {
  top: -5px;
  transform-origin: left;
}

.project_card:hover::after,
.project_card:hover::before {
  transform: scaleX(1);
}

/* FOOTER*/
footer {
  color: #1c1c28;
  max-width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-image: url(./assets/footer_bg.jpg);
  background-size: cover;
}
.sm_links {
  margin-top: 15px;
  display: flex;
  gap: 25px;
}

.sm_links > img:hover {
  opacity: 0.7;
}

.contact_info {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer_content {
  max-width: 900px;
  padding: 50px 0;
  margin: auto;
  display: flex;
  justify-content: space-between;
  color: white;
}

/*MODAL*/
.modal {
  display: flex;
  z-index: 99;
  visibility: hidden;
  position: fixed;
  height: 100vh;
  width: 100%;
  background-color: rgba(15, 15, 15, 0.349);
}

.modal_bg {
  display: flex;
  height: 100%;
  width: 100%;
  color: transparent;
}

.modal_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 900px;
  margin: auto;
  height: 600px;
  border-radius: 30px;
  background-color: #ffffff;
  box-shadow: inset 0px 0px 1px 1px #00000050, 0 0 50px #00000050;
  background: linear-gradient(140deg, #4d7f9ea8, #a88e63a2);
  background-color: white;
}

.text_box {
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(./assets/20231231_144738.jpg);
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: multiply;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  border-radius: 28px 0 0 28px;
  color: white;
}

.contact_quote > *,
.contact_info > *,
.rights {
  font-family: 'Manrope', sans-serif;
  color: white;
}
.btb_close {
  color: white;
  margin-left: auto;
}

.btb_close:hover {
  opacity: 0.7;
  cursor: pointer;
}

.input_box {
  height: 100%;
  display: flex;
  margin: auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding: 30px;
}

.submit {
  color: white;
  text-align: center;
  cursor: pointer;
}

.form_wrapper {
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/*PARALAX*/

.MainContainer {
  perspective: 1px;
  transform-style: preserve-3d;
  height: 80vh;
  overflow-x: hidden;
  overflow-y: scroll;
}

.ContentContainer {
  position: relative;
  display: block;
  background-color: white;
  z-index: 1;
}

.Content {
  max-width: 750px;
  margin: 0 auto;
  padding: 75px 0;
}

p {
  margin: 30px 0;
}

.ParallaxContainer {
  display: flex;
  flex: 1 0 auto;
  position: relative;
  z-index: -1;
  height: 100vh;
  justify-content: center;
  align-items: center;
  transform: translateZ(-1px) scale(2);
  background-color: rgb(250, 228, 216);
}

.mobile {
  display: none;
}

.display_SM_links {
  display: none;
}

.mobile_menu_box {
  height: 0;
  visibility: hidden;
}

@media screen and (max-width: 920px) {
  h1 {
    font-size: 36px;
  }
  h2 {
    font-size: 24px;
  }
  p {
    font-size: 20px;
  }
  img[id='logo'] {
    content: url('./assets/mobile_logo.svg');
  }

  .main_bg {
    background-image: url(./assets/main_mobile_1.jpg);
  }

  .sub_slogan,
  .slogan {
    text-shadow: 0 0 10px #ffffff91;
  }

  header {
    background: linear-gradient(to right, #7b9cb380, #7b9cb380, #7b9cb380);
  }
  .inactive_menu {
    display: none;
  }

  .active_menu {
    display: flex;
    flex-direction: column;
  }

  .mobile_menu_box {
    visibility: visible;
    position: fixed;
    height: 100%;
    width: 100%;
    background-color: #1c1c28;
    z-index: 9999;
    gap: 20px;
    padding-top: 200px;
  }

  .menu_item {
    margin: 20px auto;
    max-width: fit-content;
  }
  .btb_close_mobile {
    position: absolute;
    top: 50px;
    margin-right: 50px;
    width: 100%;
    text-align: end;
    right: 10px;
  }

  #burger {
    margin-left: 20px;
    display: flex;
    align-items: center;
  }

  .mobile_dialog_button {
    cursor: pointer;
    display: flex;
    align-items: center;
  }

  .modal_box {
    display: flex;
    flex-direction: column;
    margin: auto;
  }

  .do_not_display {
    display: none;
  }

  .slogan {
    font-size: 72px;
  }
  .content_wrapper {
    margin: auto 15px;
  }
  .main_section {
    height: 95vh;
  }
  section {
    padding: 30px 0;
  }
  .header_content {
    margin: 0 15px;
  }
  .first_row {
    display: flex;
    flex-direction: column;
  }
  .second_row {
    display: flex;
    flex-direction: column;
  }
  .gradient_bg {
    background: linear-gradient(
      140deg,
      rgba(69, 117, 147, calc(var(--bg-opacity) * 0.5)),
      rgba(69, 117, 147, calc(var(--bg-opacity) * 0.9)),
      rgba(153, 125, 84, calc(var(--bg-opacity) * 0.9)),
      rgba(153, 125, 84, calc(var(--bg-opacity) * 0.5))
    );
  }
  .service_box {
    padding: 15px 0;
  }

  .sv1 {
    border-right: none;
  }

  .sv4 {
    border-left: none;
    border-right: none;
  }

  .mobile {
    display: inline-flex;
    margin: auto -15px;
  }
  .achmts {
    flex-direction: column;
    margin: auto;
  }
  .ach_number {
    display: inline-flex; /* inline container but flex properties */
    justify-content: center; /* center children horizontally */
    align-items: baseline; /* vertical alignment (optional) */
    gap: 10px;
    margin-bottom: 0px;
  }
  .ach_number > h2 {
    margin-bottom: 5px;
  }
  .achmts {
    text-align: center;
  }
  .achmts > * {
    padding: 10px;
    /* border-top: 0.5px solid rgb(250, 228, 216); */
  }
  .featured_project_list {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  .project_card {
    width: 100%;
  }
  .project_info {
    height: auto;
  }
  .project_tag_box {
    margin: 0 0 0 15px;
  }
  .external_link {
    margin: 10px 0 0 15px;
    font-size: 24px;
  }
  .display_SM_links {
    display: flex;
  }
  .sm_links_modal_mobile {
    justify-content: center;
  }
  .footer_content {
    flex-direction: column-reverse;
    justify-content: space-between;
    height: 100%;
    margin: 0 15px;
  }
}
