/* ============================
   HOME — TRENDING SECTION
============================ */
.home-trending {
  padding: 60px 0;
  background-color: #fff;
}

.trending-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.trending-heading {
  font-size: 32px;
  text-align: center;
  font-weight: 600;
  color: #d8c08f;
  margin-bottom: 40px;
}

/* Desktop Grid */
.trending-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 35px;
}

/* Card Style */
.trending-card {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(180, 180, 180, 0.35);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: 0.28s ease;
}

.trending-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.18);
}

/* Image */
.trending-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-bottom: 1px solid #dcdcdc;
}

/* Title */
.trending-title {
  font-size: 16px;
  color: #2f2f2f;
  margin: 12px 14px 4px;
  font-weight: 500;
}

/* Price */
.trending-price {
  font-size: 18px;
  font-weight: 700;
  color: #d8c08f;
  margin: 0 14px 16px;
}

/* ======================================
   RESPONSIVE — TABLET
====================================== */
@media (max-width: 1024px) {
  .trending-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
  .trending-img {
    height: 220px;
  }
}

/* ======================================
   RESPONSIVE — MOBILE
====================================== */
@media (max-width: 768px) {
  .trending-container {
    padding: 0 20px;
  }

  .trending-heading {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .trending-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
  }

  .trending-card {
    border-radius: 18px;
  }

  .trending-img {
    height: 200px;
    border-radius: 14px;
  }

  .trending-title {
    font-size: 15px;
  }

  .trending-price {
    font-size: 16px;
  }
}

/* ======================================
   VERY SMALL DEVICES
====================================== */
@media (max-width: 420px) {
  .trending-img {
    height: 170px;
  }
}

/* ============================
   DESKTOP — LUXURY UPGRADE
============================ */
@media (min-width: 1025px) {
  .home-trending {
    padding: 90px 0;
    background: #faf7f2;
  }

  .trending-container {
    padding: 0 40px;
  }

  .trending-heading {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #a0855c;
    margin-bottom: 55px;
  }

  .trending-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 45px;
  }

  .trending-card {
    background: #ffffffd6;
    border-radius: 20px;
    border: 1px solid rgba(206, 186, 155, 0.3);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.35s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .trending-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.16);
    border-color: rgba(208, 174, 127, 0.5);
  }

  .trending-img {
    height: 280px;
  }

  .trending-title {
    font-size: 18px;
    font-weight: 600;
    padding: 14px 18px 4px;
    color: #3b3a34;
  }

  .trending-price {
    font-size: 20px;
    font-weight: 700;
    padding: 0 18px 20px;
    color: #c9a463;
  }
}

/* ===============================
   DESKTOP HERO (MAIN VERSION)
============================== */
.video-hero {
  width: 100%;
  overflow: hidden;
  background: #000;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.28) 40%,
    rgba(0, 0, 0, 0.85)
  );
}

.video-hero::before {
  content: "";
  inset: 0;
  z-index: 2;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.35) 35%,
    rgba(0, 0, 0, 0)
  );
}

@media (min-width: 769px) {
  .hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    max-width: 800px;
    width: 100%;
    text-align: center;
    color: #fff;
  }

  .hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: 2px;
    word-spacing: 8px;
  }

  .hero-title br {
    display: none;
  }

  .hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    opacity: 1;
  }

  .hero-btn {
    padding: 15px 48px;
    font-size: 15px;
    border: 1.6px solid #fff;
    border-radius: 4px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
  }

  .hero-btn:hover {
    background: #fff;
    color: #000;
  }
}

/* ===============================
   MOBILE HERO — PANDORA STYLE
============================== */
@media (max-width: 768px) {
  .video-hero {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    text-align: center;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, #b6797d, #4e3337, #000000);
    background-size: 300% 300%;
    animation: heroGradientShift 18s ease-in-out infinite;
  }

  @keyframes heroGradientShift {
    0% {
      background-position: 0% 50%;
    }
    50% {
      background-position: 100% 50%;
    }
    100% {
      background-position: 0% 50%;
    }
  }

  .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.1),
      rgba(0, 0, 0, 0.4),
      rgba(0, 0, 0, 0.85)
    );
    z-index: 2;
  }

  .hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
  }

  .hero-content {
    position: relative;
    z-index: 5;
    max-width: 90%;
    margin: 0 auto;
    text-align: left;
  }

  .hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
    letter-spacing: 2px;
    word-spacing: 6px;
  }

  .hero-subtitle {
    font-size: 17px;
    opacity: 1;
    margin-bottom: 28px;
  }

  .hero-btn {
    padding: 14px 32px;
    font-size: 15px;
    background: #fff;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    color: #000;
  }
}
/* =======================================
   DESKTOP — HERO CONTENT LIKE PANDORA
======================================= */
@media (min-width: 1025px) {
  /* Align hero content left like Pandora */
  .hero-content {
    position: absolute;
    top: 50%;
    left: 12%;
    transform: translateY(-50%);
    text-align: left !important;
    max-width: 600px;
    width: 100%;
    z-index: 5;
  }

  /* Pandora-style two-line heading */
  .hero-title {
    font-size: 68px;
    font-weight: 700;
    line-height: 1.05;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 20px 0;
  }

  /* Make the first line bold & powerful like Pandora */
  .hero-title strong {
    font-weight: 800;
  }

  /* Button left-aligned, Pandora style */
  .hero-btn {
    padding: 16px 50px;
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    border: 2px solid #ffffff;
    border-radius: 4px;
    color: #ffffff;
    background: transparent;
    display: inline-block;
    transition: 0.3s ease;
  }

  .hero-btn:hover {
    background: #ffffff;
    color: #000000;
  }
}
