/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --tp88-bg-dark: #08160F;
    --tp88-card-bg: #11271B;
    --tp88-text-main: #F2FFF6;
    --tp88-text-secondary: #A7D9B8;
    --tp88-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --tp88-border-color: #2E7A4E;
    --tp88-glow-color: #57E38D;
    --tp88-gold-color: #F2C14E;
    --tp88-divider-color: #1E3A2A;
    --tp88-deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--tp88-bg-dark); /* Page background */
    color: var(--tp88-text-main); /* Main text color for contrast with dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

/* Section Styling */
.page-privacy-policy__section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* 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, body handles header offset */
    box-sizing: border-box;
    background-color: var(--tp88-bg-dark); /* Ensure hero has a background */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1920px; /* Max width for the image itself */
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--tp88-gold-color); /* Gold color for main title */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--tp88-text-secondary); /* Secondary text color */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--tp88-btn-gradient);
    color: #ffffff;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Inverted gradient on hover */
    transform: translateY(-2px);
}

/* General Content Styling */
.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--tp88-gold-color);
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--tp88-divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: var(--tp88-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy__paragraph {
    font-size: 1em;
    color: var(--tp88-text-main);
    margin-bottom: 15px;
    text-align: justify;
}

.page-privacy-policy__highlight {
    color: var(--tp88-gold-color);
    font-weight: bold;
}

.page-privacy-policy__link {
    color: var(--tp88-glow-color); /* A vibrant color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--tp88-gold-color);
    text-decoration: underline;
}

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
}

.page-privacy-policy__list-item-title {
    color: var(--tp88-text-main);
    font-weight: bold;
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
    border: 1px solid var(--tp88-divider-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: var(--tp88-card-bg); /* Darker green for FAQ section */
    padding: 60px 20px;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    margin-top: 40px;
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--tp88-deep-green); /* Slightly lighter dark green for FAQ item */
    border: 1px solid var(--tp88-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
    background-color: var(--tp88-deep-green); /* Keep same background when open */
    border-color: var(--tp88-glow-color); /* Highlight border when open */
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.15em;
    font-weight: bold;
    color: var(--tp88-text-main);
    cursor: pointer;
    background-color: var(--tp88-deep-green);
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-question:hover {
    background-color: #1a3526; /* Slightly lighter hover for question */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--tp88-text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--tp88-glow-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to cross when open */
}

.page-privacy-policy__faq-answer {
    padding: 15px 25px 25px;
    font-size: 0.95em;
    color: var(--tp88-text-secondary);
    border-top: 1px solid var(--tp88-border-color);
    margin-top: -1px; /* Overlap border for clean look */
    text-align: justify;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__section,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__faq-section {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for mobile */
    }

    .page-privacy-policy__hero-description,
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li,
    .page-privacy-policy__faq-answer {
        font-size: 0.95em;
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
    }

    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }
}