/* style/privacy-policy.css */

/* Variables from shared or global */
:root {
    --primary-color: #F2C14E;
    --secondary-color: #FFD36B;
    --card-bg: #111111;
    --background-color: #0A0A0A;
    --text-main-color: #FFF6D6;
    --border-color: #3A2A12;
    --glow-color: #FFD36B;
    --header-offset: 122px; /* Default value, assumed from shared.css */
}

.page-privacy-policy {
    background-color: var(--background-color);
    color: var(--text-main-color); /* Dark background, so light text */
    font-family: 'Arial', sans-serif; /* Example font */
    line-height: 1.6;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding for the first section */
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1; /* Image below content */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4); /* Darken image for text readability, not color change */
    display: block;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2; /* Content above image */
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    color: #ffffff; /* Ensure white text on darkened hero image */
}

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

.page-privacy-policy__description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-main-color);
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__section {
    padding: 40px 20px;
    border-bottom: 1px solid var(--border-color);
    box-sizing: border-box;
}

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

.page-privacy-policy__dark-section {
    background-color: var(--card-bg); /* Darker background for contrast */
    color: var(--text-main-color);
}

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

.page-privacy-policy__heading {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: 600;
}

.page-privacy-policy__sub-heading {
    font-size: clamp(1.4em, 2vw, 1.8em);
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__text-block {
    margin-bottom: 15px;
    color: var(--text-main-color);
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--text-main-color);
}

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

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Recommended size */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size */
    min-height: 200px; /* Minimum size */
    object-fit: cover;
}

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

.page-privacy-policy__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    background-color: #1a1a1a; /* Slightly lighter dark for question header */
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

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

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

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    background-color: #222222;
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    background-color: var(--card-bg);
    color: var(--text-main-color);
    font-size: 0.95em;
    line-height: 1.5;
    border-top: 1px solid var(--border-color);
}

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

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    .page-privacy-policy__hero-content {
        padding: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: 2em; /* Smaller on mobile */
    }

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

    .page-privacy-policy__cta-button {
        width: 100% !important;
        max-width: 300px !important; /* Limit width for button on mobile */
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__section {
        padding: 30px 15px;
    }

    .page-privacy-policy__container {
        padding: 0; /* Already has 15px from parent section */
    }

    .page-privacy-policy__heading {
        font-size: 1.5em;
    }

    .page-privacy-policy__sub-heading {
        font-size: 1.2em;
    }

    .page-privacy-policy__list {
        margin-left: 20px;
    }

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

    .page-privacy-policy__content-image {
        min-width: unset; /* Remove min-width for mobile */
        min-height: unset; /* Remove min-height for mobile */
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-privacy-policy__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Ensure containers with images/buttons are responsive */
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .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;
        overflow: hidden !important;
    }
    .page-privacy-policy__cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
}