/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-bg: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
    --button-gradient-start: #2AD16F;
    --button-gradient-end: #13994A;
}

/* Base styles for the page */
.page-privacy-policy {
    background-color: var(--page-bg); /* Use the specified background color */
    color: var(--text-main); /* Default text color for the page */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Ensure body padding-top is handled by shared.css */
/* No padding-top: var(--header-offset) here */

/* Hero Section */
.page-privacy-policy__hero-section {
    background: var(--card-bg); /* Dark background for hero */
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding as per instruction, body handles main offset */
    text-align: center;
    border-bottom: 1px solid var(--divider-color);
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add horizontal padding for content */
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.5em); /* Responsive font size */
    color: var(--gold-color); /* Gold color for main title */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.4); /* Subtle glow */
}

.page-privacy-policy__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    color: var(--text-secondary); /* Secondary text color */
    max-width: 900px;
    margin: 0 auto 40px auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    background-color: var(--page-bg); /* Main content area background */
    color: var(--text-main); /* Main text color */
    padding: 40px 0;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 2.5vw, 2.5em);
    color: var(--gold-color); /* Gold for section titles */
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--divider-color);
}

.page-privacy-policy__text-block {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--text-main);
}

.page-privacy-policy__list-item strong {
    color: var(--gold-color); /* Highlight strong text in lists */
}

.page-privacy-policy__text-block a {
    color: var(--glow-color); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-block a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Image styles for content area */
.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin: 0 auto; /* Center image */
    min-width: 200px; /* Min size requirement */
    min-height: 200px; /* Min size requirement */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-privacy-policy__faq-item summary:hover {
    background-color: var(--border-color);
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--gold-color); /* Gold color for FAQ questions */
}

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

.page-privacy-policy__faq-answer {
    padding: 15px 25px;
    font-size: 0.95em;
    color: var(--text-secondary); /* Secondary text color for answers */
    border-top: 1px solid var(--border-color);
}

/* CTA Section */
.page-privacy-policy__cta-section {
    background: linear-gradient(90deg, #11A84E, #22C768); /* Use brand colors for CTA background */
    padding: 60px 20px;
    text-align: center;
    margin-top: 40px;
}

.page-privacy-policy__cta-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.page-privacy-policy__cta-title {
    font-size: clamp(2em, 3vw, 3em);
    color: #fff; /* White text for CTA title */
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-description {
    font-size: clamp(1em, 1.3vw, 1.1em);
    color: #e0e0e0; /* Lighter white for description */
    max-width: 800px;
    margin-bottom: 30px;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    justify-content: center;
    width: 100%; /* Ensure container takes full width for responsive buttons */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 180px; /* Ensure minimum width for buttons */
    text-align: center;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, var(--button-gradient-start) 0%, var(--button-gradient-end) 100%);
    color: #ffffff; /* White text for primary button */
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: #ffffff; /* White text for secondary button */
    border: 2px solid #ffffff; /* White border */
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    background: #ffffff;
    color: var(--button-gradient-end); /* Green text on white hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive Styles */
@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 on mobile */
    }

    .page-privacy-policy__main-title {
        font-size: 2.2em; /* Adjust for mobile */
    }

    .page-privacy-policy__description {
        font-size: 1em;
    }

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

    .page-privacy-policy__container {
        padding: 0 15px !important; /* Ensure padding on mobile */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

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

    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 10px 20px;
    }

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

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

    .page-privacy-policy__cta-description {
        font-size: 0.95em;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important; /* Full width buttons on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}