/* style/promotions.css */

/* Base styles for the promotions page */
.page-promotions {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
  background-color: #f8f8f8;
}

.page-promotions__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-promotions__section-title {
  font-size: 2.5em;
  color: #000080; /* Dark Blue */
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
  padding-bottom: 15px;
}

.page-promotions__section-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #FFD700; /* Gold */
  border-radius: 2px;
}

.page-promotions__text {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 20px;
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__text strong {
  color: #000080;
}

.page-promotions__btn {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1.05em;
  text-align: center;
}

.page-promotions__btn--primary {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  border: 2px solid #FFD700;
}

.page-promotions__btn--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
}

.page-promotions__btn--secondary {
  background-color: #000080; /* Dark Blue */
  color: #FFD700; /* Gold */
  border: 2px solid #000080;
}

.page-promotions__btn--secondary:hover {
  background-color: #000066;
  border-color: #000066;
  transform: translateY(-2px);
}

.page-promotions__btn--small {
  padding: 8px 18px;
  font-size: 0.95em;
}

/* Hero Section */
.page-promotions__hero-section {
  background: linear-gradient(135deg, #000080, #00004d);
  color: #fff;
  padding: 80px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-promotions__hero-content {
  z-index: 10;
  max-width: 800px;
  padding: 0 20px;
}

.page-promotions__hero-title {
  font-size: 3.8em;
  margin-bottom: 20px;
  color: #FFD700; /* Gold */
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions__hero-subtitle {
  font-size: 1.5em;
  margin-bottom: 40px;
  font-weight: 300;
  color: #e0e0e0;
}

.page-promotions__hero-btn {
  background-color: #DC143C; /* Crimson Accent */
  color: #fff;
  border: 2px solid #DC143C;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 1.2em;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.page-promotions__hero-btn:hover {
  background-color: #c01032;
  border-color: #c01032;
  transform: scale(1.05) translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
  overflow: hidden;
}

.page-promotions__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%) blur(3px);
  transform: scale(1.1);
}

/* Intro Section */
.page-promotions__intro-section {
  padding: 60px 0;
  background-color: #fff;
  text-align: center;
}

.page-promotions__intro-section .page-promotions__btn {
  margin-top: 30px;
}

/* Featured Promotions Section */
.page-promotions__featured-promos-section {
  background-color: #f0f0f0;
  padding: 80px 0;
}

.page-promotions__promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__promo-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-promotions__promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.page-promotions__promo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.page-promotions__promo-title {
  font-size: 1.8em;
  color: #000080; /* Dark Blue */
  margin: 25px 15px 10px;
  font-weight: 700;
}

.page-promotions__promo-desc {
  font-size: 1em;
  color: #555;
  padding: 0 20px;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-promotions__promo-card .page-promotions__btn {
  margin: 0 20px 25px;
}

/* Detail List Section */
.page-promotions__detail-list-section {
  padding: 80px 0;
  background-color: #fff;
}

.page-promotions__detail-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-top: 40px;
}

.page-promotions__detail-item {
  background-color: #f9f9f9;
  border: 1px solid #eee;
  border-left: 5px solid #FFD700; /* Gold accent */
  border-radius: 8px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-promotions__detail-item:hover {
  background-color: #ffe;
  border-color: #e6c200;
}

.page-promotions__item-title {
  font-size: 1.5em;
  color: #000080; /* Dark Blue */
  margin-bottom: 10px;
}

.page-promotions__item-title a {
  color: #000080;
  text-decoration: none;
}

.page-promotions__item-title a:hover {
  color: #DC143C; /* Crimson Accent */
  text-decoration: underline;
}

.page-promotions__item-desc {
  font-size: 1em;
  color: #666;
  margin-bottom: 20px;
}

/* Call to Action Section */
.page-promotions__cta-section {
  background-color: #000080; /* Dark Blue */
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-promotions__cta-section .page-promotions__section-title {
  color: #FFD700; /* Gold */
}

.page-promotions__cta-section .page-promotions__section-title::after {
  background-color: #DC143C; /* Crimson Accent */
}

.page-promotions__cta-section .page-promotions__text {
  color: #e0e0e0;
  margin-bottom: 40px;
}

.page-promotions__cta-section .page-promotions__btn {
  margin: 0 10px 20px;
}

/* Floating Ad */
.page-promotions__floating-ad {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #DC143C; /* Crimson Accent */
  color: #fff;
  border-radius: 10px;
  padding: 15px 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateX(120%); /* Start off-screen */
  transition: transform 0.5s ease-out;
}

.page-promotions__floating-ad.show {
  transform: translateX(0); /* Slide in */
}

.page-promotions__floating-ad-close {
  position: absolute;
  top: 5px;
  right: 10px;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5em;
  cursor: pointer;
  line-height: 1;
  padding: 0;
}

.page-promotions__floating-ad-close:hover {
  color: #FFD700; /* Gold */
}

.page-promotions__floating-ad-content {
  display: flex;
  align-items: center;
  gap: 15px;
}

.page-promotions__floating-ad-icon {
  width: 40px;
  height: 40px;
  filter: invert(1) drop-shadow(0 0 5px rgba(0,0,0,0.3));
}

.page-promotions__floating-ad-text {
  margin: 0;
  font-size: 1.1em;
  font-weight: bold;
}

.page-promotions__floating-ad-btn {
  background-color: #FFD700; /* Gold */
  color: #000080; /* Dark Blue */
  padding: 8px 18px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions__floating-ad-btn:hover {
  background-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions__hero-title {
    font-size: 3em;
  }
  .page-promotions__hero-subtitle {
    font-size: 1.2em;
  }
  .page-promotions__section-title {
    font-size: 2em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__floating-ad {
    right: 10px;
    bottom: 10px;
    padding: 10px 15px;
    gap: 10px;
  }
  .page-promotions__floating-ad-text {
    font-size: 0.95em;
  }
  .page-promotions__floating-ad-btn {
    padding: 6px 15px;
    font-size: 0.9em;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding: 60px 0;
  }
  .page-promotions__hero-title {
    font-size: 2.5em;
  }
  .page-promotions__hero-subtitle {
    font-size: 1em;
  }
  .page-promotions__hero-btn {
    padding: 12px 25px;
    font-size: 1em;
  }
  .page-promotions__intro-section, .page-promotions__featured-promos-section, .page-promotions__detail-list-section, .page-promotions__cta-section {
    padding: 50px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8em;
  }
  .page-promotions__text {
    font-size: 0.95em;
  }
  .page-promotions__promo-card {
    margin-bottom: 20px;
  }
  .page-promotions__floating-ad {
    flex-direction: column;
    text-align: center;
    width: calc(100% - 40px);
    right: 20px;
    left: 20px;
    bottom: 10px;
    transform: translateY(120%);
  }
  .page-promotions__floating-ad.show {
    transform: translateY(0);
  }
  .page-promotions__floating-ad-close {
    top: 8px;
    right: 15px;
  }
  .page-promotions__floating-ad-content {
    flex-direction: column;
    gap: 10px;
  }
  .page-promotions__floating-ad-text {
    font-size: 1em;
  }
  .page-promotions__floating-ad-btn {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .page-promotions__hero-title {
    font-size: 2em;
  }
  .page-promotions__hero-subtitle {
    font-size: 0.9em;
  }
  .page-promotions__section-title {
    font-size: 1.5em;
  }
  .page-promotions__promo-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions__promo-card {
    margin-left: 10px;
    margin-right: 10px;
  }
  .page-promotions__detail-item {
    padding: 20px;
  }
  .page-promotions__item-title {
    font-size: 1.3em;
  }
  .page-promotions__item-desc {
    font-size: 0.9em;
  }
  .page-promotions__cta-section .page-promotions__btn {
    width: 100%;
    margin: 10px 0;
  }
}