/* style/terms-conditions.css */

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

/* Hero Section */
.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background-color: #1E90FF; /* Auxiliary color as fallback background */
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Slightly dim image for text readability */
}

.page-terms-conditions__hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    text-align: center;
    color: #ffffff;
}

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

.page-terms-conditions__main-title {
    font-size: 3em;
    color: #FFD700; /* Gold main color for emphasis */
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FFD700; /* Gold button */
    color: #1E90FF; /* Deep blue text for contrast */
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #FFD700;
}

.page-terms-conditions__cta-button:hover {
    background-color: #1E90FF; /* Deep blue on hover */
    color: #FFD700; /* Gold text on hover */
    border-color: #FFD700;
}

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

.page-terms-conditions__article {
    margin-bottom: 30px;
}

.page-terms-conditions__article-heading {
    font-size: 2em;
    color: #1E90FF; /* Auxiliary color for headings */
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-terms-conditions__article-paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-terms-conditions__article-paragraph a {
    color: #1E90FF;
    text-decoration: underline;
    font-weight: bold;
}

.page-terms-conditions__article-paragraph a:hover {
    color: #FFD700;
}

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

/* Call to Action Section at bottom */
.page-terms-conditions__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-top: 50px;
    border: 1px solid #eee;
}

.page-terms-conditions__cta-heading {
    font-size: 2.5em;
    color: #1E90FF;
    margin-bottom: 20px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__main-title {
        font-size: 2.5em;
    }
    .page-terms-conditions__article-heading {
        font-size: 1.8em;
    }
    .page-terms-conditions__cta-heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__main-title {
        font-size: 2em;
    }
    .page-terms-conditions__intro-text {
        font-size: 1em;
    }
    .page-terms-conditions__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-terms-conditions__article-heading {
        font-size: 1.5em;
    }
    .page-terms-conditions__article-paragraph {
        font-size: 0.95em;
    }
    .page-terms-conditions__content-area,
    .page-terms-conditions__hero-container {
        padding: 20px;
    }
    .page-terms-conditions__hero-section {
        min-height: 300px;
    }
    .page-terms-conditions__cta-heading {
        font-size: 1.8em;
    }
    /* Ensure content images are responsive and do not overflow */
    .page-terms-conditions__content-image {
        max-width: 100%;
        height: auto;
        width: auto; /* Reset width for max-width to take effect */
        min-width: 200px; /* Minimum size requirement */
        min-height: 200px;
    }
    /* Specific rule to ensure images in the content area are not too small */
    .page-terms-conditions__content-area img {
        max-width: 100%;
        height: auto;
        width: auto; /* Reset width for max-width to take effect */
        min-width: 200px; /* Minimum size requirement */
        min-height: 200px;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: 1.7em;
    }
    .page-terms-conditions__cta-heading {
        font-size: 1.5em;
    }
    .page-terms-conditions__hero-content {
        padding: 20px;
    }
}