/* Geral */
* {
  margin: 0;
  padding: 0;
  font-family: Arial, Helvetica, sans-serif;
}

html {
  scroll-behavior: smooth;
}

:root {
  --primary: #dca765;
  --span-color: #c5812d;
  --accent: #f0f0f0;
  --text-color: #333;
}

.topico {
  margin-left: 10%;
}

h2 {
  font-size: 28px;
}

h2 span {
  border-bottom: 3px solid var(--span-color);
}

body {
  background-color: var(--accent);
  color: var(--text-color);
}

a {
  text-decoration: none;
  color: var(--text-color);
}


/* Header */
header {
  width: 100%;
  background-color: var(--primary);
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

#hamburger {
  display: none;
}

li {
  list-style: none;
}

#menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#menu ul {
  display: flex;
  gap: 70px;
  justify-content: end;
  margin-right: 10%;
  font-size: 18px;
}

#menu ul li:hover {
  cursor: pointer;
  transform: scale(1.1);
  transition: transform 0.2s ease-in-out;
}

#menu ul li a:hover {
  color: var(--accent);
}

#menu img {
  margin-left: 10%;

}

/* inicio */
#inicio {
  margin: 8% 0 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}

#inicio h1 {
  font-size: 55px;
  font-weight: bold;

}

#inicio h1 span {
  color: var(--span-color);
}

.textos-inicio p {
  margin-top: 10px;
  font-size: 22px;
  color: #666;
}

.fundo-copo {
  background-color: var(--primary);
  border-radius: 50%;

}

.fundo-copo img {
  padding: 20px;
  max-width: 220px;
}

/* about */
#about {
  margin-top: 10em;
  padding-top: 4em;
  padding-bottom: 4em;
}

#about .sobre {
  display: flex;
  margin-top: 4em;
  justify-content: space-evenly;
  align-items: center;
  flex-wrap: wrap;
}

.textos-about {
  width: 50%;
}

.textos-about .p1 {
  font-size: 30px;
  font-weight: 500;
  width: 60%;
  color: #2F2105;
}

.textos-about .p2 {
  width: 60%;
  font-size: 20px;
  color: rgba(0, 0, 0, 0.8);
  margin-top: 1em;
  font-weight: lighter;
}

.sobre img {
  float: right;
  position: relative;
  bottom: 2em;
  max-width: 400px;
  height: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}


.sobre img:hover {
  transform: scale(1.1);
}

/* cardapio */
#cardapio {
  margin-top: 5em;
}

.cards {
  margin-top: 3em;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  gap: 50px;
  width: 90%;
  justify-content: center;
  margin-right: 10%;
}


.card {
  background-color: var(--primary);
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.1.5s ease-in-out;
}

.card:hover {
  transform: scale(1.1);
}

.card-dentro {
  background-color: white;
  width: 90%;
  height: 90%;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 8px;
  text-align: center;
}

.card-dentro img {
  margin: 35px 40px 0 40px;
  border-radius: 12px;
  height: 155px;
}

.card-dentro p {
  display: flex;
  margin: 15px 25px 50px 25px;
  font-weight: 600;
}

.card-dentro p span {
  padding-left: 20px;
}


.preco p {
  font-size: 16px;
}

/* Avaliações */
#avaliacoes {
  margin-top: 7em;
}

.carousel {
  overflow: hidden;
  position: relative;
  top: 5em;
  margin: auto;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  /* margin-right: 10%; */
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
}

.carousel img {
  margin: 10px;
}

.arrow-left,
.arrow-right {
  width: 25px;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  padding: 12px;
  border-radius: 100%;
  background-color: rgba(220, 167, 101, 0.8);
}

.arrow-left:hover,
.arrow-right:hover {
  background-color: rgba(220, 167, 101, 0.6);
}


.arrow-right {
  right: 0;
  transform: scaleX(-1) translateY(-50%);
}

.arrow-left {
  left: 0;
}

.carousel-images {
  display: flex;
  transition: transform 0.5s ease;
  gap: 20px;
  width: 80%;
  position: relative;
  margin-right: 10%;
  display: flex;
  transition: transform 0.5s ease-in-out;
}


.card-carrousel {
  min-width: 33.33%;
  background-color: #f9f9f9;
  padding: 15px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  text-align: center;
  flex-shrink: 0;
  object-fit: cover;
  background-color: var(--accent);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.card-carrousel:hover {
  transform: scale(1.05);
  transition: transform 0.1s ease-in-out;
}

.infors {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
}

.infors p {
  padding: 8px;
  position: relative;
  right: 1px;
  font-size: 14px;
}

.infors img {
  padding: 5px;
  position: relative;
}

.infors .name {
  font-weight: bold;
  font-size: 18px;
  margin: 5px 0;
  color: #333;
}

.review {
  width: 250px;
  font-size: 14px;
  margin: 3px;
  color: #555;
}

.person {
  background-color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  float: right;
}

.person img {
  width: 70px;
}

.stars {
  color: #ffd700;
  margin: 5px 0;
}

/* Footer */
footer {
  background-color: var(--text-color);
  color: white;
  padding: 30px 10px;
  text-align: center;
  margin-top: 15em;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section {
  max-width: 200px;
  margin-bottom: 20px;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--primary);
}

.footer-section ul li {
  margin-bottom: 8px;
  line-height: 1.3;
}

.footer-section ul li a {
  color: white;
  text-decoration: none;
}

.footer-section ul li a:hover {
  color: #dca765;
}

.footer-section p {
  font-size: 14px;
  line-height: 1.8;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 14px;
  border-top: 3px solid var(--primary);
}

.icon {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  color: white;
}

.icon:hover {
  cursor: pointer;
  color: #dca765;
}


/* RESPONSIVIDADE */

@media screen and (max-width: 1180px) {
  /* about */
  #about {
    margin-top: 10em;
    padding-top: 4em;
    padding-bottom: 4em;
  }

  #about .sobre {
    display: flex;
    margin-top: 4em;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
  }

  .textos-about {
    width: 100%;
    margin-right: 10%;
  }

  .textos-about p {
    margin: auto;
    text-align: center;
  }

  .textos-about .p1 {
    font-size: 40px;
  }

  .textos-about .p2 {
    font-size: 24px;
  }

  .sobre img {
    position: relative;
    top: 3em;
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .topico {
    margin: 0;
  }

  h2 {
    text-align: center;
  }

  /*menu*/
  #menu {
    flex-direction: row;
    justify-content: space-between;
  }

  #menu ul {
    display: none;
    flex-direction: column;
    gap: 20px;
    position: absolute;
    top: 70px;
    right: 10%;
    background-color: var(--primary);
    width: 200px;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
  }

  #menu ul li a{
    color: var(--accent);
  }

  #menu ul.active {
    display: flex;
  }

  #hamburger {
    display: block;
    margin-right: 10%;
    color: var(--accent);
  }

  /* inicio */
  #inicio {
    display: flex;
    justify-content: center;
    margin-top: 5em;
  }

  #inicio h1 {
    font-size: 40px;
    font-weight: bold;
    text-align: center;
    margin: auto;
  }

  #inicio p {
    font-size: 18px;
    text-align: center;
  }

  .fundo-copo {
    display: none;
  }

  /* about */
  #about {
    margin-top: 3em;
  }

  .textos-about {
    margin: 0;
  }

  .textos-about .p1 {
    font-size: 22px;
  }

  .textos-about .p2{
    font-size: 16px;
  }

  .sobre img{
    margin: 0;
  }
  /* cardapio */
  .cards .card{
    margin-left: auto;
  }
}