/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--page-bg, #0A0A0A); /* Inherit from shared, fallback to custom dark background */
    color: #FFF6D6; /* Text Main color for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    font-size: 16px;
}

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

.page-privacy-policy__container--center {
    text-align: center;
}

.page-privacy-policy__hero-section {
    position: relative;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    padding-bottom: 60px;
    background: linear-gradient(135deg, #F2C14E, #FFD36B); /* Brand colors */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.page-privacy-policy__hero-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-bottom: 40px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    min-height: 300px; /* Ensure minimum size */
}

.page-privacy-policy__hero-content {
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    z-index: 1;
    color: #0A0A0A; /* Dark text for light gradient background */
}

.page-privacy-policy__main-title {
    font-size: clamp(2.5em, 5vw, 3em); /* Responsive font size */
    color: #0A0A0A; /* Dark text for light gradient background */
    margin-bottom: 15px;
    font-weight: bold;
    line-height: 1.2;
}

.page-privacy-policy__description {
    font-size: 1.1em;
    color: #333333; /* Darker text for readability on light gradient */
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-privacy-policy__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #0A0A0A; /* Dark text for golden button */
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    max-width: 100%; /* For mobile responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: #333333; /* Slightly darker on hover for contrast */
}

.page-privacy-policy__content-section {
    padding: 60px 0;
    border-bottom: 1px solid #3A2A12; /* Border color from palette */
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #F2C14E; /* Main brand color for titles */
    margin-bottom: 25px;
    text-align: center;
    font-weight: bold;
}

.page-privacy-policy__sub-section-title {
    font-size: 1.6em;
    color: #FFD36B; /* Auxiliary brand color for sub-titles */
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: #FFF6D6; /* Text Main color */
}

.page-privacy-policy__list {
    list-style-type: disc;
    padding-left: 30px;
    margin-bottom: 20px;
    color: #FFF6D6; /* Text Main color */
}

.page-privacy-policy__list li {
    margin-bottom: 10px;
    color: #FFF6D6; /* Text Main color */
}

.page-privacy-policy a {
    color: #FFD36B; /* Auxiliary brand color for links */
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: #F2C14E; /* Main brand color on hover */
}

.page-privacy-policy__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    object-fit: cover;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Final CTA section specific styling */
.page-privacy-policy__cta-final {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(90deg, #111111, #0A0A0A); /* Dark background for final CTA */
    border-top: 1px solid #3A2A12;
}

.page-privacy-policy__cta-final .page-privacy-policy__section-title {
    color: #F2C14E; /* Main brand color for title */
}

.page-privacy-policy__cta-final .page-privacy-policy__description {
    color: #FFF6D6; /* Text Main color */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 40px;
}

/* Responsive design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: clamp(2em, 4vw, 2.5em);
    }

    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }

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

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

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

    .page-privacy-policy__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Mobile: Ensure content is below fixed header */
        padding-bottom: 40px;
    }
    
    .page-privacy-policy__hero-image-container {
        margin-bottom: 20px;
    }

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

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 6vw, 2.2em);
        margin-bottom: 10px;
    }

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

    .page-privacy-policy__btn-primary {
        padding: 12px 20px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin-bottom: 10px; /* Space between buttons if stacked */
    }

    .page-privacy-policy__cta-group {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 10px;
    }

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

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

    .page-privacy-policy__sub-section-title {
        font-size: 1.2em;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure containers for images and text are properly padded/sized */
    .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;
    }
    .page-privacy-policy__hero-image-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-privacy-policy__hero-content {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}