/* style/privacy-policy.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #f0f0f0;
    --button-login: #EA7C07;
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Assuming body is dark from shared.css */
    background-color: transparent; /* Body background is from shared.css */
    padding-bottom: 60px; /* Space above footer */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    padding: 80px 0;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a7bb0 100%);
    color: var(--secondary-color);
    text-align: center;
    overflow: hidden;
}

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

.page-privacy-policy__intro-text {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    line-height: 1.8;
}

.page-privacy-policy__hero-image-wrapper {
    margin-top: 30px;
    width: 100%;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

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

.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: transparent; /* Assume dark background from shared.css */
    color: var(--text-light);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 3px solid var(--primary-color);
    padding-bottom: 15px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__sub-section-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 35px;
    margin-bottom: 15px;
    padding-left: 10px;
    border-left: 5px solid var(--primary-color);
}

.page-privacy-policy p {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
    color: var(--text-light);
}

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

.page-privacy-policy__list li {
    margin-bottom: 8px;
    font-size: 1.05em;
    line-height: 1.6;
}

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

.page-privacy-policy__link:hover {
    color: var(--secondary-color);
}

.page-privacy-policy__button-group {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary {
    background-color: var(--button-login); /* Login color for primary action */
    color: var(--secondary-color);
    border: 2px solid var(--button-login);
}

.page-privacy-policy__btn-primary:hover {
    background-color: #c96700; /* Darken login color */
    border-color: #c96700;
    transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.page-privacy-policy__image-wrapper {
    margin: 40px auto;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

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

/* FAQ Section */
.page-privacy-policy__faq-section {
    margin-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 20px;
}

.page-privacy-policy__faq-item {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.15);
    transition: background-color 0.3s ease;
    color: var(--secondary-color);
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.25);
}

.page-privacy-policy__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--secondary-color);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    line-height: 1;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
    color: var(--secondary-color);
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    color: var(--text-light);
}

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

/* Ensure all images maintain original color */
.page-privacy-policy img {
    filter: none; /* No CSS filters to change image color */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.6em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding: 60px 0;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header offset */
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
        line-height: 1.3;
    }
    .page-privacy-policy__intro-text {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-top: 40px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__sub-section-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 10px;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }
    .page-privacy-policy__list li {
        font-size: 0.95em;
    }
    
    /* Image responsiveness for content area */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    
    /* Button responsiveness */
    .page-privacy-policy__button-group {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 0 15px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
    }
    .page-privacy-policy__faq-title {
        font-size: 1.1em;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 1.5em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 10px 20px 20px 20px;
    }
    .page-privacy-policy__container {
        padding: 0 15px;
    }
}