/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--background-color, #08160F); /* Fallback to default if var not set */
    color: var(--text-main, #F2FFF6); /* Main text color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px;
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    padding: 20px;
    padding-top: 10px; /* Small padding, body handles --header-offset */
    text-align: center;
    background-color: var(--deep-green, #0A4B2C); /* A darker green for hero background */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width */
    margin-bottom: 20px; /* Space between image and content */
}

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

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.5em); /* Responsive H1 font size */
    font-weight: bold;
    color: var(--gold, #F2C14E); /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--gold, #F2C14E);
    margin-top: 50px;
    margin-bottom: 25px;
    border-bottom: 2px solid var(--divider, #1E3A2A);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--text-main, #F2FFF6);
    margin-top: 35px;
    margin-bottom: 15px;
}

.page-privacy-policy__text-block {
    background-color: var(--card-bg, #11271B); /* Card background color */
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: var(--text-main, #F2FFF6); /* Text color for dark card background */
}

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

.page-privacy-policy__list {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

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

.page-privacy-policy__link {
    color: var(--glow, #57E38D); /* Link color */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__link:hover {
    color: var(--gold, #F2C14E);
    text-decoration: underline;
}

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px 0;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: var(--text-main, #F2FFF6);
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
}

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

    .page-privacy-policy__hero-section {
        padding: 10px 10px 20px; /* Smaller padding on mobile */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em); /* Adjust H1 for mobile */
    }

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

    .page-privacy-policy__content-area {
        padding: 0 15px; /* Add side padding for content on mobile */
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__text-block {
        padding: 20px;
        margin-bottom: 20px;
    }

    /* Enforce responsive images */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    /* Enforce responsive buttons */
    .page-privacy-policy__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        text-align: center;
    }

    /* Ensure containers don't overflow */
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__text-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px; /* Add side padding to main blocks */
        padding-right: 15px;
    }
    .page-privacy-policy__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
}