/* style/privacy-policy.css */

:root {
    --primary-color: #003366;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-dark: #0d0d0d; /* Assuming --dark-bg from shared.css is similar */
    --border-color: #e0e0e0;
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-privacy-policy__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-privacy-policy__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 3;
    color: var(--text-light);
    max-width: 900px;
    padding: 20px;
}

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

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--primary-color); /* Use primary color for main content background */
    color: var(--text-light); /* Light text on dark background */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    margin-top: -80px; /* Overlap with hero section slightly */
    position: relative;
    z-index: 4;
}

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

.page-privacy-policy__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.page-privacy-policy__sub-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    padding-left: 10px;
    border-left: 4px solid var(--secondary-color);
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

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

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

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

.page-privacy-policy__contact-link {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: #ffd700;
    text-decoration: underline;
}

.page-privacy-policy__cta-wrapper {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 40px;
}

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

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

.page-privacy-policy__faq-title {
    margin-top: 60px;
}

.page-privacy-policy__faq-container {
    margin-top: 30px;
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--text-light);
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.05);
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-text {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(0deg); /* "+" becomes "-" (visually) */
}

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: rgba(255, 255, 255, 0.8);
}

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

.page-privacy-policy__faq-answer p {
    margin-bottom: 10px;
    font-size: 1em;
}

/* --- Responsive Design --- */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 3em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__content-area {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        height: 500px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
        line-height: 1.2;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -60px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list li,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 1.3em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px;
    }

    /* Enforce image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__cta-wrapper,
    .page-privacy-policy__faq-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
    
    .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: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__hero-section {
        height: 400px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-question {
        font-size: 1em;
        padding: 12px;
    }
    .page-privacy-policy__faq-toggle {
        font-size: 1.2em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 12px;
    }
    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 12px;
    }
}