/* ===================================
   OFFERS SECTION
=================================== */

.offers_section {
  width: min(92%, 1400px);
  margin: 100px auto;
}

.offers_header {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.offers_badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 12px 20px;

  border-radius: 999px;

  background: rgba(249, 115, 22, .08);

  border: 1px solid rgba(249, 115, 22, .18);

  color: #ea580c;

  font-size: .8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.offers_title {
  margin-top: 1rem;

  font-size: clamp(2rem, 6vw, 4rem);

  line-height: 1;

  font-family: "Playfair Display", serif;

  color: var(--primary-background-color);
}

.offers_title span {
  color: var(--secondary-background-color);
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 8px;
}

.offers_desc {
  margin-top: 12px;
  color: #64748b;
  font-size: 1.1rem;
  line-height: 1.7;
}

/* ===================================
   GRID
=================================== */

.offers_grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 30px;
}

/* ===================================
   CARD
=================================== */

.offer_card {
  position: relative;

  min-height: 500px;

  border-radius: 32px;

  overflow: hidden;

  isolation: isolate;

  box-shadow:
    0 20px 50px rgba(0, 0, 0, .08);

  transition: .4s ease;
}

.offer_card:hover {
  transform: translateY(-8px);
}

.offer_card img {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 1s ease;
}

.offer_card:hover img {
  transform: scale(1.08);
}

/* ===================================
   OVERLAY
=================================== */

.offer_overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(180deg,
      rgba(0, 0, 0, .05) 0%,
      rgba(0, 0, 0, .35) 50%,
      rgba(0, 0, 0, .85) 100%);

  z-index: 1;
}

/* ===================================
   DISCOUNT BADGE
=================================== */

.offer_discount {
  position: absolute;

  top: 20px;
  right: 20px;

  z-index: 3;

  background: white;

  color: #ea580c;

  padding: 10px 16px;

  border-radius: 999px;

  font-size: .8rem;
  font-weight: 800;

  box-shadow:
    0 10px 25px rgba(0, 0, 0, .15);
}

/* ===================================
   CONTENT
=================================== */

.offer_content {
  position: absolute;

  left: 25px;
  right: 25px;
  bottom: 25px;

  z-index: 2;

  backdrop-filter: blur(16px);

  background:
    rgba(255, 255, 255, .12);

  border:
    1px solid rgba(255, 255, 255, .12);

  border-radius: 24px;

  padding: 24px;
}

.offer_tag {
  display: inline-block;

  margin-bottom: 14px;

  padding: 8px 12px;

  border-radius: 999px;

  background: rgba(255, 255, 255, .18);

  color: white;

  font-size: .8rem;
  font-weight: 600;
}

.offer_content h3 {
  color: white;

  font-size: 2rem;

  margin-bottom: 12px;
}

.offer_content p {
  color: rgba(255, 255, 255, .9);

  line-height: 1.7;

  margin-bottom: 18px;
}

/* ===================================
   META
=================================== */

.offer_meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-bottom: 20px;
}

.offer_meta span {
  color: white;

  font-size: .9rem;

  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===================================
   BUTTON
=================================== */

.offer_btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  text-decoration: none;

  background: white;

  color: #111;

  padding: 14px 20px;

  border-radius: 12px;

  font-weight: 700;

  transition: .3s;
}

.offer_btn:hover {
  transform: translateY(-2px);
}

/* ===================================
   TABLET
=================================== */

@media (max-width: 992px) {

  .offers_grid {
    grid-template-columns: 1fr;
  }

  .offer_card {
    min-height: 450px;
  }

}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 768px) {

  .offers_section {
    margin: 70px auto;
  }

  .offer_card {
    min-height: 400px;
  }

  .offer_content h3 {
    font-size: 1.6rem;
  }

}

/* ===================================
   SMALL MOBILE
=================================== */

@media (max-width: 480px) {

  .offer_card {
    min-height: 350px;
    border-radius: 24px;
  }

  .offer_content {
    left: 15px;
    right: 15px;
    bottom: 15px;

    padding: 18px;
  }

  .offer_content h3 {
    font-size: 1.35rem;
  }

  .offer_content p {
    font-size: .9rem;
  }

  .offer_btn {
    width: 100%;
    justify-content: center;
  }

}

/* ===================================
   380PX
=================================== */

@media (max-width: 380px) {

  .offers_title {
    font-size: 2rem;
  }

  .offer_card {
    min-height: 320px;
  }

  .offer_content {
    padding: 14px;
  }

  .offer_content h3 {
    font-size: 1.15rem;
  }

  .offer_content p {
    font-size: .82rem;
  }

  .offer_discount {
    font-size: .7rem;
    padding: 8px 12px;
  }
}