/* style/privacy-policy.css */

/* Variables for consistent styling, derived from brand colors */
:root {
    --primary-color: #11A84E; /* Main brand green */
    --secondary-color: #22C768; /* Lighter brand green */
    --background-dark: #08160F; /* Deep Green background */
    --card-background: #11271B; /* Darker green for cards */
    --text-main: #F2FFF6; /* Light text for dark backgrounds */
    --text-secondary: #A7D9B8; /* Secondary light text */
    --border-color: #2E7A4E; /* Border green */
    --glow-color: #57E38D; /* Green glow */
    --gold-color: #F2C14E; /* Gold accent */
    --divider-color: #1E3A2A; /* Darker divider */
    --deep-green: #0A4B2C; /* Even deeper green */
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button gradient */
    --button-text-color: #ffffff; /* White text for buttons */
    --default-text-dark: #333333; /* For light backgrounds */
    --default-text-light: #ffffff; /* For dark backgrounds */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, text below */
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    box-sizing: border-box;
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.page-privacy-policy__main-title {
    color: var(--gold-color);
    font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1, no fixed large size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Soft gold glow */
}

.page-privacy-policy__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--button-text-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4), 0 0 20px var(--glow-color);
}

.page-privacy-policy__cta-button--large {
    font-size: 1.3rem;
    padding: 18px 35px;
}

.page-privacy-policy__content-area,
.page-privacy-policy__faq-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

.page-privacy-policy__container {
    max-width: 1000px; /* Inner container for content */
    margin: 0 auto;
}

.page-privacy-policy__section-title {
    color: var(--primary-color);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 5px rgba(17, 168, 78, 0.3);
}

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

.page-privacy-policy p {
    margin-bottom: 20px;
    color: var(--text-main);
    font-size: 1rem;
}

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

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

.page-privacy-policy__list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.page-privacy-policy__list-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-privacy-policy__list-item::before {
    content: '✅'; /* Green checkmark or similar */
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2em;
    line-height: 1;
}

.page-privacy-policy__list-item strong {
    color: var(--gold-color);
}

.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 15px;
}

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

.page-privacy-policy__cta-container {
    text-align: center;
    margin-top: 50px;
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for multiple buttons */
    justify-content: center;
    gap: 20px;
}

.page-privacy-policy__secondary-button {
    display: inline-block;
    background: transparent;
    color: var(--gold-color);
    border: 2px solid var(--gold-color);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-privacy-policy__secondary-button:hover {
    background: var(--gold-color);
    color: var(--background-dark); /* Dark text on gold hover */
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.3);
}

/* FAQ Section Styling */
.page-privacy-policy__faq-section {
    padding-top: 60px;
    padding-bottom: 80px;
    background-color: var(--deep-green); /* Slightly different dark green */
}

.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden; /* For details tag */
    color: var(--text-main);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
    background-color: var(--deep-green); /* Darker background for question */
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--primary-color);
    color: var(--default-text-light);
}

/* For <details> tag, hide default marker */
.page-privacy-policy__faq-item summary {
    list-style: none;
}

.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    color: var(--gold-color);
    margin-left: 15px;
}

.page-privacy-policy__faq-item summary:hover .page-privacy-policy__faq-toggle {
    color: var(--default-text-light); /* White toggle on hover */
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    background-color: var(--card-background);
    color: var(--text-secondary);
    font-size: 0.95rem;
    border-top: 1px solid var(--divider-color);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
}

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

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

    .page-privacy-policy__hero-image {
        margin-bottom: 20px;
    }

    .page-privacy-policy__main-title {
        font-size: 2.2rem;
    }

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

    .page-privacy-policy__cta-button,
    .page-privacy-policy__cta-button--large,
    .page-privacy-policy__secondary-button {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
        font-size: 1rem;
    }
    
    .page-privacy-policy__cta-container {
        flex-direction: column; /* Stack buttons vertically on mobile */
        gap: 15px;
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding: 20px 15px;
    }

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

    .page-privacy-policy__list-item {
        padding-left: 25px;
        margin-bottom: 10px;
    }

    .page-privacy-policy__faq-question {
        padding: 15px;
        font-size: 1rem;
    }

    .page-privacy-policy__faq-answer {
        padding: 15px;
    }

    /* Images responsiveness */
    .page-privacy-policy img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    /* All containers with images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__cta-container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      /* padding-left and padding-right are already set in specific sections */
    }
    
    /* Specific padding for content areas on mobile */
    .page-privacy-policy__content-area,
    .page-privacy-policy__faq-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__hero-section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__video-section {
        padding-top: 10px !important;
    }
}

/* Ensure content area images are never too small */
.page-privacy-policy__content-area img,
.page-privacy-policy__faq-answer img {
    min-width: 200px;
    min-height: 200px;
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
}

/* Explicitly set color contrast for core elements */
.page-privacy-policy p,
.page-privacy-policy li,
.page-privacy-policy__faq-answer p {
    color: var(--text-main);
}

.page-privacy-policy__faq-item {
    background-color: var(--card-background);
    color: var(--text-main);
}

.page-privacy-policy__cta-button {
    color: var(--button-text-color);
}
.page-privacy-policy__secondary-button {
    color: var(--gold-color);
}
.page-privacy-policy__secondary-button:hover {
    color: var(--background-dark);
}