/* Estilos Gerais */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.img-responsive {
  display: block;
  width: 100%;
  height: 100%;
}

.btn {
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 700;
}

.section-title {
  text-align: center;
  font-size: 40px;
  margin: 20px 0 40px 0;
}

/* Cores */
:root {
  --bg-coffee: #250102;
  --bg-red: #ef415d;
  --bg-off-white: #f2ebe6;
  --txt-off-white: #f2ebe6;
  --txt-coffee: #250102;
}

.bg-coffee {
  background-color: var(--bg-coffee);
}

.bg-red {
  background-color: var(--bg-red);
}

.bg-off-white {
  background-color: var(--bg-off-white);
}

.txt-off-white {
  color: var(--txt-off-white);
}

.txt-coffee {
  color: var(--txt-coffee);
}

/* Flexbox para containers */
.produtos-container,
.experiencia-container {
  padding-bottom: 60px;
}

/* Flickity */
.flickity-page-dots {
  bottom: 0;
}

.flickity-page-dots .dot {
  width: 10px;
  height: 10px;
  opacity: 1;
  background: transparent;
  border: 2px solid var(--txt-off-white);
}

.flickity-page-dots .dot.is-selected {
  background: var(--txt-off-white);
}

/* Navegação */
.nav-container {
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 14px;
}

.nav-brand {
  height: 70px;
}

.nav-item + .nav-item {
  margin-right: 4px;
}

.nav-item {
  text-decoration: none;
  padding: 10px;
  font-weight: 500;
  color: #000;
  transition: color 0.3s;
}

.nav-item:hover {
  color: var(--bg-red);
  transition: color 0.3s;
}

.call-to-whatsapp span {
  font-size: 35px;
  color: var(--txt-coffee);
}

/* Introdução */
#introducao {
  background-image: url("../img/background-lg.jpg");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 600px;
}

.btn-loja-virtual:hover {
  background-color: var(--bg-off-white);
  color: var(--txt-coffee);
}

.main-title {
  font-size: 4.5rem;
  color: #fff;
  line-height: 1.1;
}

.content-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 600px;
  max-width: calc(1280px / 2);
}

/* Experiências */
.experiencia img {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 6px;
}

.info-experiencia {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 250px;
  text-align: center;
}

/* Produtos */
.main-carousel {
  margin-bottom: 30px;
}

.carousel-cell {
  width: 320px;
  margin: 10px;
  border-radius: 6px;
}

.flickity-ready .carousel-cell {
  height: 100%;
}

.product {
  border-radius: 6px;
}

.product-image {
  width: 320px;
}

.product-image img {
  display: block;
  width: 100%;
  height: auto;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.product-content {
  padding: 14px;
  background-color: white;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.product-title h3 {
  margin: 0 0 7px 0;
}

/* Contato */
.contact-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.contact-list {
  display: flex;
}

.contact-item {
  margin-right: 20px;
}

.contact-item a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--txt-coffee);
}

.contact-item .icon {
  font-size: 25px;
}

.contact-item .contact-label {
  margin-top: 3px;
  font-size: 12px;
  font-weight: 500;
}

.contact-type h4 {
  margin: 10px 0;
}

.contact-type a {
  text-decoration: none;
  color: var(--txt-coffee);
}

.location-map {
  height: 250px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
}

.address address {
  font-style: normal;
  color: var(--txt-coffee);
}

/* Rodapé */
.footer {
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  height: 70px;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.back-to-top a {
  color: var(--bg-off-white);
  font-size: 30px;
}


/* Responsividade */
@media screen and (min-width: 531px) and (max-width: 1050px) {
  .container {
    justify-content: space-evenly;
  }

  .location {
    width: 100%;
  }

  .content-title {
    max-width: 100%;
  }

  .main-title {
    font-size: 3rem;
    text-align: center;
  }
  .section-title {
    font-size: 30px;
  }

  #introducao {
    background-image: url("../img/background-xs.jpg");
  }
}

@media screen and (max-width: 530px) {
  .container {
    justify-content: space-evenly;
  }

  .section-title {
    font-size: 30px;
    margin-bottom: 15px;
  }

  .location {
    width: 100%;
  }

  .main-title {
    font-size: 2rem;
    text-align: center;
  }

  #introducao {
    background-image: url("../img/background-xs.jpg");
  }

  .copy {
    font-size: 0.85rem;
  }

  .footer-logo {
    height: 50px;
  }

  .nav-container {
    justify-content: center;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    padding: 14px;
  }

  .call-to-whatsapp span {
    display: none;
  }

  .nav {
    margin-top: 14px;
  }
}