/* style/privacy-policy.css */

/* Custom Properties based on color scheme */
:root {
    --bg-primary: #08160F; /* Background */
    --card-bg: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button */
    --border-color: #2E7A4E; /* Border */
    --glow-color: #57E38D; /* Glow */
    --gold-color: #F2C14E; /* Gold */
    --divider-color: #1E3A2A; /* Divider */
    --deep-green: #0A4B2C; /* Deep Green */
}

/* Page base styles - Ensure high contrast with dark body background */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Main text color for dark background */
    background-color: var(--bg-primary); /* Assuming body background is handled by shared.css var(--bg-color) which will be var(--bg-primary) */
    line-height: 1.6;
    padding-bottom: 60px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for the first section, body handles header offset */
    overflow: hidden; /* Ensure content doesn't spill */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    text-align: center;
    margin-bottom: 30px;
    z-index: 1; /* Ensure text is above image if layered */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem); /* Responsive font size for H1 */
    color: var(--gold-color); /* Use gold for prominence */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.page-privacy-policy__intro-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 1200px; /* Ensure image doesn't get too wide on very large screens */
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    margin-top: 30px; /* Separate image from text, ensuring 'image above text' DOM order */
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--card-bg); /* Darker background for content sections */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-main);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--divider-color);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

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

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

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

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Contact Buttons */
.page-privacy-policy__contact-buttons {
    display: flex;
    justify-content: center;
    margin-top: 40px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--btn-gradient);
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border: none;
    cursor: pointer;
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

.page-privacy-policy__faq-item {
    background-color: var(--deep-green); /* Slightly different dark background for FAQ items */
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

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

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

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' or similar */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 5vw, 3rem);
    }
    .page-privacy-policy__intro-text {
        font-size: 1rem;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 30px 15px;
        margin: 30px auto;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.5rem, 4vw, 2.2rem);
    }
    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 3vw, 1.8rem);
    }
}

@media (max-width: 768px) {
    /* General mobile padding */
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }
    .page-privacy-policy__hero-content {
        margin-bottom: 20px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 15px;
    }
    .page-privacy-policy__intro-text {
        font-size: 0.95rem;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Containers responsiveness */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__contact-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .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: 12px 20px !important;
        font-size: 1rem !important;
    }

    .page-privacy-policy__contact-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .page-privacy-policy__faq-item summary {
        font-size: 1rem;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
        font-size: 0.95rem;
    }
}