:root {
  --primary-color: #c4a560;
  --white-color: #f3f3f3;
  --black-color: #000000;
  --dark-gray-color: #272727;
  --gray-color: #7a7878;

  --container-width: 1000px;
  --nav-background: #342f29;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Josefin Sans", sans-serif;
  background-color: #000;
}

section {
  margin: 0;
  padding: 40px 20px;
  width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.section-container {
  width: 100%;
  max-width: var(--container-width);
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-content: center;
  margin: 0 auto;
  overflow: hidden;
  hyphens: auto;
  word-break: break-word;
  overflow-wrap: break-word;
}

.section-container-item {
  --max-width: calc(var(--container-width) / 2 - 10px);

  width: 100%;
  max-width: var(--max-width);
}

.section-container-item .separator {
  margin: 30px 0;
}

.section-title {
  font-size: clamp(1.875rem, 1.5905rem + 1.6552vw, 2.625rem);
  font-weight: bold;
}

.section-paragraph,
.section-list-item {
  font-size: clamp(0.875rem, 0.7802rem + 0.5517vw, 1.125rem);
  font-family: "Montserrat", sans-serif;
}

.section-paragraph {
  margin: 20px 0;
}

.section-subtitle {
  font-size: clamp(1.375rem, 1.2328rem + 0.8276vw, 1.75rem);
  font-weight: bold;
}

.section-list {
  padding-left: 30px;
}

.separator {
  width: 100%;
  max-width: 100px;
  background-color: var(--primary-color);
  height: 1px;
}

#top,
#info {
  height: 100vh;
  color: var(--primary-color);
  background-size: auto 100vh;
  background-repeat: no-repeat;
  text-shadow: 1px 1px 2px #000, 0px 0px 5px #000;
  text-align: center;
}

#top {
  background-image: url(img/topo.png);
  letter-spacing: 3px;
  text-transform: uppercase;
}

#info {
  background-image: url(img/info.jpg);
  background-position: center center;
}

#top .section-container,
#info .section-container {
  height: 100%;
}

@media (max-width: 670px) {
  #top {
    background-position: calc(-320px + 100vw - 60vw) 0;
  }
}

#top .section-container-item,
#info .section-container-item {
  --max-width: 600px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#top img {
  filter: drop-shadow(1px 1px 3px #000);
  width: 100%;
  max-width: 200px;
}

#top h1 {
  font-size: clamp(1.375rem, 1.2328rem + 0.8276vw, 1.75rem);
  font-weight: 500;
}

#top h2 {
  font-size: 1rem;
  margin: 20px 0 40px;
  font-weight: 400;
}

#top a {
  color: var(--white-color);
  text-decoration: none;
  font-size: 0.75rem;
}

#top a:hover span {
  text-decoration: underline;
}

#top .separator {
  margin: 40px 0;
}

#info {
  font-size: clamp(1.125rem, 0.9828rem + 0.8276vw, 1.5rem);
}

#info p {
  margin: 5px 0;
}

#fotocorrosao,
#laser,
#about {
  color: var(--black-color);
}

#fotocorrosao {
  background-image: url(img/fundo1.jpg);
}

#laser {
  background-image: url(img/fundo2.jpg);
}

#about {
  background-image: url(img/fundo3.jpg);
}

#fotocorrosao .separator,
#laser .separator,
#about .separator {
  background-color: var(--black-color);
}

#fotocorrosao img,
#laser img,
#about img {
  max-width: 100%;
  width: 100%;
  border-radius: 10px;
}

#contact {
  background-image: url(img/fundo4.jpg);
  color: var(--white-color);
}

#contact .separator {
  margin: 30px auto;
}

#contact .section-title {
  color: var(--primary-color);
  text-align: center;
}

.contact-item a {
  color: var(--white-color);
  text-decoration: none;
  font-size: clamp(0.875rem, 0.7802rem + 0.5517vw, 1.125rem);
}

.contact-item a:hover span {
  text-decoration: underline;
}

#contact .section-list {
  list-style-type: none;
  padding-left: 0;
}

.bold {
  font-weight: bold;
  color: var(--primary-color);
}

.contact-item i {
  color: var(--primary-color);
}

footer {
  background-color: var(--dark-gray-color);
  color: var(--white-color);
  padding: 40px 20px;
}

#contact .section-container-item:nth-child(2) {
  text-align: right;
}

@media (max-width: 1041px) {
  #fotocorrosao .section-container {
    flex-direction: column-reverse;
  }

  #contact .section-container-item:nth-child(2) {
    text-align: left;
  }
}

.footer-copyright {
  text-align: left;
  max-width: var(--container-width);
  margin: 0 auto;
  font-size: clamp(0.875rem, 0.8276rem + 0.2759vw, 1rem);
  color: var(--gray-color);
}

#nav-toggle {
  display: none;
}

nav {
  position: fixed;
  top: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: end;
  height: 60px;
  justify-content: center;
  width: 100%;
  color: var(--white-color);
  font-size: clamp(1rem, 0.9052rem + 0.5517vw, 1.25rem);
  background-color: var(--nav-background);
  transition: height 0.3s ease-in-out;
  overflow: hidden;
}

#nav-toggle-label {
  display: none;
  min-height: 40px;
  padding: 0 15px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 5px;
  margin: 0 15px;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--dark-gray-color);
  transition: all 0.3s ease-in-out;
}

#nav-toggle-label:hover {
  background-color: var(--dark-gray-color);
}

#nav-toggle:checked ~ nav #nav-toggle-label {
  background-color: var(--dark-gray-color);
}

#nav-separator {
  max-height: 0;
  width: 100%;
  height: 21px;
  display: flex;
  align-items: center;
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
}

#nav-separator-inner {
  height: 1px;
  width: 100%;
  background-color: var(--dark-gray-color);
}

#nav-list {
  display: flex;
  list-style-type: none;
  padding: 0 15px;
  margin: 0;
  text-transform: uppercase;
  font-weight: 500;
  font-size: clamp(0.875rem, 0.7947rem + 0.4673vw, 1rem);
}

#nav-list a {
  display: flex;
  align-items: center;
  justify-content: start;
  height: 40px;
  padding: 0 10px;
  text-decoration: none;
  color: var(--primary-color);
  transition: max-height 0.3s ease-in-out;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
}

#nav-list li:hover a {
  background-color: #fff2;
}

.section-active {
    font-weight: bold;
    background-color: #fff1;
}

.bar {
  display: block;
  width: 23px;
  height: 2px;
  background-color: var(--white-color);
}

@media (max-width: 703px) {
  #nav-toggle-label {
    display: flex;
  }

  #nav-list {
    flex-direction: column;
    align-items: start;
    justify-content: center;
    width: 100%;
    padding: 0;
  }

  #nav-list li {
    width: 100%;
  }

  #nav-list a {
    max-height: 0px;
  }

  #nav-toggle:checked ~ nav {
    height: calc(60px + 21px + 5 * 40px);
  }

  #nav-toggle:checked ~ nav #nav-separator {
    max-height: 21px;
  }

  #nav-toggle:checked ~ nav #nav-list a {
    max-height: 40px;
  }
}

#lancamentos {
    background-image: url(img/fundo4.jpg);
    min-height: 100vh;
}

#lancamentos-close {
    display: flex;
    justify-content: end;
    font-size: 5rem;
    padding: 20px;
    padding-bottom: 0;
    margin: 0 auto; 
    max-width: 1200px;
}

#lancamentos-close a {
   color: var(--white-color);
   line-height: 0;
   text-decoration: none;
   transition: all 0.3s ease-in-out;
}

#lancamentos-close a:hover {
    color: var(--gray-color)
}

#lancamentos section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
    padding: 20px;
}

#lancamentos img {
    width: 100%;
    border: 4px solid var(--black-color);
}

@media (max-width: 800px) {
    #lancamentos section {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    #lancamentos section {
        grid-template-columns: 1fr;
    }
}
