/* style/privacy-policy.css */

/* Root variables for consistent spacing and colors */
:root {
    --header-offset: 120px; /* Default for desktop, adjusted in shared.css for mobile */
}

.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main-color, #FFF6D6); /* Default text color on dark body */
    background-color: var(--page-bg-color, #0A0A0A); /* Default background color */
}

.page-privacy-policy__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: var(--background-color, #0A0A0A);
    overflow: hidden;
    text-align: center;
    color: #FFF6D6;
}

.page-privacy-policy__hero-content {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit hero image height */
    filter: brightness(0.7); /* Slightly dim the image for text readability */
}

.page-privacy-policy__hero-text-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 900px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent background for text */
    border-radius: 8px;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 2.8em); /* Responsive H1 font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    color: #FFD36B; /* Glow color for title */
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-privacy-policy__hero-description {
    font-size: clamp(1em, 1.5vw, 1.2em);
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #FFF6D6;
}

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

.page-privacy-policy__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-privacy-policy__dark-section {
    background-color: var(--background-color, #0A0A0A);
    color: var(--text-main-color, #FFF6D6);
}

.page-privacy-policy__light-bg {
    background-color: #111111; /* Card BG color */
    color: var(--text-main-color, #FFF6D6);
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    color: var(--primary-color, #F2C14E);
    border-bottom: 2px solid var(--border-color, #3A2A12);
    padding-bottom: 15px;
    margin-top: 40px;
}

.page-privacy-policy__sub-title {
    font-size: 1.6em;
    font-weight: 600;
    margin-top: 25px;
    margin-bottom: 15px;
    color: var(--secondary-color, #FFD36B);
}

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

.page-privacy-policy__text-block a {
    color: var(--primary-color, #F2C14E);
    text-decoration: underline;
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-privacy-policy__cta-section {
    background: linear-gradient(135deg, #F2C14E, #FFD36B);
    padding: 60px 20px;
    text-align: center;
    color: #111111; /* Dark text on light gradient */
}

.page-privacy-policy__cta-title {
    font-size: 2.5em;
    font-weight: 700;
    margin-bottom: 20px;
    color: #111111; /* Ensure contrast */
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #333333; /* Darker text for readability */
}

.page-privacy-policy__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Important for mobile responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-privacy-policy__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Custom button color */
    color: #ffffff; /* White text on gradient button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__btn-secondary {
    background-color: #111111; /* Card BG for secondary button */
    color: #F2C14E; /* Primary color for text */
    border: 2px solid #F2C14E; /* Primary color for border */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: #F2C14E;
    color: #111111;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 100px) !important; /* Mobile header offset */
    }

    .page-privacy-policy__hero-text-overlay {
        position: static;
        transform: none;
        width: 100%;
        padding: 20px 15px;
        background: rgba(0, 0, 0, 0.7); /* More opaque on mobile */
        border-radius: 0;
    }

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

    .page-privacy-policy__main-title {
        font-size: 2em; /* Smaller H1 on mobile */
    }

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

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
    }

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

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

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

    .page-privacy-policy__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

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

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
    }

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

    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Ensure all images in content area are responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
}