/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #f0f0f0; /* Light text for overall page, assuming body background is dark */
    background-color: #0a0a0a; /* Matches body background */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    flex-direction: column; /* Allow content to stack */
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #26A9E0 100%); /* Brand color gradient */
    padding: 80px 20px; /* Internal padding */
    color: #ffffff;
    overflow: hidden;
}

.page-privacy-policy__hero-content {
    max-width: 800px;
    z-index: 10;
    position: relative;
    margin-bottom: 40px; /* Space between text and image if image is below */
}

.page-privacy-policy__main-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.2; /* Make background image subtle */
    z-index: 1; /* Ensure content is above */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Main Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: #ffffff; /* Light background for readability of long text */
    color: #333333; /* Dark text for contrast on light background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transform: translateY(-50px); /* Lift slightly to overlap hero section */
    position: relative;
    z-index: 20;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: #26A9E0; /* Brand color for titles */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
}

.page-privacy-policy h3 { /* For FAQ titles */
    font-size: 1.3em;
    color: #333333;
    margin-bottom: 10px;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
}

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

.page-privacy-policy__list-item strong {
    color: #26A9E0;
}

.page-privacy-policy__content-area a {
    color: #26A9E0;
    text-decoration: underline;
}

.page-privacy-policy__content-area a:hover {
    color: #1a7bb0;
}

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

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Call to Action Button */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: #EA7C07; /* Login color for primary action */
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
}

.page-privacy-policy__btn-primary:hover {
    background-color: #d16f06;
}

/* CTA Section */
.page-privacy-policy__cta-section {
    text-align: center;
    margin-top: 60px;
    padding: 40px 20px;
    background-color: #f8f8f8;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.page-privacy-policy__cta-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    color: #333333;
    font-weight: bold;
}

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

.page-privacy-policy__faq-item {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: #ffffff;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: #f0f0f0;
}

.page-privacy-policy__faq-title {
    margin: 0;
    font-size: 1.15em;
    color: #26A9E0;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
    line-height: 1;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: #f9f9f9;
    color: #555555;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
        padding-bottom: 60px;
        padding-left: 15px;
        padding-right: 15px;
        min-height: 400px;
        box-sizing: border-box !important; /* Ensure box-sizing for containers */
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

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

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

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        transform: translateY(-30px);
        box-sizing: border-box !important; /* Ensure box-sizing for containers */
        max-width: 100% !important;
        width: 100% !important;
        overflow: hidden !important;
    }

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

    .page-privacy-policy h3 {
        font-size: 1.1em;
    }

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

    /* Button responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__cta-button {
        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-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }

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

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    
    .page-privacy-policy__faq-title {
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px 20px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}