/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --bg-main: #08160F; /* Background */
    --bg-card: #11271B; /* Card BG */
    --text-main: #F2FFF6; /* Text Main */
    --text-secondary: #A7D9B8; /* Text Secondary */
    --border-color: #2E7A4E; /* Border */
    --color-glow: #57E38D; /* Glow */
    --color-gold: #F2C14E; /* Gold */
    --color-divider: #1E3A2A; /* Divider */
    --color-deep-green: #0A4B2C; /* Deep Green */

    /* Button Gradient */
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Main text color for dark background */
    background-color: var(--bg-main); /* Body background from shared.css is var(--bg-color) which is #08160F */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column; /* Enforce column for image then text */
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--bg-main);
    overflow: hidden; /* Ensure no overflow from image */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    margin-bottom: 20px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-weight: bold;
    color: var(--text-main);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    max-width: 100%; /* Ensure H1 doesn't cause overflow */
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    /* No fixed font-size for H1 as per rules */
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--bg-main);
    color: var(--text-main);
}

.page-privacy-policy__dark-section {
    background-color: var(--bg-main);
    color: var(--text-main);
}

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

.page-privacy-policy__section-title {
    color: var(--color-primary);
    font-size: 2.2em;
    margin-top: 40px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 10px;
}

.page-privacy-policy h3 {
    color: var(--color-secondary);
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-privacy-policy__info-collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 40px;
}

.page-privacy-policy__card {
    background-color: var(--bg-card); /* Card BG */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-privacy-policy__card-title {
    color: var(--color-glow);
    font-size: 1.4em;
    margin-bottom: 10px;
}

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

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

.page-privacy-policy__list li strong {
    color: var(--text-main);
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__contact-link {
    color: var(--color-gold);
    text-decoration: underline;
}

.page-privacy-policy__contact-link:hover {
    color: var(--color-glow);
}

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

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

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: var(--color-glow);
    font-size: 1.1em;
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--border-color);
}

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

.page-privacy-policy__faq-question {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

.page-privacy-policy__faq-item[open] summary {
    border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    color: var(--text-main);
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    color: var(--text-secondary);
    background-color: rgba(17, 39, 27, 0.7); /* Slightly lighter than card bg */
    border-top: 1px solid var(--border-color);
}

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

/* CTA Section */
.page-privacy-policy__cta-section {
    text-align: center;
    padding: 60px 20px;
    background-color: var(--bg-main);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    min-width: 180px;
    text-align: center;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: var(--btn-gradient);
    color: var(--text-main); /* White text on dark button */
    border: 2px solid transparent;
    box-shadow: 0 4px 10px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(42, 209, 111, 0.6);
    filter: brightness(1.1);
}

.page-privacy-policy__btn-secondary {
    background: transparent;
    color: var(--color-primary); /* Brand color text on transparent button */
    border: 2px solid var(--color-primary);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-3px);
    background-color: var(--color-primary);
    color: var(--text-main);
    box-shadow: 0 4px 10px rgba(17, 168, 78, 0.4);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
}

@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; /* body already handles header offset */
    }

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

    .page-privacy-policy__main-title {
        font-size: 2em; /* Smaller H1 for mobile */
        margin-bottom: 10px;
    }

    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__content-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

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

    .page-privacy-policy h3 {
        font-size: 1.3em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__info-collection-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .page-privacy-policy__card {
        padding: 20px;
    }

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

    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        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__faq-item summary {
        padding: 15px;
        font-size: 1em;
    }

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