/* style/privacy-policy.css */

/* Variables and basic resets for this page's scope */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #FFFFFF;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--background-color); /* Explicitly set for clarity, though body is already white */
}

/* 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;
    text-align: center;
    padding: 60px 20px; /* Adjusted padding for top section */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--secondary-color); /* Light background for hero */
    overflow: hidden; /* Ensure no overflow from image */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 30px; /* Space between image and content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    padding: 0 20px;
}

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

.page-privacy-policy__intro-text {
    font-size: 1.15rem;
    margin-bottom: 30px;
    color: var(--text-dark);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--background-color);
    box-sizing: border-box;
}

.page-privacy-policy__container {
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
}

.page-privacy-policy__sub-title {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-privacy-policy ul {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-privacy-policy li {
    margin-bottom: 10px;
    color: var(--text-dark);
}

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

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

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

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

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-privacy-policy__contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-left: 5px solid var(--primary-color);
    border-radius: 4px;
    color: var(--text-dark);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
}

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

.page-privacy-policy__cta-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-light);
}

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

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--login-button-color); /* Using login button color for primary action */
    color: var(--text-light);
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    border: 2px solid transparent; /* For contrast */
}

.page-privacy-policy__btn-primary:hover {
    background-color: #d16e06; /* Manually darkened */
    text-decoration: none;
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #f5f5f5;
    user-select: none;
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--text-dark);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--primary-color);
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 15px 25px;
    color: var(--text-dark);
}

/* Details/Summary specific styling */
.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide for Webkit browsers */
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-privacy-policy__hero-content {
        padding: 0 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8rem, 8vw, 2.5rem); /* Adjust H1 for smaller screens */
        margin-bottom: 15px;
    }

    .page-privacy-policy__intro-text {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__content-area {
        padding: 20px 15px;
    }
    
    .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }

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

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

    /* Images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important; /* Ensure min size on mobile */
        min-height: 200px !important; /* Ensure min size on mobile */
    }
    
    /* Image containers */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__image-block,
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-section,
    .page-privacy-policy__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Buttons */
    .page-privacy-policy__btn-primary {
        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__cta-section {
        padding: 30px 15px;
    }

    .page-privacy-policy__cta-title {
        font-size: 1.5rem;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 10px 20px;
    }
}