/* style/privacy-policy.css */

/* Variables from custom palette */
:root {
    --page-privacy-policy-card-bg: #11271B;
    --page-privacy-policy-background: #08160F;
    --page-privacy-policy-text-main: #F2FFF6;
    --page-privacy-policy-text-secondary: #A7D9B8;
    --page-privacy-policy-border: #2E7A4E;
    --page-privacy-policy-glow: #57E38D;
    --page-privacy-policy-gold: #F2C14E;
    --page-privacy-policy-divider: #1E3A2A;
    --page-privacy-policy-deep-green: #0A4B2C;
    --page-privacy-policy-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0 60px 0;
    background-color: var(--page-privacy-policy-deep-green);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
    z-index: 0;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7); /* Slightly darken image for text contrast if needed */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: -150px auto 0 auto; /* Pull content up over the image slightly for visual effect */
    padding: 40px;
    background-color: rgba(17, 39, 27, 0.9); /* Card BG with transparency for overlay effect */
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3.2em); /* Use clamp for H1 */
    color: var(--page-privacy-policy-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px var(--page-privacy-policy-glow);
}

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

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: var(--page-privacy-policy-card-bg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--page-privacy-policy-border);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--page-privacy-policy-gold);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: bold;
    border-bottom: 2px solid var(--page-privacy-policy-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    color: var(--page-privacy-policy-text-main);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

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

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-privacy-policy-border);
}

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

.page-privacy-policy__link:hover {
    color: var(--page-privacy-policy-gold);
    text-decoration: none;
}

/* Call to Action Buttons */
.page-privacy-policy__cta-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
}

.page-privacy-policy__cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
    text-align: center;
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-button-gradient);
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: 0 4px 15px rgba(42, 209, 111, 0.4);
}

.page-privacy-policy__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 6px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--page-privacy-policy-glow);
    color: var(--page-privacy-policy-card-bg);
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        margin-top: -100px;
        padding: 30px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4vw, 2.8em);
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding-bottom: 40px;
    }

    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }

    .page-privacy-policy__hero-content {
        margin-top: -80px; /* Adjust for smaller screens */
        padding: 20px;
        max-width: 95%;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.5em, 5vw, 2.5em);
        margin-bottom: 15px;
    }

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

    .page-privacy-policy__content-area {
        padding: 20px 15px;
        margin: 20px auto;
        max-width: 95%;
    }

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

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

    .page-privacy-policy__text-block {
        font-size: 0.95em;
        margin-bottom: 15px;
    }

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

    /* Mobile container adaptation */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }

    /* Mobile button adaptation */
    .page-privacy-policy__cta-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .page-privacy-policy__cta-button,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        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;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-content {
        margin-top: -60px;
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.2em, 6vw, 2em);
    }
    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }
    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }
    .page-privacy-policy__cta-button {
        font-size: 1em;
        padding: 12px 20px;
    }
}