/* style/terms-conditions.css */

/* Base styles 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 setting content area background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* To contain the image */
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF; /* Light text on dark background */
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensure text and buttons are above image */
}

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

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #FFFFFF; /* White title for dark hero */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: bold;
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #F0F0F0; /* Slightly off-white for description */
}

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

.page-terms-conditions__hero-button--register {
    background-color: #FCBC45; /* Login color for Register button as per custom color spec */
    color: #000000; /* Dark text for the button */
    border: 2px solid #FCBC45;
}

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

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

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

.page-terms-conditions__section:last-child {
    border-bottom: none;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #000000; /* Dark title for light background */
    margin-bottom: 20px;
    border-left: 5px solid #FCBC45; /* Accent border */
    padding-left: 15px;
}

.page-terms-conditions__section-text {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #333333; /* Standard text color */
}

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

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

.page-terms-conditions__button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.page-terms-conditions__button--primary {
    background-color: #000000; /* Main color for primary button */
    color: #FFFFFF; /* White text on dark button */
    border: 2px solid #000000;
}

.page-terms-conditions__button--primary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-terms-conditions__button--secondary {
    background-color: #FCBC45; /* Accent color for secondary button */
    color: #000000; /* Dark text on accent button */
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--secondary:hover {
    background-color: #e0a53a;
    border-color: #e0a53a;
}

.page-terms-conditions__section-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
    }

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

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

    .page-terms-conditions__content-area {
        padding: 30px 15px;
    }

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

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

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

    .page-terms-conditions__hero-button {
        padding: 12px 20px;
        font-size: 1em;
    }

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