/* style/promo.css */
.page-promo {
    color: #333333; /* Dark text for default light body background */
}

.page-promo__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    position: relative;
    overflow: hidden;
    text-align: center;
    background-color: #007bff; /* Primary color background for hero */
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

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

.page-promo__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.3; /* Make background image subtle */
}

.page-promo__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-promo__hero-title {
    font-size: 3.2em;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffc107; /* Secondary color for main title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

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

.page-promo__btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    white-space: nowrap;
}

.page-promo__btn--primary {
    background-color: #ffc107; /* Secondary color */
    color: #007bff; /* Primary color */
    border: 2px solid #ffc107;
}

.page-promo__btn--primary:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-promo__btn--secondary {
    background-color: transparent;
    color: #ffc107; /* Secondary color */
    border: 2px solid #ffc107;
}

.page-promo__btn--secondary:hover {
    background-color: #ffc107;
    color: #007bff;
    transform: translateY(-3px);
}

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

.page-promo__section-title {
    font-size: 2.5em;
    font-weight: 700;
    color: #007bff; /* Primary color */
    text-align: center;
    margin-bottom: 20px;
}

.page-promo__section-description {
    font-size: 1.1em;
    line-height: 1.6;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #555555;
}

.page-promo__features-section {
    background-color: #f8f9fa;
    padding: 60px 0;
}

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

.page-promo__feature-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-promo__feature-icon {
    width: 250px; /* Minimum 200px */
    height: 187.5px; /* Maintain aspect ratio */
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-promo__feature-title {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 15px;
}

.page-promo__feature-text {
    font-size: 1em;
    line-height: 1.6;
    color: #666666;
}

.page-promo__action-text {
    text-align: center;
    font-size: 1.2em;
    margin-top: 50px;
    font-weight: 500;
    color: #333333;
}

.page-promo__btn--register {
    display: block;
    width: fit-content;
    margin: 30px auto 0 auto;
    background-color: #ffc107;
    color: #007bff;
    border: 2px solid #ffc107;
}

.page-promo__btn--register:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-promo__details-list-section {
    padding: 60px 0;
}

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

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

.page-promo__detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.page-promo__detail-image {
    width: 100%;
    height: 250px; /* Minimum 200px */
    object-fit: cover;
}

.page-promo__detail-title {
    font-size: 1.6em;
    color: #007bff;
    padding: 20px 25px 10px 25px;
    margin: 0;
}

.page-promo__detail-title a {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-promo__detail-title a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.page-promo__detail-description {
    font-size: 0.95em;
    line-height: 1.6;
    color: #666666;
    padding: 0 25px 20px 25px;
    flex-grow: 1;
}

.page-promo__btn--view-details {
    display: inline-block;
    margin: 0 25px 25px 25px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #ffffff;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease;
    border: 2px solid #007bff;
}

.page-promo__btn--view-details:hover {
    background-color: #0056b3;
}

.page-promo__vip-section {
    background-color: #007bff;
    padding: 80px 0;
    color: #ffffff;
}

.page-promo__vip-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.page-promo__vip-content {
    flex: 1 1 50%;
    max-width: 600px;
}

.page-promo__vip-section .page-promo__section-title {
    color: #ffc107;
    text-align: left;
}

.page-promo__vip-section .page-promo__section-description {
    color: #f0f0f0;
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.page-promo__btn--vip {
    background-color: #ffc107;
    color: #007bff;
    border: 2px solid #ffc107;
    margin-top: 20px;
}

.page-promo__btn--vip:hover {
    background-color: #e0a800;
    transform: translateY(-3px);
}

.page-promo__vip-image {
    flex: 1 1 40%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-promo__cta-section {
    padding: 80px 0;
    background-color: #f0f0f0;
}

.page-promo__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-promo__faq-section {
    padding: 60px 0;
}

.page-promo__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-promo__faq-question {
    font-size: 1.3em;
    color: #007bff;
    margin-top: 0;
    margin-bottom: 10px;
}

.page-promo__faq-answer {
    font-size: 1em;
    line-height: 1.6;
    color: #555555;
}

.page-promo__faq-more-info {
    text-align: center;
    margin-top: 30px;
    font-size: 1.1em;
    color: #555555;
}

.page-promo__faq-more-info a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
}

.page-promo__faq-more-info a:hover {
    text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-promo__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .page-promo__hero-title {
        font-size: 2.2em;
    }

    .page-promo__hero-description {
        font-size: 1em;
    }

    .page-promo__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-promo__btn {
        width: 100%;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-promo__section-title {
        font-size: 2em;
    }

    .page-promo__section-description {
        font-size: 0.95em;
    }

    .page-promo__container {
        padding: 20px 15px;
    }

    .page-promo__feature-grid, .page-promo__details-grid {
        grid-template-columns: 1fr;
    }

    .page-promo__feature-icon {
        width: 100%;
        height: auto;
        max-width: 300px; /* Ensure images are not too small */
        margin-left: auto;
        margin-right: auto;
    }

    .page-promo__detail-image {
        height: 200px; /* Minimum 200px */
    }

    .page-promo__vip-container {
        flex-direction: column-reverse; /* Image on top for mobile */
    }

    .page-promo__vip-content {
        max-width: 100%;
    }

    .page-promo__vip-section .page-promo__section-title {
        text-align: center;
    }

    .page-promo__vip-section .page-promo__section-description {
        text-align: center;
    }

    .page-promo__btn--vip {
        margin-left: auto;
        margin-right: auto;
        display: block;
        width: fit-content;
    }

    .page-promo__vip-image {
        max-width: 100%;
    }

    .page-promo__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    /* Ensure all images within .page-promo are responsive and do not overflow */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
}