/* style/privacy-policy.css */

/* Variables and Base Styles */
:root {
    --primary-color: #26A9E0; /* Main brand color */
    --secondary-color: #FFFFFF; /* Auxiliary color */
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --background-light: #FFFFFF;
    --background-dark: #000000; /* Assuming --black-color from shared.css is black */
    --button-login-color: #EA7C07;
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for potentially dark body background */
    background-color: var(--background-dark); /* Assuming body background is dark */
    padding-bottom: 40px; /* Ensure content doesn't stick to footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 60px 20px; /* Adjusted padding */
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 20px; /* Space between image and text */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent overlay for text readability */
    border-radius: 10px;
    box-sizing: border-box;
}

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

.page-privacy-policy__subtitle {
    font-size: clamp(1em, 2vw, 1.3em); /* Responsive font size */
    color: var(--secondary-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    background-color: var(--background-light); /* White background for main content */
    color: var(--text-dark); /* Dark text on white background for readability */
    padding: 60px 20px;
    box-sizing: border-box;
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    line-height: 1.3;
}

.page-privacy-policy__paragraph {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-privacy-policy__link:hover {
    color: #1a7ea8; /* Darker shade of primary-color */
    text-decoration: none;
}

/* Images within content */
.page-privacy-policy__image-wrapper {
    width: 100%;
    max-width: 800px; /* Example max-width for content images */
    margin: 30px auto;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
    background-color: var(--primary-color);
    padding: 50px 20px;
    text-align: center;
    margin-top: 50px;
    border-radius: 10px;
    color: var(--text-light);
}

.page-privacy-policy__cta-text {
    font-size: 1.8em;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.4;
    color: var(--text-light);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    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: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons don't overflow */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: var(--button-login-color); /* Specific color for login/register */
    color: var(--text-light);
    border: 2px solid var(--button-login-color);
}

.page-privacy-policy__btn-primary:hover {
    background-color: #b96306; /* Darker shade of button-login-color */
    border-color: #b96306;
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: var(--background-light);
    color: var(--text-dark);
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    font-weight: bold;
    font-size: 1.15em;
    cursor: pointer;
    list-style: none; /* Hide default marker */
    color: var(--primary-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;
}

.page-privacy-policy__faq-qtext {
    color: var(--text-dark); /* Ensure question text is dark on light background */
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
    color: var(--primary-color); /* Toggle icon color */
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px 20px;
    font-size: 1em;
    line-height: 1.6;
    border-top: 1px solid #eee;
    color: var(--text-dark); /* Ensure answer text is dark on light background */
}

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body handles --header-offset */
    }

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

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

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

    .page-privacy-policy__container {
        padding: 0; /* Remove horizontal padding, handled by section */
    }

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

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }

    .page-privacy-policy__cta-text {
        font-size: 1.4em;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

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

    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__faq-list {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1em;
        padding: 12px 15px;
    }

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

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none !important;
}

/* Desktop video container width (if any video) */
.page-privacy-policy__video-container { /* This class is not in the HTML for this page, but keeping for general compliance check */
    width: 100%;
    max-width: 1200px; /* Example max-width */
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}