/* style/promotions.css */

/* Base styles for the promotions page content */
.page-promotions {
  color: #ffffff; /* Light text for dark body background */
  background-color: #0a0a0a; /* Ensure consistency with body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-promotions__hero-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px; /* Minimum height for hero */
  text-align: center;
  overflow: hidden;
  padding: 80px 0;
  background-color: #017439; /* Use brand color as a fallback */
}

.page-promotions__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-promotions__container--hero {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-promotions__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-promotions__intro-text {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary,
.page-promotions__card-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  max-width: 100%;
  text-align: center;
}

.page-promotions__btn-primary {
  background-color: #C30808; /* Custom color for register/login */
  color: #FFFF00; /* Custom font color for register/login */
  border: 2px solid #C30808;
}

.page-promotions__btn-primary:hover {
  background-color: #e02a2a;
  border-color: #e02a2a;
  color: #ffffff;
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-promotions__btn-secondary:hover {
  background-color: #ffffff;
  color: #017439;
  border-color: #ffffff;
}

.page-promotions__section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: bold;
}

.page-promotions__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 50px auto;
  color: #f0f0f0;
}

/* Latest Promotions Section */
.page-promotions__latest-promotions {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

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

.page-promotions__card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white for dark bg */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

.page-promotions__card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-promotions__card-image {
  width: 100%;
  height: 250px; /* Fixed height for consistency */
  object-fit: cover;
  display: block;
}

.page-promotions__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.page-promotions__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-promotions__card-title a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #017439; /* Brand color on hover */
}

.page-promotions__card-text {
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  background-color: #017439;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  align-self: flex-start;
}

.page-promotions__card-button:hover {
  background-color: #02944b;
}

/* Special Events Section */
.page-promotions__special-events {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly lighter dark background */
  color: #ffffff;
}

.page-promotions__event-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.page-promotions__event-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions__event-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-promotions__event-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-promotions__event-description {
  font-size: 1em;
  margin-bottom: 20px;
}

/* VIP Program Section */
.page-promotions__vip-program {
  padding: 80px 0;
  background-color: #0a0a0a; /* Dark background */
}

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

.page-promotions__vip-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}