@import url('roots.css');
@import url('style.css');


.promo-section {
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  background: var(--background-color, #000);
  padding: 2rem 1rem;
  margin-top: 80px;
}

.promo-title {
  font-size: var(--h2-font-size, 2.5rem);
  color: var(--primary-color, #fff);
  text-align: center;
  margin-bottom: 2rem;
  font-family: var(--heading-font, 'Montserrat', sans-serif);
  font-weight: var(--font-medium, 700);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  width: 100%;
  max-width: 100vw;
  margin: 0 auto;
}

.promo-card {
  position: relative;
  background: #222;
  overflow: hidden;
  min-height: 350px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.10);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.promo-card-img {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.promo-card-desc {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.7) 80%, rgba(0,0,0,0.1) 100%);
  color: #fff;
  padding: 1.5rem 1rem 1rem 1rem;
  z-index: 2;
}

.promo-card-desc h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.promo-card-desc .promo-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}
.promo-card-desc .promo-dates {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* =========================
   MEDIA QUERIES FOR DEVICES
   ========================= */

/* Small Device Phones (320px - 480px) */
@media (max-width: 480px) {
  .promo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .promo-card {
    min-height: 220px;
  }
  .promo-title {
    font-size: 1.3rem;
  }
}

/* Medium Device Phones (481px - 767px) */
@media (min-width: 481px) and (max-width: 767px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
  }
  .promo-card {
    min-height: 250px;
  }
  .promo-title {
    font-size: 1.5rem;
  }
}

/* Tablets/iPads (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .promo-card {
    min-height: 300px;
  }
  .promo-title {
    font-size: 2rem;
  }
}

/* Laptops/Small Screens (1024px - 1199px) */
@media (min-width: 1024px) and (max-width: 1199px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }
  .promo-card {
    min-height: 320px;
  }
}

/* Desktops/Large Screens (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
  .promo-grid {
    grid-template-columns: 1fr 1fr 1fr 1fr;
  }
  .promo-card {
    min-height: 350px;
  }
}

/* Extra-large Devices (1920px and above) */
@media (min-width: 1920px) {
  .promo-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  .promo-card {
    min-height: 400px;
  }
}