/* style/promotions-current-offers.css */

:root {
  --primary-color: #003366;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --bg-dark: #0a0a0a;
  --bg-light: #f8f9fa;
  --border-color: #e0e0e0;
}

.page-promotions-current-offers {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--bg-dark); /* Inherited from shared.css, but set explicitly for clarity */
}

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

.page-promotions-current-offers__hero-section {
  position: relative;
  padding: 120px 0 60px 0; /* Desktop padding-top to clear fixed header */
  text-align: center;
  background-color: var(--primary-color);
  color: var(--text-light);
  background-image: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('[GALLERY:promotions:ws168,current-offers,background]');
  background-size: cover;
  background-position: center;
  border-bottom: 5px solid var(--secondary-color);
}

.page-promotions-current-offers__main-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promotions-current-offers__description {
  font-size: 1.2em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-light);
}

.page-promotions-current-offers__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-promotions-current-offers__cta-button {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-current-offers__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-promotions-current-offers__btn-primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-current-offers__btn-secondary {
  background-color: transparent;
  color: var(--text-light);
  border: 2px solid var(--text-light);
}

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

.page-promotions-current-offers__offers-list-section,
.page-promotions-current-offers__how-to-participate-section,
.page-promotions-current-offers__terms-section,
.page-promotions-current-offers__why-choose-section,
.page-promotions-current-offers__faq-section,
.page-promotions-current-offers__final-cta-section {
  padding: 80px 0;
  text-align: center;
}

.page-promotions-current-offers__light-bg {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.page-promotions-current-offers__dark-bg {
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.page-promotions-current-offers__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  font-weight: bold;
  color: var(--secondary-color);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.page-promotions-current-offers__light-bg .page-promotions-current-offers__section-title {
  color: var(--primary-color);
  text-shadow: none;
}

.page-promotions-current-offers__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 50px auto;
  line-height: 1.7;
}

.page-promotions-current-offers__offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-current-offers__offer-card {
  background-color: var(--bg-dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-current-offers__offer-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.page-promotions-current-offers__card-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.page-promotions-current-offers__card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  color: var(--text-light);
}

.page-promotions-current-offers__card-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  font-weight: bold;
  color: var(--secondary-color);
}

.page-promotions-current-offers__card-text {
  font-size: 0.95em;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
  color: var(--text-light);
}

.page-promotions-current-offers__card-button {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1em;
  transition: background-color 0.3s ease;
  align-self: flex-start;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-promotions-current-offers__card-button:hover {
  background-color: #e6c200;
}

.page-promotions-current-offers__steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-promotions-current-offers__step-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
}

.page-promotions-current-offers__step-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-current-offers__step-icon {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 15px;
  display: inline-block;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  background-color: var(--primary-color);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.page-promotions-current-offers__step-title {
  font-size: 1.6em;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-promotions-current-offers__step-text {
  font-size: 1em;
  color: #cccccc;
}

.page-promotions-current-offers__cta-center {
  margin-top: 50px;
}

.page-promotions-current-offers__terms-list {
  list-style: none;
  padding: 0;
  margin-top: 40px;
  text-align: left;
}

.page-promotions-current-offers__terms-item {
  background-color: #ffffff;
  padding: 25px;
  border-radius: 10px;
  margin-bottom: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  color: var(--text-dark);
}

.page-promotions-current-offers__terms-item-title {
  font-size: 1.4em;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-weight: bold;
}

.page-promotions-current-offers__terms-item-text {
  font-size: 1em;
  color: var(--text-dark);
  line-height: 1.7;
}

.page-promotions-current-offers__why-choose-section {
  background-color: var(--primary-color);
  background-image: linear-gradient(rgba(0, 51, 102, 0.9), rgba(0, 51, 102, 0.9)), url('[GALLERY:promotions:ws168,why-choose,background]');
  background-size: cover;
  background-position: center;
  border-top: 5px solid var(--secondary-color);
  border-bottom: 5px solid var(--secondary-color);
}

.page-promotions-current-offers__why-choose-section .page-promotions-current-offers__section-title {
  color: var(--secondary-color);
}

.page-promotions-current-offers__why-choose-section .page-promotions-current-offers__section-description {
  color: var(--text-light);
}

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

.page-promotions-current-offers__feature-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-promotions-current-offers__feature-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-promotions-current-offers__feature-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-promotions-current-offers__feature-title {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.page-promotions-current-offers__feature-text {
  font-size: 1em;
  color: #cccccc;
}

.page-promotions-current-offers__final-cta-section {
  background-color: var(--bg-dark);
  padding: 100px 0;
  border-top: 5px solid var(--secondary-color);
}

.page-promotions-current-offers__final-cta-section .page-promotions-current-offers__section-title {
  color: var(--secondary-color);
}

.page-promotions-current-offers__final-cta-section .page-promotions-current-offers__description {
  color: var(--text-light);
}

/* FAQ Section */
.page-promotions-current-offers__faq-section .page-promotions-current-offers__section-title {
  color: var(--primary-color);
}

.page-promotions-current-offers__faq-section .page-promotions-current-offers__section-description {
  color: var(--text-dark);
}

.page-promotions-current-offers__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-promotions-current-offers__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-promotions-current-offers__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--primary-color);
}

.page-promotions-current-offers__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-promotions-current-offers__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-promotions-current-offers__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

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

.page-promotions-current-offers__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #fdfdfd;
  border-top: 1px solid var(--border-color);
  border-radius: 0 0 8px 8px;
  text-align: left;
  color: var(--text-dark);
}

.page-promotions-current-offers__faq-item.active .page-promotions-current-offers__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
}

.page-promotions-current-offers__faq-answer p {
  margin: 0;
  font-size: 0.95em;
  line-height: 1.7;
  color: var(--text-dark);
}

/* Image responsiveness */
.page-promotions-current-offers img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .page-promotions-current-offers__hero-section {
    padding-top: 100px !important; /* Mobile padding-top to clear fixed header */
    padding-bottom: 40px;
  }

  .page-promotions-current-offers__main-title {
    font-size: 2.2em;
  }

  .page-promotions-current-offers__description {
    font-size: 1em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-promotions-current-offers__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
  }

  .page-promotions-current-offers__cta-button {
    width: 100% !important;
    padding: 12px 20px;
    font-size: 1em;
  }

  .page-promotions-current-offers__offers-list-section,
  .page-promotions-current-offers__how-to-participate-section,
  .page-promotions-current-offers__terms-section,
  .page-promotions-current-offers__why-choose-section,
  .page-promotions-current-offers__faq-section,
  .page-promotions-current-offers__final-cta-section {
    padding: 50px 0;
  }

  .page-promotions-current-offers__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    padding: 0 15px;
  }

  .page-promotions-current-offers__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
    padding: 0 15px;
  }

  .page-promotions-current-offers__container {
    padding: 0 15px;
  }

  .page-promotions-current-offers__offer-grid,
  .page-promotions-current-offers__steps-grid,
  .page-promotions-current-offers__features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-promotions-current-offers__offer-card,
  .page-promotions-current-offers__step-item,
  .page-promotions-current-offers__feature-item,
  .page-promotions-current-offers__terms-item {
    border-radius: 8px;
    padding: 20px;
  }

  .page-promotions-current-offers__card-image {
    height: 180px;
  }

  .page-promotions-current-offers__card-title {
    font-size: 1.2em;
  }

  .page-promotions-current-offers__card-text {
    font-size: 0.9em;
  }

  .page-promotions-current-offers__card-button {
    width: 100% !important;
    font-size: 0.95em;
    padding: 10px 20px;
  }

  .page-promotions-current-offers__step-icon {
    font-size: 2em;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin-bottom: 10px;
  }

  .page-promotions-current-offers__step-title {
    font-size: 1.3em;
  }

  .page-promotions-current-offers__terms-item-title {
    font-size: 1.2em;
  }

  .page-promotions-current-offers__feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
  }

  .page-promotions-current-offers__feature-title {
    font-size: 1.3em;
  }

  .page-promotions-current-offers__faq-question {
    padding: 15px 20px;
  }

  .page-promotions-current-offers__faq-question h3 {
    font-size: 1em;
  }

  .page-promotions-current-offers__faq-toggle {
    font-size: 20px;
    width: 24px;
    height: 24px;
  }

  .page-promotions-current-offers__faq-answer {
    padding: 0 20px;
  }

  .page-promotions-current-offers__faq-item.active .page-promotions-current-offers__faq-answer {
    padding: 15px 20px !important;
  }

  .page-promotions-current-offers__final-cta-section {
    padding: 60px 0;
  }

  /* Ensure all images are responsive */
  .page-promotions-current-offers img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-promotions-current-offers__hero-section,
  .page-promotions-current-offers__offers-list-section,
  .page-promotions-current-offers__how-to-participate-section,
  .page-promotions-current-offers__terms-section,
  .page-promotions-current-offers__why-choose-section,
  .page-promotions-current-offers__faq-section,
  .page-promotions-current-offers__final-cta-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .page-promotions-current-offers__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Button specific mobile adjustments */
  .page-promotions-current-offers__cta-button, 
  .page-promotions-current-offers__card-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-promotions-current-offers__cta-buttons {
    flex-direction: column !important;
    align-items: center;
    gap: 15px;
  }
}