/* FeaturedBook.css */

*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.featured-book-section{
  position: relative;
  width: 100%;

  background:
    linear-gradient(
      to bottom,
      #050505,
      #0d0d0d,
      #111111
    );

  overflow: hidden;

  padding: 120px 7%;
}

/* =========================
   CONTAINER
========================= */

.featured-container{
  width: 100%;
  max-width: 1400px;

  margin: auto;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 80px;
}

/* =========================
   LEFT SIDE
========================= */

.featured-image-wrapper{
  flex: 1;

  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;
}

/* GLOW */

.image-glow{
  position: absolute;

  width: 380px;
  height: 380px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(59,130,246,0.18),
      transparent 70%
    );

  filter: blur(60px);

  z-index: 1;
}

/* IMAGE */

.featured-book-image{
  position: relative;
  z-index: 2;

  width: 100%;
  max-width: 380px;

  border-radius: 24px;

  overflow: hidden;

  box-shadow:
    0 20px 60px rgba(0,0,0,0.5);

  animation: floatBook 5s ease-in-out infinite;
}

.featured-book-image img{
  width: 100%;
  display: block;
}

/* FLOAT */

@keyframes floatBook{

  0%{
    transform: translateY(0px);
  }

  50%{
    transform: translateY(-15px);
  }

  100%{
    transform: translateY(0px);
  }
}

/* =========================
   RIGHT SIDE
========================= */

.featured-content{
  flex: 1;
}

.featured-tag{
  display: inline-block;

  padding: 10px 22px;

  border-radius: 50px;

  border: 1px solid rgba(249,115,22,0.25);

  background: rgba(249,115,22,0.08);

  color: #f59e0b;

  font-size: 12px;
  letter-spacing: 2px;

  margin-bottom: 25px;
}

.featured-content h2{
  font-size: clamp(2.7rem, 6vw, 5rem);

  line-height: 1.05;

  color: white;

  margin-bottom: 25px;

  font-weight: 800;
}

.featured-content h2 span{
  color: #f59e0b;
}

.featured-description{
  color: #d1d5db;

  font-size: 1.08rem;

  line-height: 1.9;

  max-width: 620px;

  margin-bottom: 35px;
}

/* =========================
   CATEGORY TAGS
========================= */

.book-categories{
  display: flex;
  flex-wrap: wrap;

  gap: 14px;

  margin-bottom: 35px;
}

.book-categories span{
  padding: 10px 18px;

  border-radius: 50px;

  background: rgba(255,255,255,0.04);

  border: 1px solid rgba(255,255,255,0.08);

  color: #f1f1f1;

  font-size: 0.95rem;
}

/* =========================
   QUOTE
========================= */

.book-quote{
  border-left: 3px solid #f59e0b;

  padding-left: 20px;

  margin-bottom: 40px;
}

.book-quote p{
  color: #f5f5f5;

  font-size: 1.1rem;

  line-height: 1.8;

  font-style: italic;
}

/* =========================
   BUTTONS
========================= */

.featured-buttons{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.order-btn,
.preview-btn{
  padding: 16px 34px;

  border-radius: 50px;

  text-decoration: none;

  font-weight: 700;

  transition: 0.4s ease;
}

/* PRIMARY */

.order-btn{
  background:
    linear-gradient(
      135deg,
      #f59e0b,
      #f97316
    );

  color: white;

  box-shadow:
    0 10px 30px rgba(249,115,22,0.25);
}

.order-btn:hover{
  transform: translateY(-5px);
}

/* SECONDARY */

.preview-btn{
  border: 1px solid rgba(255,255,255,0.12);

  background: rgba(255,255,255,0.03);

  color: white;
}

.preview-btn:hover{
  border-color: #f59e0b;

  color: #f59e0b;
}

/* =========================
   RESPONSIVE
========================= */

/* LAPTOP */

@media(max-width:1100px){

  .featured-container{
    flex-direction: column;

    text-align: center;

    gap: 60px;
  }

  .featured-description{
    margin-inline: auto;
  }

  .book-categories{
    justify-content: center;
  }

  .featured-buttons{
    justify-content: center;
  }

  .book-quote{
    border-left: none;

    border-top: 3px solid #f59e0b;

    padding-left: 0;
    padding-top: 20px;

    max-width: 700px;

    margin-inline: auto;
  }
}

/* TABLET */

@media(max-width:768px){

  .featured-book-section{
    padding: 100px 20px;
  }

  .featured-content h2{
    font-size: 3rem;
  }

  .featured-description{
    font-size: 1rem;
  }

  .featured-book-image{
    max-width: 280px;
  }

  .image-glow{
    width: 260px;
    height: 260px;
  }

  .featured-buttons{
    flex-direction: column;
    align-items: center;
  }

  .order-btn,
  .preview-btn{
    width: 100%;
    max-width: 320px;

    text-align: center;
  }
}

/* MOBILE */

@media(max-width:480px){

  .featured-book-section{
    padding: 80px 16px;
  }

  .featured-tag{
    font-size: 11px;
  }

  .featured-content h2{
    font-size: 2.2rem;
  }

  .featured-description{
    font-size: 0.95rem;
  }

  .featured-book-image{
    max-width: 220px;
  }

  .image-glow{
    width: 200px;
    height: 200px;
  }

  .book-categories{
    gap: 10px;
  }

  .book-categories span{
    font-size: 0.85rem;

    padding: 8px 14px;
  }

  .book-quote p{
    font-size: 1rem;
  }
}