@import url("assets/css/sf-pro-display.css");

:root {
  --bg: #020916;
  --verde: #84e296;
  --laranja: #d49c03;
  --cinza1: #1d232e;
  --cinza2: #5b6371;
  --cinza3: #2b3342;
  --vermelho: #ec5252;
}

* {
  font-family: "SF Pro Display", -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: normal;
}

html,
body,
#app {
  min-height: 100%;
  background: white;
  color: black;
}

body {
  margin: 0;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: black;
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: #ffa500;
}

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

.view {
  min-height: calc(100vh - 265px);
  background-color: #f8f9fa;
}

.view.home-view {
  margin-top: -80px;
}

.navbar-shell {
  position: relative;
  z-index: 2;
}

.desktop-nav {
  height: 80px;
  background-color: transparent;
}

.desktop-nav.is-solid {
  background: white;
  box-shadow: 3px 3px #8f8f8f05;
}

.desktop-nav a {
  color: white;
  font-weight: bold;
}

.desktop-nav.is-solid a {
  color: black;
}

.brand-logo {
  width: 25%;
  max-width: 92px;
}

.desktop-nav.is-solid .brand-logo,
.mobile-nav:not(.is-home) .brand-logo,
.mobile-nav.menu-open .brand-logo {
  filter: invert(1);
}

.nav-search input {
  border: 1px solid white;
  outline: none;
  background-color: transparent;
  border-radius: 35px;
  color: white;
  padding: 10px 15px;
}

.desktop-nav.is-solid .nav-search input,
.mobile-nav .nav-search input {
  border-color: black;
  color: black;
}

.nav-search input::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

.desktop-nav.is-solid .nav-search input::placeholder,
.mobile-nav .nav-search input::placeholder {
  color: rgb(140, 140, 140);
}

.nav-search button {
  border: none;
  background: white;
  color: black;
  border-top-right-radius: 35px;
  border-bottom-right-radius: 35px;
  padding: 0 15px;
}

.desktop-nav.is-solid .nav-search button,
.mobile-nav .nav-search button {
  background: black;
  color: white;
}

.search-results {
  display: none;
  background-color: rgb(112 104 99);
  max-height: 178px;
  position: absolute;
  top: 45px;
  width: 100%;
  z-index: 4;
  border-radius: 5px;
  overflow-y: auto;
}

.search-result {
  display: flex;
  gap: 15px;
  align-items: center;
  cursor: pointer;
  padding: 12px;
}

.search-result img {
  width: 50px;
  height: 73px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
}

.search-result p {
  color: white;
  font-size: 0.9rem;
  margin: 0;
  font-weight: bold;
}

.mobile-nav {
  display: none;
  background-color: transparent;
}

.mobile-nav.menu-open,
.mobile-nav:not(.is-home) {
  background: white;
}

.mobile-menu {
  display: none;
}

.mobile-menu.is-open {
  display: block;
}

.mobile-nav .navbar-toggler {
  background-color: white;
  border: none;
}

.mobile-nav .navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.mobile-nav .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(24, 33, 49)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
}

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), url("assets/images/capanova.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
}

.hero img {
  width: 250px;
  padding-bottom: 20px;
}

.hero h3 {
  font-weight: bold;
  color: white;
}

.section-pad {
  padding-top: 30px;
  padding-bottom: 30px;
}

.tile-card {
  display: block;
  color: black;
  cursor: pointer;
}

.tile-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center top;
  border-radius: 5px;
}

.catalog-card img {
  height: 300px;
}

.tile-card p {
  margin-top: 8px;
  color: black;
}

.type-filter {
  cursor: pointer;
  padding: 10px 20px;
  border: none;
  border-bottom: 2px solid black;
  background: transparent;
  color: black;
}

.type-filter.is-active {
  color: orange;
  border-bottom-color: orange;
}

.filter-input,
.filter-select {
  width: 100%;
  height: 40px;
  border: none;
  outline: none;
  border-radius: 30px;
  box-shadow: 0 0 0.5em 0 rgba(0, 0, 0, 0.2);
  padding: 10px 15px;
  background-color: #f8f9fa;
  color: black;
}

.filter-select {
  appearance: none;
  background: #f8f9fa url("assets/images/chevron-down-solid.svg") no-repeat right 0.8em center / 0.8em;
  cursor: pointer;
}

.rounded-btn {
  padding: 10px;
  background-color: var(--cinza3);
  width: 100%;
  max-width: 150px;
  text-align: center;
  border-radius: 30px;
  cursor: pointer;
  color: white;
  border: none;
}

.piece-page {
  display: flex;
  flex-wrap: wrap;
  min-height: 90vh;
}

.piece-info {
  background-color: #f8f9fa;
  min-height: 90vh;
  color: black;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: flex-start;
  align-content: center;
  padding: 40px 9%;
}

.piece-info h4:first-of-type {
  width: 50%;
}

.piece-image {
  position: relative;
  min-height: 90vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.piece-image img {
  width: auto;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  overflow: hidden;
}

.piece-actions {
  position: absolute;
  bottom: 20px;
  display: flex;
  gap: 40px;
}

.piece-actions button {
  background: #6a6a6a52;
  color: white;
  border: 2px solid white;
  padding: 10px;
}

.content-intro {
  color: black;
  display: flex;
  padding-top: 30px;
  text-align: center;
  flex-wrap: wrap;
  flex-direction: column;
  align-content: center;
}

.about-text {
  width: 50%;
  font-size: 18px;
  text-align: center;
  line-height: 35px;
}

.about-img {
  width: 100%;
  object-fit: cover;
  max-height: 280px;
  height: 280px;
}

.contact-card {
  text-align: center;
  border: 1px solid black;
  color: black;
  padding-bottom: 20px;
}

.contact-card img {
  width: 40%;
  margin-bottom: 24px;
}

.guide-main {
  justify-content: center;
  align-content: center;
  min-height: calc(100vh - 265px);
}

.guide-chart {
  width: 50%;
}

#site-footer {
  background-color: #f1f1f1;
  padding: 40px;
  width: 100%;
}

#site-footer a {
  color: black;
}

#site-footer ul {
  list-style-type: none;
  padding-left: 0;
}

#site-footer li {
  padding-top: 10px;
}

#site-footer i {
  padding: 10px;
  border: 1px solid black;
  border-radius: 20px;
}

@media (max-width: 991px) {
  .view {
    min-height: calc(100vh - 241px);
  }

  .desktop-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .brand-logo {
    width: 40%;
    max-width: 130px;
  }

  .view.home-view {
    margin-top: -66px;
  }

  .piece-page {
    flex-direction: column-reverse;
  }

  .piece-image {
    min-height: 40vh;
    height: 40vh;
  }

  .piece-info {
    min-height: 55vh;
  }

  .piece-info h4:first-of-type,
  .about-text,
  .guide-chart {
    width: 100%;
  }
}

@media (max-width: 575px) {
  #site-footer {
    padding: 32px 24px;
  }

  .piece-actions {
    gap: 20px;
  }
}
