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

.page-promo__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

.page-promo__hero-container {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
}

.page-promo__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-promo__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    max-width: 80%;
    z-index: 10;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 10px;
}

.page-promo__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffc107; /* Auxiliary color for highlight */
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-promo__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    line-height: 1.6;
}

.page-promo__hero-button,
.page-promo__why-jiliok-button,
.page-promo__cta-button {
    display: inline-block;
    background-color: #ffc107; /* Auxiliary color for buttons */
    color: #000000; /* Dark text for light button */
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-promo__hero-button:hover,
.page-promo__why-jiliok-button:hover,
.page-promo__cta-button:hover {
    background-color: #e0a800; /* Slightly darker gold on hover */
    transform: translateY(-3px);
}

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

.page-promo__intro-section,
.page-promo__why-jiliok-section,
.page-promo__faq-section,
.page-promo__cta-section {
    padding: 60px 0;
    background-color: #f8f9fa; /* Light background for content sections */
    text-align: center;
}

.page-promo__intro-title,
.page-promo__list-title,
.page-promo__why-jiliok-title,
.page-promo__faq-title,
.page-promo__cta-title {
    font-size: 2.8em;
    color: #007bff; /* Primary color for titles */
    margin-bottom: 30px;
    font-weight: bold;
}

.page-promo__intro-text,
.page-promo__why-jiliok-text,
.page-promo__cta-description {
    font-size: 1.1em;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto 30px auto;
}

.page-promo__promo-list-section {
    padding: 80px 0;
    background-color: #ffffff;
}

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

.page-promo__promo-card {
    background-color: #ffffff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    min-height: 500px; /* Ensure cards have a minimum height */
}

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

.page-promo__card-image {
    width: 100%;
    height: 250px; /* Fixed height for consistent card image display */
    object-fit: cover;
    display: block;
}

.page-promo__card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push button to bottom */
}

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

.page-promo__card-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.page-promo__card-title a:hover {
    color: #ffc107;
}

.page-promo__card-description {
    font-size: 1em;
    line-height: 1.7;
    color: #555555;
    margin-bottom: 20px;
}

.page-promo__card-button {
    display: inline-block;
    background-color: #007bff; /* Primary color for card buttons */
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    transition: background-color 0.3s ease;
    align-self: flex-start; /* Align button to the left */
}

.page-promo__card-button:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.page-promo__why-jiliok-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
}

.page-promo__why-jiliok-features {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.page-promo__why-jiliok-features li {
    background-color: #e9f5ff; /* Light blue background for list items */
    padding: 15px 20px;
    border-left: 5px solid #007bff;
    border-radius: 8px;
    font-size: 1.1em;
    color: #333333;
    text-align: left;
}

.page-promo__why-jiliok-features strong {
    color: #007bff;
}

.page-promo__why-jiliok-button {
    margin-top: 30px;
}

.page-promo__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    margin-bottom: 20px;
    padding: 25px;
    text-align: left;
    transition: box-shadow 0.3s ease;
}

.page-promo__faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.page-promo__faq-question {
    font-size: 1.5em;
    color: #007bff;
    margin-bottom: 10px;
    font-weight: bold;
}

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

.page-promo__copyright {
    text-align: center;
    padding: 30px 20px;
    background-color: #333333; /* Dark background for footer copyright */
    color: #ffffff;
    font-size: 0.9em;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-promo__hero-title {
        font-size: 3em;
    }

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

    .page-promo__intro-title,
    .page-promo__list-title,
    .page-promo__why-jiliok-title,
    .page-promo__faq-title,
    .page-promo__cta-title {
        font-size: 2.2em;
    }

    .page-promo__promo-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .page-promo__why-jiliok-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .page-promo__hero-section {
        padding-top: var(--header-offset, 80px);
    }

    .page-promo__hero-content {
        max-width: 90%;
        padding: 15px;
    }

    .page-promo__hero-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }

    .page-promo__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-promo__hero-button,
    .page-promo__why-jiliok-button,
    .page-promo__cta-button {
        padding: 12px 25px;
        font-size: 1.1em;
    }

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

    .page-promo__intro-title,
    .page-promo__list-title,
    .page-promo__why-jiliok-title,
    .page-promo__faq-title,
    .page-promo__cta-title {
        font-size: 1.8em;
    }

    .page-promo__intro-text,
    .page-promo__why-jiliok-text,
    .page-promo__cta-description {
        font-size: 0.95em;
        margin-bottom: 20px;
    }

    .page-promo__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-promo__card-image {
        height: 200px;
    }

    .page-promo__card-title {
        font-size: 1.5em;
    }

    .page-promo__card-description {
        font-size: 0.9em;
    }

    .page-promo__faq-question {
        font-size: 1.3em;
    }

    .page-promo__faq-answer {
        font-size: 0.95em;
    }
    /* Ensure all images within .page-promo are responsive and don't overflow */
    .page-promo img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-promo__hero-title {
        font-size: 2em;
    }

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

    .page-promo__hero-button,
    .page-promo__why-jiliok-button,
    .page-promo__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }

    .page-promo__intro-title,
    .page-promo__list-title,
    .page-promo__why-jiliok-title,
    .page-promo__faq-title,
    .page-promo__cta-title {
        font-size: 1.5em;
    }

    .page-promo__card-title {
        font-size: 1.3em;
    }
}