/* style/promotions.css */

/* Base styles for the page content */
.page-promotions {
  font-family: Arial, sans-serif;
  color: #FFF1E8; /* Main text color from custom palette */
  background-color: #140C0C; /* Body background color */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: bold;
  color: #F3C54D; /* Gold color for titles */
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, not header-offset */
  margin-bottom: 40px;
  display: flex;
  flex-direction: column; /* Image above content */
  align-items: center;
  justify-content: center;
  background-color: #140C0C; /* Ensure dark background */
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 675px; /* Limit height to maintain aspect ratio */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

.page-promotions__hero-content {
  text-align: center;
  padding: 30px 20px;
  max-width: 900px;
  margin-top: 20px; /* Space between image and content */
  background-color: rgba(42, 18, 18, 0.8); /* Card BG with transparency */
  border-radius: 10px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__description {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 30px;
  color: #FFF1E8;
}

/* Buttons */
.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  max-width: 100%; /* Ensure button doesn't overflow */
}

.page-promotions__btn-primary {
  background: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%); /* Button gradient */
  color: #FFF1E8; /* Light text for dark/gradient button */
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-promotions__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-promotions__btn-secondary {
  background-color: #2A1212; /* Card BG color */
  color: #F3C54D; /* Gold text */
  border: 2px solid #6A1E1E; /* Border color */
}

.page-promotions__btn-secondary:hover {
  background-color: #6A1E1E; /* Deep Red on hover */
  color: #FFF1E8;
  transform: translateY(-1px);
}

.page-promotions__btn-block {
  display: block;
  width: 100%;
  margin-top: 20px;
}

/* Promotion Highlights Section */
.page-promotions__promotion-highlights {
  padding-top: 20px;
  padding-bottom: 60px;
}

.page-promotions__card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.page-promotions__promotion-card {
  background-color: #2A1212; /* Card BG color */
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #6A1E1E; /* Border color */
}

.page-promotions__promotion-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

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

.page-promotions__card-content {
  padding: 25px;
  display: flex;
  flex-direction: column;
  height: calc(100% - 250px); /* Adjust height based on image */
}

.page-promotions__card-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}

.page-promotions__card-title a {
  color: #F3C54D; /* Gold text for card titles */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions__card-title a:hover {
  color: #FFB04A; /* Lighter gold on hover */
}

.page-promotions__card-text {
  font-size: 16px;
  line-height: 1.5;
  color: #FFF1E8;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

/* Why Choose Section */
.page-promotions__why-choose {
  padding-top: 20px;
  padding-bottom: 60px;
  background-color: #1a0f0f; /* Slightly lighter background for contrast */
}

.page-promotions__why-choose-content {
  display: flex;
  gap: 40px;
  align-items: center;
}

.page-promotions__text-block {
  flex: 1;
  color: #FFF1E8;
}

.page-promotions__text-block p {
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.page-promotions__feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px 0;
}

.page-promotions__feature-list li {
  font-size: 17px;
  line-height: 1.8;
  margin-bottom: 10px;
  position: relative;
  padding-left: 30px;
  color: #FFF1E8;
}

.page-promotions__feature-list li strong {
  color: #F3C54D; /* Gold for strong text */
}

.page-promotions__feature-list li::before {
  content: '✓';
  color: #F3C54D; /* Gold checkmark */
  position: absolute;
  left: 0;
  font-weight: bold;
  font-size: 20px;
}

.page-promotions__image-block {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions__feature-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #6A1E1E; /* Border color */
  overflow: hidden;
  background: #2A1212; /* Card BG color */
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
details.page-promotions__faq-item summary.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  color: #F3C54D; /* Gold for question text */
  font-weight: 600;
}
details.page-promotions__faq-item summary.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}
details.page-promotions__faq-item summary.page-promotions__faq-question:hover {
  background: #7E0D0D; /* Deep Red on hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #F3C54D; /* Gold for question text */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #FFF1E8; /* Light text for toggle */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-promotions__faq-item .page-promotions__faq-answer {
  padding: 0 20px 20px;
  background: #1a0f0f; /* Slightly different background for answer */
  border-radius: 0 0 5px 5px;
  color: #FFF1E8; /* Light text for answer */
  font-size: 16px;
  line-height: 1.6;
}
details.page-promotions__faq-item .page-promotions__faq-answer p {
  margin: 0;
}

/* Global image styling for content area */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Responsive styles for mobile (max-width: 768px) */
@media (max-width: 768px) {
  .page-promotions__section {
    padding: 20px 15px;
  }

  /* Hero Section */
  .page-promotions__hero-section {
    padding-top: 10px !important; /* Ensure small padding */
    margin-bottom: 20px;
  }
  .page-promotions__hero-content {
    padding: 20px 15px;
    margin-top: 15px;
  }
  .page-promotions__main-title {
    font-size: 32px;
  }
  .page-promotions__description {
    font-size: 16px;
  }

  /* Buttons */
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__btn-block {
    margin-top: 15px;
  }

  /* Promotion Highlights Section */
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .page-promotions__card-grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }
  .page-promotions__card-image {
    height: 200px; /* Adjust height for mobile */
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-content {
    padding: 15px;
    height: auto;
  }
  .page-promotions__card-text {
    font-size: 15px;
    margin-bottom: 15px;
  }

  /* Why Choose Section */
  .page-promotions__why-choose-content {
    flex-direction: column; /* Stack content vertically */
    gap: 30px;
  }
  .page-promotions__text-block p {
    font-size: 16px;
  }
  .page-promotions__feature-list li {
    font-size: 16px;
    padding-left: 25px;
  }
  .page-promotions__feature-list li::before {
    font-size: 18px;
  }
  .page-promotions__image-block {
    width: 100%;
  }

  /* FAQ Section */
  details.page-promotions__faq-item summary.page-promotions__faq-question {
    padding: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 16px;
  }
  .page-promotions__faq-toggle {
    font-size: 20px;
    width: 24px;
    margin-left: 10px;
  }
  details.page-promotions__faq-item .page-promotions__faq-answer {
    padding: 0 15px 15px;
    font-size: 15px;
  }

  /* Universal image and container responsive styles */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-image-wrapper,
  .page-promotions__image-block {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  /* For elements that might not have explicit padding in desktop, ensure mobile padding */
  .page-promotions__hero-section .page-promotions__hero-image-wrapper,
  .page-promotions__why-choose .page-promotions__image-block {
    padding-left: 0;
    padding-right: 0;
  }
}