/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --tk88-primary-color: #11A84E;
    --tk88-secondary-color: #22C768;
    --tk88-button-gradient-start: #2AD16F;
    --tk88-button-gradient-end: #13994A;
    --tk88-card-bg: #11271B;
    --tk88-background: #08160F;
    --tk88-text-main: #F2FFF6;
    --tk88-text-secondary: #A7D9B8;
    --tk88-border-color: #2E7A4E;
    --tk88-glow-color: #57E38D;
    --tk88-gold-color: #F2C14E;
    --tk88-divider-color: #1E3A2A;
    --tk88-deep-green: #0A4B2C;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    background-color: var(--tk88-background); /* Dark background */
    color: var(--tk88-text-main); /* Light text for dark background */
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as body handles header offset */
    background-color: var(--tk88-deep-green);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and text */
    text-align: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__hero-content {
    width: 100%;
    max-width: 900px;
    text-align: center;
    color: var(--tk88-text-main);
    z-index: 1; /* Ensure text is above any potential background elements */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size for H1 */
    font-weight: bold;
    color: var(--tk88-gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: var(--tk88-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* CTA Button */
.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--tk88-button-gradient-start); /* Fallback for gradient */
    background: linear-gradient(180deg, var(--tk88-button-gradient-start) 0%, var(--tk88-button-gradient-end) 100%);
    color: #ffffff; /* White text for button */
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure responsive */
    box-sizing: border-box; /* Ensure padding is included in width */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    border-bottom: 1px solid var(--tk88-divider-color);
    background-color: var(--tk88-background); /* Default background for content sections */
    color: var(--tk88-text-main); /* Default text color for content sections */
}

.page-privacy-policy__dark-section {
    background-color: var(--tk88-card-bg); /* Use card background for darker sections */
    color: var(--tk88-text-main);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
    padding-left: 15px;
    padding-right: 15px;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--tk88-gold-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: var(--tk88-primary-color);
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__paragraph {
    font-size: 1.05em;
    margin-bottom: 15px;
    color: var(--tk88-text-secondary);
}

.page-privacy-policy__paragraph a {
    color: var(--tk88-secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy__paragraph a:hover {
    text-decoration: underline;
    color: var(--tk88-glow-color);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--tk88-text-secondary);
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.page-privacy-policy__list-strong {
    color: var(--tk88-text-main);
}

.page-privacy-policy__image-block {
    text-align: center;
    margin: 40px 0;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* Contact Section specific styles */
.page-privacy-policy__contact-section {
    text-align: center;
}

.page-privacy-policy__cta-button--bottom {
    margin-top: 40px;
}

/* Copyright Section */
.page-privacy-policy__copyright-section {
    background-color: var(--tk88-deep-green);
    padding: 30px 20px;
    text-align: center;
    color: var(--tk88-text-secondary);
    font-size: 0.9em;
    border-top: 1px solid var(--tk88-divider-color);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-privacy-policy__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em; /* Adjust H1 for mobile */
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-left: 0;
        margin-right: 0;
    }

    .page-privacy-policy__content-section {
        padding: 40px 15px;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li {
        font-size: 1em;
    }

    .page-privacy-policy__image-block {
        margin: 20px 0;
    }

    .page-privacy-policy__content-image,
    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Ensure all image containers are responsive */
    .page-privacy-policy__image-block,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
}