/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    background-color: var(--bg-color, #08160F); /* Fallback to Background color if --bg-color is not set */
    color: var(--text-main, #F2FFF6); /* Main text color */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space above footer */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 40px 20px; /* Small padding-top as body handles --header-offset */
    box-sizing: border-box;
    background-color: var(--deep-green, #0A4B2C); /* Use deep green for hero background */
}

.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;
    filter: none; /* Ensure no filter is applied */
}

.page-privacy-policy__hero-content {
    text-align: center;
    margin-top: 30px;
    max-width: 800px;
    z-index: 1;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive font size */
    color: var(--text-main, #F2FFF6);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.page-privacy-policy__description {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--text-secondary, #A7D9B8);
    margin-bottom: 30px;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    background-color: var(--background, #08160F); /* Use specified background color */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--glow, #57E38D); /* Using Glow for section titles */
    margin-top: 40px;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: left;
    border-bottom: 2px solid var(--divider, #1E3A2A);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-main, #F2FFF6);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__list li {
    margin-bottom: 8px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__list li strong {
    color: var(--glow, #57E38D); /* Highlight list item strong text */
}

.page-privacy-policy__emphasis {
    font-style: italic;
    font-weight: bold;
    color: var(--gold, #F2C14E); /* Using Gold for emphasis */
    margin-top: 20px;
    display: block;
}

.page-privacy-policy__effective-date {
    font-weight: bold;
    color: var(--gold, #F2C14E);
    margin-top: 20px;
}

.page-privacy-policy__contact-info {
    margin-top: 20px;
    background-color: var(--card-bg, #11271B);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border, #2E7A4E);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    color: var(--text-main, #F2FFF6);
}

.page-privacy-policy__contact-link {
    color: var(--glow, #57E38D);
    text-decoration: none;
    font-weight: bold;
}

.page-privacy-policy__contact-link:hover {
    text-decoration: underline;
}

.page-privacy-policy a {
    color: var(--glow, #57E38D);
    text-decoration: none;
}

.page-privacy-policy a:hover {
    text-decoration: underline;
}

/* Images in content */
.page-privacy-policy__image-block {
    margin: 30px 0;
    text-align: center;
    background-color: var(--card-bg, #11271B); /* Card BG for image blocks */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border, #2E7A4E);
    box-sizing: border-box;
}

.page-privacy-policy__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 6px;
    filter: none; /* Ensure no filter is applied */
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-bg, #11271B);
    border: 1px solid var(--border, #2E7A4E);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-privacy-policy__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    color: var(--text-main, #F2FFF6);
    font-size: 1.15rem;
    position: relative;
    list-style: none; /* Hide default marker */
    -webkit-tap-highlight-color: transparent; /* Remove tap highlight on mobile */
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for webkit browsers */
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--glow, #57E38D);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.8rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold, #F2C14E);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate plus to become cross */
}

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: var(--text-secondary, #A7D9B8);
    font-size: 1rem;
    border-top: 1px solid var(--divider, #1E3A2A);
}

.page-privacy-policy__faq-answer p {
    margin-top: 15px;
    margin-bottom: 0;
    color: var(--text-secondary, #A7D9B8);
}

/* Call to Action Section */
.page-privacy-policy__cta-section {
    text-align: center;
    background-color: var(--deep-green, #0A4B2C); /* Deep Green background for CTA */
    padding: 40px 20px;
    border-radius: 12px;
    margin-top: 50px;
    border: 2px solid var(--border, #2E7A4E);
}

.page-privacy-policy__cta-text {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--text-main, #F2FFF6);
    margin-bottom: 25px;
    line-height: 1.4;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    color: #ffffff; /* White text on button */
    border: none;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    opacity: 0.9;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__cta-section {
        padding-left: 15px;
        padding-right: 15px;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Small top padding for mobile hero */
        padding-bottom: 40px;
    }

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

    .page-privacy-policy__description {
        font-size: 1rem;
    }

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

    .page-privacy-policy__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }

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

    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 10px;
    }

    /* Buttons responsiveness */
    .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: 12px 20px; /* Adjust padding for smaller screens */
    }
    
    .page-privacy-policy__cta-section {
        padding: 30px 15px;
    }
    .page-privacy-policy__cta-text {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }
    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }
    .page-privacy-policy__main-title {
        font-size: 2rem;
    }
    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1rem;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}

/* Color contrast enforcement based on body background */
/* Body background is #08160F (dark), so content text should be light */
.page-privacy-policy {
    color: var(--text-main, #F2FFF6); /* Light text for main content */
}
.page-privacy-policy p,
.page-privacy-policy li {
    color: var(--text-main, #F2FFF6); /* Light text for paragraphs and list items */
}
.page-privacy-policy__card,
.page-privacy-policy__contact-info,
.page-privacy-policy__faq-item,
.page-privacy-policy__image-block {
    background-color: var(--card-bg, #11271B); /* Darker green background for cards/containers */
    color: var(--text-main, #F2FFF6); /* Light text on these elements */
}

/* Ensure all links are readable */
.page-privacy-policy a {
    color: var(--glow, #57E38D); /* Using a bright green for links */
}

/* Button specific styling to ensure contrast */
.page-privacy-policy__cta-button {
    color: #ffffff; /* White text on gradient button */
}