/* style/terms-conditions.css */

/* Base styles for the page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default light text for dark body background */
    background-color: #121212; /* Inherited from shared.css, set here for clarity */
}

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    padding: 100px 0 80px; /* Adjust padding-top for fixed header, padding-bottom for content */
    background: linear-gradient(135deg, #1A202C, #000000); /* Darker gradient for hero, serves as fallback if image fails */
    color: #ffffff;
    text-align: center;
    margin-top: 0; /* No margin-top, use padding-top */
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 400px; /* Ensure some height even if content is short */
}

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

.page-terms-conditions__hero-container {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
}

.page-terms-conditions__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700; /* Gold color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-terms-conditions__hero-button {
    display: inline-block;
    background-color: #FFD700;
    color: #1A202C;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-terms-conditions__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* General Section Styles */
.page-terms-conditions__introduction-section {
    padding: 60px 0;
    background-color: #1A202C; /* Auxiliary dark color */
    color: #ffffff;
}

.page-terms-conditions__darker-bg {
    background-color: #242424; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: #242424; /* Slightly lighter dark for contrast */
    color: #ffffff;
}

.page-terms-conditions__section-title {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #FFD700; /* Gold color for section titles */
    text-align: left;
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

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

.page-terms-conditions__list-item {
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.6;
}

.page-terms-conditions__list-item strong {
    color: #FFD700;
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    object-fit: cover; /* Ensure image covers the area without distortion */
    filter: none !important; /* Ensure no CSS filter on images */
}

.page-terms-conditions__link {
    color: #FFD700; /* Gold color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #e6c200;
}

/* Call to Action Section */
.page-terms-conditions__cta-section {
    padding: 80px 0;
    background-color: #1A202C; /* Dark background for CTA */
    text-align: center;
    color: #ffffff;
}

.page-terms-conditions__cta-container {
    max-width: 900px;
}

.page-terms-conditions__cta-title {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #FFD700; /* Gold color for CTA title */
}

.page-terms-conditions__cta-description {
    font-size: 18px;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Ensure button doesn't exceed container */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Allow long words to break */
}

.page-terms-conditions__btn-primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

.page-terms-conditions__btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    transform: translateY(-3px);
}

.page-terms-conditions__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-terms-conditions__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
    transform: translateY(-3px);
}

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

    .page-terms-conditions__hero-description {
        font-size: 18px;
    }

    .page-terms-conditions__section-title {
        font-size: 28px;
    }

    .page-terms-conditions__cta-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: 10px !important;
        padding-bottom: 60px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .page-terms-conditions__hero-title {
        font-size: 32px;
    }

    .page-terms-conditions__hero-description {
        font-size: 16px;
    }

    .page-terms-conditions__hero-button {
        padding: 12px 25px;
        font-size: 16px;
    }

    .page-terms-conditions__introduction-section,
    .page-terms-conditions__content-section,
    .page-terms-conditions__cta-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-terms-conditions__container {
        padding: 0;
    }

    .page-terms-conditions__section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .page-terms-conditions__paragraph,
    .page-terms-conditions__list-item {
        font-size: 15px;
    }

    .page-terms-conditions__cta-title {
        font-size: 28px;
    }

    .page-terms-conditions__cta-description {
        font-size: 16px;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        width: 100% !important; /* Force full width for mobile buttons */
        max-width: 100% !important;
        padding: 12px 15px !important;
        font-size: 16px !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    /* Mobile image responsiveness */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 28px;
    }
    .page-terms-conditions__hero-description {
        font-size: 15px;
    }
    .page-terms-conditions__section-title {
        font-size: 22px;
    }
    .page-terms-conditions__cta-title {
        font-size: 26px;
    }
}

/* Contrast Fixes (as per instructions, although my choices aim for good contrast) */
.page-terms-conditions__dark-bg {
    color: #ffffff; /* Deep dark background, must have light text */
}

.page-terms-conditions__darker-bg {
    color: #ffffff; /* This is a section with a dark background, so text is light */
}

/* Ensure no CSS filter on images */
.page-terms-conditions img {
    filter: none !important;
}