body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #406346;
  color: #F3F7F3;
}

main {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  scroll-snap-align: start;
  box-sizing: border-box;
  font-size: 2rem;
  line-height: 1.6;
}

.left { text-align: left; align-items: flex-start; }
.center { text-align: center; align-items: center; }
.right { text-align: right; align-items: flex-end; }

.animation {
  margin-top: 1rem;
  font-size: 1.1rem;
  opacity: 0.7;
}

#backToTop {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background-color: #F3F7F3;
  color: #406346;
  border: none;
  border-radius: 50%;
  width: 3.5rem;
  height: 3.5rem;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.2s;
}

#backToTop:hover {
  transform: scale(1.1);
}

/* Coffee Carousel */
.coffee-carousel {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100vw;
  scrollbar-width: none;
  scroll-behavior: smooth;
}

.coffee-carousel::-webkit-scrollbar {
  display: none;
}

.coffee-slide {
  flex: 0 0 100vw;
  scroll-snap-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.coffee-card {
  background-color: #F3F7F3;
  color: #406346;
  border-radius: 1rem;
  padding: 2rem;
  box-sizing: border-box;
  text-align: center;
  max-width: 320px;
  width: 80%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.coffee-card img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
}

.coffee-card h3 {
  margin: 0.5rem 0;
  font-size: 1.5rem;
}

.coffee-card p {
  font-size: 1.2rem;
  margin: 0.5rem 0;
}

.coffee-card button {
  margin-top: 1rem;
  padding: 0.5rem 1.2rem;
  background-color: #406346;
  color: #F3F7F3;
  border: none;
  border-radius: 0.5rem;
  font-weight: bold;
  cursor: pointer;
}

.coffee-card button:hover {
  background-color: #2f4b35;
}

.carousel-dots {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #F3F7F3;
  opacity: 0.4;
  border-radius: 50%;
  transition: opacity 0.3s;
}

.dot.active {
  opacity: 1;
}

@media (min-width: 768px) {
  .coffee-card {
    max-width: 400px;
    width: 70%;
  }

  .coffee-carousel {
    cursor: grab;
  }

  .coffee-carousel:active {
    cursor: grabbing;
  }
}
