* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Quattrocento', serif;
}


.coffee-section {
  background: linear-gradient(to right, #f6efe8, #fffaf5);
  padding: 60px 20px;

}

.coffee-container {
  max-width: 900px;
  margin: auto;
  text-align: center;
}

.coffee-container h2 {
  font-size: 38px;
  color: #4b2e1e;
  margin-bottom: 20px;

}

.coffee-container p {
  font-size: 25px;
  color: #5a4634;
  line-height: 1.8;
  margin-bottom: 15px;
}


/* coffee cards section */
/* Coffee Cards */
.coffee-section {
  padding: 80px 40px;
}

.coffee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.coffee-card {
  text-align: center;
}

.coffee-img {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}

.coffee-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
}

.coffee-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #000;
  font-size: 20px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  text-align: center;
  padding: 10px;
}

.coffee-overlay span {
  position: relative;
  padding-bottom: 8px;
}

.coffee-overlay span::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #000;
}

.coffee-img:hover img {
  opacity: 0.35;
}

.coffee-img:hover .coffee-overlay {
  background: rgba(0, 0, 0, 0.55);
  opacity: 1;
  transform: translateX(0);
}

.coffee-card h3 {
  margin-top: 14px;
  font-size: 18px;
  color: #642B03;
  font-weight: 600;
}

/* Coffee Cards Responsive */
@media (max-width: 768px) {
  .coffee-img {
    height: 220px;
  }

  .coffee-overlay {
    font-size: 18px;
  }
}
