/* style/terms-conditions.css */

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text for dark background */
    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%;
    object-fit: cover;
    opacity: 0.3; /* Subtle background image */
    z-index: 0;
}

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

.page-terms-conditions__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

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

.page-terms-conditions__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
    font-size: 1.1em;
}

.page-terms-conditions__button--primary {
    background-color: #FCBC45; /* Login color for primary action */
    color: #000000;
}

.page-terms-conditions__button--primary:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-terms-conditions__button--secondary {
    background-color: #FFFFFF; /* Register color for secondary action */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: #FFFFFF; /* Explicit white background for content */
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page-terms-conditions__section-container {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #EEEEEE;
}

.page-terms-conditions__section-container:last-of-type {
    border-bottom: none;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 15px;
}

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

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 15px;
    color: #333333;
}

.page-terms-conditions__list-item {
    margin-bottom: 8px;
}

.page-terms-conditions__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #e0a53b;
    text-decoration: underline;
}

.page-terms-conditions__link--contact {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #000000;
    color: #FFFFFF;
    border-radius: 5px;
}

.page-terms-conditions__link--contact:hover {
    background-color: #333333;
    text-decoration: none;
}

.page-terms-conditions__section-image {
    width: 100%; /* Ensure images are responsive */
    height: auto;
    display: block;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Call to Action at the bottom */
.page-terms-conditions__call-to-action {
    text-align: center;
    padding: 60px 20px;
    background-color: #F8F8F8;
    border-radius: 8px;
    margin-top: 60px;
}

.page-terms-conditions__call-to-action-title {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 15px;
}

.page-terms-conditions__call-to-action-description {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__button--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

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

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

    .page-terms-conditions__button {
        width: 80%;
        max-width: 300px;
    }

    .page-terms-conditions__content-area {
        margin: 20px auto;
        padding: 15px;
    }

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

    .page-terms-conditions__call-to-action {
        padding: 40px 15px;
    }

    .page-terms-conditions__call-to-action-title {
        font-size: 2em;
    }

    /* Ensure images are responsive and do not cause horizontal scroll */
    .page-terms-conditions__hero-image,
    .page-terms-conditions__section-image {
        max-width: 100%;
        height: auto;
    }
}