/* style/privacy-policy.css */

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

.page-privacy-policy {
    color: var(--gp88-text-main); /* Default text color for the page */
    background-color: var(--gp88-background); /* Page background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* 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;
    justify-content: center;
    padding: 60px 20px; /* General padding */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--gp88-deep-green); /* Background for hero area */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    height: auto;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1;
    color: var(--gp88-text-main);
    padding: 0 20px;
    margin-bottom: 40px; /* Space below hero content */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--gp88-gold); /* Gold for main title */
}

.page-privacy-policy__intro-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--gp88-text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* General Section Styling */
.page-privacy-policy__section {
    padding: 40px 0;
    border-bottom: 1px solid var(--gp88-divider);
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--gp88-primary);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-privacy-policy__subsection-title {
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    color: var(--gp88-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--gp88-text-main);
}

.page-privacy-policy ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--gp88-text-main);
}

.page-privacy-policy ul li {
    margin-bottom: 8px;
    color: var(--gp88-text-secondary);
}

.page-privacy-policy a {
    color: var(--gp88-gold); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.page-privacy-policy__image-content {
    width: 100%;
    max-width: 800px; /* Ensure content images are not too wide */
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: var(--gp88-button-gradient);
    color: #ffffff; /* White text for primary button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Section (if using DETAILS/SUMMARY) */
.page-privacy-policy__faq-item {
    background-color: var(--gp88-card-bg);
    border: 1px solid var(--gp88-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    font-weight: bold;
    color: var(--gp88-text-main);
    background-color: var(--gp88-deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--gp88-divider);
    list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

.page-privacy-policy__faq-question {
    flex-grow: 1;
    font-size: 1.1em;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: var(--gp88-gold);
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    color: var(--gp88-text-secondary);
    background-color: var(--gp88-card-bg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-image {
        max-width: 100%;
    }
}

@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-content {
        margin-bottom: 30px;
    }

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

    .page-privacy-policy__intro-description {
        font-size: clamp(0.9em, 3vw, 1.1em);
    }

    .page-privacy-policy__section {
        padding: 30px 0;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        max-width: 100% !important; /* Ensure full width */
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 5vw, 2em);
        margin-bottom: 20px;
    }

    .page-privacy-policy__subsection-title {
        font-size: clamp(1.2em, 4vw, 1.5em);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Mobile Image Responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Mobile Button Responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        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;
        text-align: center; /* Center text for full-width buttons */
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column; /* Stack buttons vertically */
    }
}