/* style/privacy-policy.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-color-light: #f5f5f5;
    --button-login-color: #EA7C07;
    --black-color: #000000;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color-light); /* Assuming shared.css body background is light */
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* body padding-top handled by shared.css */
    background-color: var(--primary-color);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.2; /* Slightly dimmed for text readability */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.page-privacy-policy__main-title {
    font-weight: bold;
    color: var(--text-color-light);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    /* No fixed font-size, rely on clamp for responsiveness if needed, but not explicitly set here to avoid conflict */
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: var(--text-color-light);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: 2px solid var(--text-color-light);
}

.page-privacy-policy__btn-primary:hover {
    background-color: #1a8cc4; /* Slightly darker primary color */
    transform: translateY(-2px);
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--secondary-color);
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
    margin-bottom: 20px;
}

.page-privacy-policy__section-intro,
.page-privacy-policy__data-collection,
.page-privacy-policy__data-usage,
.page-privacy-policy__data-sharing,
.page-privacy-policy__cookies-section,
.page-privacy-policy__user-rights,
.page-privacy-policy__data-security-measures,
.page-privacy-policy__policy-changes,
.page-privacy-policy__contact-us-section,
.page-privacy-policy__faq-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.page-privacy-policy__section-intro:last-of-type,
.page-privacy-policy__data-collection:last-of-type,
.page-privacy-policy__data-usage:last-of-type,
.page-privacy-policy__data-sharing:last-of-type,
.page-privacy-policy__cookies-section:last-of-type,
.page-privacy-policy__user-rights:last-of-type,
.page-privacy-policy__data-security-measures:last-of-type,
.page-privacy-policy__policy-changes:last-of-type,
.page-privacy-policy__contact-us-section:last-of-type,
.page-privacy-policy__faq-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.page-privacy-policy__section-title {
    color: var(--primary-color);
    font-size: 2.2em;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-privacy-policy__subsection-title {
    color: var(--black-color);
    font-size: 1.5em;
    margin-top: 25px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__section-text {
    margin-bottom: 15px;
    font-size: 1em;
    color: var(--text-color-dark);
}

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

.page-privacy-policy__cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-privacy-policy__card {
    background-color: var(--background-color-light);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    color: var(--text-color-dark);
    transition: transform 0.3s ease;
}

.page-privacy-policy__card:hover {
    transform: translateY(-5px);
}

.page-privacy-policy__card-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__card-text {
    font-size: 0.95em;
}

.page-privacy-policy__list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-privacy-policy__list-item {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color-dark);
}

.page-privacy-policy__list-item::before {
    content: '✅';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-privacy-policy__list-title {
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.page-privacy-policy__list-text {
    font-size: 0.95em;
}

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

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

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

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

.page-privacy-policy__contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

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

.page-privacy-policy__contact-button {
    margin-top: 20px;
}

.page-privacy-policy__faq-section {
    margin-top: 40px;
}

.page-privacy-policy__faq-list {
    margin-top: 20px;
}

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

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

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

.page-privacy-policy__faq-question::-webkit-details-marker {
    display: none;
}

details > summary {
    list-style: none;
}

details > summary::-webkit-details-marker {
    display: none;
}

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

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: '−';
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-color-dark);
    font-size: 0.95em;
    line-height: 1.5;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

/* --- Responsive Styles --- */

@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__content-area {
        padding: 40px 20px;
    }
    .page-privacy-policy__cards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 5vw, 2.5em); /* Using clamp for H1 font size */
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__btn-primary {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__subsection-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__cards-grid {
        grid-template-columns: 1fr;
    }
    .page-privacy-policy__list-item {
        padding-left: 25px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }

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

    .page-privacy-policy__hero-image,
    .page-privacy-policy__image-content {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__data-collection,
    .page-privacy-policy__data-usage,
    .page-privacy-policy__data-sharing,
    .page-privacy-policy__cookies-section,
    .page-privacy-policy__user-rights,
    .page-privacy-policy__data-security-measures,
    .page-privacy-policy__policy-changes,
    .page-privacy-policy__contact-us-section,
    .page-privacy-policy__faq-section,
    .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; /* Ensure no horizontal scroll */
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button responsive rules */
    .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;
        text-align: center;
    }

    .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;
        overflow: hidden !important;
    }

    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}