/* style/privacy-policy.css */

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

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

.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    padding-bottom: 60px;
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Subtle overlay */
}

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.6); /* Semi-transparent dark background for readability */
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.page-privacy-policy__main-title {
    color: var(--0k9-gold);
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.page-privacy-policy__hero-description {
    color: var(--0k9-text-main);
    font-size: 1.1em;
    line-height: 1.6;
}

.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.page-privacy-policy__section-intro {
    margin-bottom: 40px;
    padding: 20px;
    background-color: var(--0k9-card-bg);
    border-radius: 8px;
    border: 1px solid var(--0k9-border);
}

.page-privacy-policy__section-title {
    color: var(--0k9-primary-green);
    font-size: 2.2em;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

.page-privacy-policy__section-text {
    color: var(--0k9-text-secondary);
    font-size: 1em;
    line-height: 1.7;
}

.page-privacy-policy__section-block {
    background-color: var(--0k9-card-bg);
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 8px;
    border: 1px solid var(--0k9-border);
}

.page-privacy-policy__block-title {
    color: var(--0k9-gold);
    font-size: 1.8em;
    font-weight: 600;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--0k9-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__block-text {
    color: var(--0k9-text-main);
    margin-bottom: 15px;
    line-height: 1.7;
}

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

.page-privacy-policy__list-item {
    color: var(--0k9-text-secondary);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
    line-height: 1.6;
}

.page-privacy-policy__list-item::before {
    content: '•';
    color: var(--0k9-secondary-green);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    top: 0;
}

.page-privacy-policy__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid var(--0k9-border);
}

.page-privacy-policy__text-link {
    color: var(--0k9-secondary-green);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy__text-link:hover {
    color: var(--0k9-gold);
}

.page-privacy-policy__btn-primary {
    display: inline-block;
    background: var(--0k9-button-gradient);
    color: var(--0k9-text-main);
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    border: none;
    cursor: pointer;
    margin-top: 20px;
}

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

.page-privacy-policy__faq-section {
    margin-top: 50px;
    padding: 30px;
    background-color: var(--0k9-card-bg);
    border-radius: 8px;
    border: 1px solid var(--0k9-border);
}

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

.page-privacy-policy__faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--0k9-divider);
    border-radius: 5px;
    background-color: var(--0k9-deep-green);
    overflow: hidden;
}

.page-privacy-policy__faq-item summary {
    list-style: none; /* Hide default marker */
}

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

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: var(--0k9-deep-green);
    color: var(--0k9-text-main);
    font-weight: 600;
    cursor: pointer;
    border-bottom: 1px solid var(--0k9-divider);
}

.page-privacy-policy__faq-question:hover {
    background-color: rgba(var(--0k9-deep-green), 0.8);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--0k9-text-main);
}

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

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-toggle {
    transform: rotate(45deg);
}

.page-privacy-policy__faq-answer {
    padding: 15px 20px;
    background-color: var(--0k9-card-bg);
    color: var(--0k9-text-secondary);
    line-height: 1.7;
    border-top: 1px solid var(--0k9-divider);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-content {
        max-width: 700px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-content {
        max-width: 90%;
        padding: 15px;
    }

    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
    }

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

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

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

    .page-privacy-policy__block-title {
        font-size: 1.5em;
    }

    .page-privacy-policy__section-block {
        padding: 20px;
    }

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

    /* All containers with images/content */
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__section-intro,
    .page-privacy-policy__section-block,
    .page-privacy-policy__faq-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }

    /* Button adaptation */
    .page-privacy-policy__btn-primary,
    .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 15px;
        text-align: center;
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        display: flex;
        flex-direction: column;
    }

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

    .page-privacy-policy__hero-image-wrapper {
        left: -15px;
        width: calc(100% + 30px);
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }

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

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

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

    .page-privacy-policy__list-item {
        font-size: 0.9em;
    }
}