/* style/terms-conditions.css */

/* Ensure content starts below the fixed header */
.page-terms-conditions {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #FFFFFF; /* Explicitly set for content area if needed, though body handles it */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF; /* White text over dark image overlay */
    text-align: center;
}

.page-terms-conditions__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-terms-conditions__hero-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay */
    z-index: 2;
}

.page-terms-conditions__hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background for readability */
    border-radius: 10px;
}

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: #FCBC45; /* Login button color for highlight */
}

.page-terms-conditions__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #FFFFFF; /* Register button color for contrast */
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    font-size: 1em;
}

.page-terms-conditions__hero-button:hover {
    background-color: #e0a33c; /* Slightly darker yellow on hover */
}

/* Content Section */
.page-terms-conditions__content-section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* White background for content */
}

.page-terms-conditions__container {
    max-width: 1000px;
    margin: 0 auto;
}

.page-terms-conditions__section-title {
    font-size: 2.2em;
    color: #000000;
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 15px;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.8em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid #FCBC45;
    padding-left: 10px;
}

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

.page-terms-conditions__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-terms-conditions__list-item {
    font-size: 1em;
    color: #333333;
    margin-bottom: 8px;
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: #FCBC45; /* Login button color */
    color: #FFFFFF; /* Register button color for contrast */
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    margin-right: 15px;
}

.page-terms-conditions__button:hover {
    background-color: #e0a33c; /* Slightly darker yellow on hover */
}

.page-terms-conditions__button--login {
    background-color: #000000; /* Main color for login button */
    color: #FFFFFF;
}

.page-terms-conditions__button--login:hover {
    background-color: #333333; /* Darker black on hover */
}

.page-terms-conditions__paragraph a,
.page-terms-conditions__list-item a {
    color: #FCBC45; /* Highlight links */
    text-decoration: underline;
}

.page-terms-conditions__paragraph a:hover,
.page-terms-conditions__list-item a:hover {
    color: #e0a33c;
}

.page-terms-conditions__image-inline {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width, ensuring it's >= 200px */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

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

    .page-terms-conditions__section-title {
        font-size: 1.8em;
    }

    .page-terms-conditions__sub-section-title {
        font-size: 1.5em;
    }

    .page-terms-conditions__hero-section {
        min-height: 400px;
    }

    /* Ensure all images within the content section are responsive */
    .page-terms-conditions__content-section img {
        max-width: 100%;
        height: auto;
    }
    .page-terms-conditions__image-inline {
        max-width: 100%; /* Ensure mobile responsiveness */
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }

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

    .page-terms-conditions__sub-section-title {
        font-size: 1.3em;
    }

    .page-terms-conditions__hero-button,
    .page-terms-conditions__button {
        padding: 10px 15px;
        font-size: 0.9em;
        margin-right: 10px;
        margin-bottom: 10px; /* Stack buttons on small screens */
    }
}

/* Ensure content area images are not less than 200px (desktop) */
.page-terms-conditions__content-section img {
    min-width: 200px; /* Enforce minimum width for content images */
    min-height: 200px; /* Enforce minimum height for content images */
}

/* Specific image styling to ensure they meet the minimum size requirement and are not small icons */
.page-terms-conditions__image-inline {
    width: auto; /* Allow image to scale while respecting max-width */
    height: auto;
    min-width: 200px;
    min-height: 200px;
    max-width: 100%; /* Ensure it doesn't overflow container */
}

/* No CSS filter for images */
.page-terms-conditions__hero-image,
.page-terms-conditions__image-inline {
    filter: none;
}