/* style/privacy-policy.css */

/* Custom colors based on provided scheme */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --bg-color-main: #08160F;
    --bg-color-card: #11271B;
    --text-color-main: #F2FFF6;
    --text-color-secondary: #A7D9B8;
    --border-color: #2E7A4E;
    --glow-color: #57E38D;
    --gold-color: #F2C14E;
    --divider-color: #1E3A2A;
    --deep-green-color: #0A4B2C;
    --btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-main); /* Default text color for dark background */
    background-color: var(--bg-color-main); /* Body background is dark */
    padding-bottom: 50px; /* Space above footer */
}

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px 60px 20px; /* Small top padding, more bottom padding */
    text-align: center;
    overflow: hidden;
    background-color: var(--bg-color-main);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    margin-bottom: 30px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    max-height: 500px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    z-index: 1;
    position: relative;
    color: var(--text-color-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Using clamp for responsive H1 font size */
    font-weight: 700;
    color: var(--gold-color);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.page-privacy-policy__hero-description {
    font-size: 1.1em;
    color: var(--text-color-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
    text-align: center;
}

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

.page-privacy-policy__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: rgba(17, 168, 78, 0.1);
    transform: translateY(-2px);
}

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

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

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

.page-privacy-policy__light-bg {
    background-color: var(--bg-color-main);
    color: var(--text-color-main);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--gold-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

.page-privacy-policy__sub-title {
    font-size: 1.5em;
    color: var(--color-secondary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__text-block {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: var(--text-color-secondary);
}

.page-privacy-policy__highlight {
    color: var(--text-color-main);
    font-weight: bold;
}

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

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

.page-privacy-policy__list-item-title {
    color: var(--text-color-main);
}

.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

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

.page-privacy-policy__image-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    display: block;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-privacy-policy a {
    color: var(--glow-color);
    text-decoration: underline;
}

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

/* Mobile responsiveness */
@media (min-width: 769px) {
    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr 1fr;
    }
    .page-privacy-policy__content-grid--reverse {
        grid-template-columns: 1fr 1fr;
    }
    .page-privacy-policy__content-grid--reverse .page-privacy-policy__image-wrapper {
        order: 1;
    }
    .page-privacy-policy__content-grid--reverse .page-privacy-policy__text-block {
        order: 2;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 10px 15px 40px 15px;
    }

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

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px;
    }

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

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

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

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list {
        font-size: 0.95em;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset; /* Allow smaller images on mobile if needed, but still > 200px if original is */
        min-height: unset;
    }
    
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__container,
    .page-privacy-policy__section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-privacy-policy {
        overflow-x: hidden;
    }
}