/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-bg-primary: #08160F;
    --page-card-bg: #11271B;
    --page-text-main: #F2FFF6;
    --page-text-secondary: #A7D9B8;
    --page-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-border-color: #2E7A4E;
    --page-glow-color: #57E38D;
    --page-gold-color: #F2C14E;
    --page-divider-color: #1E3A2A;
    --page-deep-green: #0A4B2C;
    --header-offset: 122px; /* Default value, shared.css body padding-top should use this */
}

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

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    padding-bottom: 40px;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 20px;
    color: var(--page-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 */
    font-weight: 700;
    color: var(--page-text-main);
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--page-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--page-btn-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(34, 199, 104, 0.4);
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(34, 199, 104, 0.6);
}

.page-privacy-policy__cta-button--secondary {
    background: transparent;
    border: 2px solid var(--page-glow-color);
    color: var(--page-glow-color);
    box-shadow: none;
}

.page-privacy-policy__cta-button--secondary:hover {
    background: rgba(87, 227, 141, 0.1);
    box-shadow: 0 0 10px rgba(87, 227, 141, 0.5);
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--page-divider-color);
}

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

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

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--page-glow-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
    line-height: 1.3;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--page-text-main);
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy__text-block {
    font-size: 1.05rem;
    color: var(--page-text-secondary);
    margin-bottom: 15px;
}

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1rem;
}

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

.page-privacy-policy__link {
    color: var(--page-glow-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-privacy-policy__contact-list {
    list-style-type: none;
    padding: 0;
    margin-top: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
    color: var(--page-text-main);
}

.page-privacy-policy__contact-list li a {
    color: var(--page-glow-color);
    text-decoration: none;
}

.page-privacy-policy__contact-list li a:hover {
    text-decoration: underline;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--page-bg-primary);
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

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

.page-privacy-policy__faq-item[open] {
    background-color: var(--page-deep-green);
    border-color: var(--page-glow-color);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--page-text-main);
    cursor: pointer;
    user-select: none;
    position: relative;
    list-style: none; /* For details/summary */
}

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    padding-right: 15px;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    color: var(--page-glow-color);
    transition: transform 0.3s ease;
}

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

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

/* Responsive styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }
    .page-privacy-policy__subtitle {
        font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
    }
    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 2.2vw, 1.6rem);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        min-height: 400px;
        padding-bottom: 30px;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2rem !important;
    }
    .page-privacy-policy__subtitle {
        font-size: 1rem !important;
    }
    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-privacy-policy__content-section {
        padding: 40px 0;
    }
    .page-privacy-policy__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8rem !important;
        margin-bottom: 30px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4rem !important;
        margin-top: 25px;
        margin-bottom: 15px;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__list li,
    .page-privacy-policy__faq-question,
    .page-privacy-policy__faq-answer {
        font-size: 0.95rem !important;
    }

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

    /* Button responsiveness */
    .page-privacy-policy__cta-button,
    .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-left: 15px;
        padding-right: 15px;
    }
    .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;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column; 
    }

    /* FAQ items */
    .page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
}