/* style/privacy-policy.css */

/* Variables for consistent styling */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #1A1A1A; /* Dark Grey */
    --text-color-light: #F0F0F0; /* Light text for dark backgrounds */
    --text-color-dark: #333333; /* Dark text for light backgrounds */
    --background-light: #FFFFFF; /* White */
    --background-dark: #121212; /* Very Dark Grey/Black for contrast */
    --accent-color: #000080; /* Dark Blue for subtle accent */
    --border-color: #E0E0E0;
}

.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-light);
}

.page-privacy-policy__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color-light);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.page-privacy-policy__hero p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-color-light);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--text-color-light);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
    background-color: #000066;
    transform: translateY(-2px);
}

.page-privacy-policy__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__section:last-of-type {
    border-bottom: none;
}

.page-privacy-policy__section h2 {
    font-size: 2.5em;
    color: var(--secondary-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy__section h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.page-privacy-policy__section h3 {
    font-size: 1.8em;
    color: var(--accent-color);
    margin-top: 40px;
    margin-bottom: 20px;
    border-left: 5px solid var(--primary-color);
    padding-left: 15px;
}

.page-privacy-policy__section p {
    margin-bottom: 15px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-privacy-policy__section ul {
    list-style: disc inside;
    margin-bottom: 15px;
    padding-left: 20px;
}

.page-privacy-policy__section ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

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

.page-privacy-policy__section a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* FAQ Specific Styling */
.page-privacy-policy__faq .faq-list {
    margin-top: 30px;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--background-light);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: var(--background-light);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--secondary-color);
    border-left: none;
    padding-left: 0;
}

.faq-toggle {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    color: var(--accent-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease-out;
    padding: 0 25px;
    background-color: #f9f9f9;
    color: var(--text-color-dark);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Adjust as needed to fit content */
    padding: 20px 25px;
}

.faq-answer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero {
        padding: 60px 20px;
    }

    .page-privacy-policy__hero h1 {
        font-size: 2.5em;
    }

    .page-privacy-policy__hero p {
        font-size: 1em;
    }

    .page-privacy-policy__section {
        padding: 40px 0;
    }

    .page-privacy-policy__section h2 {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-privacy-policy__section h3 {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-privacy-policy__section p,
    .page-privacy-policy__section ul li {
        font-size: 0.95em;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-toggle {
        font-size: 1.5em;
    }

    .faq-answer {
        padding: 0 20px;
    }

    .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero h1 {
        font-size: 2em;
    }

    .page-privacy-policy__hero p {
        font-size: 0.9em;
    }

    .page-privacy-policy__cta-button {
        padding: 12px 25px;
        font-size: 0.9em;
    }

    .page-privacy-policy__section h2 {
        font-size: 1.8em;
    }

    .page-privacy-policy__section h3 {
        font-size: 1.3em;
    }

    .faq-question h3 {
        font-size: 1em;
    }

    .faq-toggle {
        font-size: 1.3em;
    }
}