/*====  RESET ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  width: 100%;
  height: auto;
}

/*====  VARIABLES ============================ */
:root {
  --header-height: 4.5rem;

  /* colors */
  --header-height: 4.5rem;
  --hue: 45;
  --base-color: hsl(var(--hue) 100% 68%);
  --base-color-second: hsl(var(--hue) 65% 88%);
  --base-color-alt: hsl(var(--hue) 57% 53%);
  --title-color: #daa520;
  --text-color: rgb(248, 238, 191);
  --text-color-light: hsl(0 0% 98%);
  --body-color: hsl(0 0% 98%);

  /* fonts */
  --title-font-size: 1.875rem;
  --subtitle-font-size: 1rem;

  --title-font: 'Poppins', sans-serif;
  --body-font: 'DM Sans', sans-serif;
}

/*===  BASE ============================ */
html {
  scroll-behavior: smooth;
}

body {
  font: 400 1rem var(--body-font);
  color: var(--text-color);
  background: var(--body-color);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.title {
  font: 700 var(--title-font-size) var(--title-font);
  color: var(--title-color);
  -webkit-font-smoothing: auto;
}

.button {
  background-color: var(--base-color);
  color: #333;
  height: 3.5rem;
  display: inline-flex;
  align-items: center;
  padding: 0 2rem;
  border-radius: 0.25rem;
  font: 500 1rem var(--body-font);
  transition: background 0.3s;
}

.button:hover {
  background: var(--base-color-alt);
}

.divider-1 {
  height: 1px;
  background: linear-gradient(
    270deg,
    hsla(var(--hue), 36%, 57%, 1),
    hsla(var(--hue), 65%, 88%, 0.34)
  );
}

.divider-2 {
  height: 1px;
  background: linear-gradient(
    270deg,
    hsla(var(--hue), 65%, 88%, 0.34),
    hsla(var(--hue), 36%, 57%, 1)
  );
}

/*====  LAYOUT ============================ */
.container {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.grid {
  display: grid;
  gap: 2rem;
}

.section {
  padding: calc(5rem + var(--header-height)) 0;
}

.section .title {
  margin-bottom: 1rem;
}

.section .subtitle {
  font-size: var(--subtitle-font-size);
}

.section header {
  margin-bottom: 4rem;
}

.section header strong {
  color: var(--base-color);
}

#header {
  background-image: linear-gradient(0.25turn, #333, #000000, #303030);
  border-bottom: 1px solid rgb(247,224,126);
  margin-bottom: 2rem;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  background-color: var(--body-color);
  width: 100%;
}

#header.scroll {
  box-shadow: 0px 0px 6px rgba(231, 216, 7, 0.918);
}

.header-social {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 150px;
    margin-right: 15px;
    width: 100%;
}

.header-social img {
    width: 35px;
    transition: .5s;
}

.header-social img:hover {
    transform: scale(120%);
}

/*====  LOGO ============================ */
.logo {
    width: 170px;
  margin-right: 15px;
}

.logo span {
  color: var(--base-color);
}

.logo-alt span {
  color: var(--body-color);
}

/*====  NAVIGATION ============================ */
nav {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

nav ul li {
  text-align: center;
}

nav ul li a {
  transition: color 0.2s;
  position: relative;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--base-color);
}

nav ul li a::after {
  content: '';
  width: 0%;
  height: 2px;
  background: var(--base-color);

  position: absolute;
  left: 0;
  bottom: -0.5rem;

  transition: width 0.2s;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav .menu {
  opacity: 0;
  visibility: hidden;
  top: -20rem;
  transition: 0.2s;
}

nav .menu ul {
  display: none;
}

/* Mostrar menu */
nav.show .menu {
  opacity: 1;
  visibility: visible;

  background-image: linear-gradient(0.25turn, #333, #000000, #333);


  height: 100vh;
  width: 100vw;

  position: fixed;
  top: 0;
  left: 0;

  display: grid;
  place-content: center;
}

nav.show .menu ul {
  display: grid;
}

nav.show ul.grid {
  gap: 2rem;
}

/* toggle menu */
.toggle {
  color: var(--base-color);
  font-size: 1.5rem;
  cursor: pointer;
}

nav .icon-close {
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: -1.5rem;
  right: 1.5rem;

  transition: 0.2s;
}

nav.show div.icon-close {
  visibility: visible;
  opacity: 1;
  top: 1.5rem;
}

/*====  HOME ============================ */

@keyframes float-img {
    0% {
        transform: scale(95%);
    }
 

    100% {
        transform: scale(100%);
    }
}

@keyframes translate-img {
    0% {
        transform: translateX(0%);
    }
 

    100% {
        transform: translateX(78%);
    }
}

@keyframes translate-y-img {
    0% {
        transform: translatex(-100%);
    }
 

    100% {
        transform: translatex( 0%);
    }
}

@keyframes opacity-efect {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }

    

    50% {
        transform: translateX(80%);
        opacity: 0;

    }
 
    100% {
        transform: translateX(-50%);
        opacity: 1;

    }
}

@keyframes slide {
    0% {
       opacity: 0;
   } 8.333% {
       opacity: 1;
   } 33.333% {
       opacity: 1;
   } 41.666% {
      opacity: 0;
   } 100% {
       opacity: 0;
   }
 }


#home {
  background-image: linear-gradient(0.25turn, #333, #000000, #303030);

}

#home .container {
  margin: 0;

}

#home .image {
    width: 100%;
    max-width: 800px;
    height: 250px;
    margin: 0 auto;

    position: relative;

}

#home  .home-folder {
    display: block;
    margin: 0 auto;
    position: absolute;
    top: 0;
    transform: translateX(-50%);
    left: 50%;
    opacity: 0;
    box-shadow: 2px 2px 12px var(--title-color);
    animation-name: slide;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    overflow: hidden;

}

.home-folder-first {
   opacity: 1;
}

.home-folder-second {
    animation-delay: 6s;
}

.home-folder-third {
    animation-delay: 12s;
}




.home-folder-button {
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 100%;
    max-width: 250px;
    background-color: #2cb742;
    transform: translateX(-50%);
   
}

img.home-iconwhats {
    width: 50px;
    margin-left: 10px;
}

#home .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  text-align: center;
}

#home .text h1 {
  margin-bottom: 1rem;
}

#home .text p {
  margin-bottom: 2rem;
}

/*====  ABOUT ============================ */

#about {
  background-image: linear-gradient(0.25turn, #333, #000000);
  background-position: top;
}

#about .container {
  margin: 0 auto;
}

#about h4 {
    color: var(--title-color);
    margin: 15px 0px;
}

.about__show-text {
    font-size: 14px;
    color: var(--title-color);
    background-color: transparent;
    border: none;
    cursor: pointer;
}

.about__text-hidden {
    height: 0px;
    opacity: 0;
    transition: .4s;
}

.about__show-text.active {
    display: none;
}

.about__text-hidden.active {
    height: auto;
    opacity: 1;
}

#about .image {
  position: relative;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--title-color);
}

.swiper {
    width: 100%;
}


.swiper-pagination-about {
    display: flex;
    justify-content: center;
}

#about .swiper-slide {
    padding: 2rem 1rem;
}





#about .text {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

/*====  SERVICES ============================ */

#services {
    background-image: linear-gradient(0.25turn, #333, #000000, #303030);


}

.cards.grid {
  gap: 1.5rem;
}

.card {
  padding: 3.625rem 2rem;
  box-shadow: 2px 2px 8px rgb(227, 252, 4);
  border-radius: 5px;
  text-align: left;
  background-color: #303030;
}

.card img {
    max-width: 60px;
    display: block;
    margin: 0 auto;
}

.card .title {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  text-align: center;
}

.servico__localizacao { 
    color: var(--title-color);
    text-decoration: underline;
}

.servico__pagamento {
    margin-top: 10px;
}

.servico__pagamento li {
    text-align: left;
    margin-top: 5px;
}
/*====  CARDAPIO ============================ */

#cardapio {
    background-image: linear-gradient(0.25turn, #333, #000000);
} 

.cardapio-option-box {
    width: 100%;
    display: flex;
    padding: 20px;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    transition: .5s;
  }

  .cardapio-option-box.active {
    display: none;
    opacity: 0;
  }

  .cardapio-option-delivery,
  .cardapio-option-local,
  .cardapio-option-bolo,
  .cardapio-option-especial {
    width: 100%;
    height: 100px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 10px;
    border-radius: 10px;
    background-color: transparent;
    border: 3px solid var(--title-color);
    cursor: pointer;
    transition: .4s;
  }

  .cardapio-option-delivery.hidden,
  .cardapio-option-local.hidden,
  .cardapio-option-bolo.hidden,
  .cardapio-option-especial.hidden {
    height: 0px;
    opacity: 0;
    pointer-events: none;
  }

  .cardapio-option-back {
    display: none;
    height: 50px;
    border-radius: 10px;
    margin-top: 10px;
    font-weight: bold;
    color: #000;
    border: none;
    font-size: 16px;
    background-color: var(--title-color);
    cursor: pointer;
  }

  .cardapio-voltar-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

  .cardapio-option-back.active {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .cardapio-option-img {
    position: absolute;
    width: 80px;
    height: 80px;
    box-shadow: 3px 5px 13px var(--title-color);
    border-radius: 50%;
    top: 50%;
    left: 2%;
    transform: translateY(-50%);
    opacity: 0;
    object-fit: cover;
    animation-name: slide;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    overflow: hidden;

}

.cardapio-option-img-first {
   opacity: 1;
}

.cardapio-option-img-second {
    animation-delay: 6s;
}

.cardapio-option-img-third {
    animation-delay: 12s;
}

.cardapio-option-txt {
    position: absolute;
    color: var(--title-color);
    font-weight: bold;
    font-size: 22px;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}



.cardapio-filter {
    display: block;
    justify-content: center;
    flex-direction: column;
    height: auto;
    opacity: 1;
    transition: .5s;
}

.cardapio-filter.active {
    height: 0px;
    opacity: 0;
    pointer-events: none;
}

.cardapio-back {
    opacity: 0;
    pointer-events: none;
}

.cardapio-back.active {
    opacity: 1;
    pointer-events: all;
}

.cardpio-card-img {
    width: 100%;
    z-index: 0;
    max-height: 600px;
    height: 100%;
    filter: brightness(0.5);
    position: absolute;
    animation: opacity-efect 12s ease-in alternate;
    animation-iteration-count: infinite;
}

.cardapio-card {
    position: relative;
    margin: 50px auto;
    width: 100%;
    height: 400px;
    max-width: 400px;
    object-fit: cover;

}

.cardapio-indice-btn {
    z-index: 1;
    font-size: 12px;
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.indice-btn,
.cardapio-back-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    font-weight: 700;
    margin: 15px auto;
    padding: 10px;
    color: var(--title-color);
    width: 100%;
    max-width: 300px;
    border: 3px solid var(--title-color);
    border-radius: 10px;
    background-color: transparent;
    transition: .3s;
    cursor: pointer;
    text-transform: capitalize;
}

.indice-btn {
    display: none;
}

.indice-btn.active {
    display: flex;
}

.indice-btn:hover,
.cardapio-back-btn:hover {
    color: #7bff009f;
    border: 3px solid #7bff009f;
}

.cadapio-animation {
    overflow: hidden;
    position: relative;
    width: 100%;
    margin: 0 auto;
    max-width: 500px;
    height: auto;
    box-shadow: 0px 0px 12px var(--title-color);

}

.cake-img {
    animation: translate-img 8s ease-out alternate;
    animation-iteration-count: infinite;
    position: absolute;
    top: -35%;
    width: 100%;
    height: auto;
    z-index: 1;
}

.cake-img2 {
    animation: translate-img 8s ease-out alternate;
    animation-iteration-count: infinite;
    position: absolute;
    top: -35%;
    width: 100%;
    height: auto;
    z-index: 1;
}

.carapio-logo {
    width: 100%;
    max-width: 400px;
    display: flex;
    margin: auto;
    margin-top: 30px;
    animation: translate-y-img 8s ease-out alternate;
    animation-iteration-count: infinite;
}

.cardapio-title {
    display: flex;
    justify-content: center;
}

.cardapio-subtitle {
    margin-top: 20px;
    display: block;
}

.cardapio-box {
    display: none;
}

.cardapio-box.active {
    display: block;
}

.cardapio-item {
    color: var(--title-color);
    font-weight: bold;
    width: 100%;
    align-content: center;
    margin: 15px auto;
    border: 1px solid;
    border-radius: 5px;
    padding: 15px 15px;
    transition: .5s;
}

.cardapio-item p {
    text-transform: uppercase;
}

.cardapio-cake h3 {
    display: flex;
    justify-content: center;
    padding-top: 30px;

}

.cardapio-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px auto;
}

.cardapio-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cardapio-price {
    display: block;
    text-align: right;
    margin: 10px 15px 0 0;
}

.cardapio-button {
    background: var(--title-color);
    color: #333;
    padding: 10px;
    border-radius: 10px;
}

.gallery-img {
    width: 100%;
    height: 100%;
    max-width: 140px;
    max-height: 140px;
    object-fit: cover;
    margin: 0px auto;
    display: flex;
    border: 1px solid var(--title-color);
    border-radius: 10px;
    box-shadow: 0px 2px 8px var(--title-color);
}

.cardapio-img {
    margin-inline: 10px;
    width: 140px;
    height: 140px;
}

.cardapio-option {
    display: block;
    font-size: 12px;
    color: var(--text-color);
}

.cardapio-item:hover {
    background-color: rgb(51, 35, 0);
    color: rgb(226, 155, 1);
    border: none;
    border-radius: 10px;
    transform: translateX(5px);
}

.cardapio-obs {
    max-width: 500px;
    margin: 0 auto;
}

.cardapio-obs h4 {
    color: var(--title-color);
    margin: 15px 0;
}

.cardapio-atencao {
    color: greenyellow;
}

.icon-like {
    width: 30px;
    margin-right: 15px;
}

.cardapio-obs a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 20px;
    font-weight: bold;
    height: 40px;
    margin-top: 30px;
    border: 1px solid var(--title-color);
    color: #333;
    background-color: var(--text-color);
    transition: .5s;
}

.cardapio-obs a:hover {
    transform: scale(90%);
    background-color: var(--title-color);
}



.cup-img {
    animation: float-img 3s ease-out alternate;
    animation-iteration-count: infinite;
}

.cup-img {
    position: absolute;
    max-width: 300px;
    z-index: 0;
}


/*====  TRABALHO ============================ */

#trabalho {
    background-image: linear-gradient(0.25turn, #333, #000000, #303030);
}

#trabalho .title {
    display: flex;
    justify-content: center;
}

.gallery-work-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 7px;
}




/*====  TESTIMONIALS ============================ */


#testimonials {
    background-image: linear-gradient(0.25turn, #333, #000000);
}

#testimonials .container {
  margin-left: 0;
  margin-right: 0;
}

#testimonials header {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  margin-bottom: 0;
}

#testimonials blockquote {
  padding: 2rem;
  box-shadow: 2px 2px 8px rgb(227, 252, 4);
  width: 100%;
  height: 100%;
  border-radius: 0.25rem;
}

#testimonials blockquote p {
  position: relative;
  text-indent: 1.875rem;
  margin-bottom: 1.5rem;
  color: var(--title-color);
}

#testimonials blockquote p span {
  font: 700 2.5rem serif;
  position: absolute;
  top: -0.375rem;
  left: -1.875rem;
  color: var(--base-color);
}

#testimonials cite {
  display: flex;
  align-items: center;
  font-style: normal;
  margin-bottom: 20px;
}

.testimonial-name {
    margin-right: 10px;
}

#testimonials cite img {
  width: 2rem;
  height: 2rem;
  margin-right: 0.5rem;
}

/* swiper */
.swiper-slide {
  height: auto;
  padding: 4rem 1rem;
}

.swiper-pagination-bullet {
  width: 0.75rem;
  height: 0.75rem;
  background-color: #FFF;
}

.swiper-pagination-bullet-active {
  background: var(--base-color);
}

/*====  CONTACT ============================ */

#contact {
    background-image: linear-gradient(0.25turn, #333, #000000, #303030);
}

#contact a {
    color: var(--text-color);
}

#contact .button {
    color: #333;
}

#contact .icon-whatsapp {
    color: #01c01d;
}

#contact .grid {
  gap: 4rem;
}

#contact .text p {
  margin-bottom: 2rem;
}

#contact .button i,
#contact ul li i {
  font-size: 1.5rem;
  margin-right: 0.625rem;
}

#contact ul.grid {
  gap: 2rem;
}

#contact ul li {
  display: flex;
  align-items: center;
}

#contact ul li i {
  color: var(--base-color);
}

/*====  FOOTER ============================ */
footer {
  background: #333;
}

footer.section {
  padding: 4rem 0;
}

footer .logo {
    width: 200px;
  display: inline-block;
  margin-bottom: 1.5rem;
}

footer .brand p {
  color: var(--text-color-light);
  margin-bottom: 0.75rem;
}

footer i {
  font-size: 1.5rem;
  color: var(--text-color-light);
}

footer .social {
  grid-auto-flow: column;
  align-items: center;
  width: fit-content;
}

.logo-dev {
    width: 100px;
}

footer .social a {
  transition: 0.3s;
  display: inline-block;
}

footer .social a:hover {
  transform: translateY(-8px);
}

/* Back to top */
.back-to-top {
    background: var(--title-color);
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    color: #333;
    padding: 0.5rem;
    border-radius: 11px;
    font-size: 1rem;
    line-height: 0;
    visibility: hidden;
    opacity: 0;
    z-index: 5;
    transition: 1s;
    transform: translateY(100%);
}

.back-to-top.show {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

/*========= MEDIA QUERIES =========*/
/* extra large devices: 1200 > */
@media (min-width: 1200px) {
  /* reusable classes */
  .container {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 10rem 0;
  }

  .section header,
  #testimonials header {
    max-width: 32rem;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  .button {
    height: 3.125rem;
  }

  /* navigation */
  nav .menu {
    opacity: 1;
    visibility: visible;
    top: 0;
  }

  nav .menu ul {
    display: flex;
    gap: 2rem;
  }

  nav .menu ul li a.title {
    font: 400 1rem var(--body-font);
    -webkit-font-smoothing: antialiased;
  }

  nav .menu ul li a.title.active {
    font-weight: bold;
    -webkit-font-smoothing: auto;
  }

  nav .icon-menu {
    display: none;
  }

  /* layout */
  main {
    margin-top: var(--header-height);
  }

  /* home */
  #home .container {
    grid-auto-flow: column;
    justify-content: space-between;
    margin: 0 auto;
  }

  #home .image {
    order: 1;
    width: 600px;
  }

  #home .text {
    order: 0;
    max-width: 24rem;
    text-align: left;
  }

  /* about */
  #about {
    margin: 0 auto;

  }

  .swiper {
    width: 800px;
}

  /* services */
  .cards {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .card {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  /* cardapio */

  #cardapio {
    grid-template-columns: 1fr;

  }
  #cardapio .container {
    margin: 0 auto;
    display: grid;
    gap: 30px;
  }

  .cardapio-option-box {
    flex-direction: row;
}

.cardapio-option-img {
    width: 200px;
    height: 150px;
    left: 50%;
    top: 10px;
    border-radius: 20px;
    transform: translate(-50%);
}

.cardapio-option-txt {
    position: initial;
    margin: 140px auto 0px;
    transform: none;
}

  .cardapio-option-delivery,
  .cardapio-option-local,
  .cardapio-option-bolo,
  .cardapio-option-especial {
    width: 250px;
    height: 250px;
    position: relative;
    margin-right: 15px;
    border-radius: 10px;
    background-color: transparent;
    border: 2px solid var(--title-color);
    cursor: pointer;
  }

  .cardapio-filter {
    display: flex;
    justify-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: 140px;
    opacity: 1;
    transition: .5s;
}

.indice-btn,
.cardapio-back-btn {
    height: 50px;
    margin: 10px 5px;
    max-width: max-content;
}

.cardapio-back-btn { margin: 0 auto;}

  /* trabalho */

  #trabalho .galeria {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }


  /* testimonials */
  #testimonials .container {
    margin-left: auto;
    margin-right: auto;
  }

  /* contact */
  #contact .container {
    grid-auto-flow: column;
    align-items: center;
  }

  #contact .text {
    max-width: 25rem;
  }

  /* footer */
  footer.section {
    padding: 3.75rem 0;
  }

  footer .container {
    grid-auto-flow: column;
    align-items: center;
    justify-content: space-between;
  }

  footer .logo {
    font-size: 2.25rem;
  }
}
/* large devices: 1023 > */
/* large devices: 992 > */
@media (min-width: 992px) {
  :root {
    --title-font-size: 2.25rem;
    --subtitle-font-size: 1.125rem;
  }
}
/* medium devices: 767 > */

