/* style/promotions.css */

/* Custom Colors */
:root {
  --page-promotions-bg: #08160F;
  --page-promotions-card-bg: #11271B;
  --page-promotions-text-main: #F2FFF6;
  --page-promotions-text-secondary: #A7D9B8;
  --page-promotions-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --page-promotions-border: #2E7A4E;
  --page-promotions-glow: #57E38D;
  --page-promotions-gold: #F2C14E;
  --page-promotions-divider: #1E3A2A;
  --page-promotions-deep-green: #0A4B2C;
}

.page-promotions {
  background-color: var(--page-promotions-bg);
  color: var(--page-promotions-text-main);
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
}

.page-promotions a {
  color: var(--page-promotions-gold);
  text-decoration: none;
}

.page-promotions a:hover {
  text-decoration: underline;
}

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

.page-promotions__section {
  padding: 60px 0;
}

.page-promotions__dark-bg {
  background-color: var(--page-promotions-bg);
}

.page-promotions__card-bg {
  background-color: var(--page-promotions-card-bg);
}

/* Hero Section */
.page-promotions__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-promotions__hero-image-wrapper {
  width: 100%;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.page-promotions__hero-content {
  width: 100%;
  max-width: 900px;
  padding: 40px 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  margin-top: -80px; /* Overlap slightly with image for visual flow */
  position: relative;
  z-index: 1;
  background-color: var(--page-promotions-card-bg);
  border: 1px solid var(--page-promotions-border);
}

.page-promotions__main-title {
  font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size */
  font-weight: 700;
  color: var(--page-promotions-text-main);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow */
}

.page-promotions__description {
  font-size: 1.1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 30px;
}

.page-promotions__cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.page-promotions__btn-primary,
.page-promotions__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
  text-align: center;
}

.page-promotions__btn-primary {
  background: var(--page-promotions-button-gradient);
  color: var(--page-promotions-text-main);
  border: 2px solid var(--page-promotions-glow);
  box-shadow: 0 0 15px rgba(87, 227, 141, 0.6);
}

.page-promotions__btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(87, 227, 141, 0.8);
}

.page-promotions__btn-secondary {
  background-color: transparent;
  color: var(--page-promotions-glow);
  border: 2px solid var(--page-promotions-glow);
}

.page-promotions__btn-secondary:hover {
  background-color: var(--page-promotions-glow);
  color: var(--page-promotions-bg);
  transform: translateY(-3px);
}

/* General Section Styling */
.page-promotions__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  color: var(--page-promotions-gold);
  text-align: center;
  margin-bottom: 40px;
  text-shadow: 0 0 8px rgba(242, 193, 78, 0.4);
}

.page-promotions__sub-title {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--page-promotions-text-main);
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
}

.page-promotions__text-block {
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  margin-bottom: 15px;
}

.page-promotions__grid-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.page-promotions__grid-layout.reverse {
  grid-template-areas: "image content";
}

.page-promotions__grid-layout.reverse .page-promotions__content-block {
  grid-area: content;
}

.page-promotions__grid-layout.reverse .page-promotions__image-block {
  grid-area: image;
}

.page-promotions__image-block {
  display: flex;
  justify-content: center;
  align-items: center;
}

.page-promotions__image-content {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
  border: 1px solid var(--page-promotions-border);
  display: block; /* Ensure it behaves as a block element */
}

/* Guide Section */
.page-promotions__steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}

.page-promotions__step-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.page-promotions__step-number {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--page-promotions-gold);
  color: var(--page-promotions-bg);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
}

.page-promotions__step-title {
  font-size: 1.3rem;
  color: var(--page-promotions-text-main);
  margin-bottom: 10px;
}

.page-promotions__step-content p {
  color: var(--page-promotions-text-secondary);
  font-size: 1rem;
}

/* FAQ Section */
.page-promotions__faq-list {
  margin-top: 40px;
}

.page-promotions__faq-item {
  background-color: var(--page-promotions-bg);
  border: 1px solid var(--page-promotions-border);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-promotions__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--page-promotions-text-main);
  background-color: var(--page-promotions-card-bg);
  transition: background-color 0.3s ease;
  list-style: none; /* For details/summary */
}

.page-promotions__faq-question::-webkit-details-marker {
  display: none;
}

.page-promotions__faq-question:hover {
  background-color: var(--page-promotions-deep-green);
}

.page-promotions__faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--page-promotions-glow);
  margin-left: 15px;
}

.page-promotions__faq-answer {
  padding: 0 20px 20px;
  font-size: 1rem;
  color: var(--page-promotions-text-secondary);
  border-top: 1px solid var(--page-promotions-divider);
}

.page-promotions__faq-item[open] .page-promotions__faq-question {
  background-color: var(--page-promotions-deep-green);
}

/* Text Color Specifics */
.page-promotions .text-main {
  color: var(--page-promotions-text-main);
}

.page-promotions .text-secondary {
  color: var(--page-promotions-text-secondary);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-promotions__hero-content {
    max-width: 700px;
  }
  .page-promotions__grid-layout {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .page-promotions__hero-section {
    padding-bottom: 40px;
  }
  .page-promotions__hero-content {
    margin-top: -60px;
    border-radius: 10px;
    padding: 30px 15px;
  }
  .page-promotions__main-title {
    font-size: 2rem;
  }
  .page-promotions__description {
    font-size: 1rem;
  }
  .page-promotions__cta-buttons {
    flex-direction: column;
    gap: 10px;
  }
  .page-promotions__btn-primary,
  .page-promotions__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    padding: 12px 20px;
  }

  .page-promotions__section {
    padding: 40px 0;
  }
  .page-promotions__section-title {
    font-size: 1.8rem;
  }
  .page-promotions__sub-title {
    font-size: 1.2rem;
  }
  .page-promotions__text-block {
    font-size: 0.95rem;
  }

  .page-promotions__grid-layout {
    grid-template-columns: 1fr;
    grid-template-areas: "image" "content";
    gap: 30px;
  }
  .page-promotions__grid-layout.reverse {
    grid-template-areas: "image" "content"; /* Reverse layout on mobile */
  }
  .page-promotions__grid-layout .page-promotions__content-block {
    grid-area: content;
  }
  .page-promotions__grid-layout .page-promotions__image-block {
    grid-area: image;
  }

  .page-promotions__step-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  .page-promotions__step-number {
    width: 35px;
    height: 35px;
    font-size: 1.3rem;
  }

  .page-promotions__faq-question {
    font-size: 1rem;
    padding: 15px;
  }

  /* Mobile Image Responsiveness */
  .page-promotions img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-promotions__section,
  .page-promotions__card,
  .page-promotions__container,
  .page-promotions__hero-section,
  .page-promotions__hero-content,
  .page-promotions__image-block,
  .page-promotions__content-block,
  .page-promotions__cta-buttons,
  .page-promotions__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }
  .page-promotions__hero-section {
    padding-top: 10px !important;
  }
  .page-promotions__cta-buttons {
    flex-wrap: wrap !important;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .page-promotions__main-title {
    font-size: 1.8rem;
  }
  .page-promotions__section-title {
    font-size: 1.5rem;
  }
  .page-promotions__hero-content {
    padding: 25px 10px;
  }
}