/* style/privacy-policy.css */

/* Custom Properties for Colors */
:root {
    --g6623-primary-color: #11A84E; /* Main */
    --g6623-secondary-color: #22C768; /* Auxiliary */
    --g6623-bg-color: #08160F; /* Background */
    --g6623-card-bg: #11271B; /* Card BG */
    --g6623-text-main: #F2FFF6; /* Text Main */
    --g6623-text-secondary: #A7D9B8; /* Text Secondary */
    --g6623-border-color: #2E7A4E; /* Border */
    --g6623-glow-color: #57E38D; /* Glow */
    --g6623-gold-color: #F2C14E; /* Gold */
    --g6623-divider-color: #1E3A2A; /* Divider */
    --g6623-deep-green: #0A4B2C; /* Deep Green */
    --g6623-btn-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%); /* Button Gradient */
}

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: 'Arial', sans-serif;
    color: var(--g6623-text-main); /* Light text for dark background */
    background-color: var(--g6623-bg-color); /* Dark background */
    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%;
    overflow: hidden;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 0;
    background-color: var(--g6623-deep-green); /* Fallback background */
    padding-top: 10px; /* Small top padding, body handles header offset */
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    filter: brightness(0.7); /* Slightly darken image for text readability below */
}

.page-privacy-policy__hero-content {
    position: relative; /* Ensure content is in normal flow */
    z-index: 2; /* Ensure content is above image filter if any */
    max-width: 800px;
    margin-top: 40px; /* Space between image and text */
    padding: 0 20px;
}

.page-privacy-policy__main-title {
    font-size: clamp(2.2em, 4vw, 3.2em); /* Responsive font size */
    color: var(--g6623-text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

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

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
    border-bottom: 1px solid var(--g6623-divider-color);
}

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

.page-privacy-policy__dark-section {
    background-color: var(--g6623-card-bg); /* Darker background for contrast */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--g6623-gold-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

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

.page-privacy-policy__text-block {
    font-size: 1em;
    color: var(--g6623-text-main);
    margin-bottom: 20px;
    text-align: justify;
}

.page-privacy-policy__list-wrapper {
    margin-bottom: 30px;
}

.page-privacy-policy__list-title {
    font-size: 1.2em;
    color: var(--g6623-text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    color: var(--g6623-text-main);
}

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

.page-privacy-policy__list li strong {
    color: var(--g6623-text-main);
}

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

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    margin-left: 0;
    padding-left: 0;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    color: var(--g6623-text-main);
}

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

.page-privacy-policy__contact-link:hover {
    color: var(--g6623-gold-color);
    text-decoration: underline;
}

/* Call to Action */
.page-privacy-policy__call-to-action {
    background: var(--g6623-deep-green);
    padding: 80px 20px;
    text-align: center;
}

.page-privacy-policy__cta-title {
    font-size: clamp(2em, 3.5vw, 2.8em);
    color: var(--g6623-text-main);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-privacy-policy__cta-description {
    font-size: 1.1em;
    color: var(--g6623-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-privacy-policy__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
}

.page-privacy-policy__btn-primary {
    background: var(--g6623-btn-gradient);
    color: #ffffff; /* White text for contrast */
    border: none;
}

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

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

.page-privacy-policy__btn-secondary:hover {
    background: rgba(var(--g6623-secondary-color), 0.1);
    border-color: var(--g6623-gold-color);
    color: var(--g6623-gold-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
    cursor: pointer;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--g6623-text-main);
    background-color: var(--g6623-deep-green);
    border-bottom: 1px solid var(--g6623-border-color);
}

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

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--g6623-gold-color);
    transition: transform 0.3s ease;
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg); /* Rotate for 'x' effect */
}

.page-privacy-policy__faq-answer {
    padding: 20px;
    font-size: 1em;
    color: var(--g6623-text-secondary);
    background-color: var(--g6623-card-bg);
}

.page-privacy-policy__faq-answer p {
    margin-bottom: 0;
    color: var(--g6623-text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 0;
        padding-top: 10px !important; /* Small top padding for mobile */
    }

    .page-privacy-policy__hero-content {
        margin-top: 20px;
    }

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

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

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

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

    .page-privacy-policy__text-block,
    .page-privacy-policy__list li,
    .page-privacy-policy__faq-answer p {
        font-size: 0.95em;
    }

    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        width: 100%;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Images responsive */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__hero-image-wrapper,
    .page-privacy-policy__content-area,
    .page-privacy-policy__call-to-action,
    .page-privacy-policy__faq-item,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-privacy-policy__hero-image {
        max-height: 300px; /* Adjust hero image height for mobile */
    }

    .page-privacy-policy__faq-item summary {
        font-size: 1em;
        padding: 15px;
    }
}

/* Ensure no filter on images */
.page-privacy-policy img {
    filter: none; /* Explicitly remove any filters by default */
}
.page-privacy-policy__hero-image {
    filter: brightness(0.7); /* Only hero image has a filter to darken for text readability below */
}