/* style/privacy-policy.css */

/* Variables */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #000080; /* Dark Blue */
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f8f9fa;
    --bg-dark: #0d0d0d; /* Assuming shared.css body background is dark */
    --border-color: #e0e0e0;
    --padding-section: 60px 20px;
    --max-width-content: 1200px;
}

/* Base styles for the page content */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherited from shared.css body */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--padding-section);
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

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

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

.page-privacy-policy__hero-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    border: none;
    cursor: pointer;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

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

.page-privacy-policy__content-area {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: var(--padding-section);
    background-color: var(--bg-light); /* Light background for content */
    color: var(--text-dark); /* Dark text for light background */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: -60px; /* Overlap with hero for visual flow */
    position: relative;
    z-index: 2;
}

.page-privacy-policy__container {
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    font-size: 2em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    font-size: 1.05em;
    line-height: 1.7;
}

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

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

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

.page-privacy-policy__text-block a,
.page-privacy-policy__list-item a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-privacy-policy__text-block a:hover,
.page-privacy-policy__list-item a:hover {
    color: var(--primary-color);
}

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

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

.page-privacy-policy__faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: #f0f2f5;
    color: var(--secondary-color);
    font-weight: bold;
    border-bottom: 1px solid var(--border-color);
}

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

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

.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;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-dark);
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.4em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure space for fixed header on mobile */
    }
    .page-privacy-policy__hero-title {
        font-size: 2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        width: 100% !important; /* Ensure full width on mobile */
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -30px; /* Adjust overlap for mobile */
    }
    .page-privacy-policy__container {
        padding: 0;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__list {
        margin-left: 15px;
    }
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-privacy-policy__faq-question {
        padding: 15px;
    }
    .page-privacy-policy__faq-answer {
        padding: 15px;
    }
    /* Ensure content containers also adapt */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    .page-privacy-policy__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Consistent header offset */
    }
    .page-privacy-policy__video,
    .page-privacy-policy video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
        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-button,
    .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;
    }
    .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; 
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__faq-heading {
        font-size: 1em;
    }
}