/* style/privacy-policy.css */

/* Variables from shared.css or global context */
:root {
    --primary-color: #11A84E;
    --secondary-color: #22C768;
    --card-bg-color: #11271B;
    --background-color: #08160F; /* Main body background */
    --text-main-color: #F2FFF6;
    --text-secondary-color: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

.page-privacy-policy {
    background-color: var(--background-color); /* Main background for the page content */
    color: var(--text-main-color); /* Default text color for the page */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Add some space at the bottom */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background-color: var(--deep-green-color); /* Example background for hero */
    overflow: hidden; /* Ensure image doesn't overflow */
    border-bottom: 5px solid var(--primary-color);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Max width of the image wrapper */
    margin-bottom: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin-top: 20px;
    z-index: 1; /* Ensure content is above image if any overlap */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 5vw, 3.5em); /* Responsive font size */
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: var(--text-secondary-color);
    margin-bottom: 30px;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    white-space: nowrap; /* Prevent button text from breaking on desktop */
}

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

.page-privacy-policy__section {
    padding: 40px 20px;
    margin-bottom: 30px;
    border-radius: 10px;
}

.page-privacy-policy__introduction,
.page-privacy-policy__data-usage,
.page-privacy-policy__data-security,
.page-privacy-policy__cookies,
.page-privacy-policy__children-privacy,
.page-privacy-policy__contact-us {
    background-color: var(--card-bg-color); /* Dark background for contrast */
    color: var(--text-main-color);
}

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

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Add some horizontal padding */
    box-sizing: border-box;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em);
    color: var(--gold-color);
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy h2 {
    color: var(--gold-color); /* Ensure h2 is gold */
}

.page-privacy-policy h3 {
    color: var(--secondary-color); /* Ensure h3 is secondary green */
    font-size: 1.4em;
    margin-top: 20px;
    margin-bottom: 15px;
}

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

.page-privacy-policy a {
    color: var(--glow-color); /* Links should stand out */
    text-decoration: none;
    transition: color 0.3s ease;
}

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

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
}

.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 30px;
}

.page-privacy-policy__card {
    background-color: var(--card-bg-color);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-main-color); /* Ensure text in card is visible */
}

.page-privacy-policy__card-title {
    color: var(--gold-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    margin-top: 30px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Minimum image size */
    min-height: 200px;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-privacy-policy__last-updated {
    text-align: center;
    font-style: italic;
    color: var(--text-secondary-color);
    margin-top: 30px;
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    text-align: center;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.page-privacy-policy__contact-link {
    color: var(--glow-color); /* Ensure contact links stand out */
}

/* Mobile responsiveness */
@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 handles --header-offset */
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

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

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

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

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr;
    }

    /* Force responsive for all images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Ensure containers with images/content are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    .page-privacy-policy__contact-list {
        padding-left: 0;
    }
    .page-privacy-policy__list {
        margin-left: 15px;
    }
}

/* Ensure no filter on images globally */
.page-privacy-policy img {
    filter: none;
}