/*
SPACING SYSTEM (px)
2 / 4 / 8 / 12 / 16 / 24 / 32 / 48 / 64 / 80 / 96 / 128

FONT SIZE SYSTEM (px)
10 / 12 / 14 / 16 / 18 / 20 / 24 / 30 / 36 / 44 / 52 / 62 / 74 / 86 / 98
*/

/* 
PRIMARY COLOR: #1b0e18
SECONDARY COLOR: #75e371;
*/

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  scroll-behavior: smooth;
  scroll-margin-top: 210px;
}

html {
  background-color: #1b0e18;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-family: "Inter", sans-serif;
  color: #f7f2f2;
  overflow-x: hidden;
}

header {
  background: #1b0e18;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
  height: 110px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-toggle:focus {
  outline: 2px solid #75e371;
  outline-offset: 4px;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #bbb;
  position: relative;
}

.nav-toggle-bar + .nav-toggle-bar {
  margin-top: 6px;
}

nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #bbb;
  font-size: 18px;
}

nav a:hover,
nav a.active {
  color: white;
}

.logo {
  width: 200px;
  height: auto;
}

.container {
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-top: 128px;
}

section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin: 0 auto;
  max-width: 1600px;
  padding: 0 64px;
}

.home-page {
  display: flex;
  flex-direction: column;
  background-image: linear-gradient(
      to right,
      rgb(27, 14, 24, 0.95),
      rgb(34, 34, 34, 0.1)
    ),
    url(img/bg2.jpg);
  background-position: center;
  min-height: 100svh;
  background-size: cover;
}

.home-page-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-left: 64px;
}

.home-page h1 {
  font-size: clamp(32px, 8vw, 86px);
  font-weight: bold;
  line-height: 1.4;
  text-transform: uppercase;
  margin-top: 46px;
  max-width: 900px;
  padding-bottom: 64px;
}

.span-heading {
  color: #75e371;
}

span {
  color: #75e371;
}

.home-page p {
  font-size: clamp(16px, 2.8vw, 24px);
  margin-top: 36px;
  max-width: 900px;
  line-height: 1.5;
}

.home-page p:last-child {
  padding-bottom: 256px;
}

.project-page h2 {
  font-size: clamp(28px, 4.5vw, 52px);

  margin-top: 128px;
}

.project-page h3 {
  font-size: clamp(22px, 4.5vw, 48px);
  max-width: 1600px;

  margin: 128px auto 20px auto;
}

.project-page p {
  font-size: 18px;
  max-width: 400px;
  margin-top: 30px;
  line-height: 1.5;
  padding-bottom: 128px;
}

.img-project {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 128px;
}

.location-page h2 {
  font-size: clamp(22px, 4.5vw, 44px);
  max-width: 550px;

  margin-top: 128px;
  margin-right: 80px;
}

.location-img {
  display: flex;

  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-bottom: 96px;
}

.location-img-2 {
  display: flex;
  flex-wrap: wrap-reverse;
  justify-content: space-between;
  align-items: center;

  padding-bottom: 256px;
}

.cordinates {
  font-size: 18px;
}

.location-page p {
  max-width: 560px;
  margin-top: 30px;
  line-height: 1.2;
  font-size: 19px;
}

.location-block {
  margin-top: 80px;
}

.location-page p:last-child {
  margin-bottom: 128px;
}

.list-1 {
  font-size: 19px;
  margin-top: 34px;
  max-width: 800px;
  line-height: 1.2;
  padding-bottom: 128px;
}

.list-2 {
  font-size: 19px;
  margin-top: 32px;
  max-width: 800px;
  line-height: 1.2;
}

.business {
  font-size: 44px;

  display: flex;
  justify-content: space-between;
  margin-right: 280px;
  padding-bottom: 48px;
}

.business-2 {
  font-size: 18px;
  gap: 60px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.partner-txt {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.investor-txt {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

.partner-txt p {
  font-size: 18px;
  max-width: 560px;
}

.partner-txt p:last-child {
  margin-top: 20px;
  padding-bottom: 128px;
}

.investor-txt p {
  font-size: 18px;
  margin-bottom: 32px;
}

.investor-txt ul {
  max-width: 560px;
  padding-bottom: 400px;
}

.investors {
  font-size: clamp(28px, 6vw, 62px);
  margin-bottom: 80px;
}

.partners {
  font-size: clamp(28px, 6vw, 62px);
  margin-bottom: 80px;
}

.contact h2 {
  font-size: clamp(26px, 5vw, 52px);
  font-weight: bold;

  text-align: center;
  padding-bottom: 48px;
}

.contact a {
  color: #75e371;
}

.email-to {
  display: flex;
  gap: 5px;
  justify-content: center;

  padding-bottom: 128px;
}

.img-graph {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 20px;
  box-shadow: 5px 5px 10px 5px rgb(0, 0, 0, 0.3);

  display: block;
  margin-left: auto;
}

li + li {
  margin-top: 32px;
}

.bullet-points {
  display: flex;
  gap: 50px;
  justify-content: center;

  padding-bottom: 128px;
}

.img-map {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 5px 5px 10px 5px rgb(0, 0, 0, 0.3);
}

.img-satelite {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 20px;
  box-shadow: 5px 5px 10px 5px rgb(0, 0, 0, 0.3);
}

.img-graph {
  width: 100%;
  max-width: 1000px;
  height: auto;
  border-radius: 20px;
}

@media (max-width: 1200px) {
  .location-img {
    flex-wrap: wrap;
  }
}

/* Responsive navigation */
@media (max-width: 900px) {
  header {
    padding: 10px 16px;
  }

  .logo {
    width: 150px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-toggle-bar {
    display: none;
  }

  .nav-bar {
    stroke: #f7f2f2;
    width: 30px;
  }

  header nav {
    position: fixed;
    top: 64px;
    right: 16px;
    left: 16px;
    background: #241221;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 8px;
    display: grid;
    gap: 8px;
    transform-origin: top right;
    transform: scale(0.98);
    opacity: 0;
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  }

  header nav a {
    margin: 0;
    padding: 12px 10px;
    font-size: 18px;
    border-radius: 8px;
  }

  header nav a:hover,
  header nav a:focus {
    background: rgba(255, 255, 255, 0.06);
  }

  /* Open state */
  #primary-navigation[data-state="open"] {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
  }

  /* Layout and spacing adjustments */
  .container {
    padding-top: 64px;
  }

  section {
    padding: 0 20px;
  }

  .home-page-content {
    padding-left: 16px;
  }

  .bullet-points {
    flex-direction: column;
    gap: 24px;
    align-items: stretch;
    padding-bottom: 64px;
  }

  .list-1,
  .list-2 {
    max-width: 100%;
    padding-bottom: 0;
  }

  .project-page p,
  .location-page p,
  .partner-txt p,
  .investor-txt p {
    max-width: 100%;
  }

  .location-page h2 {
    margin-right: 0;
  }

  .location-block {
    margin-top: 32px;
  }

  .business {
    margin-right: 0;
  }

  .email-to {
    padding-bottom: 64px;
  }

  /* Reduce anchor scroll offset on small screens */
  * {
    scroll-margin-top: 120px;
  }

  /* Reduce large spacings on mobile */
  .home-page p:last-child {
    padding-bottom: 160px;
  }

  .img-project {
    padding-bottom: 64px;
  }

  .location-img {
    padding-bottom: 64px;
  }

  .location-img-2 {
    padding-bottom: 128px;
  }

  .project-page h2 {
    margin-top: 64px;
  }

  .project-page h3 {
    margin: 64px auto 16px auto;
  }

  .project-page p {
    padding-bottom: 64px;
  }

  .partner-txt p:last-child {
    padding-bottom: 64px;
  }

  .investor-txt ul {
    padding-bottom: 160px;
  }
}
