/* style/privacy-policy.css */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --background-dark: #0A0A0A;
    --card-background: #111111;
    --text-light: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Main text color for dark background */
    background-color: var(--background-dark); /* Inherited from body, but explicitly set for scope */
}

.page-privacy-policy__hero-section {
    background: var(--button-gradient);
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column; /* Default to column for image-then-text */
    align-items: center;
    gap: 40px;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 800px; /* Adjust as needed */
    margin-top: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3.5em);
    color: #ffffff;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: #ffffff;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__btn-secondary {
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    background: var(--primary-color);
    color: #ffffff;
}

.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: var(--background-dark);
}

.page-privacy-policy__article {
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.page-privacy-policy__text-block {
    margin-bottom: 20px;
}

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

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

.page-privacy-policy a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

/* FAQ Specific Styles - required for JS functionality */
.page-privacy-policy__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    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 content */
    padding: 15px 20px 20px 20px;
}

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

/* Responsive Design */
@media (min-width: 769px) {
    .page-privacy-policy__container {
        flex-direction: row; /* Desktop: image and content side-by-side */
        align-items: flex-start;
        text-align: left;
    }

    .page-privacy-policy__hero-content {
        flex: 1;
        padding-right: 40px;
    }

    .page-privacy-policy__hero-image-wrapper {
        flex: 1;
        margin-top: 0;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: auto; /* Buttons can take natural width on desktop */
    }

    .page-privacy-policy__cta-buttons {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile padding-top */
        padding-bottom: 40px;
    }

    .page-privacy-policy__container {
        padding: 0 15px;
        gap: 20px;
    }

    .page-privacy-policy__article {
        padding: 25px;
        margin-bottom: 25px;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.5em;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

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

    .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: 0;
        padding-right: 0;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }
}