/* style/terms-conditions.css */

/* Ensure proper spacing from the fixed header */
.page-terms-conditions {
    padding-top: var(--header-offset, 120px); /* Default for desktop, adjusted by shared.js */
    color: #ffffff; /* Light text for dark body background */
    background-color: #1a1a1a; /* Inherited from body or set explicitly if main has a distinct background */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.page-terms-conditions__hero-section {
    position: relative;
    text-align: center;
    padding: 0;
    margin-bottom: 40px;
    overflow: hidden;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darken image for text readability */
}

.page-terms-conditions__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    color: #ffffff;
    max-width: 900px;
    width: 90%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-terms-conditions__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FCBC45; /* Login button color for emphasis */
    text-transform: uppercase;
}

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

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

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

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #FCBC45;
    margin-top: 40px;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(252, 188, 69, 0.3);
    padding-bottom: 10px;
}

.page-terms-conditions__paragraph {
    font-size: 1em;
    margin-bottom: 15px;
    color: #e0e0e0;
}

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

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

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

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

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 30px 0;
    display: block;
    object-fit: cover;
    min-width: 200px;
    min-height: 200px;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background-color: #FCBC45;
    color: #000000;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    background-color: #ffffff;
    color: #000000;
}

.page-terms-conditions__cta-button--secondary {
    background-color: #000000;
    color: #FCBC45;
    border: 1px solid #FCBC45;
}

.page-terms-conditions__cta-button--secondary:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-terms-conditions__cta-section {
    background-color: #000000;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
    border-top: 2px solid #FCBC45;
}

.page-terms-conditions__cta-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 15px;
}

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

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

@media (max-width: 768px) {
    .page-terms-conditions {
        padding-top: var(--header-offset, 80px);
    }
    .page-terms-conditions__hero-content {
        width: 95%;
    }
    .page-terms-conditions__main-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__intro-text {
        font-size: 1em;
    }
    .page-terms-conditions__content-area {
        padding: 20px 15px;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__cta-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .page-terms-conditions__image {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__main-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__intro-text {
        font-size: 0.9em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.3em;
    }
    .page-terms-conditions__cta-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__cta-description {
        font-size: 0.9em;
    }
}