/* style/promotions.css */
:root {
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #8B0000; /* Dark Red */
  --text-dark: #333333;
  --text-light: #ffffff;
  --background-light: #f8f8f8;
  --background-dark: #222222;
  --border-color: #e0e0e0;
}

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

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

.page-promotions h1, .page-promotions h2, .page-promotions h3 {
  color: var(--secondary-color);
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
}

.page-promotions h1 {
  font-size: 3em;
  color: var(--text-light);
}

.page-promotions h2 {
  font-size: 2.5em;
  margin-top: 40px;
}

.page-promotions h3 {
  font-size: 1.8em;
  color: var(--secondary-color);
  text-align: left;
}

.page-promotions p {
  margin-bottom: 15px;
  text-align: justify;
}

.page-promotions .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
}

.page-promotions .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-promotions .hero-image {
  width: 100%;
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.page-promotions .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.page-promotions .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-promotions .hero-content p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-promotions .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-promotions .cta-button:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions .section-intro, .page-promotions .section-promotions-list, .page-promotions .section-terms, .page-promotions .section-how-to-claim, .page-promotions .section-faq, .page-promotions .section-conclusion {
  padding: 60px 0;
}

.page-promotions .section-intro {
  background-color: var(--background-light);
}

.page-promotions .intro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
  text-align: center;
}

.page-promotions .intro-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions .intro-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions .intro-item h3 {
  color: var(--secondary-color);
  font-size: 1.5em;
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions .promotion-card {
  display: flex;
  flex-wrap: wrap;
  background-color: var(--text-light);
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
  overflow: hidden;
}

.page-promotions .promotion-card:nth-child(even) {
  flex-direction: row-reverse;
}

.page-promotions .promotion-image {
  width: 100%;
  max-width: 400px; 
  height: auto;
  object-fit: cover;
}

.page-promotions .promotion-content {
  flex: 1;
  padding: 30px;
}

.page-promotions .promotion-content h3 {
  font-size: 1.8em;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: left;
}

.page-promotions .promotion-content h3 a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-promotions .promotion-content h3 a:hover {
  color: var(--primary-color);
}

.page-promotions .promotion-content ul {
  list-style: disc inside;
  margin-bottom: 20px;
  padding-left: 20px;
}

.page-promotions .promotion-content ul li {
  margin-bottom: 8px;
}

.page-promotions .btn-promo {
  display: inline-block;
  padding: 10px 25px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-promotions .btn-promo:hover {
  background: var(--primary-color);
  color: var(--secondary-color);
}

.page-promotions .section-terms {
  background-color: var(--background-light);
}

.page-promotions .terms-content {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-promotions .terms-content h3 {
  color: var(--secondary-color);
  margin-top: 25px;
  margin-bottom: 10px;
  text-align: left;
}

.page-promotions .btn-read-more {
  display: inline-block;
  padding: 10px 25px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}

.page-promotions .btn-read-more:hover {
  background: var(--secondary-color);
  color: var(--primary-color);
}

.page-promotions .section-how-to-claim {
  background-color: var(--secondary-color);
  color: var(--text-light);
}

.page-promotions .section-how-to-claim h2 {
  color: var(--primary-color);
}

.page-promotions .section-how-to-claim p {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
}

.page-promotions .step-by-step {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  text-align: center;
}

.page-promotions .step-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  position: relative;
}

.page-promotions .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 50%;
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page-promotions .step-item h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  text-align: center;
}

.page-promotions .step-item p {
  color: var(--text-light);
  text-align: center;
}

.page-promotions .cta-button-small {
  display: inline-block;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
}

.page-promotions .cta-button-small:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-2px);
}

.page-promotions .section-faq {
  background-color: var(--background-light);
}

.page-promotions .faq-list {
  margin-top: 40px;
}

.page-promotions .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--text-light);
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.page-promotions .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--text-light);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-promotions .faq-question:hover {
  background: #f5f5f5;
}

.page-promotions .faq-question h3 {
  margin: 0;
  font-size: 1.2em;
  color: var(--text-dark);
  text-align: left;
}

.page-promotions .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
}

.page-promotions .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--primary-color);
}

.page-promotions .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #fcfcfc;
}

.page-promotions .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height to contain content */
  padding: 15px 25px;
  border-top: 1px solid var(--border-color);
}

.page-promotions .faq-answer p {
  margin: 0;
  text-align: left;
}

.page-promotions .section-conclusion {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--text-light);
  text-align: center;
  padding: 80px 20px;
}

.page-promotions .section-conclusion h2 {
  color: var(--text-light);
  font-size: 2.8em;
}

.page-promotions .section-conclusion p {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: var(--text-light);
}

.page-promotions .cta-button-large {
  display: inline-block;
  padding: 18px 45px;
  background: var(--primary-color);
  color: var(--secondary-color);
  text-decoration: none;
  border-radius: 8px;
  font-size: 1.5em;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

.page-promotions .cta-button-large:hover {
  background: var(--text-light);
  color: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-promotions h1 {
    font-size: 2.5em;
  }
  .page-promotions h2 {
    font-size: 2em;
  }
  .page-promotions h3 {
    font-size: 1.5em;
  }
  .page-promotions .hero-content p {
    font-size: 1.1em;
  }
  .page-promotions .promotion-card {
    flex-direction: column;
  }
  .page-promotions .promotion-card:nth-child(even) {
    flex-direction: column;
  }
  .page-promotions .promotion-image {
    max-width: 100%;
    width: 100%;
  }
  .page-promotions .promotion-content h3 {
    text-align: center;
  }
  .page-promotions .promotion-content ul {
    padding-left: 0;
    text-align: center;
    list-style-position: inside;
  }
  .page-promotions .btn-promo {
    display: block;
    width: fit-content;
    margin: 20px auto 0;
  }
  .page-promotions .intro-grid {
    grid-template-columns: 1fr;
  }
  .page-promotions .step-by-step {
    grid-template-columns: 1fr;
  }
  .page-promotions .section-how-to-claim p {
    padding: 0 15px;
  }
}

@media (max-width: 768px) {
  .page-promotions h1 {
    font-size: 2em;
  }
  .page-promotions h2 {
    font-size: 1.8em;
  }
  .page-promotions .hero-section {
    padding: 40px 15px;
  }
  .page-promotions .hero-image {
    margin-bottom: 20px;
  }
  .page-promotions .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-promotions .section-intro, .page-promotions .section-promotions-list, .page-promotions .section-terms, .page-promotions .section-how-to-claim, .page-promotions .section-faq, .page-promotions .section-conclusion {
    padding: 40px 0;
  }
  .page-promotions .intro-item, .page-promotions .promotion-card, .page-promotions .terms-content, .page-promotions .step-item {
    padding: 20px;
  }
  .page-promotions .faq-question {
    padding: 15px 20px;
  }
  .page-promotions .faq-question h3 {
    font-size: 1.1em;
  }
  .page-promotions .faq-answer {
    padding: 0 20px;
  }
  .page-promotions .faq-item.active .faq-answer {
    padding: 15px 20px;
  }
  .page-promotions .section-conclusion h2 {
    font-size: 2em;
  }
  .page-promotions .section-conclusion p {
    font-size: 1.1em;
  }
  .page-promotions .cta-button-large {
    padding: 15px 35px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-promotions .container {
    padding: 15px;
  }
  .page-promotions h1 {
    font-size: 1.8em;
  }
  .page-promotions h2 {
    font-size: 1.5em;
  }
  .page-promotions h3 {
    font-size: 1.3em;
  }
  .page-promotions .hero-content p {
    font-size: 1em;
  }
  .page-promotions .cta-button {
    padding: 10px 25px;
    font-size: 0.9em;
  }
  .page-promotions .promotion-content h3 {
    font-size: 1.4em;
  }
  .page-promotions .section-conclusion h2 {
    font-size: 1.8em;
  }
  .page-promotions .section-conclusion p {
    font-size: 1em;
  }
  .page-promotions .cta-button-large {
    padding: 12px 25px;
    font-size: 1em;
  }
}