/* style/privacy-policy.css */

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

/* Base styles for the page content, assuming body background is dark from shared.css */
.page-privacy-policy {
    background-color: var(--bl555-win-background); /* Override if body background is different */
    color: var(--bl555-win-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Space for footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    box-sizing: border-box;
    overflow: hidden; /* Ensure content doesn't overflow */
}

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

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--bl555-win-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-privacy-policy__content-area p {
    margin-bottom: 1em;
    color: var(--bl555-win-text-main);
    font-size: 1em;
}

.page-privacy-policy__content-area ul {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 1em;
    color: var(--bl555-win-text-main);
}

.page-privacy-policy__content-area li {
    margin-bottom: 0.5em;
    color: var(--bl555-win-text-secondary);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--bl555-win-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid var(--bl555-win-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.3em, 2.5vw, 1.8em);
    color: var(--bl555-win-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

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

/* Call to Action Section */
.page-privacy-policy__cta-section {
    background: linear-gradient(90deg, var(--bl555-win-deep-green) 0%, var(--bl555-win-primary) 100%);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 1200px;
    margin: 40px auto;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__cta-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: var(--bl555-win-text-main);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    color: var(--bl555-win-text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
    background: var(--bl555-win-btn-gradient-start);
    background: linear-gradient(180deg, var(--bl555-win-btn-gradient-start) 0%, var(--bl555-win-btn-gradient-end) 100%);
    color: var(--bl555-win-text-main);
    border: 2px solid var(--bl555-win-btn-gradient-start);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, var(--bl555-win-btn-gradient-end) 0%, var(--bl555-win-btn-gradient-start) 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transform: translateY(-2px);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--bl555-win-gold);
    border: 2px solid var(--bl555-win-gold);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--bl555-win-gold);
    color: var(--bl555-win-background);
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
    transform: translateY(-2px);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: var(--bl555-win-card-bg); /* Darker background for FAQ section */
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--bl555-win-background); /* Even darker background for each item */
    border: 1px solid var(--bl555-win-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page-privacy-policy__faq-item[open] {
    background-color: var(--bl555-win-deep-green);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.1em;
    font-weight: bold;
    color: var(--bl555-win-text-main);
    cursor: pointer;
    background-color: var(--bl555-win-background);
    transition: background-color 0.3s ease;
    list-style: none; /* For details/summary */
}

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

.page-privacy-policy__faq-question:hover {
    background-color: var(--bl555-win-deep-green);
}

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

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

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

.page-privacy-policy__faq-answer {
    padding: 15px 25px 20px;
    font-size: 1em;
    color: var(--bl555-win-text-secondary);
    background-color: var(--bl555-win-deep-green);
    border-top: 1px solid var(--bl555-win-divider);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 10px 15px 50px;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

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

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Enforce minimum size */
        min-height: 200px !important; /* Enforce minimum size */
    }
    
    /* Image containers responsiveness */
    .page-privacy-policy__hero-image,
    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Buttons responsiveness */
    .page-privacy-policy__cta-buttons {
        flex-direction: column !important; /* Stack buttons vertically */
        gap: 15px !important;
    }

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

    /* Text size adjustment */
    .page-privacy-policy__main-title {
        font-size: 2em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy p,
    .page-privacy-policy li,
    .page-privacy-policy__description,
    .page-privacy-policy__cta-description,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        font-size: 15px;
    }
}

/* Ensure content area images meet min size requirements */
.page-privacy-policy__content-area img {
  min-width: 200px;
  min-height: 200px;
}