/* style/privacy-policy.css */

:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-dark: #0A0A0A;
    --text-light: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    --header-offset: 122px; /* Default for fixed header */
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    color: var(--text-light); /* Main text color for dark background */
    background-color: var(--background-dark); /* Overall page background */
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 0 60px 0; /* Rely on body padding-top for header offset, add 10px for visual spacing */
    text-align: center;
    background-color: var(--background-dark);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    min-height: 200px; /* Ensure minimum size */
}

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

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive font size */
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

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

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-dark);
}

.page-privacy-policy__article {
    margin-bottom: 60px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--secondary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-privacy-policy__text-block a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-privacy-policy__text-block a:hover {
    color: var(--glow-color);
}

.page-privacy-policy__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    min-width: 200px;
    min-height: 200px;
}

/* CTA Button Styles */
.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.6);
    opacity: 0.9;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    background-color: var(--background-dark);
}

.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;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.page-privacy-policy__faq-title {
    margin: 0;
    color: var(--primary-color);
    font-size: 1em; /* Relative to parent font-size */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show all content */
    padding: 15px 25px 20px 25px;
}

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

/* CTA Banner Section */
.page-privacy-policy__cta-banner {
    background-color: var(--primary-color);
    padding: 60px 20px;
    text-align: center;
    border-radius: 10px;
    max-width: 1200px;
    margin: 60px auto;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glow-color);
}

.page-privacy-policy__cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    color: #000000; /* Dark text for light background */
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__cta-text {
    font-size: 1.2em;
    color: #333333; /* Dark text for light background */
    margin-bottom: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em);
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__cta-title {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Ensure minimal top padding */
        padding-bottom: 40px;
    }
    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }
    .page-privacy-policy__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 6vw, 2.2em);
        margin-bottom: 15px;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__cta-banner {
        padding-left: 15px;
        padding-right: 15px;
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }
    .page-privacy-policy__article {
        padding: 20px;
        margin-bottom: 40px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    /* Images responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
        box-sizing: border-box !important;
        min-width: 200px;
        min-height: 200px;
    }

    /* Buttons responsive */
    .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;
    }

    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px 20px 20px;
    }
    .page-privacy-policy__cta-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__cta-text {
        font-size: 1em;
    }
}