/* style/terms-conditions.css */

:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Dark Red */
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-light: #f5f5f5;
    --background-dark: #222222;
    --border-color: #e0e0e0;
}

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

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

.page-terms-conditions-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    min-height: 350px;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%); /* Fallback gradient */
}

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

.page-terms-conditions-hero-container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions-hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions-hero-content h1 a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-terms-conditions-hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

.page-terms-conditions-hero-content p a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-terms-conditions-cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    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;
    border: 2px solid var(--primary-color);
}

.page-terms-conditions-cta-button:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.page-terms-conditions-section {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.page-terms-conditions-section h2 {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-terms-conditions-section h2 a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-terms-conditions-section h3 {
    font-size: 1.6em;
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions-section p {
    margin-bottom: 15px;
    text-align: justify;
    color: var(--text-dark);
}

.page-terms-conditions-section p a,
.page-terms-conditions-section li a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions-section p a:hover,
.page-terms-conditions-section li a:hover {
    text-decoration: underline;
    color: var(--primary-color);
}

.page-terms-conditions-section ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-terms-conditions-section li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

.page-terms-conditions-footer-note {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--background-dark);
    color: var(--text-light);
    border-top: 5px solid var(--primary-color);
}

.page-terms-conditions-copyright {
    font-size: 0.9em;
    color: var(--text-light);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions-hero-content h1 {
        font-size: 2.2em;
    }

    .page-terms-conditions-hero-content p {
        font-size: 1em;
    }

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

    .page-terms-conditions-section h2 {
        font-size: 1.8em;
    }

    .page-terms-conditions-section h3 {
        font-size: 1.4em;
    }

    .page-terms-conditions-container {
        padding: 15px;
    }

    .page-terms-conditions-section {
        padding: 30px 0;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions-hero-content h1 {
        font-size: 1.8em;
    }

    .page-terms-conditions-hero-content p {
        font-size: 0.9em;
    }

    .page-terms-conditions-cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-terms-conditions-section h2 {
        font-size: 1.5em;
    }

    .page-terms-conditions-section h3 {
        font-size: 1.2em;
    }
}