/* style/terms-conditions.css */

/* Biến CSS */
:root {
    --page-terms-conditions-primary-color: #1A202C;
    --page-terms-conditions-secondary-color: #FFD700;
    --page-terms-conditions-text-light: #E0E0E0;
    --page-terms-conditions-text-dark: #1A202C;
    --page-terms-conditions-bg-light: #F8F8F8;
    --page-terms-conditions-bg-dark: #2D3748;
    --page-terms-conditions-border-color: #4A5568;
}

.page-terms-conditions {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--page-terms-conditions-text-dark);
    background-color: var(--page-terms-conditions-bg-light);
}

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

.page-terms-conditions__hero {
    background: linear-gradient(135deg, var(--page-terms-conditions-primary-color) 0%, #3a475a 100%);
    color: var(--page-terms-conditions-text-light);
    padding: 80px 0;
    text-align: center;
    box-shadow: inset 0 -5px 15px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__hero-title {
    font-size: 3.5em;
    margin-bottom: 15px;
    font-weight: 700;
    color: var(--page-terms-conditions-secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-subtitle {
    font-size: 1.3em;
    max-width: 800px;
    margin: 0 auto;
    color: var(--page-terms-conditions-text-light);
}

.page-terms-conditions__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-terms-conditions-border-color);
    position: relative;
    overflow: hidden;
}

.page-terms-conditions__section:last-of-type {
    border-bottom: none;
}

.page-terms-conditions__section--alt-bg {
    background-color: var(--page-terms-conditions-bg-dark);
    color: var(--page-terms-conditions-text-light);
}

.page-terms-conditions__section--alt-bg .page-terms-conditions__section-title {
    color: var(--page-terms-conditions-secondary-color);
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: var(--page-terms-conditions-primary-color);
    margin-bottom: 30px;
    font-weight: 600;
    text-align: left;
    border-bottom: 3px solid var(--page-terms-conditions-secondary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.page-terms-conditions p {
    font-size: 1.1em;
    margin-bottom: 20px;
}

.page-terms-conditions__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
}

.page-terms-conditions__list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-terms-conditions__link {
    color: var(--page-terms-conditions-secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-terms-conditions__link:hover {
    color: #FFEA00; /* Lighter gold for hover */
    text-decoration: underline;
}

.page-terms-conditions__button {
    display: inline-block;
    background-color: var(--page-terms-conditions-secondary-color);
    color: var(--page-terms-conditions-primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: background-color 0.3s ease, transform 0.3s ease;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-terms-conditions__button:hover {
    background-color: #FFEA00; /* Lighter gold for hover */
    transform: translateY(-3px);
}

.page-terms-conditions__image {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

.page-terms-conditions__image--left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
}

.page-terms-conditions__image--right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
}

.page-terms-conditions__image--center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__section--cta {
    text-align: center;
    background: linear-gradient(90deg, var(--page-terms-conditions-primary-color) 0%, var(--page-terms-conditions-bg-dark) 100%);
    color: var(--page-terms-conditions-text-light);
    padding: 80px 0;
}

.page-terms-conditions__section--cta .page-terms-conditions__section-title {
    color: var(--page-terms-conditions-secondary-color);
    border-bottom-color: var(--page-terms-conditions-text-light);
    margin: 0 auto 20px auto;
    text-align: center;
}

.page-terms-conditions__section--cta p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.2em;
}

.page-terms-conditions__section--contact {
    text-align: center;
    background-color: var(--page-terms-conditions-primary-color);
    color: var(--page-terms-conditions-text-light);
}

.page-terms-conditions__section--contact .page-terms-conditions__section-title {
    color: var(--page-terms-conditions-secondary-color);
    border-bottom-color: var(--page-terms-conditions-text-light);
    margin: 0 auto 20px auto;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-terms-conditions__hero-title {
        font-size: 2.8em;
    }
    .page-terms-conditions__section-title {
        font-size: 2em;
    }
    .page-terms-conditions__image--left, .page-terms-conditions__image--right {
        float: none;
        margin: 30px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-terms-conditions__hero-title {
        font-size: 2.2em;
    }
    .page-terms-conditions__hero-subtitle {
        font-size: 1em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.8em;
        text-align: center;
        width: 100%;
    }
    .page-terms-conditions p, .page-terms-conditions__list li {
        font-size: 1em;
    }
    .page-terms-conditions__section {
        padding: 40px 0;
    }
    .page-terms-conditions__button {
        padding: 12px 25px;
        font-size: 1.1em;
    }
    .page-terms-conditions__image {
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }
    .page-terms-conditions__hero-subtitle {
        font-size: 0.9em;
    }
    .page-terms-conditions__section-title {
        font-size: 1.5em;
    }
    .page-terms-conditions p, .page-terms-conditions__list li {
        font-size: 0.95em;
    }
    .page-terms-conditions__button {
        font-size: 1em;
        padding: 10px 20px;
    }
    .page-terms-conditions__container {
        padding: 0 15px;
    }
}