/* style/privacy-policy.css */

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

.page-privacy-policy {
    background-color: var(--pp-bg-color);
    color: var(--pp-text-main);
    font-family: Arial, sans-serif;
    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: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--pp-bg-color);
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px;
}

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

.page-privacy-policy__hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
    margin-top: 20px;
    padding: 20px;
    background: rgba(17, 39, 27, 0.7); /* Card BG with transparency */
    border-radius: 12px;
}

.page-privacy-policy__main-title {
    color: var(--pp-text-main);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
    /* No fixed font-size, rely on clamp if needed, otherwise relative units */
}

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

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

.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Ensure long words break */
    box-sizing: border-box;
}

.page-privacy-policy__btn-primary {
    background: var(--pp-btn-gradient);
    color: #ffffff; /* Always white text on dark button */
    border: 2px solid transparent;
}

.page-privacy-policy__btn-primary:hover {
    box-shadow: 0 0 15px var(--pp-glow-color);
    transform: translateY(-2px);
}

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

.page-privacy-policy__btn-secondary:hover {
    background: var(--pp-deep-green);
    color: var(--pp-text-main);
    border-color: var(--pp-glow-color);
    transform: translateY(-2px);
}

.page-privacy-policy__content-section {
    padding: 60px 20px;
    background-color: var(--pp-bg-color);
}

.page-privacy-policy__dark-section {
    background-color: var(--pp-card-bg);
}

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

.page-privacy-policy__section-title {
    color: var(--pp-text-main);
    font-size: 2.5em;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
}

.page-privacy-policy__text-block {
    color: var(--pp-text-secondary);
    font-size: 1.05em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
}

.page-privacy-policy__info-card {
    background-color: var(--pp-card-bg);
    border: 1px solid var(--pp-border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.page-privacy-policy__card-title {
    color: var(--pp-text-main);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-privacy-policy__info-card p {
    color: var(--pp-text-secondary);
    font-size: 1em;
    margin-bottom: 20px;
}

.page-privacy-policy__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 20px;
    display: block; /* Ensure it behaves as a block element */
    object-fit: cover;
    object-position: center;
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

.page-privacy-policy__image-right {
    float: right;
    margin-left: 30px;
    margin-bottom: 20px;
    max-width: 40%;
}

.page-privacy-policy__image-left {
    float: left;
    margin-right: 30px;
    margin-bottom: 20px;
    max-width: 40%;
}

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

.page-privacy-policy__list li {
    background-color: var(--pp-card-bg);
    border: 1px solid var(--pp-border-color);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__list-item-title {
    color: var(--pp-text-main);
    font-size: 1.5em;
    margin-bottom: 10px;
}

.page-privacy-policy__list li p {
    color: var(--pp-text-secondary);
    font-size: 1em;
}

.page-privacy-policy__security-feature {
    background-color: var(--pp-card-bg);
    border: 1px solid var(--pp-border-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__feature-title {
    color: var(--pp-text-main);
    font-size: 1.8em;
    margin-bottom: 15px;
}

.page-privacy-policy__security-feature p {
    color: var(--pp-text-secondary);
    font-size: 1em;
}

.page-privacy-policy__list--columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.page-privacy-policy__list--columns li {
    margin-bottom: 0;
}

.page-privacy-policy__contact-section .page-privacy-policy__contact-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
    text-align: center;
}

.page-privacy-policy__contact-section .page-privacy-policy__contact-list li {
    background: none;
    border: none;
    box-shadow: none;
    padding: 10px 0;
    color: var(--pp-text-main);
    font-size: 1.1em;
}

.page-privacy-policy__contact-section .page-privacy-policy__contact-list a {
    color: var(--pp-glow-color);
    text-decoration: none;
}

.page-privacy-policy__contact-section .page-privacy-policy__contact-list a:hover {
    text-decoration: underline;
}

/* Links within content */
.page-privacy-policy a {
    color: var(--pp-glow-color);
    text-decoration: none;
}

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__main-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__image-right,
    .page-privacy-policy__image-left {
        float: none;
        margin: 20px auto;
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-privacy-policy__hero-content {
        padding: 15px;
    }
    .page-privacy-policy__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .page-privacy-policy__description {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-privacy-policy__cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-privacy-policy__content-section {
        padding: 30px 15px;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }
    .page-privacy-policy__text-block,
    .page-privacy-policy__info-card p,
    .page-privacy-policy__list li p,
    .page-privacy-policy__security-feature p {
        font-size: 0.95em;
        text-align: left;
    }
    .page-privacy-policy__info-card,
    .page-privacy-policy__list li,
    .page-privacy-policy__security-feature {
        padding: 20px;
        margin-bottom: 20px;
    }
    .page-privacy-policy__card-title,
    .page-privacy-policy__list-item-title,
    .page-privacy-policy__feature-title {
        font-size: 1.4em;
        text-align: left;
    }
    .page-privacy-policy__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }
    .page-privacy-policy__container,
    .page-privacy-policy__info-card,
    .page-privacy-policy__security-feature,
    .page-privacy-policy__list li {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-privacy-policy__list--columns {
        grid-template-columns: 1fr;
    }
    .page-privacy-policy__contact-section .page-privacy-policy__contact-list {
        text-align: left;
    }
    .page-privacy-policy__hero-image-wrapper {
        max-height: 300px;
    }
}