/*-----------------------------------*\
  #brand-intro.css
\*-----------------------------------*/

/**
 * copyright 2022 codewithsadee
 */

/*-----------------------------------*\
  #BRAND INTRODUCTION
\*-----------------------------------*/

.brand-intro {
  padding-block: var(--section-space);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--smoky-black-3) 0%, var(--white) 100%);
}

.brand-intro .container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}

.brand-content {
  position: relative;
  z-index: 2;
}

.brand-content .abs-img {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

.brand-story {
  margin-block: 40px;
}

.brand-content .section-text {
  margin-block: 25px;
  max-width: none;
  font-size: var(--fontSize-body-2);
  line-height: var(--lineHeight-5);
  color: var(--davys-grey);
  text-align: left;
}

.brand-content .section-text .highlight {
  color: var(--gold-crayola);
  font-weight: var(--weight-semibold);
  position: relative;
}

.brand-content .section-text .highlight::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold-crayola), transparent);
  opacity: 0.6;
}

.bestsellers-wrapper {
  margin-block: 50px;
  padding: 40px;
  background: linear-gradient(135deg, var(--smoky-black-1) 0%, var(--eerie-black-1) 100%);
  border-radius: var(--radius-24);
  border: 2px solid var(--gold-crayola);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.bestsellers-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/img-pattern.svg') repeat;
  opacity: 0.05;
  z-index: 0;
}

.bestsellers-title {
  margin-block-end: 35px;
  color: var(--gold-crayola);
  text-align: center;
  position: relative;
  z-index: 1;
}

.bestsellers-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold-crayola);
  border-radius: 2px;
}

.bestsellers-grid {
  display: grid;
  gap: 30px;
  position: relative;
  z-index: 1;
}

.bestseller-category {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 25px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-title {
  color: var(--gold-crayola);
  text-align: center;
  margin-block-end: 20px;
  font-weight: var(--weight-bold);
  text-transform: uppercase;
  letter-spacing: var(--letterSpacing-2);
}

.bestsellers-list {
  display: grid;
  gap: 15px;
}

.bestseller-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-1);
  position: relative;
  overflow: hidden;
}

.bestseller-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.bestseller-item:hover::before {
  left: 100%;
}

.bestseller-item:hover {
  background: var(--gold-crayola);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bestseller-item:hover .item-icon {
  color: var(--black);
  transform: scale(1.1);
}

.item-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-crayola);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-1);
}

.item-icon ion-icon {
  font-size: 18px;
}

.item-text {
  font-size: var(--fontSize-body-4);
  font-weight: var(--weight-medium);
  line-height: var(--lineHeight-4);
  flex-grow: 1;
}

.brand-banner {
  position: relative;
}

.brand-banner>.w-100 {
  border-radius: var(--radius-24);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.brand-intro .abs-img {
  position: absolute;
  border-radius: var(--radius-24);
}

.brand-intro .abs-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--gold-crayola);
  transform: scale(1.05);
  z-index: -1;
  border-radius: inherit;
}

.brand-intro .abs-img-1 {
  top: 0;
  right: 0;
  transform: translate(25%, -25%);
}

.brand-intro .abs-img-2 {
  bottom: 0;
  left: 0;
  transform: translate(-25%, 25%);
}

.brand-intro .abs-img-1::before {
  background-color: var(--gold-crayola);
  transform: scale(1.05) rotate(-5deg);
}

.brand-intro .abs-img-2::before {
  background-color: var(--davys-grey);
  transform: scale(1.05) rotate(8deg);
}

.brand-intro .shape {
  position: absolute;
  top: 50%;
  right: -100px;
  transform: translateY(-50%);
  z-index: -1;
}

