/* style/terms-conditions.css */

:root {
    --primary-color: #0A2463; /* Deep Blue */
    --secondary-color: #FFD700; /* Gold */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #121212;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
}

.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Body background is dark, so text is light */
    background-color: var(--bg-dark); /* Inherited from shared.css, but explicitly set for clarity */
}

/* Fixed Header Padding */
.page-terms-conditions__hero-section {
    padding-top: 120px; /* Adjust based on fixed header height */
    background-color: var(--primary-color);
    color: var(--text-light);
    text-align: center;
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-terms-conditions__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-terms-conditions__hero-subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__content-section {
    padding: 60px 20px;
    background-color: var(--bg-light);
    color: var(--text-dark); /* Content section background is light, so text is dark */
}

.page-terms-conditions__content-container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-terms-conditions__article-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 700;
    line-height: 1.3;
}

.page-terms-conditions__article-title:first-of-type {
    margin-top: 0;
}

.page-terms-conditions__article p {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-terms-conditions__article p a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__article p a:hover {
    color: var(--secondary-color);
}

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    padding-left: 0;
    color: var(--text-dark);
}

.page-terms-conditions__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-terms-conditions__list li strong {
    color: var(--primary-color);
}

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

.page-terms-conditions__image--full-width {
    width: 100%;
}

.page-terms-conditions__image--left {
    float: left;
    margin-right: 30px;
    width: 45%;
    max-width: 45%;
}

.page-terms-conditions__image--right {
    float: right;
    margin-left: 30px;
    width: 45%;
    max-width: 45%;
}

.page-terms-conditions__article::after {
    content: "";
    display: table;
    clear: both;
}

.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid var(--border-color);
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--secondary-color);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
}

.page-terms-conditions__cta-button:hover {
    background: darken(var(--secondary-color), 10%); /* This won't work in pure CSS, need to use a slightly darker gold */
    background: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__article-title {
        font-size: 2em;
    }
    .page-terms-conditions__content-container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: 100px !important; /* Mobile fixed header padding */
        padding-bottom: 40px;
    }
    .page-terms-conditions__hero-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__hero-subtitle {
        font-size: 1.1em;
    }
    .page-terms-conditions__content-section {
        padding: 30px 15px;
    }
    .page-terms-conditions__content-container {
        padding: 20px;
        border-radius: 4px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-terms-conditions__article-title {
        font-size: 1.8em;
        margin-top: 30px;
        margin-bottom: 20px;
    }
    .page-terms-conditions__article p,
    .page-terms-conditions__list li {
        font-size: 1em;
    }
    .page-terms-conditions__list {
        margin-left: 20px;
    }

    /* Image responsive for floating images */
    .page-terms-conditions__image--left,
    .page-terms-conditions__image--right {
        float: none;
        margin: 20px auto;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-terms-conditions__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        border-radius: 4px;
    }

    .page-terms-conditions__cta-wrapper {
        margin-top: 40px;
        padding-top: 20px;
    }
    .page-terms-conditions__cta-button {
        font-size: 1.1em;
        padding: 12px 30px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__hero-subtitle {
        font-size: 0.95em;
    }
    .page-terms-conditions__article-title {
        font-size: 1.5em;
    }
    .page-terms-conditions__content-container {
        padding: 15px;
    }
    .page-terms-conditions__article p,
    .page-terms-conditions__list li {
        font-size: 0.95em;
    }
}