@import url('https://fonts.googleapis.com/css2?family=Belanosima&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
}

html{
  scroll-behavior: smooth;
}

body {
    display: flex;
    flex-direction: column;
    scroll-behavior: smooth;
    background-color: #FFF3E9;
    font-size: 100%;   
}

strong {
  font-weight: normal;
}

em {
  font-style: normal;
}

/* Seção do Header */
header {
    background: linear-gradient(to right, #ECDDDD, #E39D68);
    display: flex;  
    justify-content: center; 
    align-items: center; 

}

nav, ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex: 2;
  gap: 50px;
  list-style: none;
}

header h1 img {
    align-items: start;
    border-radius: 800px;
    max-height: 175px;
    margin-left: 30px;
}

nav a {
    color: #3C1F1E;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.5rem;
    transform: scale(1.05);
}

header>nav a:hover {
    color: #ffffff;    
    transition: 0.2s;
    border-radius: 30px;
    background-color: #421f0e;
    padding: 5px 15px;   
}

/* secao  home */
main {
    background: linear-gradient(to right, #ECDDDD, #E39D68);
    display: flex;
    padding: 80px 20px;
    gap: 40px;
    align-items: flex-start;
    justify-content: center; 
    overflow: hidden; 
}

.main-texto {
  max-width: 750px;
  text-align: center;
  margin-top: 50px;
}

.main-texto>h1 {
  font-family: "Belanosima", sans-serif;
  color: #A86B4C;
  font-size: 4rem;
}

.main-texto>p {
  color: #3C1F1E;
  font-size: 2rem;
  margin-bottom: 30px;
}

.main-bolodestaque>img {
  width: 100%;
  max-height: 400px;
  transition: 0.2s;
  z-index: 1;
  position: relative;
}

.main-bolodestaque>img:hover {
  transform: translateY(-5px);
}

main>.miniaturas {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 25px;
  position: relative;  
}

main > .miniaturas::before{
  content: "";
  position: absolute;
  background-color: #3C1F1E;
  border-radius: 50%;
  width: 620px;
  height: 620px;
  top: 50%;
  left: 50%;
  transform: translate(-30%, -50%);
  z-index: 0;
}

.miniaturas>img {
  max-height: 150px;
  max-width: 300px;
  background-color: #D9D9D9;
  border-radius: 50%;
  cursor: pointer;
  transition: transform 0.2s;
  z-index: 1;
  position: relative;  
}

.miniaturas>img:hover {
  transform: translateY(-5px);
}

button {
  padding: 20px 40px;
  border-radius: 30px;
  background-color: #3C1F1E;
  color: #FFF3E9;
  font-size: 1.50rem; 
  font-weight: bold;
  border: 3px solid #3C1F1E;
}

button>a{
  text-decoration: none;
  color: #FFF3E9;
}

button:hover{
  background-color: #A86B4C;
  border: 3px solid #ffffff;
  transition: 0.2s;
}


/* secao sobre nos */
h2 {
  color: #7E3B08;
  text-align: center;
  font-size: 2.5rem;
  margin: 40px;
}

.container-sobrenos{
  background: linear-gradient(to left, #FFF3E9, #d8ac8a50);
    padding: 50px; 
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.sobrenos-img {
    position: relative;       
    display: inline-block;     
}

.sobrenos-img>img{
    max-width: 800px;
    max-height: 600px;
    border-radius: 50%;
    z-index: 2;
    position: relative;
}

.sobrenos-img::before {
    content: "";
    position: absolute;
    width: 400px;            
    height: 400px;
    background: #dd9664;     
    border-radius: 50%;     
    z-index: 1;             
    left: 50%;
    top: 64%;
    transform: translate(-50%, -50%); 
}

.sobrenos-texto {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
  max-width: 700px;
}

.sobrenos-texto>h2 {
  display: inline-block;
  border-bottom: 4px solid #E39D68;
  padding-bottom: 3px;  
  width: 70%;
  text-align: left;
}

.sobrenos-texto>p {
  font-size: 1.25rem;
  font-weight: bold;
  margin: 10px;
  color: #3C1F1E;
}

/* secao cardapio */

.destaques-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  text-align: center;
  background: linear-gradient(to top, #e39d686b, #FFF3E9);
  padding-bottom: 40px;
}

#destaques>h2{
  border-bottom: 4px solid #E39D68;
  width: 220px;
  margin: 0 auto 30px auto;
  text-align: center;
  padding: 20px;
}

article {
  background-color: #C92035;
  max-width: 400px;
  padding: 20px;
  border-radius: 12px;
  transition: 0.2s;
  text-align: center;
}

article:hover {
  transform: translateY(-5px);
}

article>img {
  width: 100%;
  border-radius: 15px;
  max-height: 600px;
}

article>h3 {
  color: #FFC9B3;
  font-size: 2rem;
  margin: 15px;
}

.destaques-container p {
  font-size: 1.25rem;
  margin-top: 20px;
  background-color: #FFF3E9;
  border-radius: 15px;
  padding: 15px;
}

/* Seção Review */

#reviews>h2{
  border-bottom: 4px solid #E39D68;
  width: 220px;
  margin: 0 auto 30px auto;
  text-align: center;
  padding: 20px;
}

.container-reviews {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 70px;
  margin: 50px;
  flex-wrap: wrap;
  text-align: center;
  background-color: linear-gradient(to left, #836767, #bda390);
}

.setas {
  max-width: 80px;
  max-height: 80px;
  margin: auto;
  cursor: pointer;
  transition: 0.2s;
}

.setas:hover {
  transform: translateY(-5px);
}

.container-reviews>article {
  background-color: #EED1B2;
  padding: 20px;
  width: 500px;
  height: 250px;
}

.review-item>article>p {
  font-size: 1rem;
  margin-top: 10px;
  color: #FFF3E9;
}

.review{
  display: flex; 
  border-radius: 10px;
  padding: 10px;
  max-width: 380px;
  max-height: 280px;
  align-items: center;
}

.reviews-wrapper {
  max-width: 350px;            
  overflow: hidden; 
}

.review-item {
  min-width: 350px;         
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.review-img {
  max-width: 350px;
  max-height: 350px; 
  margin-bottom: 20px;
}

.reviews-wrapper-inner {
  display: flex;
  transition: transform .4s ease;
}

/* secao contato */

.Contatos {
  background-color: #C92035; 
  text-align: center;
  padding: 20px 10px;
}

.Contatos>img {
  display: block;
  margin: 0 auto 10px auto;
  max-width: 280px;
}

.Contatos>h1 {
  color: white;
  font-size: 2rem;
  margin-bottom: 10px;
}

.Contatos ul {
  display: flex;
  justify-content: center;
  text-decoration: none;
  gap: 40px;
  margin-top: 10px;
}

.Contatos a {
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.Contatos a:hover {
  transform: scale(1.15);
  opacity: 0.8;
}


/* Footer */
footer {
  background-color: #FFF3E9;
  text-align: center;
  padding: 20px;
  margin: 0;
}

footer>h1 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #222;
}

footer nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 0;
}

footer a {
  font-size: 1rem;
  text-decoration: none;
  color: #222;
}

footer p {
  margin-top: 20px;
}

footer a:hover {
  color: #a6765a;
}

/* botao topo */

#btnTopo{
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #FFF3E9;
  color: #1f130a;
  border: none;
  font-size: 24x;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  transition: 0.3s ease;

}

#btnTopo:hover {
  background-color: #EED1B2;
}

@media (max-width: 768px) {

  /* HEADER */
  header {
    flex-direction: column;
    padding: 20px;
  }

  header h1 img {
    max-height: 150px;
    margin: 0;
  }

  nav ul {
    flex-wrap: wrap;
    gap: 20px;
  }

  /* HOME */
  main {
    flex-direction: column;
    text-align: center;
  }

  .main-texto h1 {
    font-size: 2.5rem;
  }

  .main-texto p {
    font-size: 1.4rem;
  }

  .main-bolodestaque img {
    max-width: 200px;
    max-height: 300px;
  }

  main .miniaturas {
    flex-direction: row;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
  }

  main .miniaturas img {
    max-width: 120px;
    max-height: 90px;
  }

  /* SOBRE NÓS */
  .container-sobrenos {
    flex-direction: column;
    text-align: center;
  }

  .sobrenos-img img {
    margin: 0;
    max-width: 300px;
  }

  .sobrenos-texto h2 {
    width: auto;
  }

  /* DESTAQUES */
  .destaques-container {
    flex-direction: column;
    align-items: center;
  }

  article {
    max-width: 320px;
  }

  /* REVIEWS */
  .container-reviews {
    flex-direction: column;
    gap: 30px;
  }

  .setas {
    max-width: 60px;
    max-height: 60px;
  }

  /* CONTATOS */
  .Contatos img {
    max-width: 180px;
  }

  .Contatos h1 {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {

  header h1 img {
    max-height: 100px;
  }

  nav ul {
    gap: 10px;
    font-size: 0.9rem;
  }

  .main-texto h1 {
    font-size: 2rem;
  }

  .main-texto p {
    font-size: 1.2rem;
  }

  main .miniaturas img {
    max-width: 90px;
    max-height: 70px;
  }

  article h3 {
    font-size: 1.4rem;
  }

  article p {
    font-size: 1rem;
  }

  h2 {
    font-size: 2rem;
    margin: 20px 0;
  }
}
