/* ------------------ General Styles ------------------ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background-color: #f4eadc;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ------------------ Hero Section ------------------ */
.hero {
  background-image: url('hero-image.jpg');
  background-size: cover;
  background-position: center;
  height: 480px;
  border-radius: 10px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem 0;
  margin-top: 50px;
}

.navbar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1.2rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.logo {
  font-size: 1.4rem;
  font-weight: bold;
  color: #eee0c9;
}

.nav-links a {
  margin-left: 1rem;
  text-decoration: none;
  color: white;
  font-weight: 500;
  font-size: 0.95rem;
}

.overlay {
  color: white;
  margin-top: 2rem;
  z-index: 2;
  max-width: 400px;
  margin-left: 34px;
  animation: fadeInUp 1s ease-out forwards;
}

.overlay h2 {
  font-weight: normal;
  font-size: 1rem;
  margin: 0;
}

.overlay h1 {
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.4;
  margin: 0.5rem 0 1rem;
}

.order-btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background-color: white;
  color: black;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.order-btn:hover {
  background-color: #eaeaea;
  transform: scale(1.05);
}

/* ------------------ Features Section ------------------ */
.features {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem 0;
  gap: 5rem;
  background-color: #f4eadc;
}

.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature img {
  width: 50px;
  height: 50px;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}
.feature img:hover {
  transform: scale(1.2);
}

.feature p {
  margin: 0;
  font-size: 0.9rem;
}

/* ------------------ Specials ------------------ */
.specials {
  background-color: #ffffff;
  padding: 2rem 0;
  margin: 3rem 0;
  border-radius: 10px;
}

.specials h2 {
  text-align: center;
  font-size: 1.2rem;
  color: #444;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.card {
  width: 220px;
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  animation: slideInUp 0.6s ease forwards;
  transition: transform 0.4s ease;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.card h3 {
  margin: 0.8rem;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.card p {
  margin: 0 0.8rem 1rem;
  font-size: 0.75rem;
  color: #777;
}

.card-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem;
}

.card-footer span {
  font-weight: bold;
  color: #000;
}

.card-footer button {
  background-color: #222;
  color: white;
  border: none;
  padding: 0.4rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.card-footer button:hover {
  background-color: #444;
  transform: scale(1.05);
}

/* ------------------ Banner ------------------ */
.banner-box {
  background-color: #f4eadc;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 0px;
  margin-top: 2rem;
  padding: 2rem 3rem;
  position: relative;
  overflow: hidden;
}

.banner-left,
.banner-right {
  width: 200px;
  height: 200px;
  object-fit: contain;
}

.banner-left {
  margin-left: -50px;
}

.banner-right {
  margin-right: -70px;
}

.banner-content {
  text-align: center;
  flex-grow: 1;
}

.banner-content h2 {
  font-size: 2rem;
  color: #2d1d0b;
  font-weight: 700;
  margin-bottom: 1rem;
}

.banner-button {
  text-decoration: none;
  background-color: #2d1d0b;
  color: white;
  padding: 0.6rem 1.4rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.banner-button:hover {
  background-color: #463120;
}

/* ------------------ Reviews ------------------ */
.reviews {
  text-align: center;
  padding: 3rem 0;
}

.reviews .subtitle {
  font-family: 'Cursive', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.reviews .title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.review-cards {
  display: flex;
  justify-content: flex-start;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 2rem;
  overflow-x: auto;
  padding: 1rem 2rem;
  scroll-padding-left: 2rem;
  scroll-snap-type: x mandatory;
}

.review-cards::-webkit-scrollbar {
  height: 8px;
}

.review-cards::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 4px;
}

.review-card.improved {
  background-color: #f4eadc;
  padding: 1.5rem;
  border-radius: 14px;
  min-width: 340px;
  max-width: 380px;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInReview 0.8s ease forwards;
}

.review-card.improved.active {
  background-color: #ffffff;
  transform: scale(1.02);
}

.review-header-improved {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.review-info {
  flex: 1;
}

.review-info h4 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: #333;
}

.review-info .role {
  margin: 0;
  font-size: 0.85rem;
  color: #666;
}

.review-text {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.6;
  margin-top: 0.5rem;
}

.review-card.improved .stars {
  color: #f2b01e;
  font-size: 1rem;
  margin-left: 1rem;
  white-space: nowrap;
}

/* ------------------ Subscribe Section ------------------ */
.subscribe-section {
  background-color: #e6ddcd;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  flex-wrap: wrap;
}

.subscribe-content {
  max-width: 600px;
  z-index: 1;
}

.subscribe-content h2 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2d1d0b;
  margin-bottom: 0.5rem;
}

.subscribe-content p {
  color: #5c4b3b;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.subscribe-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.subscribe-form input[type="email"] {
  padding: 0.75rem 1rem;
  border-radius: 999px;
  border: none;
  font-size: 1rem;
  width: 280px;
  outline: none;
}

.subscribe-form button {
  background-color: #2d1d0b;
  color: white;
  padding: 0.75rem 1.4rem;
  border: none;
  border-radius: 999px;
  font-size: 1rem;
  cursor: pointer;
}

.subscribe-form button:hover {
  background-color: #463120;
}

.subscribe-beans {
  position: absolute;
  width: 200px;
  height: auto;
  object-fit: contain;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  pointer-events: none;
}

.subscribe-beans.left {
  left: 0;
  height: 300PX;
  width: 200PX;
}

.subscribe-beans.right {
  right: 0;
}

/* ------------------ Footer ------------------ */
.site-footer {
  background-color: #2d1d0b;
  color: #eee0c9;
  padding: 3rem 2rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-col {
  flex: 1 1 150px;
  min-width: 140px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col ul li a {
  text-decoration: none;
  color: #eee0c9;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #ffffff;
}

.footer-col.logo-col h2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: antiquewhite;
}

.social-icons a {
  margin-right: 0.7rem;
  font-size: 1.1rem;
  color: #eee0c9;
  transition: color 0.3s ease;
}

.social-icons a:hover {
  color: #ffffff;
}

/* ------------------ Animations ------------------ */
@keyframes fadeInReview {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  0% {
    opacity: 0;
    transform: translateY(50px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ------------------ Responsive Styles ------------------ */
@media (max-width: 1024px) {
  .features {
    flex-wrap: wrap;
    gap: 2rem;
  }

  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
  }

  .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
  }

  .nav-links a {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }

  .hero {
    height: auto;
    padding: 3rem 1rem;
    text-align: center;
  }

  .overlay {
    margin-left: 0;
    max-width: 100%;
  }

  .overlay h1 {
    font-size: 1.5rem;
  }

  .card-container {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }

  .banner-box {
    flex-direction: column;
    padding: 2rem 1rem;
    text-align: center;
