/* style/index-exclusive-promotions.css */

/* Base styles for the page content */
.page-index-exclusive-promotions {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Dark text for light body background */
  background-color: #f8f8f8; /* Slightly off-white background for content sections */
}

/* Fixed header spacing */
.page-index-exclusive-promotions {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Section general styles */
.page-index-exclusive-promotions__section {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

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

.page-index-exclusive-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #CC0000; /* Primary color for section titles */
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
}

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

.page-index-exclusive-promotions__text-block {
  font-size: 17px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}

/* Hero Section */
.page-index-exclusive-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0; /* No extra padding here, relies on main padding-top */
  overflow: hidden;
  background-color: #1a1a1a; /* Dark background for hero */
}

.page-index-exclusive-promotions__hero-container {
  position: relative;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.page-index-exclusive-promotions__hero-image {
  width: 100%;
  height: auto;
  overflow: hidden;
  position: relative;
}

.page-index-exclusive-promotions__hero-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-index-exclusive-promotions__hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
  color: #ffffff;
  padding: 20px;
  background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text readability */
  border-radius: 10px;
}

.page-index-exclusive-promotions__main-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.2;
  color: #FFD700; /* Gold for main title */
}

.page-index-exclusive-promotions__subtitle {
  font-size: 20px;
  margin-bottom: 30px;
  color: #f0f0f0;
}

/* CTA Button */
.page-index-exclusive-promotions__cta-button,
.page-index-exclusive-promotions__btn-primary {
  display: inline-block;
  padding: 15px 40px;
  background: #CC0000; /* Primary color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-exclusive-promotions__cta-button:hover,
.page-index-exclusive-promotions__btn-primary:hover {
  background: #FFD700; /* Secondary color on hover */
  color: #CC0000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-index-exclusive-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 40px;
  background: transparent;
  color: #CC0000;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: 2px solid #CC0000;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-index-exclusive-promotions__btn-secondary:hover {
  background: #CC0000;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Dark Background Section */
.page-index-exclusive-promotions__dark-bg {
  background-color: #CC0000; /* Primary brand color */
  color: #ffffff; /* White text for contrast */
}

.page-index-exclusive-promotions__dark-bg .page-index-exclusive-promotions__section-title {
  color: #FFD700; /* Gold title for dark background */
}

.page-index-exclusive-promotions__dark-bg .page-index-exclusive-promotions__section-title::after {
  background-color: #ffffff; /* White underline for dark background */
}

/* Light Background Section */
.page-index-exclusive-promotions__light-bg {
  background-color: #f8f8f8;
  color: #333333;
}

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