

/* Hero Section */
.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("images/hero-bg.jpg") no-repeat center center;
  background-size: cover;
  color: var(--white);
  position: relative;
  display: flex;
  align-items: center;
}

.hero .highlight {
  color: #a67c52; /* Giữ màu này sáng hơn một chút để nổi bật */
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image-container {
  margin-top: 30px;
  position: relative;
  z-index: 1;
}

.hero-image {
  animation: float 3s ease-in-out infinite;

}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* Features Section */
.features {
  background-color: var(--dark-brown);
  padding: 60px 0;
  color: var(--cream);
}

.feature-box {
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  height: 100%;
  color: var(--cream);
}

.feature-box i {
  font-size: 2.5rem;
  color: #a67c52; /* Giữ màu icon sáng để nổi bật */
  margin-bottom: 20px;
}

.feature-box h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* About Section */
.about {
  background-color: var(--gray);
}

.about-image {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-stats {
  text-align: center;
}

.counter {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

/* Products Section */
.products {
  background-color: var(--dark-brown);
}

.products .section-header h2,
.products .section-header .lead {
  color: var(--cream);
}

.product-card {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  margin-bottom: 30px;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  color: var(--cream);
}

.product-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--primary-color);
  border-radius: 10px;
  opacity: 0;
  z-index: -1;
  transform: scale(0.9);
  transition: all 0.3s ease;
}

.product-card:hover:before {
  opacity: 0.05;
  transform: scale(1);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-image {
  position: relative;
  overflow: hidden;
}

.product-image img {
  transition: var(--transition);
  height: 250px;
  width: 100%;
  object-fit: cover;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--primary-color);
  color: var(--white);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.product-info {
  padding: 20px;
}

.product-info h3 {
  margin-bottom: 10px;
  font-size: 1.5rem;
  color: #a67c52;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #a67c52;
}

.btn-add-cart {
  background-color: #a67c52;
  color: var(--white);
  padding: 8px 20px;
  border-radius: 30px;
  font-weight: 500;
}

.btn-add-cart:hover {
  background-color: #8d6e63;
  color: var(--white);
}

/* Process Section */
.process {
  background-color: var(--gray);
}

.process-timeline {
  margin-top: 50px;
}

.process-step {
  text-align: center;
  padding: 30px;
  position: relative;
  z-index: 1;
}

.process-number {
  font-size: 4rem;
  font-weight: 700;
  color: rgba(111, 78, 55, 0.1);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.process-icon {
  width: 80px;
  height: 80px;
  background-color: #a67c52;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
}

.process-step h3 {
  margin-bottom: 15px;
  font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
  background-color: var(--gray);
}

.testimonial-item {
  padding: 30px;
}

.testimonial-img {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  overflow: hidden;
  border: 5px solid var(--light-brown);
}

.testimonial-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.testimonial-item h4 {
  margin-bottom: 5px;
  color: var(--dark-brown);
}

.carousel-control-prev,
.carousel-control-next {
  width: 40px;
  height: 40px;
  background-color: #a67c52;
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: var(--white);
  font-size: 1rem;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url("images/dat-hang.png") no-repeat center center;
  background-size: cover;
  color: var(--white);
  padding: 80px 0;
}

.cta h2 {
  margin-bottom: 20px;
  font-size: 2.5rem;
}

/* Contact Section */
.contact {
  background-color: var(--gray);
}

.contact-info {
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  margin-bottom: 30px;
}

.contact-item i {
  font-size: 1.5rem;
  color: #a67c52;
  margin-right: 20px;
  width: 40px;
  height: 40px;
  background-color: rgba(166, 124, 82, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.form-control {
  padding: 12px 15px;
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid #ddd;
}

.form-control:focus {
  box-shadow: none;
  border-color: var(--primary-color);
}


/* Responsive Styles */
@media (max-width: 991px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .cta h2 {
    font-size: 2rem;
  }
}

@media (max-width: 767px) {
  /* Cải thiện kích thước font và spacing */
  body {
    font-size: 16px;
  }

  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 1.3;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    margin-bottom: 10px;
  }

  /* Cải thiện các section */
  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  .section-header .lead {
    font-size: 1rem;
  }

  /* Cải thiện card sản phẩm trên mobile */
  .product-card {
    margin-bottom: 20px;
  }

  .product-info {
    padding: 15px;
  }

  .product-info h3 {
    font-size: 1.3rem;
  }

  /* Cải thiện quy trình trên mobile */
  .process-step {
    padding: 20px 15px;
    margin-bottom: 20px;
  }

  .process-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  /* Cải thiện testimonial trên mobile */
  .testimonial-item {
    padding: 20px 15px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  /* Cải thiện form liên hệ */
  .form-control {
    padding: 12px;
    font-size: 16px; /* Ngăn iOS zoom vào input */
  }

  /* Cải thiện footer */
  .footer {
    padding: 50px 0 0;
  }

  .footer-info,
  .footer-links,
  .footer-newsletter {
    margin-bottom: 30px;
  }

  /* Nút back-to-top lớn hơn trên mobile để dễ bấm */
  .back-to-top {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  /* Cải thiện navbar trên mobile */
  .navbar-collapse {
    background-color: var(--white);
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
  }

  .nav-link {
    padding: 12px 15px;
    margin: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .nav-item:last-child .nav-link {
    border-bottom: none;
  }

  .btn-shop {
    display: block;
    text-align: center;
    margin-top: 10px;
  }

  /* Cải thiện phần brewing methods */
  .brewing-method {
    margin-bottom: 30px;
  }

  .brewing-method-icon {
    margin-bottom: 15px;
  }
}

/* Thêm các lớp mới cho phần brewing methods */
.brewing-methods {
  background-color: var(--dark-brown);
  padding: 80px 0;
  color: var(--cream);
}

.brewing-methods .section-header h2,
.brewing-methods .section-header .lead {
  color: var(--cream);
}

.brewing-method {
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  color: var(--cream);
}

.brewing-method-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(166, 124, 82, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.brewing-method-icon i {
  font-size: 2rem;
  color: #a67c52;
}

.brewing-method h3 {
  margin-bottom: 15px;
  text-align: center;
  color: #a67c52;
}

.brewing-method-steps {
  margin-top: 20px;
}

.brewing-method-steps li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 25px;
}

.brewing-method-steps li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--primary-color);
  border-radius: 50%;
}
