/* style/privacy-policy.css */

/* Variables from shared.css or global definitions */
:root {
    --primary-color: #F2C14E; /* Main brand color */
    --secondary-color: #FFD36B; /* Auxiliary brand color */
    --card-bg: #111111; /* Custom Card BG */
    --page-bg: #0A0A0A; /* Custom Background */
    --text-main-color: #FFF6D6; /* Custom Text Main */
    --border-color: #3A2A12; /* Custom Border */
    --glow-color: #FFD36B; /* Custom Glow */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom Button */
    --header-offset: 80px; /* Placeholder, actual value from shared.css */
}

.page-privacy-policy {
    background-color: var(--page-bg);
    color: var(--text-main-color); /* Main text color for the page */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

/* Fixed header spacing rule: body padding-top from shared.css, this section only small top padding */
.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--card-bg); /* Darker background for hero section */
}

.page-privacy-policy__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    color: var(--text-main-color); /* Ensure text is visible on dark background */
}

.page-privacy-policy__main-title {
    font-size: 2.5em;
    font-weight: bold;
    color: var(--secondary-color); /* Use a bright color for H1 */
    margin-bottom: 15px;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-main-color);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--button-gradient);
    color: #ffffff; /* White text on button */
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

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

.page-privacy-policy__content-section {
    padding: 60px 0;
    background-color: var(--page-bg); /* Use page background for content */
    color: var(--text-main-color);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-privacy-policy__section-title--light {
    color: var(--secondary-color); /* For titles on dark backgrounds */
}

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

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

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

.page-privacy-policy__list li {
    margin-bottom: 8px;
}

.page-privacy-policy__highlight {
    color: var(--secondary-color);
    font-weight: bold;
}

.page-privacy-policy__image-inline {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width for inline images */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    object-fit: cover;
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

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

.page-privacy-policy__contact-list li strong {
    color: var(--primary-color);
}

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

.page-privacy-policy a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

details.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    background: var(--page-bg); /* Use page-bg for individual FAQ items */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: var(--secondary-color);
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}
details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question:hover {
    background: rgba(var(--primary-color), 0.1); /* Slight hover effect */
}
.page-privacy-policy__faq-qtext {
    flex: 1;
    font-size: 1.1em;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: var(--text-main-color);
}
.page-privacy-policy__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    flex-shrink: 0;
    margin-left: 15px;
    width: 28px;
    text-align: center;
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
    padding: 0 20px 20px;
    background: var(--card-bg); /* Card background for answer */
    border-radius: 0 0 8px 8px;
    color: var(--text-main-color);
}
details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__container {
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Mobile small top padding */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-image img {
        border-radius: 4px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__description {
        font-size: 1em;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

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

    .page-privacy-policy__list {
        margin-left: 15px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    .page-privacy-policy__content-section,
    .page-privacy-policy__faq-section {
        padding: 40px 0;
    }

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

    details.page-privacy-policy__faq-item summary.page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-qtext {
        font-size: 1em;
    }
    details.page-privacy-policy__faq-item .page-privacy-policy__faq-answer {
        padding: 0 15px 15px;
    }
}