/* =====================
   GLOBAL
====================== */
body {
  font-family: "Poppins", sans-serif;
  background: #ffffff;
  color: #333;
}

.fade-in { animation: fadeIn 1s ease; }
.fade-in-delay { animation: fadeIn 1.3s ease; }
.fade-in-delay2 { animation: fadeIn 1.6s ease; }
.fade-up { animation: fadeUp 1s ease; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

.shadow-soft {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

section {
  scroll-margin-top: 80px;
}


/* =====================
   HERO BANNER
====================== */
/* =====================
   HERO BANNER PREMIUM
====================== */
.hero-banner {
  height: 85vh;
  min-height: 550px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: #1a1a1a; /* tạo lớp nền chuyển mượt */
}

/* Ảnh nền */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("img/bg2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: brightness(0.85) contrast(1.2) saturate(1.2);
  transition: transform 7s ease, filter 0.5s ease;
}
/* Thêm phần chuyển tiếp ở đáy hero-banner */
.section-divider {
  display: block;
  width: 100%;
  margin-top: -5px; /* để chồng nhẹ lên brand-story */
}

/* Hover parallax */
.hero-banner:hover .hero-bg {
  transform: scale(1.07);
  filter: brightness(0.88) contrast(1.25) saturate(1.3);
}

/* Overlay gradient vàng – đen premium */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.65)
  );
}


/* Nội dung */
.hero-content {
  position: relative;
  z-index: 5;
  top: 50%;
  transform: translateY(-50%);
  padding: 0 20px;
  color: #fff;
}

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 25px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* Responsive */
@media(max-width: 768px) {
  .hero-title { font-size: 2.2rem; }
  .hero-subtitle { font-size: 1rem; }
}


/* =====================
   COLLECTIONS
====================== */
.collection-card {
  background: #fff;
  border-radius: 16px;
  text-align: center;
  padding-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: .3s;
}
.collection-card:hover {
  transform: translateY(-8px);
}
.collection-img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 16px 16px 0 0;
}

/* =====================
   BRAND STORY
====================== */
.brand-story {
  background: linear-gradient(to bottom, #fdf6e3 0%, #e0d7c3 100%);
  padding: 100px 0;
  overflow: hidden;
  position: relative;
}

/* Logo wrapper */
.logo-wrapper {
  position: relative;
  width: 400px;
  height: 400px;
  margin: 0 auto;
}

/* Logo chính */
/* Logo chính chìm xuống */
.brand-image {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 18px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1; /* thấp hơn ảnh sản phẩm */
  
  /* giảm nổi bật */
   mix-blend-mode: multiply; /* multiply, screen, overlay đều có thể thử */

  /* Hiệu chỉnh độ sáng / tương phản */
  filter: brightness(1.05) contrast(1.1);
  transition: transform 0.4s ease, filter 0.4s ease, opacity 0.4s ease;
}

.brand-image:hover {
  transform: translate(-50%, -50%) scale(1.05);
  filter: brightness(1.12) contrast(1.2) saturate(1.2);
}

/* Container xoay 4 ảnh */
.orbit-container {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 400px;
  height: 400px;
  transform: translate(-50%, -50%);
  animation: rotate-orbit 15s linear infinite;
}

/* Animation xoay container */
@keyframes rotate-orbit {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Ảnh sản phẩm xếp đều */
.product-orbit {
  position: absolute;
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  top: 50%;
  left: 50%;
  z-index: 3; /* ảnh sản phẩm nổi hơn logo */
}

/* Sử dụng biến CSS để chia đều góc 4 ảnh */
.product-orbit:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateX(150px); }
.product-orbit:nth-child(2) { transform: translate(-50%, -50%) rotate(72deg) translateX(150px); }
.product-orbit:nth-child(3) { transform: translate(-50%, -50%) rotate(144deg) translateX(150px); }
.product-orbit:nth-child(4) { transform: translate(-50%, -50%) rotate(216deg) translateX(150px); }
.product-orbit:nth-child(5) { transform: translate(-50%, -50%) rotate(288deg) translateX(150px); }
/* Hover ảnh sản phẩm */
.product-orbit:hover {
  transform: scale(1.05) translate(-50%, -50%) rotate(0deg) translateX(150px);
}

/* Tiêu đề & nội dung */
.brand-title {
  font-size: 2rem;
  color: #8b5e24;
  margin-bottom: 20px;
  line-height: 1.3;
}
.brand-lead {
  font-size: 1.1rem;
  color: #5a4a39;
  margin-bottom: 15px;
}
.brand-text {
  font-size: 1rem;
  color: #4a3b2c;
  line-height: 1.6;
}
.brand-btn {
  font-size: 1rem;
  font-weight: 600;
  padding: 10px 25px;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.brand-btn:hover {
  transform: translateY(-2px);
  background-color: #8b5e24;
  color: #fff;
}

/* Fade-in chữ mượt */
.fade-in-delay {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s forwards;
  animation-delay: 0.3s;
}
@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */


@media (max-width: 576px) {
  .logo-wrapper { max-width: 220px; }
  .brand-image { max-width: 100px; }
  .product-orbit { max-width: 60px; }

  /* Tăng khoảng cách ảnh từ 70px lên 100px để thưa hơn */
  .product-orbit:nth-child(1) { transform: translate(-50%, -50%) rotate(0deg) translateX(100px); }
  .product-orbit:nth-child(2) { transform: translate(-50%, -50%) rotate(72deg) translateX(100px); }
  .product-orbit:nth-child(3) { transform: translate(-50%, -50%) rotate(144deg) translateX(100px); }
  .product-orbit:nth-child(4) { transform: translate(-50%, -50%) rotate(216deg) translateX(100px); }
  .product-orbit:nth-child(5) { transform: translate(-50%, -50%) rotate(288deg) translateX(100px); }

  .brand-title { font-size: 1.4rem; }
  .brand-lead { font-size: 0.95rem; }
  .brand-text { font-size: 0.85rem; }
  .brand-btn { font-size: 0.85rem; padding: 6px 15px; }
}



/* ===================== CUSTOMER FEEDBACK ===================== */
.customer-feedback {
  background: #f9f9f9; /* nền nhẹ, tách biệt với phần khác */
  padding: 100px 0;
  scroll-margin-top: 80px;
}

.customer-feedback h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 100px;
}

/* Cards */
.customer-feedback .card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background: #fff;
}

.customer-feedback .card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

/* Ảnh khách hàng */
.customer-feedback .card-img-top {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  margin: -40px auto 15px auto; /* nổi lên trên card */
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Card body */
.customer-feedback .card-body {
  padding: 30px 20px 20px 20px;
  text-align: center;
}

.customer-feedback .card-body p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 15px;
  line-height: 1.5;
}

.customer-feedback .card-body h6 {
  font-size: 1rem;
  color: #222;
}

/* Animation fade-up */
.fade-up {
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 1s forwards;
}

[data-aos-delay="100"] { animation-delay: 0.1s; }
[data-aos-delay="200"] { animation-delay: 0.2s; }
[data-aos-delay="300"] { animation-delay: 0.3s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(25px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
  .customer-feedback h2 {
    font-size: 2rem;
     margin-bottom: 80px; /* đủ khoảng cách trên mobile */
  }
  .customer-feedback .card-img-top {
    width: 100px;
    height: 100px;
    margin-top: -40px;
  }
  .customer-feedback .card-body {
    padding: 20px 15px 15px 15px;
  }
}





/* =====================
   NEWS
====================== */
.news-card {
  background: #fff;
  padding: 15px;
  border-radius: 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  transition: .3s;
}
.news-card:hover {
  transform: translateY(-8px);
}
.news-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 14px;
}
/* ====================== HERO VIDEO PREMIUM ====================== */ .hero { height: 100vh; position: relative; } .hero-video { width: 100%; height: 100%; object-fit: cover; filter: brightness(60%) contrast(105%); } .overlay { background: rgba(0,0,0,0.55); } .text-glow { text-shadow: 0 0 10px rgba(255,170,80,0.8); } /* Button Premium */ .btn-danger { border-radius: 50px; background: linear-gradient(45deg, #d32f2f, #b71c1c); border: none; padding: 10px 26px; box-shadow: 0 4px 12px rgba(211,47,47,0.4); } .btn-danger:hover { transform: scale(1.06); background: linear-gradient(45deg, #b71c1c, #8e0000); }

