/* style/privacy-policy.css */

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

/* General Page Styles */
.page-privacy-policy {
    color: var(--mb66-text-main); /* Using light text for dark body background */
    background-color: var(--mb66-bg-dark); /* Assuming body background is dark from shared.css */
    line-height: 1.6;
    font-family: 'Arial', sans-serif;
}

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 20px 60px; /* Small top padding, more bottom padding */
    overflow: hidden;
    background-color: var(--mb66-deep-green);
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 40px auto 0;
    text-align: center;
    z-index: 1; /* Ensure content is above any potential background elements */
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em);
    color: var(--mb66-text-main);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__description {
    font-size: clamp(1em, 2vw, 1.2em);
    color: var(--mb66-text-secondary);
    margin-bottom: 30px;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--mb66-button-gradient);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--mb66-card-bg);
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: -40px; /* Overlap with hero section slightly */
    position: relative;
    z-index: 2;
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3.5vw, 2.5em);
    color: var(--mb66-text-main);
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    border-bottom: 2px solid var(--mb66-divider);
    padding-bottom: 15px;
}

.page-privacy-policy__paragraph {
    font-size: 1.1em;
    color: var(--mb66-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    font-size: 1.05em;
    color: var(--mb66-text-secondary);
    margin-bottom: 10px;
    text-align: justify;
}

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

.page-privacy-policy__image-content {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    max-width: 800px; /* Ensure images don't stretch too wide */
}

.page-privacy-policy__content-area a {
    color: var(--mb66-glow);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__content-area a:hover {
    color: var(--mb66-gold);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 768px;
    }

    .page-privacy-policy__content-area {
        padding: 40px 15px;
    }
}

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

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

    .page-privacy-policy__description {
        font-size: clamp(0.9em, 3vw, 1.1em);
        margin-bottom: 25px;
    }

    .page-privacy-policy__btn-primary {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-privacy-policy__content-area {
        padding: 30px 15px;
        margin-top: -20px;
        border-radius: 8px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-top: 30px;
        margin-bottom: 20px;
        padding-bottom: 10px;
    }

    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 1em;
    }

    /* Mobile image responsive adaptation */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__image-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important; /* Ensure no overflow */
    }

    /* Button responsive adaptation */
    .page-privacy-policy__btn-primary,
    .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;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-content {
        padding: 0 10px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }

    .page-privacy-policy__description {
        font-size: clamp(0.85em, 4vw, 1em);
    }

    .page-privacy-policy__content-area {
        padding: 20px 10px;
    }

    .page-privacy-policy__section-title {
        font-size: clamp(1.4em, 7vw, 1.8em);
    }

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