/* style/promotions.css */

/* Base Styles */
.page-promotions {
  background-color: #08160F; /* Custom Background */
  color: #F2FFF6; /* Custom Text Main for overall page */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-top: 10px; /* Small top padding, shared.css handles body padding-top */
}

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

.page-promotions__section-title {
  font-size: 36px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.page-promotions__section-description {
  font-size: 18px;
  color: #A7D9B8; /* Custom Text Secondary */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 40px;
  background-color: #08160F; /* Ensure consistent dark background */
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  margin-bottom: 30px; /* Space between image and content */
  min-height: 200px; /* Enforce min image size */
}

.page-promotions__hero-content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0 20px;
}

.page-promotions__main-title {
  font-size: 48px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 15px;
  text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
  /* No fixed font-size for H1 on desktop, allow it to scale or rely on weight/line-height */
}

.page-promotions__description {
  font-size: 20px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions__cta-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #F2FFF6; /* Custom Text Main */
  padding: 15px 35px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  opacity: 0.9;
}

.page-promotions__cta-button--centered {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 300px;
}

/* Offers Grid */
.page-promotions__offers-grid {
  padding: 60px 0;
  background-color: #08160F; /* Custom Background */
}

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

.page-promotions__offer-card {
  background-color: #11271B; /* Custom Card BG */
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

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

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

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

.page-promotions__card-title {
  font-size: 22px;
  font-weight: 700;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-promotions__card-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-promotions__card-button {
  display: inline-block;
  background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Custom Button Color */
  color: #F2FFF6; /* Custom Text Main */
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  text-align: center;
  border: none;
  cursor: pointer;
  max-width: 100%; /* Ensure button responsiveness */
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions__card-button:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Why Choose Section */
.page-promotions__why-choose {
  padding: 60px 0;
  background-color: #0A4B2C; /* Deep Green, a lighter dark background for contrast with #08160F */
  color: #F2FFF6; /* Custom Text Main */
}

.page-promotions__benefit-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__benefit-item {
  background-color: #1E3A2A; /* Divider color for card background */
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.page-promotions__benefit-title {
  font-size: 24px;
  color: #F2FFF6; /* Custom Text Main */
  margin-bottom: 10px;
}

.page-promotions__benefit-text {
  font-size: 16px;
  color: #A7D9B8; /* Custom Text Secondary */
}

/* FAQ Section */
.page-promotions__faq-section {
  padding: 60px 0;
  background-color: #08160F; /* Custom Background */
}

.page-promotions__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

details.page-promotions__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #2E7A4E; /* Custom Border */
  overflow: hidden;
  background: #11271B; /* Custom Card BG */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
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: #F2FFF6; /* Custom Text Main */
  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: #1E3A2A; /* Slightly lighter dark green on hover */
}
.page-promotions__faq-qtext {
  flex: 1;
  font-size: 18px;
  line-height: 1.5;
  text-align: left;
  color: #F2FFF6; /* Custom Text Main */
}
.page-promotions__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #57E38D; /* Custom Glow color 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: #0A4B2C; /* Deep Green for answer background */
  border-radius: 0 0 5px 5px;
  color: #A7D9B8; /* Custom Text Secondary */
  font-size: 16px;
}
.page-promotions__faq-answer p {
  margin: 0;
  padding-top: 10px;
}

/* General Image Styles */
.page-promotions img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__container {
    padding: 20px;
  }
  .page-promotions__main-title {
    font-size: 42px;
  }
  .page-promotions__description {
    font-size: 18px;
  }
  .page-promotions__section-title {
    font-size: 32px;
  }
  .page-promotions__section-description {
    font-size: 16px;
  }
  .page-promotions__grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
  .page-promotions__card-title {
    font-size: 20px;
  }
  .page-promotions__card-text {
    font-size: 15px;
  }
  .page-promotions__benefit-title {
    font-size: 22px;
  }
  .page-promotions__benefit-text {
    font-size: 15px;
  }
  .page-promotions__faq-qtext {
    font-size: 17px;
  }
}

@media (max-width: 768px) {
  /* General page padding and font sizes */
  .page-promotions {
    padding-top: 10px !important; /* Small top padding for mobile */
    font-size: 16px;
    line-height: 1.6;
  }

  .page-promotions__container {
    padding: 15px !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Hero Section */
  .page-promotions__hero-image {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    min-height: 180px;
  }
  .page-promotions__hero-content {
    padding: 0 15px;
  }
  .page-promotions__main-title {
    font-size: 32px;
    margin-bottom: 10px;
  }
  .page-promotions__description {
    font-size: 16px;
    margin-bottom: 20px;
  }
  .page-promotions__cta-button {
    padding: 12px 25px;
    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__cta-button--centered {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    margin: 30px auto 0 auto;
  }

  /* Offers Grid */
  .page-promotions__offers-grid {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 28px;
    margin-bottom: 15px;
  }
  .page-promotions__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }
  .page-promotions__grid {
    grid-template-columns: 1fr; /* Single column for cards */
    gap: 20px;
  }
  .page-promotions__offer-card {
    border-radius: 10px;
  }
  .page-promotions__card-image {
    height: 200px;
    min-height: 150px;
  }
  .page-promotions__card-content {
    padding: 20px;
  }
  .page-promotions__card-title {
    font-size: 18px;
  }
  .page-promotions__card-text {
    font-size: 14px;
  }
  .page-promotions__card-button {
    padding: 10px 20px;
    font-size: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  /* Why Choose Section */
  .page-promotions__why-choose {
    padding: 40px 0;
  }
  .page-promotions__benefit-list {
    grid-template-columns: 1fr; /* Single column for benefits */
    gap: 20px;
    margin-top: 30px;
  }
  .page-promotions__benefit-item {
    padding: 25px;
  }
  .page-promotions__benefit-title {
    font-size: 20px;
  }
  .page-promotions__benefit-text {
    font-size: 14px;
  }

  /* FAQ Section */
  .page-promotions__faq-section {
    padding: 40px 0;
  }
  .page-promotions__faq-list {
    margin-top: 30px;
  }
  details.page-promotions__faq-item summary.page-promotions__faq-question { padding: 15px; }
  .page-promotions__faq-qtext { font-size: 15px; }
  .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: 14px;
  }

  /* General image and container responsive rules */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__grid,
  .page-promotions__benefit-list,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Button and button container responsive rules */
  .page-promotions__cta-button,
  .page-promotions__card-button,
  .page-promotions a[class*="button"],
  .page-promotions a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }
  .page-promotions__button-group, /* Example if multiple buttons */
  .page-promotions__cta-buttons { /* Example for a CTA button group */
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    flex-wrap: wrap !important;
    gap: 10px;
    display: flex; /* Ensure flex for wrapping if not already */
    flex-direction: column; /* Often better for mobile single column buttons */
  }
}