/* style/terms-conditions.css */
.page-terms-conditions {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-terms-conditions__hero-section {
    position: relative;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background-color: #0d0d0d; /* Dark background for hero for contrast */
    color: #ffffff;
    text-align: center;
    padding-bottom: 60px;
}

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

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

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

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    max-width: 700px;
    margin: 0 auto 30px auto;
}

.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.page-terms-conditions__article {
    padding: 20px;
}

.page-terms-conditions__section-title {
    font-size: 1.8em;
    color: #8B0000; /* Deep red for section titles */
    margin-top: 35px;
    margin-bottom: 15px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

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

.page-terms-conditions__paragraph a {
    color: #8B0000;
    text-decoration: underline;
}

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

.page-terms-conditions__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-terms-conditions__image {
    width: 100%;
    max-width: 800px; /* Ensuring images are not too small */
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.page-terms-conditions__image-caption {
    font-style: italic;
    color: #666666;
    margin-top: 10px;
    font-size: 0.9em;
}

.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    background-color: #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__cta-text {
    font-size: 1.5em;
    color: #8B0000;
    margin-bottom: 25px;
    font-weight: bold;
}

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

.page-terms-conditions__cta-button:hover {
    background-color: #6a0000;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@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.5em;
    }

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

    .page-terms-conditions__article {
        padding: 10px;
    }

    .page-terms-conditions__cta-text {
        font-size: 1.2em;
    }

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

    .page-terms-conditions__image {
        max-width: 100%;
        height: auto;
    }

    .page-terms-conditions {
        overflow-x: hidden;
    }
}

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

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

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