/* style/promotions.css */

:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #002244;
    --accent-color: #e74c3c; /* A touch of red for urgency/highlight */
}

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

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

.page-promotions-section {
    padding: 60px 0;
    margin-bottom: 20px;
}

.page-promotions-section:nth-of-type(odd) {
    background-color: var(--bg-light);
}

.page-promotions-section:nth-of-type(even) {
    background-color: #ffffff;
}

.page-promotions-section-title {
    font-size: 3em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
}

.page-promotions-section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 15px auto 0;
    border-radius: 2px;
}

.page-promotions-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-promotions-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-dark);
}

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

.page-promotions-hero-image {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-promotions-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-light);
    background-color: rgba(0, 0, 0, 0.4); /* Overlay for readability */
    padding: 30px;
    border-radius: 10px;
    margin-top: -80px; /* Overlap image slightly */
}

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

.page-promotions-hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

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

.page-promotions-cta-button:hover {
    background: #e6b800; /* Slightly darker gold */
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-promotions-inline-cta {
    color: var(--primary-color);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em;
}

.page-promotions-inline-cta:hover {
    color: var(--secondary-color);
    border-color: var(--primary-color);
}

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

.page-promotions-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promotions-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-bottom: 1px solid #eee;
}

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

.page-promotions-card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-card-description {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
    text-align: justify;
}

.page-promotions-card-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    align-self: flex-start;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-promotions-card-button:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.page-promotions-list-ordered, .page-promotions-list-unordered {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-promotions-list-ordered li, .page-promotions-list-unordered li {
    background-color: #ffffff;
    margin-bottom: 15px;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-promotions-list-ordered li:hover, .page-promotions-list-unordered li:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-promotions-list-ordered li h3 {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 10px;
    position: relative;
    padding-left: 35px;
}

.page-promotions-list-ordered li:nth-child(1) h3::before,
.page-promotions-list-ordered li:nth-child(2) h3::before,
.page-promotions-list-ordered li:nth-child(3) h3::before {
    content: attr(data-step-number);
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    color: var(--primary-color);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9em;
    font-weight: bold;
}

.page-promotions-list-ordered li:nth-child(1) h3::before { content: '1'; }
.page-promotions-list-ordered li:nth-child(2) h3::before { content: '2'; }
.page-promotions-list-ordered li:nth-child(3) h3::before { content: '3'; }

.page-promotions-list-ordered li p, .page-promotions-list-unordered li p {
    font-size: 1.05em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-promotions-list-unordered li strong {
    color: var(--primary-color);
}

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

.page-promotions-feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 5px solid var(--secondary-color);
}

.page-promotions-feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-promotions-feature-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-promotions-feature-description {
    font-size: 1.05em;
    color: var(--text-dark);
}

.text-highlight {
    color: var(--primary-color);
    font-weight: bold;
}

/* FAQ Section Styling */
.page-promotions-faq {
    background-color: var(--bg-light);
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.faq-question h3 {
  margin: 0;
  font-size: 1.25em;
  color: var(--primary-color);
}

.faq-toggle {
  font-size: 2em;
  font-weight: bold;
  color: var(--secondary-color);
  transition: transform 0.3s ease;
  line-height: 1;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: var(--text-dark);
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 25px;
  border-top: 1px solid #eee;
}

.faq-answer p {
    margin: 0;
    font-size: 1.05em;
}

.page-promotions-cta-final {
    background: linear-gradient(135deg, var(--primary-color), var(--bg-dark));
    color: var(--text-light);
    text-align: center;
    padding: 80px 0;
}

.page-promotions-cta-final .page-promotions-section-title {
    color: var(--secondary-color);
    margin-bottom: 25px;
}

.page-promotions-cta-final .page-promotions-section-title::after {
    background-color: var(--secondary-color);
}

.page-promotions-cta-final .page-promotions-paragraph {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
    color: #e0e0e0;
}

.page-promotions-cta-final-content .page-promotions-cta-button {
    background: var(--secondary-color);
    color: var(--primary-color);
}

.page-promotions-cta-final-content .page-promotions-cta-button:hover {
    background: #e6b800;
    color: var(--primary-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-promotions-hero-title {
        font-size: 2.8em;
    }
    .page-promotions-hero-description {
        font-size: 1.1em;
    }
    .page-promotions-section-title {
        font-size: 2.5em;
    }
    .page-promotions-card-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-promotions-hero-title {
        font-size: 2.2em;
    }
    .page-promotions-hero-description {
        font-size: 1em;
    }
    .page-promotions-cta-button {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    .page-promotions-section {
        padding: 40px 0;
    }
    .page-promotions-section-title {
        font-size: 2em;
        margin-bottom: 30px;
    }
    .page-promotions-grid {
        grid-template-columns: 1fr;
    }
    .page-promotions-card {
        margin-bottom: 20px;
    }
    .page-promotions-card-image {
        height: 180px;
    }
    .page-promotions-list-ordered li, .page-promotions-list-unordered li {
        padding: 20px;
    }
    .page-promotions-list-ordered li h3 {
        font-size: 1.3em;
    }
    .page-promotions-feature-title {
        font-size: 1.5em;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 1.8em;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .page-promotions-hero-content {
        margin-top: -40px;
        padding: 20px;
    }
    .page-promotions-hero-title {
        font-size: 1.8em;
    }
    .page-promotions-hero-description {
        font-size: 0.9em;
    }
    .page-promotions-cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-promotions-section-title {
        font-size: 1.8em;
    }
    .page-promotions-card-title {
        font-size: 1.4em;
    }
    .page-promotions-paragraph, .page-promotions-card-description, .page-promotions-feature-description, .faq-answer p {
        font-size: 0.95em;
    }
    .page-promotions-list-ordered li h3 {
        font-size: 1.2em;
    }
    .page-promotions-list-ordered li:nth-child(1) h3::before,
    .page-promotions-list-ordered li:nth-child(2) h3::before,
    .page-promotions-list-ordered li:nth-child(3) h3::before {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
}