body {
  font-family: 'Poppins', sans-serif;
}

/* Hero overlay */
/* .hero-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.6));
} */

.hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.6) 40%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

/* Giúp chữ trong hero dễ đọc hơn trên ảnh sáng */
.hero-overlay h2,
.hero-overlay p {
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.7);
}

.hero-overlay {
  animation: hero-fade 1.2s ease forwards;
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}


/* Floating Messenger Button */
.float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: #ff6b35;
  color: white;
  font-weight: 500;
  padding: 14px 22px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
  z-index: 100;
  animation: pulse 3s infinite;
}
.float-btn:hover {
  background-color: #ff8533;
  transform: translateY(-2px);
}

/* Animation */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* Fade-in + Slide-up */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}
.slide-up {
  animation: slide-up 1s ease forwards;
}
@keyframes slide-up {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Product card hover */
.product-card {
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Delay classes */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }


/* ===== HEADER ===== */
.site-header {
  /* background-color: rgba(255, 255, 255, 0.05); */
  backdrop-filter: blur(12px);
  /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */
  transition: background-color 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(255, 165, 0, 0.3);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.08);
}


/* Căn chỉnh button hero */
.hero-overlay a {
  min-width: 220px;
  text-align: center;
}

/* Thêm hiệu ứng hover đồng bộ */
.hero-overlay a:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}


/* ===== NAVIGATION LINKS ===== */
.nav-link {
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

/* Gạch chân động khi hover */
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: #fb923c; /* cam đậm */
  transition: width 0.3s ease;
}
.nav-link:hover::after {
  width: 100%;
}

/* Khi cuộn xuống, đổi màu chữ menu */
.site-header.scrolled .nav-link {
  color: #444;
}
.site-header.scrolled .nav-link:hover {
  color: #fb923c;
}

/* ===== LOGO & SLOGAN ===== */
.site-header p {
  color: rgba(255, 255, 255, 0.8); /* slogan sáng nhẹ */
  transition: color 0.3s ease;
}

/* Khi scroll */
.site-header.scrolled p {
  color: #666; /* slogan xám đậm */
}

/* ===== Nút GỌI ĐẶT HÀNG ===== */
.site-header a.call-btn {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.site-header a.call-btn:hover {
  background-color: #fb923c;
  border-color: #fb923c;
  color: #fff;
}

/* Khi cuộn xuống – nút chuyển màu cam nổi bật */
.site-header.scrolled a.call-btn {
  background-color: #fb923c;
  border-color: #fb923c;
  color: #fff;
}
.site-header.scrolled a.call-btn:hover {
  background-color: #f97316;
}

/* ===== LOGO (M&T Pets) ===== */
.site-header h1 {
  color: #fff; /* khi chưa scroll */
  transition: color 0.3s ease;
}

/* Khi cuộn xuống – đổi sang màu thương hiệu */
.site-header.scrolled h1 {
  color: rgba(140, 126, 97, 1); /* màu nâu-be thương hiệu */
}

/* ===== CÂU CHUYỆN THƯƠNG HIỆU ===== */
#gioithieu {
  position: relative;
}

#gioithieu h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

#gioithieu img {
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

#gioithieu img:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

/* ===== CHÚ THÍCH ẢNH TRONG CÂU CHUYỆN ===== */
.story-caption {
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  font-weight: 400;
}

/* ===== CATEGORY TAG ===== */
.category-tag {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.category-tag:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* ===== PRODUCT STATUS BADGES ===== */
.status-badge {
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}


/* ===== SẢN PHẨM ĐÃ NGƯNG BÁN ===== */
.product-card.disabled {
  position: relative;
  opacity: 0.45;
  filter: grayscale(80%);
  transition: all 0.4s ease;
}

.product-card.disabled:hover {
  opacity: 0.6;
  filter: grayscale(40%);
}

/* .product-card.disabled::after {
  content: "🚫 Đã ngưng bán";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-weight: 600;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
} */
