/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: var(--primary-color); /* Inherit from shared.css, which is #1A202C */
    color: #f0f0f0; /* Light text on dark background */
}

.page-privacy-policy__dark-bg {
    background-color: #1A202C;
    color: #ffffff;
}

.page-privacy-policy__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 120px 20px 80px; /* Adjusted padding-top to account for header */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.3; /* Subtle background */
}

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

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    color: #f0f0f0;
    margin-bottom: 40px;
}

.page-privacy-policy__section {
    padding: 60px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: #FFD700;
    text-align: center;
    margin-bottom: 40px;
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: #1A202C; /* Dark text on light background */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-privacy-policy__dark-bg .page-privacy-policy__sub-title {
    color: #FFD700; /* Gold text on dark background */
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit; /* Inherit from parent section */
}

.page-privacy-policy__list {
    list-style: disc inside;
    margin-bottom: 20px;
    padding-left: 20px;
    color: inherit;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: inherit;
}

.page-privacy-policy__important-note {
    font-style: italic;
    font-weight: bold;
    padding: 15px;
    background-color: rgba(255, 215, 0, 0.1);
    border-left: 5px solid #FFD700;
    margin-top: 30px;
    color: #f0f0f0;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text breaking */
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background-color: #FFD700;
    color: #1A202C;
    border: 2px solid #FFD700;
}

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

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #FFD700;
    color: #1A202C;
}

.page-privacy-policy__button-group {
    text-align: center;
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

/* Image and Text Layout */
.page-privacy-policy__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-privacy-policy__image-text-layout--reverse {
    flex-direction: row-reverse;
}

.page-privacy-policy__image-block {
    flex: 1;
    min-width: 300px;
}

.page-privacy-policy__text-block {
    flex: 2;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    margin-bottom: 40px;
}

.page-privacy-policy__contact-item {
    font-size: 1.1em;
    margin-bottom: 10px;
    color: #f0f0f0;
}

.page-privacy-policy__contact-item strong {
    color: #FFD700;
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    background-color: #ffffff;
    color: #333333;
}

.page-privacy-policy__faq-container {
    max-width: 800px;
    margin: 0 auto;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: #f0f0f0;
    color: #1A202C;
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0; /* Initial state */
    overflow: hidden;
    padding: 0 20px; /* Initial padding */
    transition: max-height 0.3s ease, padding 0.3s ease;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-privacy-policy__hero-title {
        font-size: 2.5em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__image-text-layout {
        flex-direction: column;
    }
    .page-privacy-policy__image-text-layout--reverse {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
        padding-bottom: 60px;
    }
    .page-privacy-policy__hero-title {
        font-size: 2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__section {
        padding: 40px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item,
    .page-privacy-policy__contact-item {
        font-size: 0.95em;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-privacy-policy__button-group {
        flex-direction: column;
        gap: 15px;
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__image-block,
    .page-privacy-policy__text-block,
    .page-privacy-policy__content-area,
    .page-privacy-policy__content-wrapper,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px;
    }
}

/* Ensure no filter is used on images */
.page-privacy-policy img {
    filter: none; /* Explicitly ensure no filter */
}