/* style/terms-conditions.css */

/* Base styling for the terms and conditions page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set to match body background if not inheriting */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    padding: 80px 20px 40px; /* Adjust padding for content over image */
    background-color: #000000; /* Dark background for hero content */
    color: #FFFFFF; /* Light text for dark hero background */
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.3; /* Subtle background image */
}

.page-terms-conditions__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: none; /* Ensure no filter is applied */
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-terms-conditions__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Call to Action Buttons */
.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FCBC45; /* Login color for primary CTA */
    color: #000000; /* Dark text for light button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    text-align: center;
}

.page-terms-conditions__cta-button:hover {
    background-color: #e0a53a;
    transform: translateY(-2px);
}

.page-terms-conditions__cta-button--small {
    padding: 10px 20px;
    font-size: 1em;
    margin-top: 15px;
    margin-right: 10px; /* For multiple buttons */
    margin-left: 10px;
}

.page-terms-conditions__cta-button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    margin-top: 30px;
}


/* Content Area */
.page-terms-conditions__content-area {
    background-color: #FFFFFF; /* Explicitly set for content area */
    padding: 60px 20px;
    color: #333333; /* Dark text for light background */
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-terms-conditions__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
    border-radius: 2px;
}

.page-terms-conditions__intro-text {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px;
    color: #555555;
}

.page-terms-conditions__section {
    margin-bottom: 40px;
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 5px solid #FCBC45;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.8em;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1em;
    color: #333333;
}

.page-terms-conditions__list {
    list-style: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    color: #333333;
}

/* Image styling for content area */
.page-terms-conditions__image-small {
    display: block;
    margin: 25px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    filter: none; /* Ensure no filter is applied */
}

/* Final Call to Action */
.page-terms-conditions__final-cta {
    text-align: center;
    padding: 50px 20px;
    background-color: #000000; /* Dark background */
    color: #FFFFFF; /* Light text */
    border-radius: 10px;
    margin-top: 60px;
}

.page-terms-conditions__final-cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 20px;
}

.page-terms-conditions__final-cta-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #F0F0F0;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px 30px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1.1em;
    }
    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-terms-conditions__cta-button--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
    .page-terms-conditions__content-area {
        padding: 40px 15px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__sub-section-title {
        font-size: 1.4em;
    }
    .page-terms-conditions__section {
        padding: 20px;
    }
    .page-terms-conditions__image-small {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Maintain minimum size */
        min-height: 200px; /* Maintain minimum size */
    }
    /* Mobile content images must be responsive */
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
    }
    .page-terms-conditions__final-cta-title {
        font-size: 2em;
    }
    .page-terms-conditions {
        max-width: 100%;
        overflow-x: hidden; /* Prevent horizontal scrolling */
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__hero-description {
        font-size: 1em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.6em;
    }
    .page-terms-conditions__sub-section-title {
        font-size: 1.2em;
    }
}

/* Ensure content area images are at least 200px */
.page-terms-conditions__content-area img {
    min-width: 200px;
    min-height: 200px;
}