/* style/privacy-policy.css */

:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --bg-color-dark: #121212;
    --border-color-light: #e0e0e0;
}

.page-privacy-policy {
    color: var(--text-color-light); /* Body background is dark, so text should be light */
    background-color: var(--bg-color-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Ensure space above footer */
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    padding: 20px;
}

.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.5);
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1em;
    border: none;
    cursor: pointer;
}

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

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.15;
    overflow: hidden;
}

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

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for content sections */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: 40px;
}

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

.page-privacy-policy__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-color-light);
}

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

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

.page-privacy-policy__list-item strong {
    color: var(--secondary-color);
}

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

.page-privacy-policy a:hover {
    color: #e6c200;
    text-decoration: underline;
}

.page-privacy-policy__image-container {
    margin: 30px 0;
    text-align: center;
}

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

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

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

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

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

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

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

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Change + to X or - */
}

.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-color-light);
}

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

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

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-privacy-policy__main-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__intro-text {
        font-size: 1em;
    }
    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-privacy-policy__content-area {
        padding: 20px 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__text-block, .page-privacy-policy__list-item {
        font-size: 0.95em;
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }
    .page-privacy-policy__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }
    
    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-privacy-policy__image-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

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