/* style/privacy-policy.css */

/* Custom Colors */
:root {
    --color-primary: #11A84E;
    --color-secondary: #22C768;
    --color-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --color-card-bg: #11271B;
    --color-background: #08160F;
    --color-text-main: #F2FFF6;
    --color-text-secondary: #A7D9B8;
    --color-border: #2E7A4E;
    --color-glow: #57E38D;
    --color-gold: #F2C14E;
    --color-divider: #1E3A2A;
    --color-deep-green: #0A4B2C;
}

/* Base styles for the page content, considering body background is dark */
.page-privacy-policy {
    color: var(--color-text-main); /* Light text for dark background */
    background-color: var(--color-background);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 50px; /* Ensure space above footer */
}

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

.page-privacy-policy__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--color-background);
    overflow: hidden;
    text-align: center;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    position: relative;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.7;
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -150px; /* Pull content up slightly over image for visual flow */
    background: rgba(17, 39, 27, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

.page-privacy-policy__main-title {
    color: var(--color-text-main);
    font-size: clamp(2em, 3.5vw, 3.2em);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.4);
}

.page-privacy-policy__hero-description {
    color: var(--color-text-secondary);
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--color-button-gradient);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__section {
    padding: 60px 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-divider);
}

.page-privacy-policy__section--dark-section {
    background-color: var(--color-card-bg);
    color: var(--color-text-main);
}

.page-privacy-policy__section-title {
    color: var(--color-text-main);
    font-size: clamp(1.8em, 3vw, 2.5em);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    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: var(--color-glow);
    border-radius: 2px;
}

.page-privacy-policy__sub-title {
    color: var(--color-text-main);
    font-size: clamp(1.4em, 2.5vw, 1.8em);
    font-weight: 600;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

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

.page-privacy-policy__list li {
    margin-bottom: 10px;
    font-size: 1em;
}

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

.page-privacy-policy__link {
    color: var(--color-secondary);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

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

.page-privacy-policy__content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-top: 40px;
}

.page-privacy-policy__image-wrapper {
    text-align: center;
}

.page-privacy-policy__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border);
}

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

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

.page-privacy-policy__btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--color-secondary);
    border: 2px solid var(--color-secondary);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-privacy-policy__btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-background);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* FAQ styles */
.page-privacy-policy__faq-item {
    background: var(--color-card-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

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

.page-privacy-policy__faq-answer {
    padding: 0 25px 20px;
    color: var(--color-text-secondary);
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-privacy-policy__hero-content {
        margin-top: -100px;
        padding: 30px 20px;
    }

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

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

    .page-privacy-policy__content-grid {
        grid-template-columns: 1fr;
    }

    .page-privacy-policy__image-wrapper:nth-child(even) {
        order: -1; /* Image first on mobile for alternating sections */
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
    }

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

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

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

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

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

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

    .page-privacy-policy__btn-primary, .page-privacy-policy__btn-secondary {
        padding: 12px 25px;
        font-size: 1em;
    }

    /* Mobile image and container responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-content,
    .page-privacy-policy__image-wrapper,
    .page-privacy-policy__text-block,
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

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

    /* Button specific mobile adjustments */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
        width: auto !important; /* Allow button to size to content if not full width */
        max-width: calc(100% - 30px) !important; /* Account for padding */
    }

    /* FAQ mobile adjustments */
    .page-privacy-policy__faq-item summary {
        padding: 15px 20px;
        font-size: 1em;
    }
    .page-privacy-policy__faq-answer {
        padding: 0 20px 15px;
    }
}