@import "fonts.css";
@import "carousel.css";

:root {
  --text-primary: #333333;
  --color-primary: #7B3306;
  --color-white: #FFFFFF;
  --color-secondary: #889F69;
  --sections-space: 5rem;
}


html, body {
  margin: 0;
  font-family: 'Inter', serif;
  color: var(--text-primary);
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

.header {
  padding: 0.75rem;
}

.centered {
  margin: 0 auto;
}
.container {
  max-width: 1200px;
}

.container-sm {
  max-width: 840px;
}

.container, .container-sm {
  margin: 0 auto;
  padding: 1rem;
}

.logo {
  font-family: "Pacifico", cursive;
  font-size: 2rem;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.logo svg {
  height: 2.5rem;
  width: 2.5rem;
}

.nav-list {
  /*TODO: fixme*/
  display: none;
  /*display: flex;*/
  flex-direction: column;
  list-style-type: none;
  font-weight: 500;
}

.nav-item a {
  text-decoration: none;
  color: var(--text-primary);
}

.hero {
  max-width: 840px;
  text-align: center;
}

.hero h1 {
  font-size: 1.5rem;
  display: inline-block;
  max-width: 20ch;
  font-family: "Montserrat Alternates", serif;
  font-weight: bolder;
}

.hero p {
  max-width: 30ch;
  line-height: 1.5;
}

.hero-video {
  max-width: 100%;
  margin: 2rem 0;
}

p {
  margin: 0;
}

p + p {
  margin-top: 1rem;
}


.impact, #works, #prices {
  text-align: center;
}

#works {
  padding: 0;
}

.impact-points {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  flex-grow: 2;
  justify-content: center;
  text-align: center;
}

.impact-point {
  margin: 1rem;
  flex-basis: 40%;
}

.impact-point .icon {
  font-size: 2rem;
  color: var(--color-secondary);
}

.contact-button {
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 500;
  border-radius: 2rem;
  padding: 0.5rem 2rem;
  text-decoration: none;
  display: inline-block;
  font-size: 1.25rem;
}

#about h2, #contacts h2 {
  text-align: center;
}

.two-columns {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.two-columns > * {
  line-height: 1.5;
  flex-basis: 50%;
}

.two-columns-image {
  width: 100%;
  overflow: hidden;
}

.two-columns-image img, .two-columns-image iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-links svg {
  color: var(--color-secondary);
  height: 3rem;
}

footer {
  margin-top: var(--sections-space);
  background-color: var(--color-primary);
  color: var(--color-white);
  text-align: center;
}

footer * {
  margin-bottom: 1rem;
}

footer a + a {
  margin-left: 3rem;
}

@media screen and (min-width: 640px) {
  main section + section {
    margin-top: var(--sections-space) !important;
  }
  .hero h1 {
    font-size: 2.75rem;
  }
  .header {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-list {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
  }
  .nav-item + .nav-item {
    margin-left: 1.5rem;
  }

  #works {
    padding: initial;
  }

  .impact-points {
    flex-direction: row;
  }

  .impact-point {
    margin: 1.5rem 2.5rem;
  }

  #prices > * {
    margin-top: 3rem ;
  }

  .two-columns {
    flex-direction: row;
    align-items: stretch;
  }
}
