/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --page-privacy-policy-bg: #08160F;
    --page-privacy-policy-card-bg: #11271B;
    --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-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --page-privacy-policy-primary-color: #11A84E; /* Main color */
    --page-privacy-policy-secondary-color: #22C768; /* Auxiliary color */
}

.page-privacy-policy {
    background-color: var(--page-privacy-policy-bg);
    color: var(--page-privacy-policy-text-main);
    font-family: 'Arial', sans-serif; /* Placeholder font */
    line-height: 1.6;
}

.page-privacy-policy a {
    color: var(--page-privacy-policy-secondary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    position: relative;
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 30px; /* Space between image and text */
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    z-index: 1; /* Ensure content is above any background elements */
    padding: 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Card BG with some transparency for readability */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 3.5vw, 3em); /* H1 font size with clamp */
    color: var(--page-privacy-policy-gold);
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
}

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

.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping on small screens */
    justify-content: center;
    gap: 20px;
    width: 100%; /* Ensure container takes full width */
    max-width: 100%; /* Ensure container takes full width */
    box-sizing: border-box;
    overflow: hidden; /* Prevent overflow */
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.3s ease;
    text-align: center;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box; /* Include padding in width calculation */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-privacy-policy__btn-primary {
    background: var(--page-privacy-policy-btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%); /* Reverse gradient on hover */
}

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

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--page-privacy-policy-primary-color);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Content Sections */
.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--page-privacy-policy-bg);
}

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

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: var(--page-privacy-policy-primary-color);
    margin-bottom: 30px;
    text-align: center;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
}

.page-privacy-policy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--page-privacy-policy-gold);
    border-radius: 2px;
}

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

.page-privacy-policy__paragraph {
    font-size: 1em;
    color: var(--page-privacy-policy-text-secondary);
    margin-bottom: 15px;
    text-align: justify;
}

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

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__sub-list {
    list-style: circle;
    margin-left: 20px;
    margin-top: 10px;
}

.page-privacy-policy__sub-list-item {
    margin-bottom: 5px;
    color: var(--page-privacy-policy-text-secondary);
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px; /* Ensure minimum size */
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: center;
}

.page-privacy-policy__contact-item {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--page-privacy-policy-text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* Ensure small top padding */
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 8vw, 2.5em); /* Adjust H1 for mobile */
    }

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

    .page-privacy-policy__cta-buttons {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
        padding: 0 15px; /* Add horizontal padding to button container */
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100% !important; /* Full width for buttons */
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 0.95em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

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

    .page-privacy-policy__container {
        padding-left: 0;
        padding-right: 0;
    }

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

    .page-privacy-policy__sub-title {
        font-size: 1.4em;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px; /* Ensure minimum size */
        min-height: 200px; /* Ensure minimum size */
    }

    /* Ensure all containers with images/content are responsive */
    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }
    .page-privacy-policy__hero-image-wrapper {
        padding-left: 0;
        padding-right: 0;
    }
    .page-privacy-policy__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Ensure content area images are not smaller than 200px via CSS */
.page-privacy-policy__content-section img {
    min-width: 200px;
    min-height: 200px;
    width: auto; /* Allow auto width to scale with max-width: 100% */
}

/* Color contrast enforcement - fallback to safe colors if needed */
.page-privacy-policy__card { /* No card explicitly, but as a general rule */
    background: var(--page-privacy-policy-card-bg);
    color: var(--page-privacy-policy-text-main);
    border: 1px solid var(--page-privacy-policy-border);
}

/* No CSS filter on images */
.page-privacy-policy img {
    filter: none !important;
}