/* style/privacy-policy.css */

/* Variables and Base Styles for Dark Background */
:root {
    --primary-color: #F2C14E; /* Main Brand Color */
    --secondary-color: #FFD36B; /* Accent Color / Glow */
    --card-bg: #111111; /* Card Background */
    --background-dark: #0A0A0A; /* Page Background */
    --text-light: #FFF6D6; /* Main Text Color */
    --border-color: #3A2A12; /* Border Color */
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

/* Page-level container and text color for dark body background */
.page-privacy-policy {
    background-color: var(--background-dark); /* Ensure it matches the assumed body background */
    color: var(--text-light); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px 40px; /* Adjusted padding for better visual flow */
    padding-top: 10px; /* Small top padding as per instruction */
    text-align: center;
    overflow: hidden; /* Ensure content does not overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    max-height: 600px; /* Limit height for hero image */
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and text content */
    border-radius: 8px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive H1 font size */
    color: var(--secondary-color); /* Use accent color for main title */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-light);
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 0;
}

.page-privacy-policy__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-privacy-policy__light-bg {
    background-color: var(--card-bg); /* Use card background for light section to maintain contrast */
    color: var(--text-light);
}

.page-privacy-policy__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    line-height: 1.3;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--secondary-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-light); /* Ensure paragraphs use light text */
}

.page-privacy-policy a {
    color: var(--secondary-color); /* Link color */
    text-decoration: underline;
}

.page-privacy-policy a:hover {
    color: var(--primary-color);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    max-width: 800px; /* Max width for content images */
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--text-light);
}

/* FAQ Section */
.page-privacy-policy__faq-section {
    padding: 60px 0;
    background-color: var(--card-bg); /* Use card background for FAQ section */
}

.page-privacy-policy__faq-list {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.page-privacy-policy__faq-item {
    border-bottom: 1px solid var(--border-color);
}

.page-privacy-policy__faq-item:last-child {
    border-bottom: none;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    background-color: var(--card-bg);
    color: var(--text-light);
    transition: background-color 0.3s ease;
}

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

.page-privacy-policy__faq-title {
    font-size: 1.2em;
    margin: 0;
    color: var(--text-light);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.page-privacy-policy__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    background-color: rgba(255, 255, 255, 0.02); /* Slightly lighter background for answer */
    color: var(--text-light);
}

.page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
    max-height: 1000px !important; /* Sufficient height for content */
    padding: 20px !important;
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}


/* CTA Section */
.page-privacy-policy__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--background-dark);
}

.page-privacy-policy__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevent text wrapping for desktop */
    box-sizing: border-box;
    max-width: 100%;
}

.page-privacy-policy__btn-primary {
    background: var(--button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-privacy-policy__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.5;
    }

    .page-privacy-policy__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px 20px;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-privacy-policy__hero-image {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .page-privacy-policy__hero-description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__section-title {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.3rem;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Mobile image adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }

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

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

    .page-privacy-policy__faq-question {
        padding: 15px;
    }

    .page-privacy-policy__faq-title {
        font-size: 1em;
    }

    .page-privacy-policy__faq-toggle {
        font-size: 1.2em;
    }

    .page-privacy-policy__faq-answer {
        padding: 0 15px;
    }

    .page-privacy-policy__faq-item.active .page-privacy-policy__faq-answer {
        padding: 15px !important;
    }

    /* Mobile button adaptation */
    .page-privacy-policy__cta-section {
        padding: 60px 15px;
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
        font-size: 1em;
    }
}